Upload folder using huggingface_hub
Browse files- .gitattributes +20 -0
- License +117 -0
- README.md +725 -0
- config.json +28 -0
- imat-f16-gmerged.dat +3 -0
- llama-3-8b-instruct-gradient-1048k-f16.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ1_S.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ2_M.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ2_S.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ2_XS.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ2_XXS.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ3_M.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ3_S.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ3_XS.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ3_XXS.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ4_NL.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-IQ4_XS.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q4_0.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q4_K_M.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q4_K_S.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q5_K_M.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q5_K_S.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q6_K.gguf +3 -0
- llama-3-8b-instruct-gradient-1048k-imat-Q8_0.gguf +3 -0
- special_tokens_map.json +16 -0
.gitattributes
CHANGED
@@ -33,3 +33,23 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
36 |
+
imat-f16-gmerged.dat filter=lfs diff=lfs merge=lfs -text
|
37 |
+
llama-3-8b-instruct-gradient-1048k-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ1_S.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ2_M.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ2_S.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ2_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ2_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ3_M.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ3_S.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ3_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ3_XXS.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ4_NL.gguf filter=lfs diff=lfs merge=lfs -text
|
48 |
+
llama-3-8b-instruct-gradient-1048k-imat-IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
49 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
50 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
51 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
52 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
53 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
54 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
55 |
+
llama-3-8b-instruct-gradient-1048k-imat-Q8_0.gguf 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.
|
README.md
ADDED
@@ -0,0 +1,725 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: gradientai/Llama-3-8B-Instruct-Gradient-1048k
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
tags:
|
7 |
+
- meta
|
8 |
+
- llama-3
|
9 |
+
- gguf
|
10 |
+
- imatrix
|
11 |
+
- importance matrix
|
12 |
+
license: other
|
13 |
+
license_name: llama3
|
14 |
+
---
|
15 |
+
|
16 |
+
# Quant Infos
|
17 |
+
|
18 |
+
## Includes latest bpe tokenizer fixes 🎉
|
19 |
+
|
20 |
+
- Updated for latest bpe pre-tokenizer fixes https://github.com/ggerganov/llama.cpp/pull/6920
|
21 |
+
- quants done with an importance matrix for improved quantization loss
|
22 |
+
- K & IQ quants in basically all variants from Q6_K down to IQ1_S
|
23 |
+
- fixed end token for instruct mode (<|eot_id|>[128009])
|
24 |
+
- Quantized with [llama.cpp](https://github.com/ggerganov/llama.cpp) commit [f4ab2a41476600a98067a9474ea8f9e6db41bcfa](https://github.com/ggerganov/llama.cpp/commit/f4ab2a41476600a98067a9474ea8f9e6db41bcfa) (master from 2024-04-29)
|
25 |
+
- Imatrtix generated with [this](https://github.com/ggerganov/llama.cpp/discussions/5263#discussioncomment-8395384) dataset.
|
26 |
+
```
|
27 |
+
./imatrix -c 512 -m $model_name-f16.gguf -f $llama_cpp_path/groups_merged.txt -o $out_path/imat-f16-gmerged.dat
|
28 |
+
```
|
29 |
+
|
30 |
+
## Note about recent tokenizer fixes
|
31 |
+
|
32 |
+
The newest quants uploaded here need at least commit f4ab2a41476600a98067a9474ea8f9e6db41bcfa, this is not integrated into most upstream tools yet as it was just released. (29-04-24)
|
33 |
+
|
34 |
+
<a href="https://www.gradient.ai" target="_blank"><img src="https://cdn-uploads.huggingface.co/production/uploads/655bb613e8a8971e89944f3e/TSa3V8YpoVagnTYgxiLaO.png" width="200"/></a>
|
35 |
+
|
36 |
+
# Original Model Card
|
37 |
+
|
38 |
+
# Llama-3 8B Gradient Instruct 1048k
|
39 |
+
Gradient incorporates your data to deploy autonomous assistants that power critical operations across your business. If you're looking to build custom AI models or agents, email us a message contact@gradient.ai.
|
40 |
+
|
41 |
+
For more info see our [End-to-end development service for custom LLMs and AI systems](https://gradient.ai/development-lab)
|
42 |
+
|
43 |
+
This model extends LLama-3 8B's context length from 8k to > 1040K, developed by Gradient, sponsored by compute from [Crusoe Energy](https://huggingface.co/crusoeai). It demonstrates that SOTA LLMs can learn to operate on long context with minimal training by appropriately adjusting RoPE theta. We trained on 830M tokens for this stage, and 1.4B tokens total for all stages, which is < 0.01% of Llama-3's original pre-training data.
|
44 |
+
|
45 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6585dc9be92bc5f258156bd6/6MKLoX2ruLIaREiyb6coO.png)
|
46 |
+
|
47 |
+
**Approach:**
|
48 |
+
|
49 |
+
- [meta-llama/Meta-Llama-3-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct) as the base
|
50 |
+
- NTK-aware interpolation [1] to initialize an optimal schedule for RoPE theta, followed by empirical RoPE theta optimization
|
51 |
+
- Progressive training on increasing context lengths, similar to [Large World Model](https://huggingface.co/LargeWorldModel) [2] (See details below)
|
52 |
+
|
53 |
+
**Infra:**
|
54 |
+
|
55 |
+
We build on top of the EasyContext Blockwise RingAttention library [3] to scalably and efficiently train on contexts up to 1048k tokens on [Crusoe Energy](https://huggingface.co/crusoeai) high performance L40S cluster.
|
56 |
+
|
57 |
+
Notably, we layered parallelism on top of Ring Attention with a custom network topology to better leverage large GPU clusters in the face of network bottlenecks from passing many KV blocks between devices. This gave us a 33x speedup in model training (compare 524k and 1048k to 65k and 262k in the table below).
|
58 |
+
|
59 |
+
**Data:**
|
60 |
+
|
61 |
+
For training data, we generate long contexts by augmenting [SlimPajama](https://huggingface.co/datasets/cerebras/SlimPajama-627B).
|
62 |
+
|
63 |
+
**Progressive Training Details:**
|
64 |
+
|
65 |
+
| | 65K | 262K | 524k | 1048k |
|
66 |
+
|------------------------|-----------|-----------|-----------|-----------|
|
67 |
+
| Initialize From | LLaMA-3 8B| 65K | 262K | 524k |
|
68 |
+
| Sequence Length 2^N | 16 | 18 | 19 | 20 |
|
69 |
+
| RoPE theta | 15.3 M | 207.1 M | 1.06B | 2.80B |
|
70 |
+
| Batch Size | 1 | 1 | 16 | 16 |
|
71 |
+
| Gradient Accumulation Steps | 32 | 16 | 1 | 1 |
|
72 |
+
| Steps | 30 | 24 | 50 | 50 |
|
73 |
+
| Total Tokens | 62914560 | 100663296 | 419430400 | 838860800 |
|
74 |
+
| Learning Rate | 2.00E-05 | 2.00E-05 | 2.00E-05 | 2.00E-05 |
|
75 |
+
| # GPUs | 8 | 32 | 512 | 512 |
|
76 |
+
| GPU Type | NVIDIA L40S | NVIDIA L40S | NVIDIA L40S | NVIDIA L40S |
|
77 |
+
| Minutes to Train (Wall)| 202 | 555 | 61 | 87 |
|
78 |
+
|
79 |
+
**Quants**:
|
80 |
+
- [GGUF](https://huggingface.co/crusoeai/Llama-3-8B-Instruct-1048k-GGUF)
|
81 |
+
- [MLX-4bit](https://huggingface.co/mlx-community/Llama-3-8B-Instruct-1048k-4bit)
|
82 |
+
|
83 |
+
## The Gradient AI Team
|
84 |
+
|
85 |
+
https://gradient.ai/
|
86 |
+
|
87 |
+
Gradient is accelerating AI transformation across industries. Our AI Foundry incorporates your data to deploy autonomous assistants that power critical operations across your business.
|
88 |
+
|
89 |
+
## Contact Us
|
90 |
+
|
91 |
+
Drop an email to [contact@gradient.ai](mailto:contact@gradient.ai)
|
92 |
+
|
93 |
+
## References
|
94 |
+
|
95 |
+
[1] Peng, Bowen, et al. "Yarn: Efficient context window extension of large language models." arXiv preprint arXiv:2309.00071 (2023).
|
96 |
+
|
97 |
+
[2] Liu, Hao, et al. "World Model on Million-Length Video And Language With RingAttention." arXiv preprint arXiv:2402.08268 (2024).
|
98 |
+
|
99 |
+
[3] https://github.com/jzhang38/EasyContext
|
100 |
+
|
101 |
+
|
102 |
+
----
|
103 |
+
|
104 |
+
# Base Model
|
105 |
+
|
106 |
+
## Model Details
|
107 |
+
|
108 |
+
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.
|
109 |
+
|
110 |
+
**Model developers** Meta
|
111 |
+
|
112 |
+
**Variations** Llama 3 comes in two sizes — 8B and 70B parameters — in pre-trained and instruction tuned variants.
|
113 |
+
|
114 |
+
**Input** Models input text only.
|
115 |
+
|
116 |
+
**Output** Models generate text and code only.
|
117 |
+
|
118 |
+
**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.
|
119 |
+
|
120 |
+
|
121 |
+
<table>
|
122 |
+
<tr>
|
123 |
+
<td>
|
124 |
+
</td>
|
125 |
+
<td><strong>Training Data</strong>
|
126 |
+
</td>
|
127 |
+
<td><strong>Params</strong>
|
128 |
+
</td>
|
129 |
+
<td><strong>Context length</strong>
|
130 |
+
</td>
|
131 |
+
<td><strong>GQA</strong>
|
132 |
+
</td>
|
133 |
+
<td><strong>Token count</strong>
|
134 |
+
</td>
|
135 |
+
<td><strong>Knowledge cutoff</strong>
|
136 |
+
</td>
|
137 |
+
</tr>
|
138 |
+
<tr>
|
139 |
+
<td rowspan="2" >Llama 3
|
140 |
+
</td>
|
141 |
+
<td rowspan="2" >A new mix of publicly available online data.
|
142 |
+
</td>
|
143 |
+
<td>8B
|
144 |
+
</td>
|
145 |
+
<td>8k
|
146 |
+
</td>
|
147 |
+
<td>Yes
|
148 |
+
</td>
|
149 |
+
<td rowspan="2" >15T+
|
150 |
+
</td>
|
151 |
+
<td>March, 2023
|
152 |
+
</td>
|
153 |
+
</tr>
|
154 |
+
<tr>
|
155 |
+
<td>70B
|
156 |
+
</td>
|
157 |
+
<td>8k
|
158 |
+
</td>
|
159 |
+
<td>Yes
|
160 |
+
</td>
|
161 |
+
<td>December, 2023
|
162 |
+
</td>
|
163 |
+
</tr>
|
164 |
+
</table>
|
165 |
+
|
166 |
+
|
167 |
+
**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.
|
168 |
+
|
169 |
+
**Model Release Date** April 18, 2024.
|
170 |
+
|
171 |
+
**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.
|
172 |
+
|
173 |
+
**License** A custom commercial license is available at: [https://llama.meta.com/llama3/license](https://llama.meta.com/llama3/license)
|
174 |
+
|
175 |
+
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).
|
176 |
+
|
177 |
+
|
178 |
+
## Intended Use
|
179 |
+
|
180 |
+
**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.
|
181 |
+
|
182 |
+
**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**.
|
183 |
+
|
184 |
+
**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.
|
185 |
+
|
186 |
+
## How to use
|
187 |
+
|
188 |
+
This repository contains two versions of Meta-Llama-3-8B-Instruct, for use with transformers and with the original `llama3` codebase.
|
189 |
+
|
190 |
+
### Use with transformers
|
191 |
+
|
192 |
+
You can run conversational inference using the Transformers pipeline abstraction, or by leveraging the Auto classes with the `generate()` function. Let's see examples of both.
|
193 |
+
|
194 |
+
#### Transformers pipeline
|
195 |
+
|
196 |
+
```python
|
197 |
+
import transformers
|
198 |
+
import torch
|
199 |
+
|
200 |
+
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
201 |
+
|
202 |
+
pipeline = transformers.pipeline(
|
203 |
+
"text-generation",
|
204 |
+
model=model_id,
|
205 |
+
model_kwargs={"torch_dtype": torch.bfloat16},
|
206 |
+
device_map="auto",
|
207 |
+
)
|
208 |
+
|
209 |
+
messages = [
|
210 |
+
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
|
211 |
+
{"role": "user", "content": "Who are you?"},
|
212 |
+
]
|
213 |
+
|
214 |
+
prompt = pipeline.tokenizer.apply_chat_template(
|
215 |
+
messages,
|
216 |
+
tokenize=False,
|
217 |
+
add_generation_prompt=True
|
218 |
+
)
|
219 |
+
|
220 |
+
terminators = [
|
221 |
+
pipeline.tokenizer.eos_token_id,
|
222 |
+
pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
|
223 |
+
]
|
224 |
+
|
225 |
+
outputs = pipeline(
|
226 |
+
prompt,
|
227 |
+
max_new_tokens=256,
|
228 |
+
eos_token_id=terminators,
|
229 |
+
do_sample=True,
|
230 |
+
temperature=0.6,
|
231 |
+
top_p=0.9,
|
232 |
+
)
|
233 |
+
print(outputs[0]["generated_text"][len(prompt):])
|
234 |
+
```
|
235 |
+
|
236 |
+
#### Transformers AutoModelForCausalLM
|
237 |
+
|
238 |
+
```python
|
239 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
240 |
+
import torch
|
241 |
+
|
242 |
+
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
243 |
+
|
244 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
245 |
+
model = AutoModelForCausalLM.from_pretrained(
|
246 |
+
model_id,
|
247 |
+
torch_dtype=torch.bfloat16,
|
248 |
+
device_map="auto",
|
249 |
+
)
|
250 |
+
|
251 |
+
messages = [
|
252 |
+
{"role": "system", "content": "You are a pirate chatbot who always responds in pirate speak!"},
|
253 |
+
{"role": "user", "content": "Who are you?"},
|
254 |
+
]
|
255 |
+
|
256 |
+
input_ids = tokenizer.apply_chat_template(
|
257 |
+
messages,
|
258 |
+
add_generation_prompt=True,
|
259 |
+
return_tensors="pt"
|
260 |
+
).to(model.device)
|
261 |
+
|
262 |
+
terminators = [
|
263 |
+
tokenizer.eos_token_id,
|
264 |
+
tokenizer.convert_tokens_to_ids("<|eot_id|>")
|
265 |
+
]
|
266 |
+
|
267 |
+
outputs = model.generate(
|
268 |
+
input_ids,
|
269 |
+
max_new_tokens=256,
|
270 |
+
eos_token_id=terminators,
|
271 |
+
do_sample=True,
|
272 |
+
temperature=0.6,
|
273 |
+
top_p=0.9,
|
274 |
+
)
|
275 |
+
response = outputs[0][input_ids.shape[-1]:]
|
276 |
+
print(tokenizer.decode(response, skip_special_tokens=True))
|
277 |
+
```
|
278 |
+
|
279 |
+
|
280 |
+
### Use with `llama3`
|
281 |
+
|
282 |
+
Please, follow the instructions in the [repository](https://github.com/meta-llama/llama3)
|
283 |
+
|
284 |
+
To download Original checkpoints, see the example command below leveraging `huggingface-cli`:
|
285 |
+
|
286 |
+
```
|
287 |
+
huggingface-cli download meta-llama/Meta-Llama-3-8B-Instruct --include "original/*" --local-dir Meta-Llama-3-8B-Instruct
|
288 |
+
```
|
289 |
+
|
290 |
+
For Hugging Face support, we recommend using transformers or TGI, but a similar command works.
|
291 |
+
|
292 |
+
## Hardware and Software
|
293 |
+
|
294 |
+
**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.
|
295 |
+
|
296 |
+
**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.
|
297 |
+
|
298 |
+
|
299 |
+
<table>
|
300 |
+
<tr>
|
301 |
+
<td>
|
302 |
+
</td>
|
303 |
+
<td><strong>Time (GPU hours)</strong>
|
304 |
+
</td>
|
305 |
+
<td><strong>Power Consumption (W)</strong>
|
306 |
+
</td>
|
307 |
+
<td><strong>Carbon Emitted(tCO2eq)</strong>
|
308 |
+
</td>
|
309 |
+
</tr>
|
310 |
+
<tr>
|
311 |
+
<td>Llama 3 8B
|
312 |
+
</td>
|
313 |
+
<td>1.3M
|
314 |
+
</td>
|
315 |
+
<td>700
|
316 |
+
</td>
|
317 |
+
<td>390
|
318 |
+
</td>
|
319 |
+
</tr>
|
320 |
+
<tr>
|
321 |
+
<td>Llama 3 70B
|
322 |
+
</td>
|
323 |
+
<td>6.4M
|
324 |
+
</td>
|
325 |
+
<td>700
|
326 |
+
</td>
|
327 |
+
<td>1900
|
328 |
+
</td>
|
329 |
+
</tr>
|
330 |
+
<tr>
|
331 |
+
<td>Total
|
332 |
+
</td>
|
333 |
+
<td>7.7M
|
334 |
+
</td>
|
335 |
+
<td>
|
336 |
+
</td>
|
337 |
+
<td>2290
|
338 |
+
</td>
|
339 |
+
</tr>
|
340 |
+
</table>
|
341 |
+
|
342 |
+
|
343 |
+
|
344 |
+
**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.
|
345 |
+
|
346 |
+
|
347 |
+
## Training Data
|
348 |
+
|
349 |
+
**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.
|
350 |
+
|
351 |
+
**Data Freshness** The pretraining data has a cutoff of March 2023 for the 7B and December 2023 for the 70B models respectively.
|
352 |
+
|
353 |
+
|
354 |
+
## Benchmarks
|
355 |
+
|
356 |
+
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).
|
357 |
+
|
358 |
+
|
359 |
+
### Base pretrained models
|
360 |
+
|
361 |
+
|
362 |
+
<table>
|
363 |
+
<tr>
|
364 |
+
<td><strong>Category</strong>
|
365 |
+
</td>
|
366 |
+
<td><strong>Benchmark</strong>
|
367 |
+
</td>
|
368 |
+
<td><strong>Llama 3 8B</strong>
|
369 |
+
</td>
|
370 |
+
<td><strong>Llama2 7B</strong>
|
371 |
+
</td>
|
372 |
+
<td><strong>Llama2 13B</strong>
|
373 |
+
</td>
|
374 |
+
<td><strong>Llama 3 70B</strong>
|
375 |
+
</td>
|
376 |
+
<td><strong>Llama2 70B</strong>
|
377 |
+
</td>
|
378 |
+
</tr>
|
379 |
+
<tr>
|
380 |
+
<td rowspan="6" >General
|
381 |
+
</td>
|
382 |
+
<td>MMLU (5-shot)
|
383 |
+
</td>
|
384 |
+
<td>66.6
|
385 |
+
</td>
|
386 |
+
<td>45.7
|
387 |
+
</td>
|
388 |
+
<td>53.8
|
389 |
+
</td>
|
390 |
+
<td>79.5
|
391 |
+
</td>
|
392 |
+
<td>69.7
|
393 |
+
</td>
|
394 |
+
</tr>
|
395 |
+
<tr>
|
396 |
+
<td>AGIEval English (3-5 shot)
|
397 |
+
</td>
|
398 |
+
<td>45.9
|
399 |
+
</td>
|
400 |
+
<td>28.8
|
401 |
+
</td>
|
402 |
+
<td>38.7
|
403 |
+
</td>
|
404 |
+
<td>63.0
|
405 |
+
</td>
|
406 |
+
<td>54.8
|
407 |
+
</td>
|
408 |
+
</tr>
|
409 |
+
<tr>
|
410 |
+
<td>CommonSenseQA (7-shot)
|
411 |
+
</td>
|
412 |
+
<td>72.6
|
413 |
+
</td>
|
414 |
+
<td>57.6
|
415 |
+
</td>
|
416 |
+
<td>67.6
|
417 |
+
</td>
|
418 |
+
<td>83.8
|
419 |
+
</td>
|
420 |
+
<td>78.7
|
421 |
+
</td>
|
422 |
+
</tr>
|
423 |
+
<tr>
|
424 |
+
<td>Winogrande (5-shot)
|
425 |
+
</td>
|
426 |
+
<td>76.1
|
427 |
+
</td>
|
428 |
+
<td>73.3
|
429 |
+
</td>
|
430 |
+
<td>75.4
|
431 |
+
</td>
|
432 |
+
<td>83.1
|
433 |
+
</td>
|
434 |
+
<td>81.8
|
435 |
+
</td>
|
436 |
+
</tr>
|
437 |
+
<tr>
|
438 |
+
<td>BIG-Bench Hard (3-shot, CoT)
|
439 |
+
</td>
|
440 |
+
<td>61.1
|
441 |
+
</td>
|
442 |
+
<td>38.1
|
443 |
+
</td>
|
444 |
+
<td>47.0
|
445 |
+
</td>
|
446 |
+
<td>81.3
|
447 |
+
</td>
|
448 |
+
<td>65.7
|
449 |
+
</td>
|
450 |
+
</tr>
|
451 |
+
<tr>
|
452 |
+
<td>ARC-Challenge (25-shot)
|
453 |
+
</td>
|
454 |
+
<td>78.6
|
455 |
+
</td>
|
456 |
+
<td>53.7
|
457 |
+
</td>
|
458 |
+
<td>67.6
|
459 |
+
</td>
|
460 |
+
<td>93.0
|
461 |
+
</td>
|
462 |
+
<td>85.3
|
463 |
+
</td>
|
464 |
+
</tr>
|
465 |
+
<tr>
|
466 |
+
<td>Knowledge reasoning
|
467 |
+
</td>
|
468 |
+
<td>TriviaQA-Wiki (5-shot)
|
469 |
+
</td>
|
470 |
+
<td>78.5
|
471 |
+
</td>
|
472 |
+
<td>72.1
|
473 |
+
</td>
|
474 |
+
<td>79.6
|
475 |
+
</td>
|
476 |
+
<td>89.7
|
477 |
+
</td>
|
478 |
+
<td>87.5
|
479 |
+
</td>
|
480 |
+
</tr>
|
481 |
+
<tr>
|
482 |
+
<td rowspan="4" >Reading comprehension
|
483 |
+
</td>
|
484 |
+
<td>SQuAD (1-shot)
|
485 |
+
</td>
|
486 |
+
<td>76.4
|
487 |
+
</td>
|
488 |
+
<td>72.2
|
489 |
+
</td>
|
490 |
+
<td>72.1
|
491 |
+
</td>
|
492 |
+
<td>85.6
|
493 |
+
</td>
|
494 |
+
<td>82.6
|
495 |
+
</td>
|
496 |
+
</tr>
|
497 |
+
<tr>
|
498 |
+
<td>QuAC (1-shot, F1)
|
499 |
+
</td>
|
500 |
+
<td>44.4
|
501 |
+
</td>
|
502 |
+
<td>39.6
|
503 |
+
</td>
|
504 |
+
<td>44.9
|
505 |
+
</td>
|
506 |
+
<td>51.1
|
507 |
+
</td>
|
508 |
+
<td>49.4
|
509 |
+
</td>
|
510 |
+
</tr>
|
511 |
+
<tr>
|
512 |
+
<td>BoolQ (0-shot)
|
513 |
+
</td>
|
514 |
+
<td>75.7
|
515 |
+
</td>
|
516 |
+
<td>65.5
|
517 |
+
</td>
|
518 |
+
<td>66.9
|
519 |
+
</td>
|
520 |
+
<td>79.0
|
521 |
+
</td>
|
522 |
+
<td>73.1
|
523 |
+
</td>
|
524 |
+
</tr>
|
525 |
+
<tr>
|
526 |
+
<td>DROP (3-shot, F1)
|
527 |
+
</td>
|
528 |
+
<td>58.4
|
529 |
+
</td>
|
530 |
+
<td>37.9
|
531 |
+
</td>
|
532 |
+
<td>49.8
|
533 |
+
</td>
|
534 |
+
<td>79.7
|
535 |
+
</td>
|
536 |
+
<td>70.2
|
537 |
+
</td>
|
538 |
+
</tr>
|
539 |
+
</table>
|
540 |
+
|
541 |
+
|
542 |
+
|
543 |
+
### Instruction tuned models
|
544 |
+
|
545 |
+
|
546 |
+
<table>
|
547 |
+
<tr>
|
548 |
+
<td><strong>Benchmark</strong>
|
549 |
+
</td>
|
550 |
+
<td><strong>Llama 3 8B</strong>
|
551 |
+
</td>
|
552 |
+
<td><strong>Llama 2 7B</strong>
|
553 |
+
</td>
|
554 |
+
<td><strong>Llama 2 13B</strong>
|
555 |
+
</td>
|
556 |
+
<td><strong>Llama 3 70B</strong>
|
557 |
+
</td>
|
558 |
+
<td><strong>Llama 2 70B</strong>
|
559 |
+
</td>
|
560 |
+
</tr>
|
561 |
+
<tr>
|
562 |
+
<td>MMLU (5-shot)
|
563 |
+
</td>
|
564 |
+
<td>68.4
|
565 |
+
</td>
|
566 |
+
<td>34.1
|
567 |
+
</td>
|
568 |
+
<td>47.8
|
569 |
+
</td>
|
570 |
+
<td>82.0
|
571 |
+
</td>
|
572 |
+
<td>52.9
|
573 |
+
</td>
|
574 |
+
</tr>
|
575 |
+
<tr>
|
576 |
+
<td>GPQA (0-shot)
|
577 |
+
</td>
|
578 |
+
<td>34.2
|
579 |
+
</td>
|
580 |
+
<td>21.7
|
581 |
+
</td>
|
582 |
+
<td>22.3
|
583 |
+
</td>
|
584 |
+
<td>39.5
|
585 |
+
</td>
|
586 |
+
<td>21.0
|
587 |
+
</td>
|
588 |
+
</tr>
|
589 |
+
<tr>
|
590 |
+
<td>HumanEval (0-shot)
|
591 |
+
</td>
|
592 |
+
<td>62.2
|
593 |
+
</td>
|
594 |
+
<td>7.9
|
595 |
+
</td>
|
596 |
+
<td>14.0
|
597 |
+
</td>
|
598 |
+
<td>81.7
|
599 |
+
</td>
|
600 |
+
<td>25.6
|
601 |
+
</td>
|
602 |
+
</tr>
|
603 |
+
<tr>
|
604 |
+
<td>GSM-8K (8-shot, CoT)
|
605 |
+
</td>
|
606 |
+
<td>79.6
|
607 |
+
</td>
|
608 |
+
<td>25.7
|
609 |
+
</td>
|
610 |
+
<td>77.4
|
611 |
+
</td>
|
612 |
+
<td>93.0
|
613 |
+
</td>
|
614 |
+
<td>57.5
|
615 |
+
</td>
|
616 |
+
</tr>
|
617 |
+
<tr>
|
618 |
+
<td>MATH (4-shot, CoT)
|
619 |
+
</td>
|
620 |
+
<td>30.0
|
621 |
+
</td>
|
622 |
+
<td>3.8
|
623 |
+
</td>
|
624 |
+
<td>6.7
|
625 |
+
</td>
|
626 |
+
<td>50.4
|
627 |
+
</td>
|
628 |
+
<td>11.6
|
629 |
+
</td>
|
630 |
+
</tr>
|
631 |
+
</table>
|
632 |
+
|
633 |
+
|
634 |
+
|
635 |
+
### Responsibility & Safety
|
636 |
+
|
637 |
+
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.
|
638 |
+
|
639 |
+
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.
|
640 |
+
|
641 |
+
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.
|
642 |
+
|
643 |
+
|
644 |
+
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.
|
645 |
+
|
646 |
+
|
647 |
+
#### Llama 3-Instruct
|
648 |
+
|
649 |
+
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.
|
650 |
+
|
651 |
+
<span style="text-decoration:underline;">Safety</span>
|
652 |
+
|
653 |
+
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.
|
654 |
+
|
655 |
+
<span style="text-decoration:underline;">Refusals</span>
|
656 |
+
|
657 |
+
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.
|
658 |
+
|
659 |
+
We built internal benchmarks and developed mitigations to limit false refusals making Llama 3 our most helpful model to date.
|
660 |
+
|
661 |
+
|
662 |
+
#### Responsible release
|
663 |
+
|
664 |
+
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.
|
665 |
+
|
666 |
+
Misuse
|
667 |
+
|
668 |
+
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/).
|
669 |
+
|
670 |
+
|
671 |
+
#### Critical risks
|
672 |
+
|
673 |
+
<span style="text-decoration:underline;">CBRNE</span> (Chemical, Biological, Radiological, Nuclear, and high yield Explosives)
|
674 |
+
|
675 |
+
We have conducted a two fold assessment of the safety of the model in this area:
|
676 |
+
|
677 |
+
|
678 |
+
|
679 |
+
* Iterative testing during model training to assess the safety of responses related to CBRNE threats and other adversarial risks.
|
680 |
+
* 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).
|
681 |
+
|
682 |
+
|
683 |
+
### <span style="text-decoration:underline;">Cyber Security </span>
|
684 |
+
|
685 |
+
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).
|
686 |
+
|
687 |
+
|
688 |
+
### <span style="text-decoration:underline;">Child Safety</span>
|
689 |
+
|
690 |
+
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.
|
691 |
+
|
692 |
+
|
693 |
+
### Community
|
694 |
+
|
695 |
+
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).
|
696 |
+
|
697 |
+
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.
|
698 |
+
|
699 |
+
|
700 |
+
## Ethical Considerations and Limitations
|
701 |
+
|
702 |
+
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.
|
703 |
+
|
704 |
+
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.
|
705 |
+
|
706 |
+
Please see the Responsible Use Guide available at [http://llama.meta.com/responsible-use-guide](http://llama.meta.com/responsible-use-guide)
|
707 |
+
|
708 |
+
|
709 |
+
## Citation instructions
|
710 |
+
|
711 |
+
@article{llama3modelcard,
|
712 |
+
|
713 |
+
title={Llama 3 Model Card},
|
714 |
+
|
715 |
+
author={AI@Meta},
|
716 |
+
|
717 |
+
year={2024},
|
718 |
+
|
719 |
+
url = {https://github.com/meta-llama/llama3/blob/main/MODEL_CARD.md}
|
720 |
+
|
721 |
+
}
|
722 |
+
|
723 |
+
## Contributors
|
724 |
+
|
725 |
+
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
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gradientai/llama3-run1-stage524k-fm-v3",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 128000,
|
9 |
+
"eos_token_id": 128001,
|
10 |
+
"hidden_act": "silu",
|
11 |
+
"hidden_size": 4096,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 14336,
|
14 |
+
"max_position_embeddings": 1048576,
|
15 |
+
"model_type": "llama",
|
16 |
+
"num_attention_heads": 32,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"num_key_value_heads": 8,
|
19 |
+
"pretraining_tp": 1,
|
20 |
+
"rms_norm_eps": 1e-05,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rope_theta": 2804339835.0,
|
23 |
+
"tie_word_embeddings": false,
|
24 |
+
"torch_dtype": "bfloat16",
|
25 |
+
"transformers_version": "4.39.1",
|
26 |
+
"use_cache": true,
|
27 |
+
"vocab_size": 128256
|
28 |
+
}
|
imat-f16-gmerged.dat
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9cceff9b8109e1e10ba4e5b98e12208f04a26135f5ad70d17828bde3da481ceb
|
3 |
+
size 4988185
|
llama-3-8b-instruct-gradient-1048k-f16.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd8abf8803039d3f8556c47dbf8c2efe13b8aedf5d0b4aedd1830bb257cbd992
|
3 |
+
size 16068890880
|
llama-3-8b-instruct-gradient-1048k-imat-IQ1_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bdf7e63b7256d95e630517fa830a8bcc0d1eb42ec5d11a35041bd02756a7accc
|
3 |
+
size 2019627616
|
llama-3-8b-instruct-gradient-1048k-imat-IQ2_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa200c0caf3a6ff1fc50fc1acf4e82a806c6f5e46046a4a0d186c9523ddfc865
|
3 |
+
size 2948280928
|
llama-3-8b-instruct-gradient-1048k-imat-IQ2_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c9dd2f5d93b57212db7c59310087ce287dc56068deb83ef97297bd825739fc52
|
3 |
+
size 2758488672
|
llama-3-8b-instruct-gradient-1048k-imat-IQ2_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:feba9075a976e1d6a3ba895fdc2bc5dcc73d356e896a19e8d3e89609f3d4df5e
|
3 |
+
size 2605781600
|
llama-3-8b-instruct-gradient-1048k-imat-IQ2_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:28828f257a90331beb9984b9bc4928a19aafeea5880ad39b40c719fa8cc251b7
|
3 |
+
size 2399212128
|
llama-3-8b-instruct-gradient-1048k-imat-IQ3_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12bdc717d39690998927076b31a72229d4ca26d9f41d4dd26014baece27a0f5f
|
3 |
+
size 3784823392
|
llama-3-8b-instruct-gradient-1048k-imat-IQ3_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60ae682711f8771b4d2572dfab8a6009bdb27ed90c66a1cdde0bee480d33d680
|
3 |
+
size 3682325088
|
llama-3-8b-instruct-gradient-1048k-imat-IQ3_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed53589bcc7dfdeb44d760c6ecd70d5801c5cd3ea3c87b02d0f4cbedf6aaea44
|
3 |
+
size 3518747232
|
llama-3-8b-instruct-gradient-1048k-imat-IQ3_XXS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d40b36f076c826bebac2c21600c19db39bc74ec3f700773f111e58dcdaea46ee
|
3 |
+
size 3274912352
|
llama-3-8b-instruct-gradient-1048k-imat-IQ4_NL.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d1e00dc76e1c08b8a571c87349d3bc412aa53de3799f48b73396fa2ec7beb6ae
|
3 |
+
size 4677988960
|
llama-3-8b-instruct-gradient-1048k-imat-IQ4_XS.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d90f158dec43258ed2eb872fa5c06e5f9254fb848bcb1933e8e0ee298f40977f
|
3 |
+
size 4447662688
|
llama-3-8b-instruct-gradient-1048k-imat-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea76dde3d4bc1c3736cf5ac85565dcdce79aa92c65a5ec944c3abce7986bc2c6
|
3 |
+
size 4675891808
|
llama-3-8b-instruct-gradient-1048k-imat-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be8137f4ea0cb95d001698e64481e55353af1b576e278b7fd26002c129837ab8
|
3 |
+
size 4920734304
|
llama-3-8b-instruct-gradient-1048k-imat-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bb23aa4b993f490df44fcc0a47b5d3c1a8a42b0f2eb4719b38b994eecee27c41
|
3 |
+
size 4692669024
|
llama-3-8b-instruct-gradient-1048k-imat-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5207c3a4cb423e91cb71566f40c13e5c1f4fa10e3ce78dad03e34ab5c0fe30f
|
3 |
+
size 5732987488
|
llama-3-8b-instruct-gradient-1048k-imat-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d33393d920966f4a6c81904ce6513fb0a9a52d98885bd1f9b632667bf7fb8c9c
|
3 |
+
size 5599294048
|
llama-3-8b-instruct-gradient-1048k-imat-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2946f2c6510f3ba797e04122b28a0d4c9f9e1b8afea81ad875d17285280910dd
|
3 |
+
size 6596006496
|
llama-3-8b-instruct-gradient-1048k-imat-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9ea4330c3888edd7736d8394760341cf34905275a5500d972b939bcd2476ee2
|
3 |
+
size 8540770912
|
special_tokens_map.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|begin_of_text|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|end_of_text|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
}
|
16 |
+
}
|