Baize: An Open-Source Chat Model with Parameter-Efficient Tuning on Self-Chat Data

Canwen Xu, Daya Guo, Nan Duan, Julian McAuley
4/3/2023
cs.CLcs.AI
lora-peft-merging

Official code: project-baize/baize-chatbot (3,142 stars, Python, GPL-3.0, last commit 2024-03-17).

Abstract

Chat models, such as ChatGPT, have shown impressive capabilities and have been rapidly adopted across numerous domains. However, these models are only accessible through a restricted API, creating barriers for new research and progress in the field.

Show full abstract

We propose a pipeline that can automatically generate a high-quality multi-turn chat corpus by leveraging ChatGPT to engage in a conversation with itself. Subsequently, we employ parameter-efficient tuning to enhance LLaMA, an open-source large language model. The resulting model, named Baize, demonstrates good performance in multi-turn dialogues with guardrails that minimize potential risks. Furthermore, we propose a new technique called Self-Distill with Feedback, to further improve the performance of the Baize models with feedback from ChatGPT. The Baize models and data are released for research purposes only at https://github.com/project-baize/baize-chatbot. An online demo is also available at https://huggingface.co/spaces/project-baize/chat-with-baize.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Let ChatGPT teach your own chatbot in hours with a single GPU!

3,142276PythonMar 31, 20232 years agoGPL-3.0

Similar Papers

Cite this paper

@article{xu2023baize,
  title  = {Baize: An Open-Source Chat Model with Parameter-Efficient Tuning on Self-Chat Data},
  author = {Canwen Xu and Daya Guo and Nan Duan and Julian McAuley},
  year   = {2023},
  eprint = {2304.01196},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.01196v4}
}

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/2304.01196.svg)](https://codeofpaper.com/paper/2304.01196)

Discussion