Skip to content

Commit

Permalink
remove revision (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif authored Jul 31, 2024
1 parent 444e0f8 commit 01f29c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/run_cpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def main():

if training_args.push_to_hub is True:
logger.info("Pushing to hub...")
trainer.push_to_hub(revision=training_args.hub_model_revision, **kwargs)
trainer.push_to_hub(**kwargs)

logger.info("*** Training complete ***")

Expand Down
2 changes: 1 addition & 1 deletion scripts/run_dpo.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def main():

if training_args.push_to_hub is True:
logger.info("Pushing to hub...")
trainer.push_to_hub(revision=training_args.hub_model_revision, **kwargs)
trainer.push_to_hub(**kwargs)

logger.info("*** Training complete! ***")

Expand Down
2 changes: 1 addition & 1 deletion scripts/run_sft.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def main():

if training_args.push_to_hub is True:
logger.info("Pushing to hub...")
trainer.push_to_hub(revision=training_args.hub_model_revision, **kwargs)
trainer.push_to_hub(**kwargs)

logger.info("*** Training complete ***")

Expand Down

0 comments on commit 01f29c1

Please sign in to comment.