Shepherd: A Critic for Language Model Generation

Tianlu Wang, Ping Yu, Xiaoqing Ellen Tan, Sean O'Brien, Ramakanth Pasunuru +5 more
8/8/2023
cs.CLcs.AI

No official code found. Best implementation: facebookresearch/Shepherd (225 stars, last commit 2023-08-10).

Abstract

As large language models improve, there is increasing interest in techniques that leverage these models' capabilities to refine their own outputs. In this work, we introduce Shepherd, a language model specifically tuned to critique responses and suggest refinements, extending beyond the capabilities of an untuned model to identify diverse errors and provide suggestions to remedy them. At the core of our approach is a high quality feedback dataset, which we curate from community feedback and human annotations. Even though Shepherd is small (7B parameters), its critiques are either equivalent or preferred to those from established models including ChatGPT. Using GPT-4 for evaluation, Shepherd reaches an average win-rate of 53-87% compared to competitive alternatives. In human evaluation, Shepherd strictly outperforms other models and on average closely ties with ChatGPT.

View on arXivView PDF

Code Implementations(1)

This is the repo for the paper Shepherd -- A Critic for Language Model Generation

2259Jupyter NotebookJul 29, 20233 years agoNOASSERTION

Similar Papers

Cite this paper

@article{wang2023shepherd,
  title  = {Shepherd: A Critic for Language Model Generation},
  author = {Tianlu Wang and Ping Yu and Xiaoqing Ellen Tan and Sean O'Brien and Ramakanth Pasunuru and Jane Dwivedi-Yu and Olga Golovneva and Luke Zettlemoyer and Maryam Fazel-Zarandi and Asli Celikyilmaz},
  year   = {2023},
  eprint = {2308.04592},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.04592v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.04592.svg)](https://codeofpaper.com/paper/2308.04592)

Discussion