Skip to content

Commit

Permalink
update readme tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rasbt committed May 30, 2024
1 parent c03ff3f commit ded9199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_pretrain_model():
OUT_DIR = Path("out") / "custom_pretrained"
pretrain_command = [
"litgpt", "pretrain",
"--model_name", "pythia-14m",
"pythia-14m",
"--tokenizer_dir", str("checkpoints" / REPO_ID),
"--data", "TextFiles",
"--data.train_data_path", str(CUSTOM_TEXTS_DIR),
Expand All @@ -127,7 +127,7 @@ def test_continue_pretrain_model():
OUT_DIR = Path("out") / "custom_continue_pretrained"
pretrain_command = [
"litgpt", "pretrain",
"--model_name", "pythia-14m",
"pythia-14m",
"--initial_checkpoint", str("checkpoints" / REPO_ID),
"--tokenizer_dir", str("checkpoints" / REPO_ID),
"--data", "TextFiles",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def _test_function2(out_dir: Path, foo: bool = False, bar: int = 1):
@pytest.mark.parametrize(
"command",
[
"any.py",
#"any.py",
"litgpt finetune",
"litgpt finetune_full",
"litgpt finetune_lora",
Expand Down

0 comments on commit ded9199

Please sign in to comment.