Fizzarolli commited on
Commit
17b935b
·
verified ·
1 Parent(s): ef095ca

Update modernberg_model.py

Browse files
Files changed (1) hide show
  1. modernberg_model.py +1 -1
modernberg_model.py CHANGED
@@ -691,7 +691,7 @@ class ModernBergEncoderLayer(nn.Module):
691
  )
692
  hidden_states = hidden_states + mlp_output
693
 
694
- return (hidden_states,) + attn_outputs[1:] # add attentions if outputted
695
 
696
  MODERNBERG_START_DOCSTRING = r"""
697
  This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the
 
691
  )
692
  hidden_states = hidden_states + mlp_output
693
 
694
+ return hidden_states
695
 
696
  MODERNBERG_START_DOCSTRING = r"""
697
  This model inherits from [`PreTrainedModel`]. Check the superclass documentation for the generic methods the