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 (huggingface#26927)

better docstrings whisper
  • Loading branch information
patrickvonplaten authored and staghado committed Oct 24, 2023
1 parent c9279ab commit b492b32
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 b492b32

Please sign in to comment.