Hugo Touvron, Louis Martin, Kevin Stone, Peter Albert, Amjad Almahairi, Yasmine Babaei, Nikolay Bashlykov, Soumya Batra, Prajjwal Bhargava, Shruti Bhosale, Dan Bikel, Lukas Blecher, Cristian Canton Ferrer, Moya Chen, Guillem Cucurull, David Esiobu, Jude Fernandes, Jeremy Fu, Wenyin Fu, Brian Fuller, Cynthia Gao, Vedanuj Goswami, Naman Goyal, Anthony Hartshorn, Saghar Hosseini, Rui Hou, Hakan Inan, Marcin Kardas, Viktor Kerkez, Madian Khabsa, Isabel Kloumann, PunitArtem Korenev, Singh Koura, Marie-Anne Lachaux, Thibaut Lavril, Jenya Lee, Diana Liskovich, Yinghai Lu, Yuning Mao, Xavier Martinet, Todor Mihaylov, Pushkar Mishra, Igor Molybog, Yixin Nie, Andrew Poulton, Jeremy Reizenstein, Rashi Rungta, Kalyan Saladi, Alan Schelten, Ruan Silva, Eric Michael, Smith Ranjan, Subramanian Xiaoqing, Ellen Tan, Binh Tang, Ross Taylor, Adina Williams, Jian Xiang Kuan, Puxin Xu, Zheng Yan, Iliyan Zarov, Yuchen Zhang, Angela Fan, Melanie Kambadur, Sharan Narang, Aurelien Rodriguez, Robert Stojnic, Sergey Edunov, Thomas Scialom, Meta Genai (2023)
In this work, the authors introduce and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) comprising model scales from 7 billion to 70 billion parameters. The fine-tuned versions, termed L -C, are optimized for dialogue use cases and reportedly surpass other open-source chat models in many benchmarks tested. The paper details a thorough methodology for fine-tuning, enhancing safety, and training LLMs, emphasizing the importance of community contribution for responsible AI development. Through detailed human evaluations and comparisons with closed-source models, the models demonstrate notable performance improvements in helpfulness and safety metrics. The models are released publicly to promote further research and safer application of LLMs. Challenges such as noise in human evaluations and bias in pretraining data are discussed, along with a commitment to ongoing improvements and community engagement in model development.
This paper employs the following methods:
The following datasets were used in this research:
The authors identified the following limitations: