Update amplify.py
Browse files- 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 |
|