Builders & open source
Lewis Tunstall
Machine learning engineer working on post-training, Hugging Face
- Machine learning engineer working on post-training, Hugging Face12
Lewis Tunstall works on post-training at Hugging Face, according to Tunstall's GitHub profile, and Hugging Face's LLM Course describes Tunstall as a machine learning engineer focused on developing open-source tools. Tunstall is first author of the Zephyr paper (2023), which aligned a smaller chat model with distilled direct preference optimization on AI-feedback data, and is listed first in the citation for the Alignment Handbook, a set of training recipes for aligning language models. Tunstall is also listed among the authors of TRL, Hugging Face's Apache-2.0 post-training library, and co-wrote the O'Reilly book Natural Language Processing with Transformers.12345
At a glance
- Current role
- Machine learning engineer working on post-training
- Company
- Hugging Face
- Sector
- Company
- Work listed
- 4
- Sources cited
- 7
- Profile reviewed
Open-source work
Lewis Tunstall is a machine learning engineer at Hugging Face who works on post-training and open-source tools for the wider community. Tunstall's GitHub profile highlights work on TRL, Hugging Face's post-training library, the Alignment Handbook of training recipes, and Open-R1.2154
In January 2025 Tunstall co-authored the Hugging Face blog post launching Open-R1, a project to build an open reproduction of the DeepSeek-R1 reasoning pipeline. Tunstall is listed first in the Alignment Handbook's citation entry and among the authors of TRL.645
Research
Tunstall is first author of "Efficient Few-Shot Learning Without Prompts" (2022), which introduced SetFit, a method that fine-tunes Sentence Transformers contrastively on a small number of labeled examples. Tunstall is also first author of the Zephyr paper (2023), which aligned a 7B chat model with distilled direct preference optimization on AI-feedback data.73
Teaching and writing
Tunstall co-wrote the O'Reilly book Natural Language Processing with Transformers, whose co-authors include Leandro von Werra. Tunstall is also one of the authors of Hugging Face's LLM Course.2
Work and contributions
TRL (Transformers Reinforcement Learning) Open-source code
Listed among the authors in TRL's citation file. TRL is an Apache-2.0 toolkit for post-training transformer models, with implementations of SFT, reward modeling, DPO, and GRPO.5
Zephyr Published research
First author of "Zephyr: Direct Distillation of LM Alignment" (2023), which trained a smaller chat model with distilled supervised fine-tuning and distilled direct preference optimization on preference data ranked by a teacher model.3
The Alignment Handbook Open-source code
Listed first in the citation entry of the repository, which provides training recipes for continued pretraining and for aligning language models with human and AI preferences.4
Natural Language Processing with Transformers (O'Reilly) Published research
Co-author of the O'Reilly book, according to the author biographies on Hugging Face's LLM Course page.2
Timeline
Where they work
- Hugging Face 34 people in the wiki
Related people
- Lysandre DebutAlso at Hugging Face
- Leandro von WerraAlso at Hugging Face
- Younes BelkadaAlso at Hugging Face
- Nils ReimersAlso at Hugging Face
- Edward BeechingAlso at Hugging Face
- Alexander WettigLanguage models · Reinforcement learning
- Albert JiangLanguage models · Reinforcement learning
- Nathan LambertLanguage models · Reinforcement learning
- Jonathan CohenLanguage models · ML frameworks and libraries
- Mika SenghaasReinforcement learning · Language models
Suggest a correction or removal
Profiles cover public professional work only, and each statement cites a source. If something is out of date, missing or wrong, tell us and link a source. People can also ask for their profile to be corrected or removed.
References
7 sources · profile reviewed Oct 21, 2026 · data updated Oct 21, 2026
- lewtun (Lewis Tunstall) on GitHub
- Hugging Face LLM Course, Chapter 1 introduction (About the authors)
- Zephyr: Direct Distillation of LM Alignment (arXiv 2310.16944)
- huggingface/alignment-handbook README (citation) and LICENSE (Apache-2.0)
- huggingface/trl CITATION.cff (authors, license Apache-2.0)
- Open-R1: a fully open reproduction of DeepSeek-R1
- Efficient Few-Shot Learning Without Prompts (arXiv 2209.11055)