mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-23 04:21:45 +00:00
fix: append first_epoch
This commit is contained in:
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()
|
||||
|
Reference in New Issue
Block a user