15 lines
952 B
Markdown
Raw Normal View History

2024-05-13 08:50:55 -05:00
# Chapter 6: Finetuning for Classification
2024-06-19 17:48:25 -05:00
### Main Chapter Code
2024-05-13 08:50:55 -05:00
- [ch06.ipynb](ch06.ipynb) contains all the code as it appears in the chapter
2024-06-19 17:48:25 -05:00
- [previous_chapters.py](previous_chapters.py) is a Python module that contains the GPT model we coded and trained in previous chapters, alongside many utility functions, which we reuse in this chapter
2024-05-13 08:50:55 -05:00
- [gpt_download.py](gpt_download.py) contains the utility functions for downloading the pretrained GPT model weights
- [exercise-solutions.ipynb](exercise-solutions.ipynb) contains the exercise solutions for this chapter
2024-06-19 17:48:25 -05:00
### Optional Code
2024-09-21 12:59:12 -05:00
- [load-finetuned-model.ipynb](load-finetuned-model.ipynb) is a standalone Jupyter notebook to load the finetuned model we created in this chapter
- [gpt_class_finetune.py](gpt_class_finetune.py) is a standalone Python script file with the code that we implemented in [ch06.ipynb](ch06.ipynb) to finetune the GPT model (you can think of it as a chapter summary)
2024-06-19 17:48:25 -05:00