LoneStriker commited on
Commit
6241df4
1 Parent(s): a403156

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -1,35 +1,6 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
1
+ Meta-Llama-3-70B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
2
+ Meta-Llama-3-70B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
3
+ Meta-Llama-3-70B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
4
+ Meta-Llama-3-70B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
5
+ Meta-Llama-3-70B-Instruct-Q6_K.gguf-part-a filter=lfs diff=lfs merge=lfs -text
6
+ Meta-Llama-3-70B-Instruct-Q6_K.gguf-part-b filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
LICENSE ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ META LLAMA 3 COMMUNITY LICENSE AGREEMENT
2
+ Meta Llama 3 Version Release Date: April 18, 2024
3
+
4
+ “Agreement” means the terms and conditions for use, reproduction, distribution and modification of the
5
+ Llama Materials set forth herein.
6
+
7
+ “Documentation” means the specifications, manuals and documentation accompanying Meta Llama 3
8
+ distributed by Meta at https://llama.meta.com/get-started/.
9
+
10
+ “Licensee” or “you” means you, or your employer or any other person or entity (if you are entering into
11
+ this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or
12
+ regulations to provide legal consent and that has legal authority to bind your employer or such other
13
+ person or entity if you are entering in this Agreement on their behalf.
14
+
15
+ “Meta Llama 3” means the foundational large language models and software and algorithms, including
16
+ machine-learning model code, trained model weights, inference-enabling code, training-enabling code,
17
+ fine-tuning enabling code and other elements of the foregoing distributed by Meta at
18
+ https://llama.meta.com/llama-downloads.
19
+
20
+ “Llama Materials” means, collectively, Meta’s proprietary Meta Llama 3 and Documentation (and any
21
+ portion thereof) made available under this Agreement.
22
+
23
+ “Meta” or “we” means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your
24
+ principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located
25
+ outside of the EEA or Switzerland).
26
+
27
+ By clicking “I Accept” below or by using or distributing any portion or element of the Llama Materials,
28
+ you agree to be bound by this Agreement.
29
+
30
+ 1. License Rights and Redistribution.
31
+
32
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free
33
+ limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Llama
34
+ Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the
35
+ Llama Materials.
36
+
37
+ b. Redistribution and Use.
38
+
39
+ i. If you distribute or make available the Llama Materials (or any derivative works
40
+ thereof), or a product or service that uses any of them, including another AI model, you shall (A) provide
41
+ a copy of this Agreement with any such Llama Materials; and (B) prominently display “Built with Meta
42
+ Llama 3” on a related website, user interface, blogpost, about page, or product documentation. If you
43
+ use the Llama Materials to create, train, fine tune, or otherwise improve an AI model, which is
44
+ distributed or made available, you shall also include “Llama 3” at the beginning of any such AI model
45
+ name.
46
+
47
+ ii. If you receive Llama Materials, or any derivative works thereof, from a Licensee as part
48
+ of an integrated end user product, then Section 2 of this Agreement will not apply to you.
49
+
50
+ iii. You must retain in all copies of the Llama Materials that you distribute the following
51
+ attribution notice within a “Notice” text file distributed as a part of such copies: “Meta Llama 3 is
52
+ licensed under the Meta Llama 3 Community License, Copyright © Meta Platforms, Inc. All Rights
53
+ Reserved.”
54
+
55
+ iv. Your use of the Llama Materials must comply with applicable laws and regulations
56
+ (including trade compliance laws and regulations) and adhere to the Acceptable Use Policy for the Llama
57
+ Materials (available at https://llama.meta.com/llama3/use-policy), which is hereby incorporated by
58
+ reference into this Agreement.
59
+
60
+ v. You will not use the Llama Materials or any output or results of the Llama Materials to
61
+ improve any other large language model (excluding Meta Llama 3 or derivative works thereof).
62
+
63
+ 2. Additional Commercial Terms. If, on the Meta Llama 3 version release date, the monthly active users
64
+ of the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 700
65
+ million monthly active users in the preceding calendar month, you must request a license from Meta,
66
+ which Meta may grant to you in its sole discretion, and you are not authorized to exercise any of the
67
+ rights under this Agreement unless or until Meta otherwise expressly grants you such rights.
68
+
69
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA MATERIALS AND ANY
70
+ OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF
71
+ ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
72
+ INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT,
73
+ MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR
74
+ DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND
75
+ ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND
76
+ RESULTS.
77
+
78
+ 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF
79
+ LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING
80
+ OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL,
81
+ INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED
82
+ OF THE POSSIBILITY OF ANY OF THE FOREGOING.
83
+
84
+ 5. Intellectual Property.
85
+
86
+ a. No trademark licenses are granted under this Agreement, and in connection with the Llama
87
+ Materials, neither Meta nor Licensee may use any name or mark owned by or associated with the other
88
+ or any of its affiliates, except as required for reasonable and customary use in describing and
89
+ redistributing the Llama Materials or as set forth in this Section 5(a). Meta hereby grants you a license to
90
+ use “Llama 3” (the “Mark”) solely as required to comply with the last sentence of Section 1.b.i. You will
91
+ comply with Meta’s brand guidelines (currently accessible at
92
+ https://about.meta.com/brand/resources/meta/company-brand/ ). All goodwill arising out of your use
93
+ of the Mark will inure to the benefit of Meta.
94
+
95
+ b. Subject to Meta’s ownership of Llama Materials and derivatives made by or for Meta, with
96
+ respect to any derivative works and modifications of the Llama Materials that are made by you, as
97
+ between you and Meta, you are and will be the owner of such derivative works and modifications.
98
+
99
+ c. If you institute litigation or other proceedings against Meta or any entity (including a
100
+ cross-claim or counterclaim in a lawsuit) alleging that the Llama Materials or Meta Llama 3 outputs or
101
+ results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other
102
+ rights owned or licensable by you, then any licenses granted to you under this Agreement shall
103
+ terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold
104
+ harmless Meta from and against any claim by any third party arising out of or related to your use or
105
+ distribution of the Llama Materials.
106
+
107
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this
108
+ Agreement or access to the Llama Materials and will continue in full force and effect until terminated in
109
+ accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in
110
+ breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete
111
+ and cease use of the Llama Materials. Sections 3, 4 and 7 shall survive the termination of this
112
+ Agreement.
113
+
114
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of
115
+ the State of California without regard to choice of law principles, and the UN Convention on Contracts
116
+ for the International Sale of Goods does not apply to this Agreement. The courts of California shall have
117
+ exclusive jurisdiction of any dispute arising out of this Agreement.
Meta-Llama-3-70B-Instruct-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba29d7e951c35e28d2504bb3f51aae87e0cbde0c95440ab3b9978ff003aefa71
3
+ size 26375621056
Meta-Llama-3-70B-Instruct-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fda31a3b0389de60c0a9098c166c720167019d45f512a2f4234ae63dc7078166
3
+ size 37141105088
Meta-Llama-3-70B-Instruct-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c624abca99f61b1c3421a93d1e1ee19de21faa1ae4f7edf60e1a1556e48fac25
3
+ size 42520906176
Meta-Llama-3-70B-Instruct-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84f822b995dc1f93bcc82c110a6d21b6f659c7d267ef486223e513f2eb3a392b
3
+ size 49950329280
Meta-Llama-3-70B-Instruct-Q6_K.gguf-part-a ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:432bc7fc2c123bb5e2378d098aa8aa9d29a62d7d6ad9ff036cd304a6252d3221
3
+ size 28944327904
Meta-Llama-3-70B-Instruct-Q6_K.gguf-part-b ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c337bf2faf36d2a6366f23a387673b4ac96980e24a710ad630760e87e05ea824
3
+ size 28944327904
README.md ADDED
@@ -0,0 +1,764 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ license_name: llama3
13
+ license_link: LICENSE
14
+ extra_gated_prompt: >-
15
+ ### META LLAMA 3 COMMUNITY LICENSE AGREEMENT
16
+
17
+ Meta Llama 3 Version Release Date: April 18, 2024
18
+
19
+ "Agreement" means the terms and conditions for use, reproduction, distribution and modification of the
20
+ Llama Materials set forth herein.
21
+
22
+ "Documentation" means the specifications, manuals and documentation accompanying Meta Llama 3
23
+ distributed by Meta at https://llama.meta.com/get-started/.
24
+
25
+ "Licensee" or "you" means you, or your employer or any other person or entity (if you are entering into
26
+ this Agreement on such person or entity’s behalf), of the age required under applicable laws, rules or
27
+ regulations to provide legal consent and that has legal authority to bind your employer or such other
28
+ person or entity if you are entering in this Agreement on their behalf.
29
+
30
+ "Meta Llama 3" means the foundational large language models and software and algorithms, including
31
+ machine-learning model code, trained model weights, inference-enabling code, training-enabling code,
32
+ fine-tuning enabling code and other elements of the foregoing distributed by Meta at
33
+ https://llama.meta.com/llama-downloads.
34
+
35
+ "Llama Materials" means, collectively, Meta’s proprietary Meta Llama 3 and Documentation (and any
36
+ portion thereof) made available under this Agreement.
37
+
38
+ "Meta" or "we" means Meta Platforms Ireland Limited (if you are located in or, if you are an entity, your
39
+ principal place of business is in the EEA or Switzerland) and Meta Platforms, Inc. (if you are located
40
+ outside of the EEA or Switzerland).
41
+
42
+ 1. License Rights and Redistribution.
43
+
44
+ a. Grant of Rights. You are granted a non-exclusive, worldwide, non-transferable and royalty-free
45
+ limited license under Meta’s intellectual property or other rights owned by Meta embodied in the Llama
46
+ Materials to use, reproduce, distribute, copy, create derivative works of, and make modifications to the
47
+ Llama Materials.
48
+
49
+ b. Redistribution and Use.
50
+
51
+ i. If you distribute or make available the Llama Materials (or any derivative works
52
+ thereof), or a product or service that uses any of them, including another AI model, you shall (A) provide
53
+ a copy of this Agreement with any such Llama Materials; and (B) prominently display “Built with Meta
54
+ Llama 3” on a related website, user interface, blogpost, about page, or product documentation. If you
55
+ use the Llama Materials to create, train, fine tune, or otherwise improve an AI model, which is
56
+ distributed or made available, you shall also include “Llama 3” at the beginning of any such AI model
57
+ name.
58
+
59
+ ii. If you receive Llama Materials, or any derivative works thereof, from a Licensee as part
60
+ of an integrated end user product, then Section 2 of this Agreement will not apply to you.
61
+
62
+ iii. You must retain in all copies of the Llama Materials that you distribute the following
63
+ attribution notice within a “Notice” text file distributed as a part of such copies: “Meta Llama 3 is
64
+ licensed under the Meta Llama 3 Community License, Copyright © Meta Platforms, Inc. All Rights
65
+ Reserved.”
66
+
67
+ iv. Your use of the Llama Materials must comply with applicable laws and regulations
68
+ (including trade compliance laws and regulations) and adhere to the Acceptable Use Policy for the Llama
69
+ Materials (available at https://llama.meta.com/llama3/use-policy), which is hereby incorporated by
70
+ reference into this Agreement.
71
+
72
+ v. You will not use the Llama Materials or any output or results of the Llama Materials to
73
+ improve any other large language model (excluding Meta Llama 3 or derivative works thereof).
74
+
75
+ 2. Additional Commercial Terms. If, on the Meta Llama 3 version release date, the monthly active users
76
+ of the products or services made available by or for Licensee, or Licensee’s affiliates, is greater than 700
77
+ million monthly active users in the preceding calendar month, you must request a license from Meta,
78
+ which Meta may grant to you in its sole discretion, and you are not authorized to exercise any of the
79
+ rights under this Agreement unless or until Meta otherwise expressly grants you such rights.
80
+
81
+ 3. Disclaimer of Warranty. UNLESS REQUIRED BY APPLICABLE LAW, THE LLAMA MATERIALS AND ANY
82
+ OUTPUT AND RESULTS THEREFROM ARE PROVIDED ON AN “AS IS” BASIS, WITHOUT WARRANTIES OF
83
+ ANY KIND, AND META DISCLAIMS ALL WARRANTIES OF ANY KIND, BOTH EXPRESS AND IMPLIED,
84
+ INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OF TITLE, NON-INFRINGEMENT,
85
+ MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR
86
+ DETERMINING THE APPROPRIATENESS OF USING OR REDISTRIBUTING THE LLAMA MATERIALS AND
87
+ ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF THE LLAMA MATERIALS AND ANY OUTPUT AND
88
+ RESULTS.
89
+
90
+ 4. Limitation of Liability. IN NO EVENT WILL META OR ITS AFFILIATES BE LIABLE UNDER ANY THEORY OF
91
+ LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE, PRODUCTS LIABILITY, OR OTHERWISE, ARISING
92
+ OUT OF THIS AGREEMENT, FOR ANY LOST PROFITS OR ANY INDIRECT, SPECIAL, CONSEQUENTIAL,
93
+ INCIDENTAL, EXEMPLARY OR PUNITIVE DAMAGES, EVEN IF META OR ITS AFFILIATES HAVE BEEN ADVISED
94
+ OF THE POSSIBILITY OF ANY OF THE FOREGOING.
95
+
96
+ 5. Intellectual Property.
97
+
98
+ a. No trademark licenses are granted under this Agreement, and in connection with the Llama
99
+ Materials, neither Meta nor Licensee may use any name or mark owned by or associated with the other
100
+ or any of its affiliates, except as required for reasonable and customary use in describing and
101
+ redistributing the Llama Materials or as set forth in this Section 5(a). Meta hereby grants you a license to
102
+ use “Llama 3” (the “Mark”) solely as required to comply with the last sentence of Section 1.b.i. You will
103
+ comply with Meta’s brand guidelines (currently accessible at
104
+ https://about.meta.com/brand/resources/meta/company-brand/ ). All goodwill arising out of your use
105
+ of the Mark will inure to the benefit of Meta.
106
+
107
+ b. Subject to Meta’s ownership of Llama Materials and derivatives made by or for Meta, with
108
+ respect to any derivative works and modifications of the Llama Materials that are made by you, as
109
+ between you and Meta, you are and will be the owner of such derivative works and modifications.
110
+
111
+ c. If you institute litigation or other proceedings against Meta or any entity (including a
112
+ cross-claim or counterclaim in a lawsuit) alleging that the Llama Materials or Meta Llama 3 outputs or
113
+ results, or any portion of any of the foregoing, constitutes infringement of intellectual property or other
114
+ rights owned or licensable by you, then any licenses granted to you under this Agreement shall
115
+ terminate as of the date such litigation or claim is filed or instituted. You will indemnify and hold
116
+ harmless Meta from and against any claim by any third party arising out of or related to your use or
117
+ distribution of the Llama Materials.
118
+
119
+ 6. Term and Termination. The term of this Agreement will commence upon your acceptance of this
120
+ Agreement or access to the Llama Materials and will continue in full force and effect until terminated in
121
+ accordance with the terms and conditions herein. Meta may terminate this Agreement if you are in
122
+ breach of any term or condition of this Agreement. Upon termination of this Agreement, you shall delete
123
+ and cease use of the Llama Materials. Sections 3, 4 and 7 shall survive the termination of this
124
+ Agreement.
125
+
126
+ 7. Governing Law and Jurisdiction. This Agreement will be governed and construed under the laws of
127
+ the State of California without regard to choice of law principles, and the UN Convention on Contracts
128
+ for the International Sale of Goods does not apply to this Agreement. The courts of California shall have
129
+ exclusive jurisdiction of any dispute arising out of this Agreement.
130
+
131
+ ### Meta Llama 3 Acceptable Use Policy
132
+
133
+ Meta is committed to promoting safe and fair use of its tools and features, including Meta Llama 3. If you
134
+ access or use Meta Llama 3, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of
135
+ this policy can be found at [https://llama.meta.com/llama3/use-policy](https://llama.meta.com/llama3/use-policy)
136
+
137
+ #### Prohibited Uses
138
+
139
+ We want everyone to use Meta Llama 3 safely and responsibly. You agree you will not use, or allow
140
+ others to use, Meta Llama 3 to:
141
+ 1. Violate the law or others’ rights, including to:
142
+ 1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
143
+ 1. Violence or terrorism
144
+ 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
145
+ 3. Human trafficking, exploitation, and sexual violence
146
+ 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.
147
+ 5. Sexual solicitation
148
+ 6. Any other criminal activity
149
+ 2. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
150
+ 3. 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
151
+ 4. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
152
+ 5. 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
153
+ 6. 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
154
+ 7. 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
155
+ 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 Meta Llama 3 related to the following:
156
+ 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
157
+ 2. Guns and illegal weapons (including weapon development)
158
+ 3. Illegal drugs and regulated/controlled substances
159
+ 4. Operation of critical infrastructure, transportation technologies, or heavy machinery
160
+ 5. Self-harm or harm to others, including suicide, cutting, and eating disorders
161
+ 6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
162
+ 3. Intentionally deceive or mislead others, including use of Meta Llama 3 related to the following:
163
+ 1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
164
+ 2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
165
+ 3. Generating, promoting, or further distributing spam
166
+ 4. Impersonating another individual without consent, authorization, or legal right
167
+ 5. Representing that the use of Meta Llama 3 or outputs are human-generated
168
+ 6. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
169
+ 4. Fail to appropriately disclose to end users any known dangers of your AI system
170
+
171
+ Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation
172
+ of this Policy through one of the following means:
173
+ * Reporting issues with the model: [https://github.com/meta-llama/llama3](https://github.com/meta-llama/llama3)
174
+ * Reporting risky content generated by the model:
175
+ developers.facebook.com/llama_output_feedback
176
+ * Reporting bugs and security concerns: facebook.com/whitehat/info
177
+ * Reporting violations of the Acceptable Use Policy or unlicensed uses of Meta Llama 3: LlamaUseReport@meta.com
178
+ extra_gated_fields:
179
+ First Name: text
180
+ Last Name: text
181
+ Date of birth: date_picker
182
+ Country: country
183
+ Affiliation: text
184
+ geo: ip_location
185
+ 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
186
+ 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/).
187
+ extra_gated_button_content: Submit
188
+ ---
189
+
190
+ ## Model Details
191
+
192
+ Meta developed and released the Meta Llama 3 family of large language models (LLMs), a collection of pretrained and instruction tuned generative text models in 8 and 70B sizes. The Llama 3 instruction tuned models are optimized for dialogue use cases and outperform many of the available open source chat models on common industry benchmarks. Further, in developing these models, we took great care to optimize helpfulness and safety.
193
+
194
+ **Model developers** Meta
195
+
196
+ **Variations** Llama 3 comes in two sizes — 8B and 70B parameters — in pre-trained and instruction tuned variants.
197
+
198
+ **Input** Models input text only.
199
+
200
+ **Output** Models generate text and code only.
201
+
202
+ **Model Architecture** Llama 3 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.
203
+
204
+
205
+ <table>
206
+ <tr>
207
+ <td>
208
+ </td>
209
+ <td><strong>Training Data</strong>
210
+ </td>
211
+ <td><strong>Params</strong>
212
+ </td>
213
+ <td><strong>Context length</strong>
214
+ </td>
215
+ <td><strong>GQA</strong>
216
+ </td>
217
+ <td><strong>Token count</strong>
218
+ </td>
219
+ <td><strong>Knowledge cutoff</strong>
220
+ </td>
221
+ </tr>
222
+ <tr>
223
+ <td rowspan="2" >Llama 3
224
+ </td>
225
+ <td rowspan="2" >A new mix of publicly available online data.
226
+ </td>
227
+ <td>8B
228
+ </td>
229
+ <td>8k
230
+ </td>
231
+ <td>Yes
232
+ </td>
233
+ <td rowspan="2" >15T+
234
+ </td>
235
+ <td>March, 2023
236
+ </td>
237
+ </tr>
238
+ <tr>
239
+ <td>70B
240
+ </td>
241
+ <td>8k
242
+ </td>
243
+ <td>Yes
244
+ </td>
245
+ <td>December, 2023
246
+ </td>
247
+ </tr>
248
+ </table>
249
+
250
+
251
+ **Llama 3 family of models**. Token counts refer to pretraining data only. Both the 8 and 70B versions use Grouped-Query Attention (GQA) for improved inference scalability.
252
+
253
+ **Model Release Date** April 18, 2024.
254
+
255
+ **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.
256
+
257
+ **License** A custom commercial license is available at: [https://llama.meta.com/llama3/license](https://llama.meta.com/llama3/license)
258
+
259
+ 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 in applications, please go [here](https://github.com/meta-llama/llama-recipes).
260
+
261
+
262
+ ## Intended Use
263
+
264
+ **Intended Use Cases** Llama 3 is intended for commercial and research use in English. Instruction tuned models are intended for assistant-like chat, whereas pretrained models can be adapted for a variety of natural language generation tasks.
265
+
266
+ **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 Community License. Use in languages other than English**.
267
+
268
+ **Note: Developers may fine-tune Llama 3 models for languages beyond English provided they comply with the Llama 3 Community License and the Acceptable Use Policy.
269
+
270
+ ## How to use
271
+
272
+ This repository contains two versions of Meta-Llama-3-70B-Instruct, for use with transformers and with the original `llama3` codebase.
273
+
274
+ ### Use with transformers
275
+
276
+ See the snippet below for usage with Transformers:
277
+
278
+ ```python
279
+ import transformers
280
+ import torch
281
+
282
+ model_id = "meta-llama/Meta-Llama-3-70B-Instruct"
283
+
284
+ pipeline = transformers.pipeline(
285
+ "text-generation",
286
+ model=model_id,
287
+ model_kwargs={"torch_dtype": torch.bfloat16},
288
+ device="cuda",
289
+ )
290
+
291
+ messages = [
292
+ {"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
293
+ {"role": "user", "content": "Who are you?"},
294
+ ]
295
+
296
+ prompt = pipeline.tokenizer.apply_chat_template(
297
+ messages,
298
+ tokenize=False,
299
+ add_generation_prompt=True
300
+ )
301
+
302
+ terminators = [
303
+ tokenizer.eos_token_id,
304
+ tokenizer.convert_tokens_to_ids("<|eot_id|>")
305
+ ]
306
+
307
+ outputs = pipeline(
308
+ prompt,
309
+ max_new_tokens=256,
310
+ eos_token_id=terminators,
311
+ do_sample=True,
312
+ temperature=0.6,
313
+ top_p=0.9,
314
+ )
315
+ print(outputs[0]["generated_text"][len(prompt):])
316
+ ```
317
+
318
+ ### Use with `llama3`
319
+
320
+ Please, follow the instructions in the [repository](https://github.com/meta-llama/llama3).
321
+
322
+ To download Original checkpoints, see the example command below leveraging `huggingface-cli`:
323
+
324
+ ```
325
+ huggingface-cli download meta-llama/Meta-Llama-3-70B-Instruct --include "original/*" --local-dir Meta-Llama-3-70B-Instruct
326
+ ```
327
+
328
+ For Hugging Face support, we recommend using transformers or TGI, but a similar command works.
329
+
330
+ ## Hardware and Software
331
+
332
+ **Training Factors** We used custom training libraries, Meta's Research SuperCluster, and production clusters for pretraining. Fine-tuning, annotation, and evaluation were also performed on third-party cloud compute.
333
+
334
+ **Carbon Footprint Pretraining utilized a cumulative** 7.7M GPU hours of computation on hardware of type H100-80GB (TDP of 700W). Estimated total emissions were 2290 tCO2eq, 100% of which were offset by Meta’s sustainability program.
335
+
336
+
337
+ <table>
338
+ <tr>
339
+ <td>
340
+ </td>
341
+ <td><strong>Time (GPU hours)</strong>
342
+ </td>
343
+ <td><strong>Power Consumption (W)</strong>
344
+ </td>
345
+ <td><strong>Carbon Emitted(tCO2eq)</strong>
346
+ </td>
347
+ </tr>
348
+ <tr>
349
+ <td>Llama 3 8B
350
+ </td>
351
+ <td>1.3M
352
+ </td>
353
+ <td>700
354
+ </td>
355
+ <td>390
356
+ </td>
357
+ </tr>
358
+ <tr>
359
+ <td>Llama 3 70B
360
+ </td>
361
+ <td>6.4M
362
+ </td>
363
+ <td>700
364
+ </td>
365
+ <td>1900
366
+ </td>
367
+ </tr>
368
+ <tr>
369
+ <td>Total
370
+ </td>
371
+ <td>7.7M
372
+ </td>
373
+ <td>
374
+ </td>
375
+ <td>2290
376
+ </td>
377
+ </tr>
378
+ </table>
379
+
380
+
381
+
382
+ **CO2 emissions during pre-training**. Time: total GPU time required for training each model. Power Consumption: peak power capacity per GPU device for the GPUs used adjusted for power usage efficiency. 100% of the emissions are directly offset by Meta's sustainability program, and because we are openly releasing these models, the pretraining costs do not need to be incurred by others.
383
+
384
+
385
+ ## Training Data
386
+
387
+ **Overview** Llama 3 was pretrained on over 15 trillion tokens of data from publicly available sources. The fine-tuning data includes publicly available instruction datasets, as well as over 10M human-annotated examples. Neither the pretraining nor the fine-tuning datasets include Meta user data.
388
+
389
+ **Data Freshness** The pretraining data has a cutoff of March 2023 for the 7B and December 2023 for the 70B models respectively.
390
+
391
+
392
+ ## Benchmarks
393
+
394
+ In this section, we report the results for Llama 3 models on standard automatic benchmarks. For all the evaluations, we use our internal evaluations library. For details on the methodology see [here](https://github.com/meta-llama/llama3/blob/main/eval_methodology.md).
395
+
396
+
397
+ ### Base pretrained models
398
+
399
+
400
+ <table>
401
+ <tr>
402
+ <td><strong>Category</strong>
403
+ </td>
404
+ <td><strong>Benchmark</strong>
405
+ </td>
406
+ <td><strong>Llama 3 8B</strong>
407
+ </td>
408
+ <td><strong>Llama2 7B</strong>
409
+ </td>
410
+ <td><strong>Llama2 13B</strong>
411
+ </td>
412
+ <td><strong>Llama 3 70B</strong>
413
+ </td>
414
+ <td><strong>Llama2 70B</strong>
415
+ </td>
416
+ </tr>
417
+ <tr>
418
+ <td rowspan="6" >General
419
+ </td>
420
+ <td>MMLU (5-shot)
421
+ </td>
422
+ <td>66.6
423
+ </td>
424
+ <td>45.7
425
+ </td>
426
+ <td>53.8
427
+ </td>
428
+ <td>79.5
429
+ </td>
430
+ <td>69.7
431
+ </td>
432
+ </tr>
433
+ <tr>
434
+ <td>AGIEval English (3-5 shot)
435
+ </td>
436
+ <td>45.9
437
+ </td>
438
+ <td>28.8
439
+ </td>
440
+ <td>38.7
441
+ </td>
442
+ <td>63.0
443
+ </td>
444
+ <td>54.8
445
+ </td>
446
+ </tr>
447
+ <tr>
448
+ <td>CommonSenseQA (7-shot)
449
+ </td>
450
+ <td>72.6
451
+ </td>
452
+ <td>57.6
453
+ </td>
454
+ <td>67.6
455
+ </td>
456
+ <td>83.8
457
+ </td>
458
+ <td>78.7
459
+ </td>
460
+ </tr>
461
+ <tr>
462
+ <td>Winogrande (5-shot)
463
+ </td>
464
+ <td>76.1
465
+ </td>
466
+ <td>73.3
467
+ </td>
468
+ <td>75.4
469
+ </td>
470
+ <td>83.1
471
+ </td>
472
+ <td>81.8
473
+ </td>
474
+ </tr>
475
+ <tr>
476
+ <td>BIG-Bench Hard (3-shot, CoT)
477
+ </td>
478
+ <td>61.1
479
+ </td>
480
+ <td>38.1
481
+ </td>
482
+ <td>47.0
483
+ </td>
484
+ <td>81.3
485
+ </td>
486
+ <td>65.7
487
+ </td>
488
+ </tr>
489
+ <tr>
490
+ <td>ARC-Challenge (25-shot)
491
+ </td>
492
+ <td>78.6
493
+ </td>
494
+ <td>53.7
495
+ </td>
496
+ <td>67.6
497
+ </td>
498
+ <td>93.0
499
+ </td>
500
+ <td>85.3
501
+ </td>
502
+ </tr>
503
+ <tr>
504
+ <td>Knowledge reasoning
505
+ </td>
506
+ <td>TriviaQA-Wiki (5-shot)
507
+ </td>
508
+ <td>78.5
509
+ </td>
510
+ <td>72.1
511
+ </td>
512
+ <td>79.6
513
+ </td>
514
+ <td>89.7
515
+ </td>
516
+ <td>87.5
517
+ </td>
518
+ </tr>
519
+ <tr>
520
+ <td rowspan="4" >Reading comprehension
521
+ </td>
522
+ <td>SQuAD (1-shot)
523
+ </td>
524
+ <td>76.4
525
+ </td>
526
+ <td>72.2
527
+ </td>
528
+ <td>72.1
529
+ </td>
530
+ <td>85.6
531
+ </td>
532
+ <td>82.6
533
+ </td>
534
+ </tr>
535
+ <tr>
536
+ <td>QuAC (1-shot, F1)
537
+ </td>
538
+ <td>44.4
539
+ </td>
540
+ <td>39.6
541
+ </td>
542
+ <td>44.9
543
+ </td>
544
+ <td>51.1
545
+ </td>
546
+ <td>49.4
547
+ </td>
548
+ </tr>
549
+ <tr>
550
+ <td>BoolQ (0-shot)
551
+ </td>
552
+ <td>75.7
553
+ </td>
554
+ <td>65.5
555
+ </td>
556
+ <td>66.9
557
+ </td>
558
+ <td>79.0
559
+ </td>
560
+ <td>73.1
561
+ </td>
562
+ </tr>
563
+ <tr>
564
+ <td>DROP (3-shot, F1)
565
+ </td>
566
+ <td>58.4
567
+ </td>
568
+ <td>37.9
569
+ </td>
570
+ <td>49.8
571
+ </td>
572
+ <td>79.7
573
+ </td>
574
+ <td>70.2
575
+ </td>
576
+ </tr>
577
+ </table>
578
+
579
+
580
+
581
+ ### Instruction tuned models
582
+
583
+
584
+ <table>
585
+ <tr>
586
+ <td><strong>Benchmark</strong>
587
+ </td>
588
+ <td><strong>Llama 3 8B</strong>
589
+ </td>
590
+ <td><strong>Llama 2 7B</strong>
591
+ </td>
592
+ <td><strong>Llama 2 13B</strong>
593
+ </td>
594
+ <td><strong>Llama 3 70B</strong>
595
+ </td>
596
+ <td><strong>Llama 2 70B</strong>
597
+ </td>
598
+ </tr>
599
+ <tr>
600
+ <td>MMLU (5-shot)
601
+ </td>
602
+ <td>68.4
603
+ </td>
604
+ <td>34.1
605
+ </td>
606
+ <td>47.8
607
+ </td>
608
+ <td>82.0
609
+ </td>
610
+ <td>52.9
611
+ </td>
612
+ </tr>
613
+ <tr>
614
+ <td>GPQA (0-shot)
615
+ </td>
616
+ <td>34.2
617
+ </td>
618
+ <td>21.7
619
+ </td>
620
+ <td>22.3
621
+ </td>
622
+ <td>39.5
623
+ </td>
624
+ <td>21.0
625
+ </td>
626
+ </tr>
627
+ <tr>
628
+ <td>HumanEval (0-shot)
629
+ </td>
630
+ <td>62.2
631
+ </td>
632
+ <td>7.9
633
+ </td>
634
+ <td>14.0
635
+ </td>
636
+ <td>81.7
637
+ </td>
638
+ <td>25.6
639
+ </td>
640
+ </tr>
641
+ <tr>
642
+ <td>GSM-8K (8-shot, CoT)
643
+ </td>
644
+ <td>79.6
645
+ </td>
646
+ <td>25.7
647
+ </td>
648
+ <td>77.4
649
+ </td>
650
+ <td>93.0
651
+ </td>
652
+ <td>57.5
653
+ </td>
654
+ </tr>
655
+ <tr>
656
+ <td>MATH (4-shot, CoT)
657
+ </td>
658
+ <td>30.0
659
+ </td>
660
+ <td>3.8
661
+ </td>
662
+ <td>6.7
663
+ </td>
664
+ <td>50.4
665
+ </td>
666
+ <td>11.6
667
+ </td>
668
+ </tr>
669
+ </table>
670
+
671
+
672
+
673
+ ### Responsibility & Safety
674
+
675
+ We believe that an open approach to AI leads to better, safer products, faster innovation, and a bigger overall market. We are committed to Responsible AI development and took a series of steps to limit misuse and harm and support the open source community.
676
+
677
+ Foundation models are widely capable technologies that are built to be used for a diverse range of applications. They are not designed to meet every developer preference on safety levels for all use cases, out-of-the-box, as those by their nature will differ across different applications.
678
+
679
+ Rather, responsible LLM-application deployment is achieved by implementing a series of safety best practices throughout the development of such applications, from the model pre-training, fine-tuning and the deployment of systems composed of safeguards to tailor the safety needs specifically to the use case and audience.
680
+
681
+
682
+ As part of the Llama 3 release, we updated our [Responsible Use Guide](https://llama.meta.com/responsible-use-guide/) to outline the steps and best practices for developers to implement model and system level safety for their application. We also provide a set of resources including [Meta Llama Guard 2](https://llama.meta.com/purple-llama/) and [Code Shield](https://llama.meta.com/purple-llama/) safeguards. These tools have proven to drastically reduce residual risks of LLM Systems, while maintaining a high level of helpfulness. We encourage developers to tune and deploy these safeguards according to their needs and we provide a [reference implementation](https://github.com/meta-llama/llama-recipes/tree/main/recipes/responsible_ai) to get you started.
683
+
684
+
685
+ #### Llama 3-Instruct
686
+
687
+ As outlined in the Responsible Use Guide, some trade-off between model helpfulness and model alignment is likely unavoidable. Developers should exercise discretion about how to weigh the benefits of alignment and helpfulness for their specific use case and audience. Developers should be mindful of residual risks when using Llama models and leverage additional safety tools as needed to reach the right safety bar for their use case.
688
+
689
+ <span style="text-decoration:underline;">Safety</span>
690
+
691
+ For our instruction tuned model, we conducted extensive red teaming exercises, performed adversarial evaluations and implemented safety mitigations techniques to lower residual risks. As with any Large Language Model, residual risks will likely remain and we recommend that developers assess these risks in the context of their use case. In parallel, we are working with the community to make AI safety benchmark standards transparent, rigorous and interpretable.
692
+
693
+ <span style="text-decoration:underline;">Refusals</span>
694
+
695
+ In addition to residual risks, we put a great emphasis on model refusals to benign prompts. Over-refusing not only can impact the user experience but could even be harmful in certain contexts as well. We’ve heard the feedback from the developer community and improved our fine tuning to ensure that Llama 3 is significantly less likely to falsely refuse to answer prompts than Llama 2.
696
+
697
+ We built internal benchmarks and developed mitigations to limit false refusals making Llama 3 our most helpful model to date.
698
+
699
+
700
+ #### Responsible release
701
+
702
+ In addition to responsible use considerations outlined above, we followed a rigorous process that requires us to take extra measures against misuse and critical risks before we make our release decision.
703
+
704
+ Misuse
705
+
706
+ If you access or use Llama 3, you agree to the Acceptable Use Policy. The most recent copy of this policy can be found at [https://llama.meta.com/llama3/use-policy/](https://llama.meta.com/llama3/use-policy/).
707
+
708
+
709
+ #### Critical risks
710
+
711
+ <span style="text-decoration:underline;">CBRNE</span> (Chemical, Biological, Radiological, Nuclear, and high yield Explosives)
712
+
713
+ We have conducted a two fold assessment of the safety of the model in this area:
714
+
715
+
716
+
717
+ * Iterative testing during model training to assess the safety of responses related to CBRNE threats and other adversarial risks.
718
+ * Involving external CBRNE experts to conduct an uplift test assessing the ability of the model to accurately provide expert knowledge and reduce barriers to potential CBRNE misuse, by reference to what can be achieved using web search (without the model).
719
+
720
+
721
+ ### <span style="text-decoration:underline;">Cyber Security </span>
722
+
723
+ We have evaluated Llama 3 with CyberSecEval, Meta’s cybersecurity safety eval suite, measuring Llama 3’s propensity to suggest insecure code when used as a coding assistant, and Llama 3’s propensity to comply with requests to help carry out cyber attacks, where attacks are defined by the industry standard MITRE ATT&CK cyber attack ontology. On our insecure coding and cyber attacker helpfulness tests, Llama 3 behaved in the same range or safer than models of [equivalent coding capability](https://huggingface.co/spaces/facebook/CyberSecEval).
724
+
725
+
726
+ ### <span style="text-decoration:underline;">Child Safety</span>
727
+
728
+ 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. We also partnered with content specialists to perform red teaming exercises assessing potentially violating content while taking account of market specific nuances or experiences.
729
+
730
+
731
+ ### Community
732
+
733
+ 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 in 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).
734
+
735
+ 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.
736
+
737
+
738
+ ## Ethical Considerations and Limitations
739
+
740
+ The core values of Llama 3 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 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.
741
+
742
+ But Llama 3 is a new technology, and like any new technology, there are risks associated with its use. Testing conducted to date has been in English, and has not covered, nor could it cover, all scenarios. For these reasons, as with all LLMs, Llama 3’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 models, developers should perform safety testing and tuning tailored to their specific applications of the model. As outlined in the Responsible Use Guide, we recommend incorporating [Purple Llama](https://github.com/facebookresearch/PurpleLlama) solutions into your workflows and specifically [Llama Guard](https://ai.meta.com/research/publications/llama-guard-llm-based-input-output-safeguard-for-human-ai-conversations/) which provides a base model to filter input and output prompts to layer system-level safety on top of model-level safety.
743
+
744
+ Please see the Responsible Use Guide available at [http://llama.meta.com/responsible-use-guide](http://llama.meta.com/responsible-use-guide)
745
+
746
+
747
+ ## Citation instructions
748
+
749
+ @article{llama3modelcard,
750
+
751
+ title={Llama 3 Model Card},
752
+
753
+ author={AI@Meta},
754
+
755
+ year={2024},
756
+
757
+ url = {https://github.com/meta-llama/llama3/blob/main/MODEL_CARD.md}
758
+
759
+ }
760
+
761
+ ## Contributors
762
+
763
+ Aaditya Singh; Aaron Grattafiori; Abhimanyu Dubey; Abhinav Jauhri; Abhinav Pandey; Abhishek Kadian; Adam Kelsey; Adi Gangidi; Ahmad Al-Dahle; Ahuva Goldstand; Aiesha Letman; Ajay Menon; Akhil Mathur; Alan Schelten; Alex Vaughan; Amy Yang; Andrei Lupu; Andres Alvarado; Andrew Gallagher; Andrew Gu; Andrew Ho; Andrew Poulton; Andrew Ryan; Angela Fan; Ankit Ramchandani; Anthony Hartshorn; Archi Mitra; Archie Sravankumar; Artem Korenev; Arun Rao; Ashley Gabriel; Ashwin Bharambe; Assaf Eisenman; Aston Zhang; Aurelien Rodriguez; Austen Gregerson; Ava Spataru; Baptiste Roziere; Ben Maurer; Benjamin Leonhardi; Bernie Huang; Bhargavi Paranjape; Bing Liu; Binh Tang; Bobbie Chern; Brani Stojkovic; Brian Fuller; Catalina Mejia Arenas; Chao Zhou; Charlotte Caucheteux; Chaya Nayak; Ching-Hsiang Chu; Chloe Bi; Chris Cai; Chris Cox; Chris Marra; Chris McConnell; Christian Keller; Christoph Feichtenhofer; Christophe Touret; Chunyang Wu; Corinne Wong; Cristian Canton Ferrer; Damien Allonsius; Daniel Kreymer; Daniel Haziza; Daniel Li; Danielle Pintz; Danny Livshits; Danny Wyatt; David Adkins; David Esiobu; David Xu; Davide Testuggine; Delia David; Devi Parikh; Dhruv Choudhary; Dhruv Mahajan; Diana Liskovich; Diego Garcia-Olano; Diego Perino; Dieuwke Hupkes; Dingkang Wang; Dustin Holland; Egor Lakomkin; Elina Lobanova; Xiaoqing Ellen Tan; Emily Dinan; Eric Smith; Erik Brinkman; Esteban Arcaute; Filip Radenovic; Firat Ozgenel; Francesco Caggioni; Frank Seide; Frank Zhang; Gabriel Synnaeve; Gabriella Schwarz; Gabrielle Lee; Gada Badeer; Georgia Anderson; Graeme Nail; Gregoire Mialon; Guan Pang; Guillem Cucurell; Hailey Nguyen; Hannah Korevaar; Hannah Wang; Haroun Habeeb; Harrison Rudolph; Henry Aspegren; Hu Xu; Hugo Touvron; Iga Kozlowska; Igor Molybog; Igor Tufanov; Iliyan Zarov; Imanol Arrieta Ibarra; Irina-Elena Veliche; Isabel Kloumann; Ishan Misra; Ivan Evtimov; Jacob Xu; Jade Copet; Jake Weissman; Jan Geffert; Jana Vranes; Japhet Asher; Jason Park; Jay Mahadeokar; Jean-Baptiste Gaya; Jeet Shah; Jelmer van der Linde; Jennifer Chan; Jenny Hong; Jenya Lee; Jeremy Fu; Jeremy Teboul; Jianfeng Chi; Jianyu Huang; Jie Wang; Jiecao Yu; Joanna Bitton; Joe Spisak; Joelle Pineau; Jon Carvill; Jongsoo Park; Joseph Rocca; Joshua Johnstun; Junteng Jia; Kalyan Vasuden Alwala; Kam Hou U; Kate Plawiak; Kartikeya Upasani; Kaushik Veeraraghavan; Ke Li; Kenneth Heafield; Kevin Stone; Khalid El-Arini; Krithika Iyer; Kshitiz Malik; Kuenley Chiu; Kunal Bhalla; Kyle Huang; Lakshya Garg; Lauren Rantala-Yeary; Laurens van der Maaten; Lawrence Chen; Leandro Silva; Lee Bell; Lei Zhang; Liang Tan; Louis Martin; Lovish Madaan; Luca Wehrstedt; Lukas Blecher; Luke de Oliveira; Madeline Muzzi; Madian Khabsa; Manav Avlani; Mannat Singh; Manohar Paluri; Mark Zuckerberg; Marcin Kardas; Martynas Mankus; Mathew Oldham; Mathieu Rita; Matthew Lennie; Maya Pavlova; Meghan Keneally; Melanie Kambadur; Mihir Patel; Mikayel Samvelyan; Mike Clark; Mike Lewis; Min Si; Mitesh Kumar Singh; Mo Metanat; Mona Hassan; Naman Goyal; Narjes Torabi; Nicolas Usunier; Nikolay Bashlykov; Nikolay Bogoychev; Niladri Chatterji; Ning Dong; Oliver Aobo Yang; Olivier Duchenne; Onur Celebi; Parth Parekh; Patrick Alrassy; Paul Saab; Pavan Balaji; Pedro Rittner; Pengchuan Zhang; Pengwei Li; Petar Vasic; Peter Weng; Polina Zvyagina; Prajjwal Bhargava; Pratik Dubal; Praveen Krishnan; Punit Singh Koura; Qing He; Rachel Rodriguez; Ragavan Srinivasan; Rahul Mitra; Ramon Calderer; Raymond Li; Robert Stojnic; Roberta Raileanu; Robin Battey; Rocky Wang; Rohit Girdhar; Rohit Patel; Romain Sauvestre; Ronnie Polidoro; Roshan Sumbaly; Ross Taylor; Ruan Silva; Rui Hou; Rui Wang; Russ Howes; Ruty Rinott; Saghar Hosseini; Sai Jayesh Bondu; Samyak Datta; Sanjay Singh; Sara Chugh; Sargun Dhillon; Satadru Pan; Sean Bell; Sergey Edunov; Shaoliang Nie; Sharan Narang; Sharath Raparthy; Shaun Lindsay; Sheng Feng; Sheng Shen; Shenghao Lin; Shiva Shankar; Shruti Bhosale; Shun Zhang; Simon Vandenhende; Sinong Wang; Seohyun Sonia Kim; Soumya Batra; Sten Sootla; Steve Kehoe; Suchin Gururangan; Sumit Gupta; Sunny Virk; Sydney Borodinsky; Tamar Glaser; Tamar Herman; Tamara Best; Tara Fowler; Thomas Georgiou; Thomas Scialom; Tianhe Li; Todor Mihaylov; Tong Xiao; Ujjwal Karn; Vedanuj Goswami; Vibhor Gupta; Vignesh Ramanathan; Viktor Kerkez; Vinay Satish Kumar; Vincent Gonguet; Vish Vogeti; Vlad Poenaru; Vlad Tiberiu Mihailescu; Vladan Petrovic; Vladimir Ivanov; Wei Li; Weiwei Chu; Wenhan Xiong; Wenyin Fu; Wes Bouaziz; Whitney Meers; Will Constable; Xavier Martinet; Xiaojian Wu; Xinbo Gao; Xinfeng Xie; Xuchao Jia; Yaelle Goldschlag; Yann LeCun; Yashesh Gaur; Yasmine Babaei; Ye Qi; Yenda Li; Yi Wen; Yiwen Song; Youngjin Nam; Yuchen Hao; Yuchen Zhang; Yun Wang; Yuning Mao; Yuzi He; Zacharie Delpierre Coudert; Zachary DeVito; Zahra Hankir; Zhaoduo Wen; Zheng Yan; Zhengxing Chen; Zhenyu Yang; Zoe Papakipos
764
+ ng; Zoe Papakipos
USE_POLICY.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Meta Llama 3 Acceptable Use Policy
2
+
3
+ Meta is committed to promoting safe and fair use of its tools and features, including Meta Llama 3. If you
4
+ access or use Meta Llama 3, you agree to this Acceptable Use Policy (“Policy”). The most recent copy of
5
+ this policy can be found at [https://llama.meta.com/llama3/use-policy](https://llama.meta.com/llama3/use-policy)
6
+
7
+ ## Prohibited Uses
8
+
9
+ We want everyone to use Meta Llama 3 safely and responsibly. You agree you will not use, or allow
10
+ others to use, Meta Llama 3 to:
11
+
12
+ 1. Violate the law or others’ rights, including to:
13
+ 1. Engage in, promote, generate, contribute to, encourage, plan, incite, or further illegal or unlawful activity or content, such as:
14
+ 1. Violence or terrorism
15
+ 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
16
+ 3. Human trafficking, exploitation, and sexual violence
17
+ 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.
18
+ 5. Sexual solicitation
19
+ 6. Any other criminal activity
20
+ 2. Engage in, promote, incite, or facilitate the harassment, abuse, threatening, or bullying of individuals or groups of individuals
21
+ 3. 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
22
+ 4. Engage in the unauthorized or unlicensed practice of any profession including, but not limited to, financial, legal, medical/health, or related professional practices
23
+ 5. 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
24
+ 6. 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
25
+ 7. 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
26
+
27
+ 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 Meta Llama 3 related to the following:
28
+ 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
29
+ 2. Guns and illegal weapons (including weapon development)
30
+ 3. Illegal drugs and regulated/controlled substances
31
+ 4. Operation of critical infrastructure, transportation technologies, or heavy machinery
32
+ 5. Self-harm or harm to others, including suicide, cutting, and eating disorders
33
+ 6. Any content intended to incite or promote violence, abuse, or any infliction of bodily harm to an individual
34
+
35
+ 3. Intentionally deceive or mislead others, including use of Meta Llama 3 related to the following:
36
+ 1. Generating, promoting, or furthering fraud or the creation or promotion of disinformation
37
+ 2. Generating, promoting, or furthering defamatory content, including the creation of defamatory statements, images, or other content
38
+ 3. Generating, promoting, or further distributing spam
39
+ 4. Impersonating another individual without consent, authorization, or legal right
40
+ 5. Representing that the use of Meta Llama 3 or outputs are human-generated
41
+ 6. Generating or facilitating false online engagement, including fake reviews and other means of fake online engagement
42
+
43
+ 4. Fail to appropriately disclose to end users any known dangers of your AI system
44
+
45
+ Please report any violation of this Policy, software “bug,” or other problems that could lead to a violation
46
+ of this Policy through one of the following means:
47
+
48
+ ● Reporting issues with the model: [https://github.com/meta-llama/llama3](https://github.com/meta-llama/llama3)
49
+ ● Reporting risky content generated by the model:
50
+ developers.facebook.com/llama_output_feedback
51
+ ● Reporting bugs and security concerns: facebook.com/whitehat/info
52
+ ● Reporting violations of the Acceptable Use Policy or unlicensed uses of Meta Llama 3:
53
+ LlamaUseReport@meta.com
huggingface-metadata.txt ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ url: https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct
2
+ branch: main
3
+ download date: 2024-04-18 14:36:37
4
+ sha256sum:
5
+ f4e01a87b16219a59598c72ed92e5c9603345f2aaf13f42f680774fb8a0cfeff model-00001-of-00030.safetensors
6
+ 2a83b09b60919110ee93534e9f74cd8226303d9cb7d6aa746358dd04384e839d model-00002-of-00030.safetensors
7
+ 87d2facf25a9d2f3ce66cedf4bd68905327fbe9b1290021363eeef76968a34d4 model-00003-of-00030.safetensors
8
+ c4e301d97800c54994cf51214ce0f8625b8e786e72ee7d343af958ef7ca5210b model-00004-of-00030.safetensors
9
+ a830098f3b27c2b3afacbfb8bc81027475c84723ab2b9b6aa64ba324e3490b8c model-00005-of-00030.safetensors
10
+ f90898a2f84d358934a107f06e0456f27f6d9decd1bb6550d408299f351e43b0 model-00006-of-00030.safetensors
11
+ 094ea79d1f139f1d06010aad81dea2977854f3d84525d133319e41de9639c6d0 model-00007-of-00030.safetensors
12
+ 656a97ed74f1e2d8eb8d6a4cb366b496a18f4068d78ff03f39174e4f78d8299f model-00008-of-00030.safetensors
13
+ 6ef19fe6878f83bbdfaf3b8351b7c0d240dff752166a769e1b5faba86053f47f model-00009-of-00030.safetensors
14
+ 3f5c862d68cac42c83d7c1d882335193ca70998d931a579134fc60391526f299 model-00010-of-00030.safetensors
15
+ 5069c458a2b718892081b523a0d62707c94686a791d040efd7996238c53546fd model-00011-of-00030.safetensors
16
+ 4fc6b8d0aa5e4fa0cff84808b61aa5706b892751235387da15e2f7a06ea40255 model-00012-of-00030.safetensors
17
+ dd6b0bee0dc1c9922ac29d306a007d5c00e8c62d47048e2170cbc541df9365b8 model-00013-of-00030.safetensors
18
+ e3e639549b468068b4b56c10fbb5dcdb9055b00eb091c465a94ed5bc1bcdd06b model-00014-of-00030.safetensors
19
+ c684b3f14c83ed9b47d898f9991cef0a794e443e0fa65997f8ce98b6122494d0 model-00015-of-00030.safetensors
20
+ 5f022fc253cf160e50fe90430d8aed958504d1fd88e10130e3f7db15ffb17706 model-00016-of-00030.safetensors
21
+ 5deba82b84fa8845ecc33e2a830edcdd7c120842abf8a1c7fa9e682f62021965 model-00017-of-00030.safetensors
22
+ a36439c17e7803558e304d5b0377fa8119d5ba3499cde26464441a496036bf94 model-00018-of-00030.safetensors
23
+ f4437edf1bb25215f07b35e41ff3a4acf246880da48becc7036ffab5b1f156d3 model-00019-of-00030.safetensors
24
+ 0f633fb349e375f6efcd8090002d8434d2c32de9a26a5a4a4642b0ca6b0dc4b1 model-00020-of-00030.safetensors
25
+ 822375943b336e81ee6f2ffb772dce5eb3ff80b409c970cacd322fd7592fdafb model-00021-of-00030.safetensors
26
+ d74498dd8ced33fbe71de2862e304c810e0eb8586cefa0e78be4e83bf4f3a6b2 model-00022-of-00030.safetensors
27
+ 3eaff18c4b8acd5ade719459589000d779bf187cf618be39af8f5ff3dcf5ac4e model-00023-of-00030.safetensors
28
+ 24fef0fc4f5bf114e8857a458e4208e6d5aac3012e8b944a091db603c7cfd6fe model-00024-of-00030.safetensors
29
+ 08342128034e6447f8618a25396e01da3cd6c96d862fb5652192eb2a79cb1fe8 model-00025-of-00030.safetensors
30
+ 15b71543deddf56ba1294a2755a31fe9eae07c3441a726e23b151992f6c8f9ea model-00026-of-00030.safetensors
31
+ b959b85d58036fb857a018506638c4a9bd53a3ee2087a9569cb5ba2034b6b836 model-00027-of-00030.safetensors
32
+ c8bfb9aa606df974943e1c88353fbef1b77283adc01753bc11922cd60043d789 model-00028-of-00030.safetensors
33
+ 8a50b4f7aa4c1587000bb39499e183345fb0c841daa1dba71f30b3d300438308 model-00029-of-00030.safetensors
34
+ 55298e57c1dfe47357f5b367863da3ad8aa7b009249b4d7146bd4cf22f004e89 model-00030-of-00030.safetensors