mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-08-03 22:32:41 +00:00

* Organized setup instructions * update tets * link checker action * raise error upon broken link * fix links * fix links * delete duplicated paragraph
8 lines
674 B
Markdown
8 lines
674 B
Markdown
# Chapter 5: Pretraining on Unlabeled Data
|
|
|
|
- [ch05.ipynb](ch05.ipynb) contains all the code as it appears in the chapter
|
|
- [previous_chapters.py](previous_chapters.py) is a Python module that contains the `MultiHeadAttention` module from the previous chapter, which we import in [ch05.ipynb](ch05.ipynb) to pretrain the GPT model
|
|
- [gpt_train.py](gpt_train.py) is a standalone Python script file with the code that we implemented in [ch05.ipynb](ch05.ipynb) to train the GPT model
|
|
- [gpt_generate.py](gpt_generate.py) is a standalone Python script file with the code that we implemented in [ch05.ipynb](ch05.ipynb) to load and use the pretrained model weights from OpenAI
|
|
|