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

3
.gitignore vendored
View File

@@ -1,4 +1,6 @@
# Configs and keys
ch07/01_main-chapter-code/instruction-data-with-response-standalone.json
ch07/01_main-chapter-code/gpt2-medium355M-sft-standalone.pth
ch07/02_dataset-utilities/config.json
ch07/03_model-evaluation/config.json
@@ -17,6 +19,7 @@ ch06/01_main-chapter-code/loss-plot.pdf
ch06/01_main-chapter-code/accuracy-plot.pdf
ch07/01_main-chapter-code/loss-plot.pdf
ch07/01_main-chapter-code/loss-plot-standalone.pdf
# Checkpoint files
appendix-A/01_main-chapter-code/model.pth