Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Go to file
2023-12-09 17:20:40 -06:00
appendix-A remove temp files 2023-12-09 17:20:40 -06:00
ch01 add readme files 2023-10-25 18:46:40 -05:00
ch02 remove temp files 2023-12-09 17:20:40 -06:00
ch03 remove temp files 2023-12-09 17:20:40 -06:00
.DS_Store remove temp files 2023-12-09 17:20:40 -06:00
.gitignore remove OS temp files 2023-12-09 17:17:47 -06:00
LICENSE.txt Update LICENSE.txt 2023-12-05 18:45:47 -06:00
README.md add ch03 and TOC 2023-12-09 17:13:56 -06:00

Large Language Models from Scratch

Details will follow ...

Table of Contents

Chapter Main code Code + supplementary
Ch 1: Understanding Large Language Models No code No code
Ch 2: Working with Text Data ch02.ipynb
dataloader.ipynb
./ch02
Ch 3: Understanding Attention Mechanisms ch03.ipynb
multihead-attention.ipynb
./ch03
... ... ...
Appendix A: Introduction to PyTorch code-part1.ipynb
code-part2.ipynb
DDP-script.py
./appendix-A