nthngdy commited on
Commit
4a08004
1 Parent(s): b034116

Update modeling_manta.py

Browse files
Files changed (1) hide show
  1. modeling_manta.py +0 -1
modeling_manta.py CHANGED
@@ -771,7 +771,6 @@ class MantaModel(MantaPreTrainedModel):
771
  return decoder_outputs + encoder_outputs
772
 
773
  return MantaSeq2SeqLMOutput(
774
- last_hidden_state=decoder_outputs.last_hidden_state,
775
  past_key_values=decoder_outputs.past_key_values,
776
  decoder_hidden_states=decoder_outputs.hidden_states,
777
  decoder_attentions=decoder_outputs.attentions,
 
771
  return decoder_outputs + encoder_outputs
772
 
773
  return MantaSeq2SeqLMOutput(
 
774
  past_key_values=decoder_outputs.past_key_values,
775
  decoder_hidden_states=decoder_outputs.hidden_states,
776
  decoder_attentions=decoder_outputs.attentions,