"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "5da7c78ed80f97842c929e0eea63bfa2ac8267eb"
Unverified Commit 8968ffac authored by Anthony Susevski's avatar Anthony Susevski Committed by GitHub
Browse files

fixed typo in speech encoder decoder doc (#25745)

fixed typo in speech encoder decoder blog
parent ae320fa5
......@@ -111,7 +111,7 @@ speech inputs) and `labels` (which are the `input_ids` of the encoded target seq
>>> labels = tokenizer(ds[0]["text"], return_tensors="pt").input_ids
>>> # the forward function automatically creates the correct decoder_input_ids
>>> loss = model(**input_features).loss
>>> loss = model(input_values=input_values, labels=labels).loss
>>> loss.backward()
```
......@@ -129,4 +129,4 @@ speech inputs) and `labels` (which are the `input_ids` of the encoded target seq
[[autodoc]] FlaxSpeechEncoderDecoderModel
- __call__
- from_encoder_decoder_pretrained
\ No newline at end of file
- from_encoder_decoder_pretrained
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