Skip to content

Commit

Permalink
[Docs] Make sure important decode and generate method are nicely disp…
Browse files Browse the repository at this point in the history
…layed in Whisper docs (#26927)

better docstrings whisper
  • Loading branch information
patrickvonplaten committed Oct 19, 2023
1 parent 816c223 commit 734dd96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/source/en/model_doc/whisper.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -82,6 +86,7 @@ The original code can be found [here](https://github.com/openai/whisper).

[[autodoc]] WhisperForConditionalGeneration
- forward
- generate

## WhisperForAudioClassification

Expand Down

0 comments on commit 734dd96

Please sign in to comment.