Zephyr: Direct Distillation of LM Alignment

By Lewis Tunstall, Edward Beeching, Nathan Lambert, Nazneen Rajani, Kashif Rasul, Younes Belkada, Shengyi Huang, Leandro Von Werra, Clémentine Fourrier, Nathan Habib and 4 more. arXiv.org, 2023

618 citations recorded by the source corpus.

We aim to produce a smaller language model that is aligned to user intent. Previous research has shown that applying distilled supervised fine-tuning (dSFT) on larger models significantly improves task accuracy; however, these models are unaligned, i.e. they do not respond well to natural prompts. To distill this property, we experiment with the use of preference data from AI Feedback (AIF). Starting from a dataset of outputs ranked by a teacher model, we apply distilled direct preference optimization (dDPO) to learn a chat model with significantly improved intent alignment. The approach requires only a few hours of training without any additional sampling during fine-tuning. The final result, Zephyr-7B, sets the state-of-the-art on chat benchmarks for 7B parameter models, and requires no human annotation. In particular, results on MT-Bench show that Zephyr-7B surpasses Llama2-Chat-70B, the best open-access RLHF-based model. Code, models, data, and tutorials for the system are available at https://github.com/huggingface/alignment-handbook.

Subfields: Artificial Intelligence, Information Systems

View Paper: https://www.semanticscholar.org/paper/cdcf3f36866ef1e16eba26d57c2324362247ba84

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Danqi Chen
  2. Percy Liang
  3. Dan Hendrycks
  4. Dacheng Tao
  5. Mantas Mazeika
  6. Yu Meng
  7. Steven Basart
  8. Mengzhou Xia

In Information Systems

  1. Dacheng Tao
  2. Yu Meng
  3. Mantas Mazeika
  4. Tianyi Zhou
  5. Dan Hendrycks
  6. Doyen Sahoo
  7. Nouha Dziri
  8. Danqi Chen

Citations in the corpus