fix bug
This commit is contained in:
@@ -172,6 +172,9 @@ if not ft_config.skip:
|
|||||||
else:
|
else:
|
||||||
trainer.train()
|
trainer.train()
|
||||||
|
|
||||||
|
# Restore old model state dict
|
||||||
|
model.state_dict = old_state_dict
|
||||||
|
|
||||||
print('Train completed.')
|
print('Train completed.')
|
||||||
|
|
||||||
# Save Model
|
# Save Model
|
||||||
|
|||||||
Reference in New Issue
Block a user