Blog

Derivations, experiments & the odd rabbit hole.

Training · Jun 2025

Unpacking open recipes for training and tuning foundation models

The open strategies for building and refining capable LLMs, from OLMo's pre-training to the Tulu post-training recipe from AI2.

8 min read

2024

Phi-2-ning: tuning a small language model

A walkthrough of fine-tuning Microsoft's 2.7B parameter Phi-2 with supervised fine-tuning (SFT) and Direct Preference Optimization (DPO).

29 JanFine-tuning

2023

Transformers: how generative language models work

The Transformer architecture behind large language models, and the generative pre-training that brings them to life.

30 JulArchitecture

2022

Demystifying diffusion models

How diffusion models like DALL-E and Midjourney work, from the forward noising process to the simple loss that trains them (DDPM).

14 OctGenerative