jadechoghari
commited on
Commit
•
303a347
1
Parent(s):
61da904
Update modeling.py
Browse files- modeling.py +1 -1
modeling.py
CHANGED
@@ -166,7 +166,7 @@ class MARModel(PreTrainedModel):
|
|
166 |
model_architecture.load_state_dict(state_dict, strict=False)
|
167 |
|
168 |
# update this so the model works on the forward call
|
169 |
-
|
170 |
model.eval()
|
171 |
|
172 |
return model
|
|
|
166 |
model_architecture.load_state_dict(state_dict, strict=False)
|
167 |
|
168 |
# update this so the model works on the forward call
|
169 |
+
model = model_architecture
|
170 |
model.eval()
|
171 |
|
172 |
return model
|