
Free long-form courses that rebuild databases, system design, DSA and LLMs from first principles, with thousands of diagrams.
ResourceHive lists 13 hand-reviewed LLM learning resources as of 3 Dec 2026, all free. The top pick is First Principles Approach (Hive score 9.3/10).

Free long-form courses that rebuild databases, system design, DSA and LLMs from first principles, with thousands of diagrams.

Sebastian Raschka's step-by-step code for building, pretraining and fine-tuning a GPT-style model.

Stanford's course on building a language model end to end, from tokenizer to training.

Harvard NLP's line-by-line PyTorch implementation of the original Transformer paper.

Andrej Karpathy's video course: build neural networks, then a GPT, from scratch.

Andrej Karpathy's small, readable repo for training and fine-tuning GPT models from scratch.

A 3D, step-by-step walkthrough of a GPT model, showing every number move through the network.

Karpathy's GPT-2 training in plain C and CUDA, with no PyTorch, to show exactly what training an LLM involves.

A free course on transformers and LLMs using the Hugging Face libraries.

Andrej Karpathy's minimal, full-stack ChatGPT clone: train, fine-tune and chat with your own model.

An interactive visualisation of GPT-2 running in your browser, from Georgia Tech's Polo Club.


The architecture behind ChatGPT, drawn out step by step instead of in equations.