Papers › Llama 2: Open Foundation and Fine-Tuned Chat Models
Llama 2: Open Foundation and Fine-Tuned Chat Models
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, Artem Korenev, Punit 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
In this work, we develop and release Llama 2, a collection of pretrained and fine-tuned large language models (LLMs) ranging in scale from 7 billion to 70 billion parameters. Our fine-tuned LLMs, called Llama 2-Chat, are optimized for dialogue use cases. Our models outperform open-source chat models on most benchmarks we tested, and based on our human evaluations for helpfulness and safety, may be a suitable substitute for closed-source models. We provide a detailed description of our approach to fine-tuning and safety improvements of Llama 2-Chat in order to enable the community to build on our work and contribute to the responsible development of LLMs.
In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.09288")
Code
Syntology Ran 31 of 52 code samples harvested from 8 repositories linked to this paper; 21 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 4 ran · fixture could not drive it; 18 ran with no contract checked.
By repository: community (archive-listed): 52 samples from 8 repositories, 31 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
19 repositories listed; official and paper-mentioned ones first.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
52 samples harvested; 31 ran; 1 honoured the contract we drafted; 21 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.
Licence: 16 of the 52 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 8 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
30d7eec482ebf6b1 · report
cdc0ad3109c8984b · report
bf78fefededc09f7 · report
9715deb8f27d4266 · report
1bcd8d227ad19b17 · report
50260ad39d7c5e06 · report
98b6bb174c074dae · report
26ec53f064adbca5 · report
4d273bfb0feb28e0 · report
1e7100681c300ca2 · report
b47d48e431b34acd · report
e34097675d132bc1 · report
faa77017b4beec30 · report
b5445674ab17410f · report
48456f10725088b5 · report
f82430123a91cf21 · report
a9e7f2cdf016b88b · report
ffe8d3a5e6f4b477 · report
55e55d5b9201bf5c · report
c478c1e77422f0de · report
0c0f540ee97855aa · report
47407f4c74f590df · report
b14dfe7367095841 · report
dfcc630d6e498f6f · report
14a84c2cbfebc413 · report
303e2b878d149f4a · report
e3a24217edf7812c · report
3d2bc2ac00f3f434 · report
70bf6ebaafd266c4 · report
b99eea6376d1e212 · report
8845976729f4c4ee · report
4334c46d3961b3fb · report
cf00f2eef08595e6 · report
72032d6f73d90892 · report
4427e517543e4577 · report
b336e5e4f4b40ceb · report
1104581ac75ea9c6 · report
660d5e5234e28212 · report
865ca1b3e9c1aa5c · report
75e3a8170f256bb7 · report
61aae005c3076a9b · report
92dc709e4e73e133 · report
fd802dc39c73084a · report
b65e0b634a94c717 · report
b1e98f962f5ae82d · report
efc347eff314b865 · report
b796bb9465578920 · report
77fbadc3b9632874 · report
b66c43d90a1a3a1b · report
c0d4637f25eabf00 · report
dd982ece7960b018 · report
5445de6acd6035bb · report
Tasks
Results from the paper archive 2025-07-28
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections