Unverified Commit 93b802c4 authored by Sanchit Gandhi's avatar Sanchit Gandhi Committed by GitHub
Browse files

[Flax(Speech)EncoderDecoder] Fix bug in `decoder_module` (#17036)

* [FlaxSpeechEncoderDecoder] Fix bug in `decoder_module`

* [FlaxEncoderDecoder] Fix bug in `decoder_module`
parent 1ae182d9
......@@ -593,7 +593,7 @@ class FlaxEncoderDecoderModel(FlaxPreTrainedModel):
decoder_input_ids,
decoder_attention_mask,
decoder_position_ids,
encoder_hidden_states,
encoder_hidden_states=encoder_hidden_states,
**kwargs,
)
......
......@@ -627,7 +627,7 @@ class FlaxSpeechEncoderDecoderModel(FlaxPreTrainedModel):
decoder_input_ids,
decoder_attention_mask,
decoder_position_ids,
encoder_hidden_states,
encoder_hidden_states=encoder_hidden_states,
**kwargs,
)
......
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