mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
fix: saving name
This commit is contained in:
parent
633df8edb4
commit
9efdf56e38
2
train.py
2
train.py
@ -192,7 +192,7 @@ def train(accelerator, config):
|
||||
accelerator.print(f"Failed to push to hub")
|
||||
|
||||
unwrapped_model.save_pretrained(
|
||||
f"{config['output_dir']}/-epoch_{epoch}",
|
||||
f"{config['output_dir']}/epoch_{epoch}",
|
||||
is_main_process=accelerator.is_main_process,
|
||||
save_function=accelerator.save,
|
||||
state_dict=accelerator.get_state_dict(model),
|
||||
|
Loading…
Reference in New Issue
Block a user