osanseviero commited on
Commit
41a8cf4
1 Parent(s): f218d21

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +1170 -0
README.md ADDED
@@ -0,0 +1,1170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - facebook
7
+ - meta
8
+ - pytorch
9
+ - llama
10
+ - llama-3
11
+ license: other
12
+ extra_gated_prompt: >-
13
+ ### LLAMA 3.1 COMMUNITY LICENSE AGREEMENT
14
+
15
+ Llama 3.1 Version Release Date: July 23, 2024
16
+
17
+ "Agreement" means the terms and conditions for use, reproduction, distribution and modification of the
18
+ Llama Materials set forth herein.
19
+
20
+ "Documentation" means the specifications, manuals and documentation accompanying Llama 3.1
21
+ distributed by Meta at https://llama.meta.com/doc/overview.
22
+
23
+ "Licensee" or "you" means you, or your employer or any other person or entity (if you are entering into
24
+ this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or
25
+ regulations to provide legal consent and that has legal authority to bind your employer or such other
26
+ person or entity if you are entering in this Agreement on their behalf.
27
+
28
+ "Llama 3.1" means the foundational large language models and software and algorithms, including
29
+ machine-learning model code, trained model weights, inference-enabling code, training-enabling code,
30
+ fine-tuning enabling code and other elements of the foregoing distributed by Meta at
31
+ https://llama.meta.com/llama-downloads.
32
+
33
+ "Llama Materials" means, collectively, Meta’s proprietary Llama 3.1 and Documentation (and any
34
+ portion thereof) made available under this Agreement.
35
+
36
+ "Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your
37
+ principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located
38
+ outside of the EEA or Switzerland).
39
+
40
+ 1. License Rights and Redistribution.
41
+
42
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free
43
+ limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Llama
44
+ Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the
45
+ Llama Materials.
46
+
47
+ b. Redistribution and Use.
48
+
49
+ i. If you distribute or make available the Llama Materials (or any derivative works
50
+ thereof), or a product or service (including another AI model) that contains any of them, you shall (A)
51
+ provide a copy of this Agreement with any such Llama Materials; and (B) prominently display “Built with
52
+ Llama” on a related website, user interface, blogpost, about page, or product documentation. If you use
53
+ the Llama Materials or any outputs or results of the Llama Materials to create, train, fine tune, or
54
+ otherwise improve an AI model, which is distributed or made available, you shall also include “Llama” at
55
+ the beginning of any such AI model name.
56
+
57
+ ii. If you receive Llama Materials, or any derivative works thereof, from a Licensee as part
58
+ of an integrated end user product, then Section 2 of this Agreement will not apply to you.
59
+
60
+ iii. You must retain in all copies of the Llama Materials that you distribute the following
61
+ attribution notice within a “Notice” text file distributed as a part of such copies: “Llama 3.1 is
62
+ licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights
63
+ Reserved.”
64
+
65
+ iv. Your use of the Llama Materials must comply with applicable laws and regulations
66
+ (including trade compliance laws and regulations) and adhere to the Acceptable Use Policy for the Llama
67
+ Materials (available at https://llama.meta.com/llama3_1/use-policy), which is hereby incorporated by
68
+ reference into this Agreement.
69
+
70
+ 2. Additional Commercial Terms. If, on the Llama 3.1 version release date, the monthly active users
71
+ of the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 700
72
+ million monthly active users in the preceding calendar month, you must request a license from Meta,
73
+ which Meta may grant to you in its sole discretion, and you are not authorized to exercise any of the
74
+ rights under this Agreement unless or until Meta otherwise expressly grants you such rights.
75
+
76
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA MATERIALS AND ANY
77
+ OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF
78
+ ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
79
+ INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT,
80
+ MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR
81
+ DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND
82
+ ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND
83
+ RESULTS.
84
+
85
+ 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF
86
+ LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING
87
+ OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL,
88
+ INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED
89
+ OF THE POSSIBILITY OF ANY OF THE FOREGOING.
90
+
91
+ 5. Intellectual Property.
92
+
93
+ a. No trademark licenses are granted under this Agreement, and in connection with the Llama
94
+ Materials, neither Meta nor Licensee may use any name or mark owned by or associated with the other
95
+ or any of its affiliates, except as required for reasonable and customary use in describing and
96
+ redistributing the Llama Materials or as set forth in this Section 5(a). Meta hereby grants you a license to
97
+ use “Llama” (the “Mark”) solely as required to comply with the last sentence of Section 1.b.i. You will
98
+ comply with Meta’s brand guidelines (currently accessible at
99
+ https://about.meta.com/brand/resources/meta/company-brand/ ). All goodwill arising out of your use
100
+ of the Mark will inure to the benefit of Meta.
101
+
102
+ b. Subject to Meta’s ownership of Llama Materials and derivatives made by or for Meta, with
103
+ respect to any derivative works and modifications of the Llama Materials that are made by you, as
104
+ between you and Meta, you are and will be the owner of such derivative works and modifications.
105
+
106
+ c. If you institute litigation or other proceedings against Meta or any entity (including a
107
+ cross-claim or counterclaim in a lawsuit) alleging that the Llama Materials or Llama 3.1 outputs or
108
+ results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other
109
+ rights owned or licensable by you, then any licenses granted to you under this Agreement shall
110
+ terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold
111
+ harmless Meta from and against any claim by any third party arising out of or related to your use or
112
+ distribution of the Llama Materials.
113
+
114
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this
115
+ Agreement or access to the Llama Materials and will continue in full force and effect until terminated in
116
+ accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in
117
+ breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete
118
+ and cease use of the Llama Materials. Sections 3, 4 and 7 shall survive the termination of this
119
+ Agreement.
120
+
121
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of
122
+ the State of California without regard to choice of law principles, and the UN Convention on Contracts
123
+ for the International Sale of Goods does not apply to this Agreement. The courts of California shall have
124
+ exclusive jurisdiction of any dispute arising out of this Agreement.
125
+
126
+ ### Llama 3.1 Acceptable Use Policy
127
+
128
+ Meta is committed to promoting safe and fair use of its tools and features, including Llama 3.1. If you
129
+ access or use Llama 3.1, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of
130
+ this policy can be found at [https://llama.meta.com/llama3_1/use-policy](https://llama.meta.com/llama3_1/use-policy)
131
+
132
+ #### Prohibited Uses
133
+
134
+ We want everyone to use Llama 3.1 safely and responsibly. You agree you will not use, or allow
135
+ others to use, Llama 3.1 to:
136
+ 1. Violate the law or others’ rights, including to:
137
+ 1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
138
+ 1. Violence or terrorism
139
+ 2. Exploitation or harm to children, including the solicitation, creation, acquisition, or dissemination of child exploitative content or failure to report Child Sexual Abuse Material
140
+ 3. Human trafficking, exploitation, and sexual violence
141
+ 4. The illegal distribution of information or materials to minors, including obscene materials, or failure to employ legally required age-gating in connection with such information or materials.
142
+ 5. Sexual solicitation
143
+ 6. Any other criminal activity
144
+ 3. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
145
+ 4. Engage in, promote, incite, or facilitate discrimination or other unlawful or harmful conduct in the provision of employment, employment benefits, credit, housing, other economic benefits, or other essential goods and services
146
+ 5. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
147
+ 6. Collect, process, disclose, generate, or infer health, demographic, or other sensitive personal or private information about individuals without rights and consents required by applicable laws
148
+ 7. Engage in or facilitate any action or generate any content that infringes, misappropriates, or otherwise violates any third-party rights, including the outputs or results of any products or services using the Llama Materials
149
+ 8. Create, generate, or facilitate the creation of malicious code, malware, computer viruses or do anything else that could disable, overburden, interfere with or impair the proper working, integrity, operation or appearance of a website or computer system
150
+ 2. Engage in, promote, incite, facilitate, or assist in the planning or development of activities that present a risk of death or bodily harm to individuals, including use of Llama 3.1 related to the following:
151
+ 1. Military, warfare, nuclear industries or applications, espionage, use for materials or activities that are subject to the International Traffic Arms Regulations (ITAR) maintained by the United States Department of State
152
+ 2. Guns and illegal weapons (including weapon development)
153
+ 3. Illegal drugs and regulated/controlled substances
154
+ 4. Operation of critical infrastructure, transportation technologies, or heavy machinery
155
+ 5. Self-harm or harm to others, including suicide, cutting, and eating disorders
156
+ 6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
157
+ 3. Intentionally deceive or mislead others, including use of Llama 3.1 related to the following:
158
+ 1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
159
+ 2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
160
+ 3. Generating, promoting, or further distributing spam
161
+ 4. Impersonating another individual without consent, authorization, or legal right
162
+ 5. Representing that the use of Llama 3.1 or outputs are human-generated
163
+ 6. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
164
+ 4. Fail to appropriately disclose to end users any known dangers of your AI system
165
+
166
+ Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation
167
+ of this Policy through one of the following means:
168
+ * Reporting issues with the model: [https://github.com/meta-llama/llama-models/issues](https://github.com/meta-llama/llama-models/issues)
169
+ * Reporting risky content generated by the model:
170
+ developers.facebook.com/llama_output_feedback
171
+ * Reporting bugs and security concerns: facebook.com/whitehat/info
172
+ * Reporting violations of the Acceptable Use Policy or unlicensed uses of Meta Llama 3: LlamaUseReport@meta.com
173
+ extra_gated_fields:
174
+ First Name: text
175
+ Last Name: text
176
+ Date of birth: date_picker
177
+ Country: country
178
+ Affiliation: text
179
+ Job title:
180
+ type: select
181
+ options:
182
+ - Student
183
+ - Research Graduate
184
+ - AI researcher
185
+ - AI developer/engineer
186
+ - Reporter
187
+ - Other
188
+ geo: ip_location
189
+ By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the Meta Privacy Policy: checkbox
190
+ extra_gated_description: The information you provide will be collected, stored, processed and shared in accordance with the [Meta Privacy Policy](https://www.facebook.com/privacy/policy/).
191
+ extra_gated_button_content: Submit
192
+ ---
193
+
194
+ ## Model Information
195
+
196
+ The Meta Llama 3.1 collection of multilingual large language models (LLMs) is a collection of pretrained and instruction tuned generative models in 8B, 70B and 405B sizes (text in/text out). The Llama 3.1 instruction tuned text only models (8B, 70B, 405B) are optimized for multilingual dialogue use cases and outperform many of the available open source and closed chat models on common industry benchmarks.
197
+
198
+ **Model developer**: Meta
199
+
200
+ **Model Architecture:** Llama 3.1 is an auto-regressive language model that uses an optimized transformer architecture. The tuned versions use supervised fine-tuning (SFT) and reinforcement learning with human feedback (RLHF) to align with human preferences for helpfulness and safety.
201
+
202
+
203
+ <table>
204
+ <tr>
205
+ <td>
206
+ </td>
207
+ <td><strong>Training Data</strong>
208
+ </td>
209
+ <td><strong>Params</strong>
210
+ </td>
211
+ <td><strong>Input modalities</strong>
212
+ </td>
213
+ <td><strong>Output modalities</strong>
214
+ </td>
215
+ <td><strong>Context length</strong>
216
+ </td>
217
+ <td><strong>GQA</strong>
218
+ </td>
219
+ <td><strong>Token count</strong>
220
+ </td>
221
+ <td><strong>Knowledge cutoff</strong>
222
+ </td>
223
+ </tr>
224
+ <tr>
225
+ <td rowspan="3" >Llama 3.1 (text only)
226
+ </td>
227
+ <td rowspan="3" >A new mix of publicly available online data.
228
+ </td>
229
+ <td>8B
230
+ </td>
231
+ <td>Multilingual Text
232
+ </td>
233
+ <td>Multilingual Text and code
234
+ </td>
235
+ <td>128k
236
+ </td>
237
+ <td>Yes
238
+ </td>
239
+ <td rowspan="3" >15T+
240
+ </td>
241
+ <td rowspan="3" >December 2023
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td>70B
246
+ </td>
247
+ <td>Multilingual Text
248
+ </td>
249
+ <td>Multilingual Text and code
250
+ </td>
251
+ <td>128k
252
+ </td>
253
+ <td>Yes
254
+ </td>
255
+ </tr>
256
+ <tr>
257
+ <td>405B
258
+ </td>
259
+ <td>Multilingual Text
260
+ </td>
261
+ <td>Multilingual Text and code
262
+ </td>
263
+ <td>128k
264
+ </td>
265
+ <td>Yes
266
+ </td>
267
+ </tr>
268
+ </table>
269
+
270
+
271
+ **Supported languages:** English, German, French, Italian, Portuguese, Hindi, Spanish, and Thai.
272
+
273
+ **Llama 3.1 family of models**. Token counts refer to pretraining data only. All model versions use Grouped-Query Attention (GQA) for improved inference scalability.
274
+
275
+ **Model Release Date:** July 23, 2024.
276
+
277
+ **Status:** This is a static model trained on an offline dataset. Future versions of the tuned models will be released as we improve model safety with community feedback.
278
+
279
+ **License:** A custom commercial license, the Llama 3.1 Community License, is available at: [https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE](https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE)
280
+
281
+ Where to send questions or comments about the model Instructions on how to provide feedback or comments on the model can be found in the model [README](https://github.com/meta-llama/llama3). For more technical information about generation parameters and recipes for how to use Llama 3.1 in applications, please go [here](https://github.com/meta-llama/llama-recipes).
282
+
283
+
284
+ ## Intended Use
285
+
286
+ **Intended Use Cases** Llama 3.1 is intended for commercial and research use in multiple languages. Instruction tuned text only models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks. The Llama 3.1 model collection also supports the ability to leverage the outputs of its models to improve other models including synthetic data generation and distillation. The Llama 3.1 Community License allows for these use cases.
287
+
288
+ **Out-of-scope** Use in any manner that violates applicable laws or regulations (including trade compliance laws). Use in any other way that is prohibited by the Acceptable Use Policy and Llama 3.1 Community License. Use in languages beyond those explicitly referenced as supported in this model card**.
289
+
290
+ **<span style="text-decoration:underline;">Note</span>: Llama 3.1 has been trained on a broader collection of languages than the 8 supported languages. Developers may fine-tune Llama 3.1 models for languages beyond the 8 supported languages provided they comply with the Llama 3.1 Community License and the Acceptable Use Policy and in such cases are responsible for ensuring that any uses of Llama 3.1 in additional languages is done in a safe and responsible manner.
291
+
292
+
293
+ ## Hardware and Software
294
+
295
+ **Training Factors** We used custom training libraries, Meta's custom built GPU cluster, and production infrastructure for pretraining. Fine-tuning, annotation, and evaluation were also performed on production infrastructure.
296
+
297
+ **Training utilized a cumulative of** 39.3M GPU hours of computation on H100-80GB (TDP of 700W) type hardware, per the table below. Training time is the total GPU time required for training each model and power consumption is the peak power capacity per GPU device used, adjusted for power usage efficiency.
298
+
299
+
300
+ **Training Greenhouse Gas Emissions** Estimated total location-based greenhouse gas emissions were **11,390** tons CO2eq for training. Since 2020, Meta has maintained net zero greenhouse gas emissions in its global operations and matched 100% of its electricity use with renewable energy, therefore the total market-based greenhouse gas emissions for training were 0 tons CO2eq.
301
+
302
+
303
+ <table>
304
+ <tr>
305
+ <td>
306
+ </td>
307
+ <td><strong>Training Time (GPU hours)</strong>
308
+ </td>
309
+ <td><strong>Training Power Consumption (W)</strong>
310
+ </td>
311
+ <td><strong>Training Location-Based Greenhouse Gas Emissions</strong>
312
+ <p>
313
+ <strong>(tons CO2eq)</strong>
314
+ </td>
315
+ <td><strong>Training Market-Based Greenhouse Gas Emissions</strong>
316
+ <p>
317
+ <strong>(tons CO2eq)</strong>
318
+ </td>
319
+ </tr>
320
+ <tr>
321
+ <td>Llama 3.1 8B
322
+ </td>
323
+ <td>1.46M
324
+ </td>
325
+ <td>700
326
+ </td>
327
+ <td>420
328
+ </td>
329
+ <td>0
330
+ </td>
331
+ </tr>
332
+ <tr>
333
+ <td>Llama 3.1 70B
334
+ </td>
335
+ <td>7.0M
336
+ </td>
337
+ <td>700
338
+ </td>
339
+ <td>2,040
340
+ </td>
341
+ <td>0
342
+ </td>
343
+ </tr>
344
+ <tr>
345
+ <td>Llama 3.1 405B
346
+ </td>
347
+ <td>30.84M
348
+ </td>
349
+ <td>700
350
+ </td>
351
+ <td>8,930
352
+ </td>
353
+ <td>0
354
+ </td>
355
+ </tr>
356
+ <tr>
357
+ <td>Total
358
+ </td>
359
+ <td>39.3M
360
+ <td>
361
+ <ul>
362
+
363
+ </ul>
364
+ </td>
365
+ <td>11,390
366
+ </td>
367
+ <td>0
368
+ </td>
369
+ </tr>
370
+ </table>
371
+
372
+
373
+
374
+ The methodology used to determine training energy use and greenhouse gas emissions can be found [here](https://arxiv.org/pdf/2204.05149). Since Meta is openly releasing these models, the training energy use and greenhouse gas emissions will not be incurred by others.
375
+
376
+
377
+ ## Training Data
378
+
379
+ **Overview:** Llama 3.1 was pretrained on ~15 trillion tokens of data from publicly available sources. The fine-tuning data includes publicly available instruction datasets, as well as over 25M synthetically generated examples.
380
+
381
+ **Data Freshness:** The pretraining data has a cutoff of December 2023.
382
+
383
+
384
+ ## Benchmark scores
385
+
386
+ In this section, we report the results for Llama 3.1 models on standard automatic benchmarks. For all the evaluations, we use our internal evaluations library.
387
+
388
+ ### Base pretrained models
389
+
390
+
391
+ <table>
392
+ <tr>
393
+ <td><strong>Category</strong>
394
+ </td>
395
+ <td><strong>Benchmark</strong>
396
+ </td>
397
+ <td><strong># Shots</strong>
398
+ </td>
399
+ <td><strong>Metric</strong>
400
+ </td>
401
+ <td><strong>Llama 3 8B</strong>
402
+ </td>
403
+ <td><strong>Llama 3.1 8B</strong>
404
+ </td>
405
+ <td><strong>Llama 3 70B</strong>
406
+ </td>
407
+ <td><strong>Llama 3.1 70B</strong>
408
+ </td>
409
+ <td><strong>Llama 3.1 405B</strong>
410
+ </td>
411
+ </tr>
412
+ <tr>
413
+ <td rowspan="7" >General
414
+ </td>
415
+ <td>MMLU
416
+ </td>
417
+ <td>5
418
+ </td>
419
+ <td>macro_avg/acc_char
420
+ </td>
421
+ <td>66.7
422
+ </td>
423
+ <td>66.7
424
+ </td>
425
+ <td>79.5
426
+ </td>
427
+ <td>79.3
428
+ </td>
429
+ <td>85.2
430
+ </td>
431
+ </tr>
432
+ <tr>
433
+ <td>MMLU-Pro (CoT)
434
+ </td>
435
+ <td>5
436
+ </td>
437
+ <td>macro_avg/acc_char
438
+ </td>
439
+ <td>36.2
440
+ </td>
441
+ <td>37.1
442
+ </td>
443
+ <td>55.0
444
+ </td>
445
+ <td>53.8
446
+ </td>
447
+ <td>61.6
448
+ </td>
449
+ </tr>
450
+ <tr>
451
+ <td>AGIEval English
452
+ </td>
453
+ <td>3-5
454
+ </td>
455
+ <td>average/acc_char
456
+ </td>
457
+ <td>47.1
458
+ </td>
459
+ <td>47.8
460
+ </td>
461
+ <td>63.0
462
+ </td>
463
+ <td>64.6
464
+ </td>
465
+ <td>71.6
466
+ </td>
467
+ </tr>
468
+ <tr>
469
+ <td>CommonSenseQA
470
+ </td>
471
+ <td>7
472
+ </td>
473
+ <td>acc_char
474
+ </td>
475
+ <td>72.6
476
+ </td>
477
+ <td>75.0
478
+ </td>
479
+ <td>83.8
480
+ </td>
481
+ <td>84.1
482
+ </td>
483
+ <td>85.8
484
+ </td>
485
+ </tr>
486
+ <tr>
487
+ <td>Winogrande
488
+ </td>
489
+ <td>5
490
+ </td>
491
+ <td>acc_char
492
+ </td>
493
+ <td>-
494
+ </td>
495
+ <td>60.5
496
+ </td>
497
+ <td>-
498
+ </td>
499
+ <td>83.3
500
+ </td>
501
+ <td>86.7
502
+ </td>
503
+ </tr>
504
+ <tr>
505
+ <td>BIG-Bench Hard (CoT)
506
+ </td>
507
+ <td>3
508
+ </td>
509
+ <td>average/em
510
+ </td>
511
+ <td>61.1
512
+ </td>
513
+ <td>64.2
514
+ </td>
515
+ <td>81.3
516
+ </td>
517
+ <td>81.6
518
+ </td>
519
+ <td>85.9
520
+ </td>
521
+ </tr>
522
+ <tr>
523
+ <td>ARC-Challenge
524
+ </td>
525
+ <td>25
526
+ </td>
527
+ <td>acc_char
528
+ </td>
529
+ <td>79.4
530
+ </td>
531
+ <td>79.7
532
+ </td>
533
+ <td>93.1
534
+ </td>
535
+ <td>92.9
536
+ </td>
537
+ <td>96.1
538
+ </td>
539
+ </tr>
540
+ <tr>
541
+ <td>Knowledge reasoning
542
+ </td>
543
+ <td>TriviaQA-Wiki
544
+ </td>
545
+ <td>5
546
+ </td>
547
+ <td>em
548
+ </td>
549
+ <td>78.5
550
+ </td>
551
+ <td>77.6
552
+ </td>
553
+ <td>89.7
554
+ </td>
555
+ <td>89.8
556
+ </td>
557
+ <td>91.8
558
+ </td>
559
+ </tr>
560
+ <tr>
561
+ <td rowspan="4" >Reading comprehension
562
+ </td>
563
+ <td>SQuAD
564
+ </td>
565
+ <td>1
566
+ </td>
567
+ <td>em
568
+ </td>
569
+ <td>76.4
570
+ </td>
571
+ <td>77.0
572
+ </td>
573
+ <td>85.6
574
+ </td>
575
+ <td>81.8
576
+ </td>
577
+ <td>89.3
578
+ </td>
579
+ </tr>
580
+ <tr>
581
+ <td>QuAC (F1)
582
+ </td>
583
+ <td>1
584
+ </td>
585
+ <td>f1
586
+ </td>
587
+ <td>44.4
588
+ </td>
589
+ <td>44.9
590
+ </td>
591
+ <td>51.1
592
+ </td>
593
+ <td>51.1
594
+ </td>
595
+ <td>53.6
596
+ </td>
597
+ </tr>
598
+ <tr>
599
+ <td>BoolQ
600
+ </td>
601
+ <td>0
602
+ </td>
603
+ <td>acc_char
604
+ </td>
605
+ <td>75.7
606
+ </td>
607
+ <td>75.0
608
+ </td>
609
+ <td>79.0
610
+ </td>
611
+ <td>79.4
612
+ </td>
613
+ <td>80.0
614
+ </td>
615
+ </tr>
616
+ <tr>
617
+ <td>DROP (F1)
618
+ </td>
619
+ <td>3
620
+ </td>
621
+ <td>f1
622
+ </td>
623
+ <td>58.4
624
+ </td>
625
+ <td>59.5
626
+ </td>
627
+ <td>79.7
628
+ </td>
629
+ <td>79.6
630
+ </td>
631
+ <td>84.8
632
+ </td>
633
+ </tr>
634
+ </table>
635
+
636
+
637
+
638
+ ### Instruction tuned models
639
+
640
+
641
+ <table>
642
+ <tr>
643
+ <td><strong>Category</strong>
644
+ </td>
645
+ <td><strong>Benchmark</strong>
646
+ </td>
647
+ <td><strong># Shots</strong>
648
+ </td>
649
+ <td><strong>Metric</strong>
650
+ </td>
651
+ <td><strong>Llama 3 8B Instruct</strong>
652
+ </td>
653
+ <td><strong>Llama 3.1 8B Instruct</strong>
654
+ </td>
655
+ <td><strong>Llama 3 70B Instruct</strong>
656
+ </td>
657
+ <td><strong>Llama 3.1 70B Instruct</strong>
658
+ </td>
659
+ <td><strong>Llama 3.1 405B Instruct</strong>
660
+ </td>
661
+ </tr>
662
+ <tr>
663
+ <td rowspan="4" >General
664
+ </td>
665
+ <td>MMLU
666
+ </td>
667
+ <td>5
668
+ </td>
669
+ <td>macro_avg/acc
670
+ </td>
671
+ <td>68.5
672
+ </td>
673
+ <td>69.4
674
+ </td>
675
+ <td>82.0
676
+ </td>
677
+ <td>83.6
678
+ </td>
679
+ <td>87.3
680
+ </td>
681
+ </tr>
682
+ <tr>
683
+ <td>MMLU (CoT)
684
+ </td>
685
+ <td>0
686
+ </td>
687
+ <td>macro_avg/acc
688
+ </td>
689
+ <td>65.3
690
+ </td>
691
+ <td>73.0
692
+ </td>
693
+ <td>80.9
694
+ </td>
695
+ <td>86.0
696
+ </td>
697
+ <td>88.6
698
+ </td>
699
+ </tr>
700
+ <tr>
701
+ <td>MMLU-Pro (CoT)
702
+ </td>
703
+ <td>5
704
+ </td>
705
+ <td>micro_avg/acc_char
706
+ </td>
707
+ <td>45.5
708
+ </td>
709
+ <td>48.3
710
+ </td>
711
+ <td>63.4
712
+ </td>
713
+ <td>66.4
714
+ </td>
715
+ <td>73.3
716
+ </td>
717
+ </tr>
718
+ <tr>
719
+ <td>IFEval
720
+ </td>
721
+ <td>
722
+ </td>
723
+ <td>
724
+ </td>
725
+ <td>76.8
726
+ </td>
727
+ <td>80.4
728
+ </td>
729
+ <td>82.9
730
+ </td>
731
+ <td>87.5
732
+ </td>
733
+ <td>88.6
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td rowspan="2" >Reasoning
738
+ </td>
739
+ <td>ARC-C
740
+ </td>
741
+ <td>0
742
+ </td>
743
+ <td>acc
744
+ </td>
745
+ <td>82.4
746
+ </td>
747
+ <td>83.4
748
+ </td>
749
+ <td>94.4
750
+ </td>
751
+ <td>94.8
752
+ </td>
753
+ <td>96.9
754
+ </td>
755
+ </tr>
756
+ <tr>
757
+ <td>GPQA
758
+ </td>
759
+ <td>0
760
+ </td>
761
+ <td>em
762
+ </td>
763
+ <td>34.6
764
+ </td>
765
+ <td>30.4
766
+ </td>
767
+ <td>39.5
768
+ </td>
769
+ <td>41.7
770
+ </td>
771
+ <td>50.7
772
+ </td>
773
+ </tr>
774
+ <tr>
775
+ <td rowspan="4" >Code
776
+ </td>
777
+ <td>HumanEval
778
+ </td>
779
+ <td>0
780
+ </td>
781
+ <td>pass@1
782
+ </td>
783
+ <td>60.4
784
+ </td>
785
+ <td>72.6
786
+ </td>
787
+ <td>81.7
788
+ </td>
789
+ <td>80.5
790
+ </td>
791
+ <td>89.0
792
+ </td>
793
+ </tr>
794
+ <tr>
795
+ <td>MBPP ++ base version
796
+ </td>
797
+ <td>0
798
+ </td>
799
+ <td>pass@1
800
+ </td>
801
+ <td>70.6
802
+ </td>
803
+ <td>72.8
804
+ </td>
805
+ <td>82.5
806
+ </td>
807
+ <td>86.0
808
+ </td>
809
+ <td>88.6
810
+ </td>
811
+ </tr>
812
+ <tr>
813
+ <td>Multipl-E HumanEval
814
+ </td>
815
+ <td>0
816
+ </td>
817
+ <td>pass@1
818
+ </td>
819
+ <td>-
820
+ </td>
821
+ <td>50.8
822
+ </td>
823
+ <td>-
824
+ </td>
825
+ <td>65.5
826
+ </td>
827
+ <td>75.2
828
+ </td>
829
+ </tr>
830
+ <tr>
831
+ <td>Multipl-E MBPP
832
+ </td>
833
+ <td>0
834
+ </td>
835
+ <td>pass@1
836
+ </td>
837
+ <td>-
838
+ </td>
839
+ <td>52.4
840
+ </td>
841
+ <td>-
842
+ </td>
843
+ <td>62.0
844
+ </td>
845
+ <td>65.7
846
+ </td>
847
+ </tr>
848
+ <tr>
849
+ <td rowspan="2" >Math
850
+ </td>
851
+ <td>GSM-8K (CoT)
852
+ </td>
853
+ <td>8
854
+ </td>
855
+ <td>em_maj1@1
856
+ </td>
857
+ <td>80.6
858
+ </td>
859
+ <td>84.5
860
+ </td>
861
+ <td>93.0
862
+ </td>
863
+ <td>95.1
864
+ </td>
865
+ <td>96.8
866
+ </td>
867
+ </tr>
868
+ <tr>
869
+ <td>MATH (CoT)
870
+ </td>
871
+ <td>0
872
+ </td>
873
+ <td>final_em
874
+ </td>
875
+ <td>29.1
876
+ </td>
877
+ <td>51.9
878
+ </td>
879
+ <td>51.0
880
+ </td>
881
+ <td>68.0
882
+ </td>
883
+ <td>73.8
884
+ </td>
885
+ </tr>
886
+ <tr>
887
+ <td rowspan="4" >Tool Use
888
+ </td>
889
+ <td>API-Bank
890
+ </td>
891
+ <td>0
892
+ </td>
893
+ <td>acc
894
+ </td>
895
+ <td>48.3
896
+ </td>
897
+ <td>82.6
898
+ </td>
899
+ <td>85.1
900
+ </td>
901
+ <td>90.0
902
+ </td>
903
+ <td>92.0
904
+ </td>
905
+ </tr>
906
+ <tr>
907
+ <td>BFCL
908
+ </td>
909
+ <td>0
910
+ </td>
911
+ <td>acc
912
+ </td>
913
+ <td>60.3
914
+ </td>
915
+ <td>76.1
916
+ </td>
917
+ <td>83.0
918
+ </td>
919
+ <td>84.8
920
+ </td>
921
+ <td>88.5
922
+ </td>
923
+ </tr>
924
+ <tr>
925
+ <td>Gorilla Benchmark API Bench
926
+ </td>
927
+ <td>0
928
+ </td>
929
+ <td>acc
930
+ </td>
931
+ <td>1.7
932
+ </td>
933
+ <td>8.2
934
+ </td>
935
+ <td>14.7
936
+ </td>
937
+ <td>29.7
938
+ </td>
939
+ <td>35.3
940
+ </td>
941
+ </tr>
942
+ <tr>
943
+ <td>Nexus (0-shot)
944
+ </td>
945
+ <td>0
946
+ </td>
947
+ <td>macro_avg/acc
948
+ </td>
949
+ <td>18.1
950
+ </td>
951
+ <td>38.5
952
+ </td>
953
+ <td>47.8
954
+ </td>
955
+ <td>56.7
956
+ </td>
957
+ <td>58.7
958
+ </td>
959
+ </tr>
960
+ <tr>
961
+ <td>Multilingual
962
+ </td>
963
+ <td>Multilingual MGSM (CoT)
964
+ </td>
965
+ <td>0
966
+ </td>
967
+ <td>em
968
+ </td>
969
+ <td>-
970
+ </td>
971
+ <td>68.9
972
+ </td>
973
+ <td>-
974
+ </td>
975
+ <td>86.9
976
+ </td>
977
+ <td>91.6
978
+ </td>
979
+ </tr>
980
+ </table>
981
+
982
+ #### Multilingual benchmarks
983
+
984
+ <table>
985
+ <tr>
986
+ <td><strong>Category</strong>
987
+ </td>
988
+ <td><strong>Benchmark</strong>
989
+ </td>
990
+ <td><strong>Language</strong>
991
+ </td>
992
+ <td><strong>Llama 3.1 8B</strong>
993
+ </td>
994
+ <td><strong>Llama 3.1 70B</strong>
995
+ </td>
996
+ <td><strong>Llama 3.1 405B</strong>
997
+ </td>
998
+ </tr>
999
+ <tr>
1000
+ <td rowspan="9" ><strong>General</strong>
1001
+ </td>
1002
+ <td rowspan="9" ><strong>MMLU (5-shot, macro_avg/acc)</strong>
1003
+ </td>
1004
+ <td>Portuguese
1005
+ </td>
1006
+ <td>62.12
1007
+ </td>
1008
+ <td>80.13
1009
+ </td>
1010
+ <td>84.95
1011
+ </td>
1012
+ </tr>
1013
+ <tr>
1014
+ <td>Spanish
1015
+ </td>
1016
+ <td>62.45
1017
+ </td>
1018
+ <td>80.05
1019
+ </td>
1020
+ <td>85.08
1021
+ </td>
1022
+ </tr>
1023
+ <tr>
1024
+ <td>Italian
1025
+ </td>
1026
+ <td>61.63
1027
+ </td>
1028
+ <td>80.4
1029
+ </td>
1030
+ <td>85.04
1031
+ </td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td>German
1035
+ </td>
1036
+ <td>60.59
1037
+ </td>
1038
+ <td>79.27
1039
+ </td>
1040
+ <td>84.36
1041
+ </td>
1042
+ </tr>
1043
+ <tr>
1044
+ <td>French
1045
+ </td>
1046
+ <td>62.34
1047
+ </td>
1048
+ <td>79.82
1049
+ </td>
1050
+ <td>84.66
1051
+ </td>
1052
+ </tr>
1053
+ <tr>
1054
+ <td>Hindi
1055
+ </td>
1056
+ <td>50.88
1057
+ </td>
1058
+ <td>74.52
1059
+ </td>
1060
+ <td>80.31
1061
+ </td>
1062
+ </tr>
1063
+ <tr>
1064
+ <td>Thai
1065
+ </td>
1066
+ <td>50.32
1067
+ </td>
1068
+ <td>72.95
1069
+ </td>
1070
+ <td>78.21
1071
+ </td>
1072
+ </tr>
1073
+ </table>
1074
+
1075
+
1076
+
1077
+ ## Responsibility & Safety
1078
+
1079
+ As part of our Responsible release approach, we followed a three-pronged strategy to managing trust & safety risks:
1080
+
1081
+
1082
+
1083
+ * Enable developers to deploy helpful, safe and flexible experiences for their target audience and for the use cases supported by Llama.
1084
+ * Protect developers against adversarial users aiming to exploit Llama capabilities to potentially cause harm.
1085
+ * Provide protections for the community to help prevent the misuse of our models.
1086
+
1087
+
1088
+ ### Responsible deployment
1089
+
1090
+ Llama is a foundational technology designed to be used in a variety of use cases, examples on how Meta’s Llama models have been responsibly deployed can be found in our [Community Stories webpage](https://llama.meta.com/community-stories/). Our approach is to build the most helpful models enabling the world to benefit from the technology power, by aligning our model safety for the generic use cases addressing a standard set of harms. Developers are then in the driver seat to tailor safety for their use case, defining their own policy and deploying the models with the necessary safeguards in their Llama systems. Llama 3.1 was developed following the best practices outlined in our Responsible Use Guide, you can refer to the [Responsible Use Guide](https://llama.meta.com/responsible-use-guide/) to learn more.
1091
+
1092
+
1093
+ #### Llama 3.1 instruct
1094
+
1095
+ Our main objectives for conducting safety fine-tuning are to provide the research community with a valuable resource for studying the robustness of safety fine-tuning, as well as to offer developers a readily available, safe, and powerful model for various applications to reduce the developer workload to deploy safe AI systems. For more details on the safety mitigations implemented please read the Llama 3 paper.
1096
+
1097
+ **Fine-tuning data**
1098
+
1099
+ We employ a multi-faceted approach to data collection, combining human-generated data from our vendors with synthetic data to mitigate potential safety risks. We’ve developed many large language model (LLM)-based classifiers that enable us to thoughtfully select high-quality prompts and responses, enhancing data quality control.
1100
+
1101
+ **Refusals and Tone**
1102
+
1103
+ Building on the work we started with Llama 3, we put a great emphasis on model refusals to benign prompts as well as refusal tone. We included both borderline and adversarial prompts in our safety data strategy, and modified our safety data responses to follow tone guidelines.
1104
+
1105
+
1106
+ #### Llama 3.1 systems
1107
+
1108
+ **Large language models, including Llama 3.1, are not designed to be deployed in isolation but instead should be deployed as part of an overall AI system with additional safety guardrails as required.** Developers are expected to deploy system safeguards when building agentic systems. Safeguards are key to achieve the right helpfulness-safety alignment as well as mitigating safety and security risks inherent to the system and any integration of the model or system with external tools.
1109
+
1110
+ As part of our responsible release approach, we provide the community with [safeguards](https://llama.meta.com/trust-and-safety/) that developers should deploy with Llama models or other LLMs, including Llama Guard 3, Prompt Guard and Code Shield. All our [reference implementations](https://github.com/meta-llama/llama-agentic-system) demos contain these safeguards by default so developers can benefit from system-level safety out-of-the-box.
1111
+
1112
+
1113
+ #### New capabilities
1114
+
1115
+ Note that this release introduces new capabilities, including a longer context window, multilingual inputs and outputs and possible integrations by developers with third party tools. Building with these new capabilities requires specific considerations in addition to the best practices that generally apply across all Generative AI use cases.
1116
+
1117
+ **Tool-use**: Just like in standard software development, developers are responsible for the integration of the LLM with the tools and services of their choice. They should define a clear policy for their use case and assess the integrity of the third party services they use to be aware of the safety and security limitations when using this capability. Refer to the Responsible Use Guide for best practices on the safe deployment of the third party safeguards.
1118
+
1119
+ **Multilinguality**: Llama 3.1 supports 7 languages in addition to English: French, German, Hindi, Italian, Portuguese, Spanish, and Thai. Llama may be able to output text in other languages than those that meet performance thresholds for safety and helpfulness. We strongly discourage developers from using this model to converse in non-supported languages without implementing finetuning and system controls in alignment with their policies and the best practices shared in the Responsible Use Guide.
1120
+
1121
+
1122
+ ### Evaluations
1123
+
1124
+ We evaluated Llama models for common use cases as well as specific capabilities. Common use cases evaluations measure safety risks of systems for most commonly built applications including chat bot, coding assistant, tool calls. We built dedicated, adversarial evaluation datasets and evaluated systems composed of Llama models and Llama Guard 3 to filter input prompt and output response. It is important to evaluate applications in context, and we recommend building dedicated evaluation dataset for your use case. Prompt Guard and Code Shield are also available if relevant to the application.
1125
+
1126
+ Capability evaluations measure vulnerabilities of Llama models inherent to specific capabilities, for which were crafted dedicated benchmarks including long context, multilingual, tools calls, coding or memorization.
1127
+
1128
+ **Red teaming**
1129
+
1130
+ For both scenarios, we conducted recurring red teaming exercises with the goal of discovering risks via adversarial prompting and we used the learnings to improve our benchmarks and safety tuning datasets.
1131
+
1132
+ We partnered early with subject-matter experts in critical risk areas to understand the nature of these real-world harms and how such models may lead to unintended harm for society. Based on these conversations, we derived a set of adversarial goals for the red team to attempt to achieve, such as extracting harmful information or reprogramming the model to act in a potentially harmful capacity. The red team consisted of experts in cybersecurity, adversarial machine learning, responsible AI, and integrity in addition to multilingual content specialists with background in integrity issues in specific geographic markets.
1133
+
1134
+
1135
+ ### Critical and other risks
1136
+
1137
+ We specifically focused our efforts on mitigating the following critical risk areas:
1138
+
1139
+ **1- CBRNE (Chemical, Biological, Radiological, Nuclear, and Explosive materials) helpfulness**
1140
+
1141
+ To assess risks related to proliferation of chemical and biological weapons, we performed uplift testing designed to assess whether use of Llama 3.1 models could meaningfully increase the capabilities of malicious actors to plan or carry out attacks using these types of weapons.
1142
+
1143
+
1144
+ **2. Child Safety**
1145
+
1146
+ Child Safety risk assessments were conducted using a team of experts, to assess the model’s capability to produce outputs that could result in Child Safety risks and inform on any necessary and appropriate risk mitigations via fine tuning. We leveraged those expert red teaming sessions to expand the coverage of our evaluation benchmarks through Llama 3 model development. For Llama 3, we conducted new in-depth sessions using objective based methodologies to assess the model risks along multiple attack vectors including the additional languages Llama 3 is trained on. We also partnered with content specialists to perform red teaming exercises assessing potentially violating content while taking account of market specific nuances or experiences.
1147
+
1148
+ **3. Cyber attack enablement**
1149
+
1150
+ Our cyber attack uplift study investigated whether LLMs can enhance human capabilities in hacking tasks, both in terms of skill level and speed.
1151
+
1152
+ Our attack automation study focused on evaluating the capabilities of LLMs when used as autonomous agents in cyber offensive operations, specifically in the context of ransomware attacks. This evaluation was distinct from previous studies that considered LLMs as interactive assistants. The primary objective was to assess whether these models could effectively function as independent agents in executing complex cyber-attacks without human intervention.
1153
+
1154
+ Our study of Llama-3.1-405B’s social engineering uplift for cyber attackers was conducted to assess the effectiveness of AI models in aiding cyber threat actors in spear phishing campaigns. Please read our Llama 3.1 Cyber security whitepaper to learn more.
1155
+
1156
+
1157
+ ### Community
1158
+
1159
+ Generative AI safety requires expertise and tooling, and we believe in the strength of the open community to accelerate its progress. We are active members of open consortiums, including the AI Alliance, Partnership on AI and MLCommons, actively contributing to safety standardization and transparency. We encourage the community to adopt taxonomies like the MLCommons Proof of Concept evaluation to facilitate collaboration and transparency on safety and content evaluations. Our Purple Llama tools are open sourced for the community to use and widely distributed across ecosystem partners including cloud service providers. We encourage community contributions to our [Github repository](https://github.com/meta-llama/PurpleLlama).
1160
+
1161
+ We also set up the [Llama Impact Grants](https://llama.meta.com/llama-impact-grants/) program to identify and support the most compelling applications of Meta’s Llama model for societal benefit across three categories: education, climate and open innovation. The 20 finalists from the hundreds of applications can be found [here](https://llama.meta.com/llama-impact-grants/#finalists).
1162
+
1163
+ Finally, we put in place a set of resources including an [output reporting mechanism](https://developers.facebook.com/llama_output_feedback) and [bug bounty program](https://www.facebook.com/whitehat) to continuously improve the Llama technology with the help of the community.
1164
+
1165
+
1166
+ ## Ethical Considerations and Limitations
1167
+
1168
+ The core values of Llama 3.1 are openness, inclusivity and helpfulness. It is meant to serve everyone, and to work for a wide range of use cases. It is thus designed to be accessible to people across many different backgrounds, experiences and perspectives. Llama 3.1 addresses users and their needs as they are, without insertion unnecessary judgment or normativity, while reflecting the understanding that even content that may appear problematic in some cases can serve valuable purposes in others. It respects the dignity and autonomy of all users, especially in terms of the values of free thought and expression that power innovation and progress.
1169
+
1170
+ But Llama 3.1 is a new technology, and like any new technology, there are risks associated with its use. Testing conducted to date has not covered, nor could it cover, all scenarios. For these reasons, as with all LLMs, Llama 3.1’s potential outputs cannot be predicted in advance, and the model may in some instances produce inaccurate, biased or other objectionable responses to user prompts. Therefore, before deploying any applications of Llama 3.1 models, developers should perform safety testing and tuning tailored to their specific applications of the model. Please refer to available resources including our [Responsible Use Guide](https://llama.meta.com/responsible-use-guide), [Trust and Safety](https://llama.meta.com/trust-and-safety/) solutions, and other [resources](https://llama.meta.com/docs/get-started/) to learn more about responsible development.