Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds wandb to CI, fixes seed #61

Merged
merged 1 commit into from
May 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ci/prep_for_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ def main(config: str, data: str):
with open(config) as f:
cfg = yaml.safe_load(f.read())

cfg["wandb_project"] = "ci-llm-finetuning-overfit-sqlqa"
cfg["seed"] = 117 # always set a seed

num_epochs = 50
val_set_size = 0.5

cfg["val_set_size"] = val_set_size
cfg["num_epochs"] = num_epochs
cfg["eval_steps"] = num_epochs
cfg["eval_steps"] = num_epochs // 10
cfg.pop("evals_per_epoch", None) # incompatible with eval_steps
cfg.pop("sample_packing", False) # requires larger dataset

Expand Down
Loading