mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
fix: append first_epoch
This commit is contained in:
parent
8e22a7276f
commit
b24ca03dc4
2
train.py
2
train.py
@ -164,7 +164,7 @@ def train(accelerator, config):
|
||||
accelerator.wait_for_everyone()
|
||||
unwrapped_model = accelerator.unwrap_model(model)
|
||||
if accelerator.is_main_process:
|
||||
unwrapped_model.push_to_hub(config["save_name"], private=True)
|
||||
unwrapped_model.push_to_hub(config["save_name"] + "_first_epoch", private=True)
|
||||
|
||||
|
||||
accelerator.wait_for_everyone()
|
||||
|
Loading…
Reference in New Issue
Block a user