Unverified Commit 734dd96e authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

[Docs] Make sure important decode and generate method are nicely displayed in Whisper docs (#26927)

better docstrings whisper
parent 816c2237
...@@ -48,6 +48,8 @@ The original code can be found [here](https://github.com/openai/whisper). ...@@ -48,6 +48,8 @@ The original code can be found [here](https://github.com/openai/whisper).
- get_special_tokens_mask - get_special_tokens_mask
- create_token_type_ids_from_sequences - create_token_type_ids_from_sequences
- save_vocabulary - save_vocabulary
- batch_decode
- decode
## WhisperTokenizerFast ## WhisperTokenizerFast
...@@ -57,6 +59,8 @@ The original code can be found [here](https://github.com/openai/whisper). ...@@ -57,6 +59,8 @@ The original code can be found [here](https://github.com/openai/whisper).
- get_special_tokens_mask - get_special_tokens_mask
- create_token_type_ids_from_sequences - create_token_type_ids_from_sequences
- save_vocabulary - save_vocabulary
- batch_decode
- decode
## WhisperFeatureExtractor ## WhisperFeatureExtractor
...@@ -82,6 +86,7 @@ The original code can be found [here](https://github.com/openai/whisper). ...@@ -82,6 +86,7 @@ The original code can be found [here](https://github.com/openai/whisper).
[[autodoc]] WhisperForConditionalGeneration [[autodoc]] WhisperForConditionalGeneration
- forward - forward
- generate
## WhisperForAudioClassification ## WhisperForAudioClassification
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment