qfournier commited on
Commit
b38fe51
1 Parent(s): c80a9f3

Update amplify.py

Browse files
Files changed (1) hide show
  1. amplify.py +1 -1
amplify.py CHANGED
@@ -203,7 +203,7 @@ class AMPLIFY(AMPLIFYPreTrainedModel):
203
  # Initialize weights and apply final processing
204
  self.post_init()
205
 
206
- def forward(self, input_ids, attention_mask=None, output_hidden_states=False, output_attentions=False):
207
  # Initialize
208
  hidden_states, attentions = [], []
209
 
 
203
  # Initialize weights and apply final processing
204
  self.post_init()
205
 
206
+ def forward(self, input_ids, attention_mask=None, output_hidden_states=False, output_attentions=False, **kwargs):
207
  # Initialize
208
  hidden_states, attentions = [], []
209