[Docs] Make sure important decode and generate method are nicely displayed in Whisper docs (#26927)
better docstrings whisper
This commit is contained in:
committed by
GitHub
parent
816c2237c1
commit
734dd96e02
@@ -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).
|
|||||||
- 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).
|
|||||||
|
|
||||||
[[autodoc]] WhisperForConditionalGeneration
|
[[autodoc]] WhisperForConditionalGeneration
|
||||||
- forward
|
- forward
|
||||||
|
- generate
|
||||||
|
|
||||||
## WhisperForAudioClassification
|
## WhisperForAudioClassification
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user