Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/en/model_doc/speech-encoder-decoder.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```

Expand All @@ -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
- from_encoder_decoder_pretrained