Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
734dd96e
Unverified
Commit
734dd96e
authored
Oct 19, 2023
by
Patrick von Platen
Committed by
GitHub
Oct 19, 2023
Browse files
[Docs] Make sure important decode and generate method are nicely displayed in Whisper docs (#26927)
better docstrings whisper
parent
816c2237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
docs/source/en/model_doc/whisper.md
docs/source/en/model_doc/whisper.md
+5
-0
No files found.
docs/source/en/model_doc/whisper.md
View file @
734dd96e
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment