AI People Wiki

Builders & open source

Lewis Tunstall

Machine learning engineer working on post-training, Hugging Face

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
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

  1. Published "Efficient Few-Shot Learning Without Prompts", introducing SetFit, as first author.7
  2. Published the Zephyr paper on direct distillation of language model alignment as first author.3
  3. Co-authored the Hugging Face blog post launching the Open-R1 project.6

Where they work

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

  1. lewtun (Lewis Tunstall) on GitHubGitHub · Official page · accessed Oct 21, 2026
  2. Hugging Face LLM Course, Chapter 1 introduction (About the authors)Hugging Face · Official page · accessed Oct 21, 2026
  3. Zephyr: Direct Distillation of LM Alignment (arXiv 2310.16944)arXiv · Paper · published Oct 25, 2023 · accessed Oct 21, 2026
  4. huggingface/alignment-handbook README (citation) and LICENSE (Apache-2.0)Hugging Face (GitHub repository) · Repository · accessed Oct 21, 2026
  5. huggingface/trl CITATION.cff (authors, license Apache-2.0)Hugging Face (GitHub repository) · Repository · accessed Oct 21, 2026
  6. Open-R1: a fully open reproduction of DeepSeek-R1Hugging Face blog · Announcement · published Jan 28, 2025 · accessed Oct 21, 2026
  7. Efficient Few-Shot Learning Without Prompts (arXiv 2209.11055)arXiv · Paper · published Sep 22, 2022 · accessed Oct 21, 2026