Lewis Tunstall

Lewis Tunstall

Portrait of Lewis Tunstall

I’m a senior research scientist at Hugging Face, where I lead the post-training team. We build open models, datasets, and training recipes so others can reproduce and build on our work.

My recent work includes PyBot, a pure-Python chatbot built by a swarm of 1,000 agents, Carbon-X, an open 14B language model for DNA, and QED-Nano, a small model for Olympiad-level proofs. I also co-created Open-R1, Zephyr, and SmolLM3.

I’ve co-written The Smol Training Playbook and Natural Language Processing with Transformers. Before Hugging Face, I built machine learning applications for time series and worked on giotto-tda, a library for topological data analysis.

I earned my PhD in theoretical physics at the University of Adelaide and was a postdoctoral researcher at the University of Bern. My physics research focused on the strong interaction and on interpreting results from dark matter experiments.

Selected work

Agent swarms

  • PyBot Hugging Face 2026

Biology and genomics

Alignment and post-training

Mathematical reasoning

Small language models

Theoretical physics

Selected publications