Papers
arxiv:2308.04275
In-Context Alignment: Chat with Vanilla Language Models Before Fine-Tuning
Published on Aug 8, 2023
Authors:
Abstract
In this note, we explore inference-time alignment through in-context learning. We consider a vanilla pretrained language model Llama-2 before any fine-tuning and retrieve an average of 9 demonstration alignment examples when the model is prompted to follow chat-style instructions. Compared to direct prompting, the in-context alignment without changing model weights leads to a 7x increase in win-rate w.r.t. the text-davinci-003 model from OpenAI, making the vanilla language model comparable to strong baselines with alignment fine-tuning.
Models citing this paper 0
No model linking this paper
Cite arxiv.org/abs/2308.04275 in a model README.md to link it from this page.
Datasets citing this paper 0
No dataset linking this paper
Cite arxiv.org/abs/2308.04275 in a dataset README.md to link it from this page.
Spaces citing this paper 0
No Space linking this paper
Cite arxiv.org/abs/2308.04275 in a Space README.md to link it from this page.