Baize: An Open-Source Chat Model with Self-Chat Data

An open chat model fine-tuned with LoRA on self-chat dialogs.
Ask this paper
Self-chat data generation: Generates 100K dialogs by having ChatGPT converse with itself, then fine-tunes on these dialogs.
LoRA fine-tuning: Uses parameter-efficient LoRA fine-tuning for compute efficiency.
Multiple model sizes: Releases 7B, 13B, and 30B parameter models along with the dialog data.
Open chatbot ecosystem: Part of the 2023 proliferation of open chat models (Vicuna, Alpaca, Koala, Baize) building on LLaMA.
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. 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.