Skip to content

Commit

Permalink
make validation cheaper
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed Apr 25, 2024
1 parent f08ae19 commit 20e22f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ def test_finetune_model():
finetune_command = [
"litgpt", "finetune", "lora",
"--checkpoint_dir", str(CHECKPOINT_DIR),
"--lora_r", "1",
"--data", "JSON",
"--data.json_path", str(DATASET_PATH),
"--data.val_split_fraction", "0.1",
"--data.val_split_fraction", "0.00001", # Keep small because new final validation is expensive
"--train.max_steps", "1",
"--out_dir", str(OUT_DIR)
]
Expand Down

0 comments on commit 20e22f2

Please sign in to comment.