fix ch07 unit test (#470)

This commit is contained in:
Sebastian Raschka 2025-01-05 17:40:57 -06:00 committed by GitHub
parent 701090815e
commit 2d7ca7ee4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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", "ch07/01_main-chapter-code/gpt_instruction_finetuning.py", "--test_mode"]
result = subprocess.run(command, capture_output=True, text=True)
assert result.returncode == 0, f"Script exited with errors: {result.stderr}"