Blog Posts

Notes, tutorials, and experiments in machine learning and physics.

LLMs 101: Training an LLM from Scratch

February 16, 2025

A practical walkthrough for training a GPT-2 style model with Hugging Face, from dataset prep to generation.

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models I

April 24, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: I - Linear Regression

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models II

April 24, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: II - Classification

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models III

April 25, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: III - Neural Networks

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models IV

April 26, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: IV - Overfitting

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models V

April 26, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: V - Density Estimation

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models VI

April 27, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: VI - Autoencoders

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models VII

April 28, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: VII - Variational Autoencoders

Continue reading

Machine Learning from Scratch: a Physicist's Road to Generative Models VIII

April 29, 2026

This article is a guide for physicists to learn machine learning from scratch, with a focus on generative models: VIII - Normalising Flows

Continue reading