small fix

This commit is contained in:
ddPn08
2023-04-02 00:10:19 +09:00
parent c4a11e5a5a
commit 8bfa50e283
3 changed files with 10 additions and 0 deletions

View File

@@ -493,6 +493,8 @@ def train(args):
print(f"save trained model to {ckpt_file}")
save_weights(ckpt_file, updated_embs, save_dtype)
if args.huggingface_repo_id is not None:
huggingface_util.upload(ckpt_file, args, "/" + ckpt_name)
print("model saved.")