Language Models from Scratch
language models · transformers · deep learning · PyTorch · tutorial
A step-by-step walkthrough of building a character-level GPT in PyTorch and training it on the tiny-shakespeare text, following Andrej Karpathy's "Let's build GPT" lecture, with one complete program per step.
Anthropic Research
anthropic · alignment · constitutional ai · reading notes
Reading notes on Anthropic's published research from December 2021 to November 2026, how the notes are written and how to cite the originals, threads that group notes by research question, beginning with Constitutional AI and the written principles models are trained on, and the rest of the collection by year.
Data Science
data science · statistics · machine learning · regression · Python
A collection on the working methods of data science, from Python, SQL and data wrangling through probability, regression, model evaluation, supervised and unsupervised learning, trees, ensembles and neural networks, with worked examples on public data computed by scripts kept with the site's source.
Statistics
statistics · probability · inference · information theory · model evaluation
A collection that starts from the applied statistics course on this site and adds the theory beneath it and the methods beyond it, unit by unit, with every result proved or cited and every number computed by a script. All sixteen units of the collection's plan are written.
Information Retrieval
information retrieval · search · dense retrieval · vector search · retrieval-augmented generation
A collection that continues the information retrieval course on this site past its last unit, toward storing and retrieving information for language models, with embeddings and dense retrieval, vector search, neural ranking, retrieval-augmented generation, efficient query processing, learning to rank, knowledge stores and memory, and queries and conversations. Units not yet written are listed as plain text.