Add standalone finetuning and evaluation scripts for chapter 7 (#234)

* add finetuning and eval scripts

* update link

* update links

* fix link
This commit is contained in:
Sebastian Raschka
2024-06-21 05:23:24 -05:00
committed by GitHub
parent e1046746e8
commit 87deec0f5f
10 changed files with 153 additions and 10 deletions

View File

@@ -10,7 +10,7 @@ import subprocess
def test_gpt_class_finetune():
command = ["python", "ch06/01_main-chapter-code/gpt-class-finetune.py", "--test_mode"]
command = ["python", "ch06/01_main-chapter-code/gpt_class_finetune.py", "--test_mode"]
result = subprocess.run(command, capture_output=True, text=True)
assert result.returncode == 0, f"Script exited with errors: {result.stderr}"