Custom GPT Trained on Fight Club

Scroll
year
2026
duration
2 Months
overview

I was super interested and wanted to learn about how early GPTs like GPT-2 worked. I watched alot of videos primarily by Andrej Karpathy and read papers (Attention Is All You Need) to make this model.

approach

Trained on the script of Fight Club. Watched a tokenization tutorial and then jumped into the main attention mechanism explained in the paper. Experimented with various hyper-parameters. Never got around to cleaning the notebook but yeah it was a win!

Skills
Pytorch
Programming
AI

Create a free website with Framer, the website builder loved by startups, designers and agencies.