From e3b2f1e4e34c27a8b473aceb8ef3e030fd4db3da Mon Sep 17 00:00:00 2001 From: Patrick von Platen Date: Thu, 19 Oct 2023 13:01:47 +0200 Subject: [PATCH] [Docs] Make sure important decode and generate method are nicely displayed in Whisper docs (#26927) better docstrings whisper --- docs/source/en/model_doc/whisper.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/en/model_doc/whisper.md b/docs/source/en/model_doc/whisper.md index fbf806cd41df41..382246e43d31e1 100644 --- a/docs/source/en/model_doc/whisper.md +++ b/docs/source/en/model_doc/whisper.md @@ -48,6 +48,8 @@ The original code can be found [here](https://github.com/openai/whisper). - get_special_tokens_mask - create_token_type_ids_from_sequences - save_vocabulary + - batch_decode + - decode ## WhisperTokenizerFast @@ -57,6 +59,8 @@ The original code can be found [here](https://github.com/openai/whisper). - get_special_tokens_mask - create_token_type_ids_from_sequences - save_vocabulary + - batch_decode + - decode ## WhisperFeatureExtractor @@ -82,6 +86,7 @@ The original code can be found [here](https://github.com/openai/whisper). [[autodoc]] WhisperForConditionalGeneration - forward + - generate ## WhisperForAudioClassification