You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-inference/tasks/automatic-speech-recognition.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ For more details about the `automatic-speech-recognition` task, check out its [d
30
30
### Recommended models
31
31
32
32
-[openai/whisper-large-v3](https://huggingface.co/openai/whisper-large-v3): A powerful ASR model by OpenAI.
33
-
-[facebook/seamless-m4t-v2-large](https://huggingface.co/facebook/seamless-m4t-v2-large): An end-to-end model that performs ASR and Speech Translation by MetaAI.
This is only a subset of the supported models. Find the model that suits you best [here](https://huggingface.co/models?inference=warm&pipeline_tag=automatic-speech-recognition&sort=trending).
@@ -117,9 +116,9 @@ To use the JavaScript client, see `huggingface.js`'s [package reference](https:/
117
116
|** epsilon_cutoff**|_number_| If set to float strictly between 0 and 1, only tokens with a conditional probability greater than epsilon_cutoff will be sampled. In the paper, suggested values range from 3e-4 to 9e-4, depending on the size of the model. See [Truncation Sampling as Language Model Desmoothing](https://hf.co/papers/2210.15191) for more details. |
118
117
|** eta_cutoff**|_number_| Eta sampling is a hybrid of locally typical sampling and epsilon sampling. If set to float strictly between 0 and 1, a token is only considered if it is greater than either eta_cutoff or sqrt(eta_cutoff) * exp(-entropy(softmax(next_token_logits))). The latter term is intuitively the expected next token probability, scaled by sqrt(eta_cutoff). In the paper, suggested values range from 3e-4 to 2e-3, depending on the size of the model. See [Truncation Sampling as Language Model Desmoothing](https://hf.co/papers/2210.15191) for more details. |
119
118
|** max_length**|_integer_| The maximum length (in tokens) of the generated text, including the input. |
120
-
|** max_new_tokens**|_integer_| The maximum number of tokens to generate. Takes precedence over maxLength. |
119
+
|** max_new_tokens**|_integer_| The maximum number of tokens to generate. Takes precedence over max_length. |
121
120
|** min_length**|_integer_| The minimum length (in tokens) of the generated text, including the input. |
122
-
|** min_new_tokens**|_integer_| The minimum number of tokens to generate. Takes precedence over maxLength. |
121
+
|** min_new_tokens**|_integer_| The minimum number of tokens to generate. Takes precedence over min_length. |
123
122
|** do_sample**|_boolean_| Whether to use sampling instead of greedy decoding when generating new tokens. |
124
123
|** early_stopping**|_enum_| Possible values: never, true, false. |
125
124
|** num_beams**|_integer_| Number of beams to use for beam search. |
0 commit comments