mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
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:
committed by
GitHub
parent
e1046746e8
commit
87deec0f5f
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user