Skip to content

Commit

Permalink
Merge branch 'main' into feature/train-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiyiw authored Dec 21, 2023
2 parents 98205ed + 388e761 commit e464a1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llm_self_train/resources/train_args.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ overwrite_cache: true
output_dir: NEED-CONFIG
overwrite_output_dir: true
logging_steps: 1
save_strategy: "epoch"
save_strategy: "steps"
save_steps: 1000000000
save_total_limit: 5
use_auth_token: True
wandb_token: NEED-CONFIG
Expand Down
1 change: 1 addition & 0 deletions llm_self_train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
with open('config.yml', 'r') as file:
config = yaml.safe_load(file)


def should_stop(run_sft_completed):
return run_sft_completed.value

Expand Down

0 comments on commit e464a1c

Please sign in to comment.