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