god01215/GPT-From-Scratch
Implementation of a GPT-style LLM from scratch, following "Build a Large Language Model From Scratch" by Sebastian Raschka. Covers tokenization, multi-head attention, pretraining, loading pretrained GPT-2 weights, classification finetuning, and instruction finetuning — built in PyTorch.
Stars
1
Forks
—
Language
Jupyter Notebook
License
—
Category
Last pushed
Mar 09, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/god01215/GPT-From-Scratch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
tabularis-ai/be_great
A novel approach for synthesizing tabular data using pretrained large language models
shibing624/textgen
TextGen: Implementation of Text Generation models, include LLaMA, BLOOM, GPT2, BART, T5, SongNet...
EleutherAI/gpt-neox
An implementation of model parallel autoregressive transformers on GPUs, based on the Megatron...
AdityaNG/kan-gpt
The PyTorch implementation of Generative Pre-trained Transformers (GPTs) using Kolmogorov-Arnold...
zemlyansky/gpt-tfjs
GPT in TensorFlow.js