Unverified Commit f4786d7f authored by Jordi Mas's avatar Jordi Mas Committed by GitHub
Browse files

Fix typos in documentation (#21160)

* Fix typos in documentation

* Small fix

* Fix formatting
parent defdcd28
......@@ -169,7 +169,7 @@ class Speech2TextFeatureExtractor(SequenceFeatureExtractor):
<Tip>
For Speech2TextTransoformer models, `attention_mask` should alwys be passed for batched inference, to
For Speech2TextTransformer models, `attention_mask` should always be passed for batched inference, to
avoid subtle bugs.
</Tip>
......
......@@ -249,8 +249,8 @@ class WhisperFeatureExtractor(SequenceFeatureExtractor):
<Tip>
For WhisperTransoformer models, `attention_mask` should alwys be passed for batched inference, to avoid
subtle bugs.
For Whisper models, `attention_mask` should always be passed for batched inference, to avoid subtle
bugs.
</Tip>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment