Brayan Njoroge·Mar 26Building a GPT from Scratch in JAX/FlaxAn account of building a transformer language model using JAX, Flax NNX, and the TinyStories dataset — including every wall I hit along the…
Brayan Njoroge·Mar 26Implementing Direct Preference Optimization (DPO)A ground-up implementation of DPO from the Rafailov et al. 2023 paper, trained on tatsu-lab/alpaca as part of a multi-stage RLHF project