Commit
·
3e2f68c
verified
·
0
Parent(s):
Duplicate from OpenLLM-France/Lucie-7B-Instruct
Browse filesCo-authored-by: Julie Hunter <[email protected]>
- .gitattributes +36 -0
- LICENSE.md +237 -0
- Lucie-7B-q4_k_m.gguf +3 -0
- Modelfile +221 -0
- README.md +177 -0
- config.json +31 -0
- generation_config.json +9 -0
- model-00001-of-00003.safetensors +3 -0
- model-00002-of-00003.safetensors +3 -0
- model-00003-of-00003.safetensors +3 -0
- model.safetensors.index.json +330 -0
- openllm_english.jsonl +0 -0
- openllm_french.jsonl +0 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +75 -0
.gitattributes
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
36 |
+
Lucie-7B-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
LICENSE.md
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Apache License 2.0
|
3 |
+
spdx-id: Apache-2.0
|
4 |
+
redirect_from: /licenses/apache/
|
5 |
+
featured: true
|
6 |
+
hidden: false
|
7 |
+
|
8 |
+
description: A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
|
9 |
+
|
10 |
+
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
11 |
+
|
12 |
+
note: The Apache Software Foundation <a href="https://apache.org/foundation/license-faq.html#Apply-My-Software">recommends</a> taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice in the appendix at the very end of the license text.
|
13 |
+
|
14 |
+
using:
|
15 |
+
Kubernetes: https://github.com/kubernetes/kubernetes/blob/master/LICENSE
|
16 |
+
PDF.js: https://github.com/mozilla/pdf.js/blob/master/LICENSE
|
17 |
+
Swift: https://github.com/apple/swift/blob/main/LICENSE.txt
|
18 |
+
|
19 |
+
permissions:
|
20 |
+
- commercial-use
|
21 |
+
- modifications
|
22 |
+
- distribution
|
23 |
+
- patent-use
|
24 |
+
- private-use
|
25 |
+
|
26 |
+
conditions:
|
27 |
+
- include-copyright
|
28 |
+
- document-changes
|
29 |
+
|
30 |
+
limitations:
|
31 |
+
- trademark-use
|
32 |
+
- liability
|
33 |
+
- warranty
|
34 |
+
|
35 |
+
---
|
36 |
+
|
37 |
+
Apache License
|
38 |
+
Version 2.0, January 2004
|
39 |
+
http://www.apache.org/licenses/
|
40 |
+
|
41 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
42 |
+
|
43 |
+
1. Definitions.
|
44 |
+
|
45 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
46 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
47 |
+
|
48 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
49 |
+
the copyright owner that is granting the License.
|
50 |
+
|
51 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
52 |
+
other entities that control, are controlled by, or are under common
|
53 |
+
control with that entity. For the purposes of this definition,
|
54 |
+
"control" means (i) the power, direct or indirect, to cause the
|
55 |
+
direction or management of such entity, whether by contract or
|
56 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
57 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
58 |
+
|
59 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
60 |
+
exercising permissions granted by this License.
|
61 |
+
|
62 |
+
"Source" form shall mean the preferred form for making modifications,
|
63 |
+
including but not limited to software source code, documentation
|
64 |
+
source, and configuration files.
|
65 |
+
|
66 |
+
"Object" form shall mean any form resulting from mechanical
|
67 |
+
transformation or translation of a Source form, including but
|
68 |
+
not limited to compiled object code, generated documentation,
|
69 |
+
and conversions to other media types.
|
70 |
+
|
71 |
+
"Work" shall mean the work of authorship, whether in Source or
|
72 |
+
Object form, made available under the License, as indicated by a
|
73 |
+
copyright notice that is included in or attached to the work
|
74 |
+
(an example is provided in the Appendix below).
|
75 |
+
|
76 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
77 |
+
form, that is based on (or derived from) the Work and for which the
|
78 |
+
editorial revisions, annotations, elaborations, or other modifications
|
79 |
+
represent, as a whole, an original work of authorship. For the purposes
|
80 |
+
of this License, Derivative Works shall not include works that remain
|
81 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
82 |
+
the Work and Derivative Works thereof.
|
83 |
+
|
84 |
+
"Contribution" shall mean any work of authorship, including
|
85 |
+
the original version of the Work and any modifications or additions
|
86 |
+
to that Work or Derivative Works thereof, that is intentionally
|
87 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
88 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
89 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
90 |
+
means any form of electronic, verbal, or written communication sent
|
91 |
+
to the Licensor or its representatives, including but not limited to
|
92 |
+
communication on electronic mailing lists, source code control systems,
|
93 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
94 |
+
Licensor for the purpose of discussing and improving the Work, but
|
95 |
+
excluding communication that is conspicuously marked or otherwise
|
96 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
97 |
+
|
98 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
99 |
+
on behalf of whom a Contribution has been received by Licensor and
|
100 |
+
subsequently incorporated within the Work.
|
101 |
+
|
102 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
103 |
+
this License, each Contributor hereby grants to You a perpetual,
|
104 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
105 |
+
copyright license to reproduce, prepare Derivative Works of,
|
106 |
+
publicly display, publicly perform, sublicense, and distribute the
|
107 |
+
Work and such Derivative Works in Source or Object form.
|
108 |
+
|
109 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
110 |
+
this License, each Contributor hereby grants to You a perpetual,
|
111 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
112 |
+
(except as stated in this section) patent license to make, have made,
|
113 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
114 |
+
where such license applies only to those patent claims licensable
|
115 |
+
by such Contributor that are necessarily infringed by their
|
116 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
117 |
+
with the Work to which such Contribution(s) was submitted. If You
|
118 |
+
institute patent litigation against any entity (including a
|
119 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
120 |
+
or a Contribution incorporated within the Work constitutes direct
|
121 |
+
or contributory patent infringement, then any patent licenses
|
122 |
+
granted to You under this License for that Work shall terminate
|
123 |
+
as of the date such litigation is filed.
|
124 |
+
|
125 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
126 |
+
Work or Derivative Works thereof in any medium, with or without
|
127 |
+
modifications, and in Source or Object form, provided that You
|
128 |
+
meet the following conditions:
|
129 |
+
|
130 |
+
(a) You must give any other recipients of the Work or
|
131 |
+
Derivative Works a copy of this License; and
|
132 |
+
|
133 |
+
(b) You must cause any modified files to carry prominent notices
|
134 |
+
stating that You changed the files; and
|
135 |
+
|
136 |
+
(c) You must retain, in the Source form of any Derivative Works
|
137 |
+
that You distribute, all copyright, patent, trademark, and
|
138 |
+
attribution notices from the Source form of the Work,
|
139 |
+
excluding those notices that do not pertain to any part of
|
140 |
+
the Derivative Works; and
|
141 |
+
|
142 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
143 |
+
distribution, then any Derivative Works that You distribute must
|
144 |
+
include a readable copy of the attribution notices contained
|
145 |
+
within such NOTICE file, excluding those notices that do not
|
146 |
+
pertain to any part of the Derivative Works, in at least one
|
147 |
+
of the following places: within a NOTICE text file distributed
|
148 |
+
as part of the Derivative Works; within the Source form or
|
149 |
+
documentation, if provided along with the Derivative Works; or,
|
150 |
+
within a display generated by the Derivative Works, if and
|
151 |
+
wherever such third-party notices normally appear. The contents
|
152 |
+
of the NOTICE file are for informational purposes only and
|
153 |
+
do not modify the License. You may add Your own attribution
|
154 |
+
notices within Derivative Works that You distribute, alongside
|
155 |
+
or as an addendum to the NOTICE text from the Work, provided
|
156 |
+
that such additional attribution notices cannot be construed
|
157 |
+
as modifying the License.
|
158 |
+
|
159 |
+
You may add Your own copyright statement to Your modifications and
|
160 |
+
may provide additional or different license terms and conditions
|
161 |
+
for use, reproduction, or distribution of Your modifications, or
|
162 |
+
for any such Derivative Works as a whole, provided Your use,
|
163 |
+
reproduction, and distribution of the Work otherwise complies with
|
164 |
+
the conditions stated in this License.
|
165 |
+
|
166 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
167 |
+
any Contribution intentionally submitted for inclusion in the Work
|
168 |
+
by You to the Licensor shall be under the terms and conditions of
|
169 |
+
this License, without any additional terms or conditions.
|
170 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
171 |
+
the terms of any separate license agreement you may have executed
|
172 |
+
with Licensor regarding such Contributions.
|
173 |
+
|
174 |
+
6. Trademarks. This License does not grant permission to use the trade
|
175 |
+
names, trademarks, service marks, or product names of the Licensor,
|
176 |
+
except as required for reasonable and customary use in describing the
|
177 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
178 |
+
|
179 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
180 |
+
agreed to in writing, Licensor provides the Work (and each
|
181 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
182 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
183 |
+
implied, including, without limitation, any warranties or conditions
|
184 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
185 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
186 |
+
appropriateness of using or redistributing the Work and assume any
|
187 |
+
risks associated with Your exercise of permissions under this License.
|
188 |
+
|
189 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
190 |
+
whether in tort (including negligence), contract, or otherwise,
|
191 |
+
unless required by applicable law (such as deliberate and grossly
|
192 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
193 |
+
liable to You for damages, including any direct, indirect, special,
|
194 |
+
incidental, or consequential damages of any character arising as a
|
195 |
+
result of this License or out of the use or inability to use the
|
196 |
+
Work (including but not limited to damages for loss of goodwill,
|
197 |
+
work stoppage, computer failure or malfunction, or any and all
|
198 |
+
other commercial damages or losses), even if such Contributor
|
199 |
+
has been advised of the possibility of such damages.
|
200 |
+
|
201 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
202 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
203 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
204 |
+
or other liability obligations and/or rights consistent with this
|
205 |
+
License. However, in accepting such obligations, You may act only
|
206 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
207 |
+
of any other Contributor, and only if You agree to indemnify,
|
208 |
+
defend, and hold each Contributor harmless for any liability
|
209 |
+
incurred by, or claims asserted against, such Contributor by reason
|
210 |
+
of your accepting any such warranty or additional liability.
|
211 |
+
|
212 |
+
END OF TERMS AND CONDITIONS
|
213 |
+
|
214 |
+
APPENDIX: How to apply the Apache License to your work.
|
215 |
+
|
216 |
+
To apply the Apache License to your work, attach the following
|
217 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
218 |
+
replaced with your own identifying information. (Don't include
|
219 |
+
the brackets!) The text should be enclosed in the appropriate
|
220 |
+
comment syntax for the file format. We also recommend that a
|
221 |
+
file or class name and description of purpose be included on the
|
222 |
+
same "printed page" as the copyright notice for easier
|
223 |
+
identification within third-party archives.
|
224 |
+
|
225 |
+
Copyright [yyyy] [name of copyright owner]
|
226 |
+
|
227 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
228 |
+
you may not use this file except in compliance with the License.
|
229 |
+
You may obtain a copy of the License at
|
230 |
+
|
231 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
232 |
+
|
233 |
+
Unless required by applicable law or agreed to in writing, software
|
234 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
235 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
236 |
+
See the License for the specific language governing permissions and
|
237 |
+
limitations under the License.
|
Lucie-7B-q4_k_m.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d41d59729e4e0e21d6bbb41b6d146643cbe46cd49d849fbef8eb9d318255f883
|
3 |
+
size 4068731936
|
Modelfile
ADDED
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Modelfile to be used with "ollama"
|
2 |
+
# adapt "./Lucie-7B-q4_k_m.gguf" with the path where you copy the GGUF file of Lucie-7B-Instruct-v1 model
|
3 |
+
|
4 |
+
FROM ./Lucie-7B-q4_k_m.gguf
|
5 |
+
PARAMETER seed 1234
|
6 |
+
PARAMETER num_ctx 32000
|
7 |
+
PARAMETER temperature 0.6
|
8 |
+
TEMPLATE """{{ if .System }}<|start_header_id|>system<|end_header_id|>
|
9 |
+
|
10 |
+
{{ .System }}<|eot_id|>{{ end }}{{ if .Prompt }}<|start_header_id|>user<|end_header_id|>
|
11 |
+
|
12 |
+
{{ .Prompt }}<|eot_id|>{{ end }}<|start_header_id|>assistant<|end_header_id|>
|
13 |
+
|
14 |
+
{{ .Response }}<|eot_id|>"""
|
15 |
+
PARAMETER stop "<|start_header_id|>"
|
16 |
+
PARAMETER stop "<|end_header_id|>"
|
17 |
+
PARAMETER stop "<|eot_id|>"
|
18 |
+
PARAMETER stop "</s>"
|
19 |
+
PARAMETER stop "<s>"
|
20 |
+
LICENSE "
|
21 |
+
Apache License
|
22 |
+
Version 2.0, January 2004
|
23 |
+
http://www.apache.org/licenses/
|
24 |
+
|
25 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
26 |
+
|
27 |
+
1. Definitions.
|
28 |
+
|
29 |
+
“License” shall mean the terms and conditions for use, reproduction,
|
30 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
31 |
+
|
32 |
+
“Licensor” shall mean the copyright owner or entity authorized by
|
33 |
+
the copyright owner that is granting the License.
|
34 |
+
|
35 |
+
“Legal Entity” shall mean the union of the acting entity and all
|
36 |
+
other entities that control, are controlled by, or are under common
|
37 |
+
control with that entity. For the purposes of this definition,
|
38 |
+
“control” means (i) the power, direct or indirect, to cause the
|
39 |
+
direction or management of such entity, whether by contract or
|
40 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
41 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
42 |
+
|
43 |
+
“You” (or “Your”) shall mean an individual or Legal Entity
|
44 |
+
exercising permissions granted by this License.
|
45 |
+
|
46 |
+
“Source” form shall mean the preferred form for making modifications,
|
47 |
+
including but not limited to software source code, documentation
|
48 |
+
source, and configuration files.
|
49 |
+
|
50 |
+
“Object” form shall mean any form resulting from mechanical
|
51 |
+
transformation or translation of a Source form, including but
|
52 |
+
not limited to compiled object code, generated documentation,
|
53 |
+
and conversions to other media types.
|
54 |
+
|
55 |
+
“Work” shall mean the work of authorship, whether in Source or
|
56 |
+
Object form, made available under the License, as indicated by a
|
57 |
+
copyright notice that is included in or attached to the work
|
58 |
+
(an example is provided in the Appendix below).
|
59 |
+
|
60 |
+
“Derivative Works” shall mean any work, whether in Source or Object
|
61 |
+
form, that is based on (or derived from) the Work and for which the
|
62 |
+
editorial revisions, annotations, elaborations, or other modifications
|
63 |
+
represent, as a whole, an original work of authorship. For the purposes
|
64 |
+
of this License, Derivative Works shall not include works that remain
|
65 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
66 |
+
the Work and Derivative Works thereof.
|
67 |
+
|
68 |
+
“Contribution” shall mean any work of authorship, including
|
69 |
+
the original version of the Work and any modifications or additions
|
70 |
+
to that Work or Derivative Works thereof, that is intentionally
|
71 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
72 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
73 |
+
the copyright owner. For the purposes of this definition, “submitted“
|
74 |
+
means any form of electronic, verbal, or written communication sent
|
75 |
+
to the Licensor or its representatives, including but not limited to
|
76 |
+
communication on electronic mailing lists, source code control systems,
|
77 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
78 |
+
Licensor for the purpose of discussing and improving the Work, but
|
79 |
+
excluding communication that is conspicuously marked or otherwise
|
80 |
+
designated in writing by the copyright owner as “Not a Contribution.“
|
81 |
+
|
82 |
+
“Contributor” shall mean Licensor and any individual or Legal Entity
|
83 |
+
on behalf of whom a Contribution has been received by Licensor and
|
84 |
+
subsequently incorporated within the Work.
|
85 |
+
|
86 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
87 |
+
this License, each Contributor hereby grants to You a perpetual,
|
88 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
89 |
+
copyright license to reproduce, prepare Derivative Works of,
|
90 |
+
publicly display, publicly perform, sublicense, and distribute the
|
91 |
+
Work and such Derivative Works in Source or Object form.
|
92 |
+
|
93 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
94 |
+
this License, each Contributor hereby grants to You a perpetual,
|
95 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
96 |
+
(except as stated in this section) patent license to make, have made,
|
97 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
98 |
+
where such license applies only to those patent claims licensable
|
99 |
+
by such Contributor that are necessarily infringed by their
|
100 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
101 |
+
with the Work to which such Contribution(s) was submitted. If You
|
102 |
+
institute patent litigation against any entity (including a
|
103 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
104 |
+
or a Contribution incorporated within the Work constitutes direct
|
105 |
+
or contributory patent infringement, then any patent licenses
|
106 |
+
granted to You under this License for that Work shall terminate
|
107 |
+
as of the date such litigation is filed.
|
108 |
+
|
109 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
110 |
+
Work or Derivative Works thereof in any medium, with or without
|
111 |
+
modifications, and in Source or Object form, provided that You
|
112 |
+
meet the following conditions:
|
113 |
+
|
114 |
+
(a) You must give any other recipients of the Work or
|
115 |
+
Derivative Works a copy of this License; and
|
116 |
+
|
117 |
+
(b) You must cause any modified files to carry prominent notices
|
118 |
+
stating that You changed the files; and
|
119 |
+
|
120 |
+
(c) You must retain, in the Source form of any Derivative Works
|
121 |
+
that You distribute, all copyright, patent, trademark, and
|
122 |
+
attribution notices from the Source form of the Work,
|
123 |
+
excluding those notices that do not pertain to any part of
|
124 |
+
the Derivative Works; and
|
125 |
+
|
126 |
+
(d) If the Work includes a “NOTICE” text file as part of its
|
127 |
+
distribution, then any Derivative Works that You distribute must
|
128 |
+
include a readable copy of the attribution notices contained
|
129 |
+
within such NOTICE file, excluding those notices that do not
|
130 |
+
pertain to any part of the Derivative Works, in at least one
|
131 |
+
of the following places: within a NOTICE text file distributed
|
132 |
+
as part of the Derivative Works; within the Source form or
|
133 |
+
documentation, if provided along with the Derivative Works; or,
|
134 |
+
within a display generated by the Derivative Works, if and
|
135 |
+
wherever such third-party notices normally appear. The contents
|
136 |
+
of the NOTICE file are for informational purposes only and
|
137 |
+
do not modify the License. You may add Your own attribution
|
138 |
+
notices within Derivative Works that You distribute, alongside
|
139 |
+
or as an addendum to the NOTICE text from the Work, provided
|
140 |
+
that such additional attribution notices cannot be construed
|
141 |
+
as modifying the License.
|
142 |
+
|
143 |
+
You may add Your own copyright statement to Your modifications and
|
144 |
+
may provide additional or different license terms and conditions
|
145 |
+
for use, reproduction, or distribution of Your modifications, or
|
146 |
+
for any such Derivative Works as a whole, provided Your use,
|
147 |
+
reproduction, and distribution of the Work otherwise complies with
|
148 |
+
the conditions stated in this License.
|
149 |
+
|
150 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
151 |
+
any Contribution intentionally submitted for inclusion in the Work
|
152 |
+
by You to the Licensor shall be under the terms and conditions of
|
153 |
+
this License, without any additional terms or conditions.
|
154 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
155 |
+
the terms of any separate license agreement you may have executed
|
156 |
+
with Licensor regarding such Contributions.
|
157 |
+
|
158 |
+
6. Trademarks. This License does not grant permission to use the trade
|
159 |
+
names, trademarks, service marks, or product names of the Licensor,
|
160 |
+
except as required for reasonable and customary use in describing the
|
161 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
162 |
+
|
163 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
164 |
+
agreed to in writing, Licensor provides the Work (and each
|
165 |
+
Contributor provides its Contributions) on an “AS IS” BASIS,
|
166 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
167 |
+
implied, including, without limitation, any warranties or conditions
|
168 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
169 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
170 |
+
appropriateness of using or redistributing the Work and assume any
|
171 |
+
risks associated with Your exercise of permissions under this License.
|
172 |
+
|
173 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
174 |
+
whether in tort (including negligence), contract, or otherwise,
|
175 |
+
unless required by applicable law (such as deliberate and grossly
|
176 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
177 |
+
liable to You for damages, including any direct, indirect, special,
|
178 |
+
incidental, or consequential damages of any character arising as a
|
179 |
+
result of this License or out of the use or inability to use the
|
180 |
+
Work (including but not limited to damages for loss of goodwill,
|
181 |
+
work stoppage, computer failure or malfunction, or any and all
|
182 |
+
other commercial damages or losses), even if such Contributor
|
183 |
+
has been advised of the possibility of such damages.
|
184 |
+
|
185 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
186 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
187 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
188 |
+
or other liability obligations and/or rights consistent with this
|
189 |
+
License. However, in accepting such obligations, You may act only
|
190 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
191 |
+
of any other Contributor, and only if You agree to indemnify,
|
192 |
+
defend, and hold each Contributor harmless for any liability
|
193 |
+
incurred by, or claims asserted against, such Contributor by reason
|
194 |
+
of your accepting any such warranty or additional liability.
|
195 |
+
|
196 |
+
END OF TERMS AND CONDITIONS
|
197 |
+
|
198 |
+
APPENDIX: How to apply the Apache License to your work.
|
199 |
+
|
200 |
+
To apply the Apache License to your work, attach the following
|
201 |
+
boilerplate notice, with the fields enclosed by brackets “[]“
|
202 |
+
replaced with your own identifying information. (Don't include
|
203 |
+
the brackets!) The text should be enclosed in the appropriate
|
204 |
+
comment syntax for the file format. We also recommend that a
|
205 |
+
file or class name and description of purpose be included on the
|
206 |
+
same “printed page” as the copyright notice for easier
|
207 |
+
identification within third-party archives.
|
208 |
+
|
209 |
+
Copyright [yyyy] [name of copyright owner]
|
210 |
+
|
211 |
+
Licensed under the Apache License, Version 2.0 (the “License”);
|
212 |
+
you may not use this file except in compliance with the License.
|
213 |
+
You may obtain a copy of the License at
|
214 |
+
|
215 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
216 |
+
|
217 |
+
Unless required by applicable law or agreed to in writing, software
|
218 |
+
distributed under the License is distributed on an “AS IS” BASIS,
|
219 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
220 |
+
See the License for the specific language governing permissions and
|
221 |
+
limitations under the License."
|
README.md
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
datasets:
|
4 |
+
- yahma/alpaca-cleaned
|
5 |
+
- cmh/alpaca_data_cleaned_fr_52k
|
6 |
+
- Magpie-Align/Magpie-Gemma2-Pro-200K-Filtered
|
7 |
+
- allenai/WildChat-1M
|
8 |
+
language:
|
9 |
+
- fr
|
10 |
+
- en
|
11 |
+
base_model:
|
12 |
+
- OpenLLM-France/Lucie-7B
|
13 |
+
pipeline_tag: text-generation
|
14 |
+
---
|
15 |
+
|
16 |
+
# Model Card for Lucie-7B-Instruct
|
17 |
+
|
18 |
+
* [Model Description](#model-description)
|
19 |
+
<!-- * [Uses](#uses) -->
|
20 |
+
* [Training Details](#training-details)
|
21 |
+
* [Training Data](#training-data)
|
22 |
+
* [Preprocessing](#preprocessing)
|
23 |
+
* [Training Procedure](#training-procedure)
|
24 |
+
<!-- * [Evaluation](#evaluation) -->
|
25 |
+
* [Testing the model](#testing-the-model)
|
26 |
+
* [Test with ollama](#test-with-ollama)
|
27 |
+
* [Test with vLLM](#test-with-vllm)
|
28 |
+
* [Citation](#citation)
|
29 |
+
* [Acknowledgements](#acknowledgements)
|
30 |
+
* [Contact](#contact)
|
31 |
+
|
32 |
+
## Model Description
|
33 |
+
|
34 |
+
Lucie-7B-Instruct is a fine-tuned version of [Lucie-7B](), an open-source, multilingual causal language model created by OpenLLM-France.
|
35 |
+
|
36 |
+
Lucie-7B-Instruct is fine-tuned on synthetic instructions produced by ChatGPT and Gemma and a small set of customized prompts about OpenLLM and Lucie.
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
## Training details
|
42 |
+
|
43 |
+
### Training data
|
44 |
+
|
45 |
+
Lucie-7B-Instruct is trained on the following datasets:
|
46 |
+
* [Alpaca-cleaned](https://huggingface.co/datasets/yahma/alpaca-cleaned) (English; 51604 samples)
|
47 |
+
* [Alpaca-cleaned-fr](https://huggingface.co/datasets/cmh/alpaca_data_cleaned_fr_52k) (French; 51655 samples)
|
48 |
+
* [Magpie-Gemma](https://huggingface.co/datasets/Magpie-Align/Magpie-Gemma2-Pro-200K-Filtered) (English; 195167 samples)
|
49 |
+
* [Wildchat](https://huggingface.co/datasets/allenai/WildChat-1M) (French subset; 26436 samples)
|
50 |
+
* Hard-coded prompts concerning OpenLLM and Lucie (based on [allenai/tulu-3-hard-coded-10x](https://huggingface.co/datasets/allenai/tulu-3-hard-coded-10x))
|
51 |
+
* French: openllm_french.jsonl (24x10 samples)
|
52 |
+
* English: openllm_english.jsonl (24x10 samples)
|
53 |
+
|
54 |
+
|
55 |
+
### Preprocessing
|
56 |
+
* Filtering by language: Magpie-Gemma and Wildchat were filtered to keep only English and French samples, respectively.
|
57 |
+
* Filtering by keyword: Examples containing assistant responses were filtered out from the four synthetic datasets if the responses contained a keyword from the list [filter_strings](https://github.com/OpenLLM-France/Lucie-Training/blob/98792a1a9015dcf613ff951b1ce6145ca8ecb174/tokenization/data.py#L2012). This filter is designed to remove examples in which the assistant is presented as model other than Lucie (e.g., ChatGPT, Gemma, Llama, ...).
|
58 |
+
|
59 |
+
|
60 |
+
|
61 |
+
### Training procedure
|
62 |
+
|
63 |
+
The model architecture and hyperparameters are the same as for [Lucie-7B](https://huggingface.co/OpenLLM-France/Lucie-7B) during the annealing phase with the following exceptions:
|
64 |
+
* context length: 4096
|
65 |
+
* batch size: 1024
|
66 |
+
* max learning rate: 3e-5
|
67 |
+
* min learning rate: 3e-6
|
68 |
+
|
69 |
+
|
70 |
+
## Testing the model
|
71 |
+
|
72 |
+
### Test with ollama
|
73 |
+
|
74 |
+
* Download and install [Ollama](https://ollama.com/download)
|
75 |
+
* Download the [GGUF model](https://huggingface.co/OpenLLM-France/Lucie-7B-Instruct/resolve/main/Lucie-7B-q4_k_m.gguf)
|
76 |
+
* Copy the [`Modelfile`](Modelfile), adpating if necessary the path to the GGUF file (line starting with `FROM`).
|
77 |
+
* Run in a shell:
|
78 |
+
* `ollama create -f Modelfile Lucie`
|
79 |
+
* `ollama run Lucie`
|
80 |
+
* Once ">>>" appears, type your prompt(s) and press Enter.
|
81 |
+
* Optionally, restart a conversation by typing "`/clear`"
|
82 |
+
* End the session by typing "`/bye`".
|
83 |
+
|
84 |
+
Useful for debug:
|
85 |
+
* [How to print input requests and output responses in Ollama server?](https://stackoverflow.com/a/78831840)
|
86 |
+
* [Documentation on Modelfile](https://github.com/ollama/ollama/blob/main/docs/modelfile.md#parameter)
|
87 |
+
* Examples: [Ollama model library](https://github.com/ollama/ollama#model-library)
|
88 |
+
* Llama 3 example: https://ollama.com/library/llama3.1
|
89 |
+
* Add GUI : https://docs.openwebui.com/
|
90 |
+
|
91 |
+
### Test with vLLM
|
92 |
+
|
93 |
+
#### 1. Run vLLM Docker Container
|
94 |
+
|
95 |
+
Use the following command to deploy the model,
|
96 |
+
replacing `INSERT_YOUR_HF_TOKEN` with your Hugging Face Hub token.
|
97 |
+
|
98 |
+
```bash
|
99 |
+
docker run --runtime nvidia --gpus=all \
|
100 |
+
--env "HUGGING_FACE_HUB_TOKEN=INSERT_YOUR_HF_TOKEN" \
|
101 |
+
-p 8000:8000 \
|
102 |
+
--ipc=host \
|
103 |
+
vllm/vllm-openai:latest \
|
104 |
+
--model OpenLLM-France/Lucie-7B-Instruct
|
105 |
+
```
|
106 |
+
|
107 |
+
#### 2. Test using OpenAI Client in Python
|
108 |
+
|
109 |
+
To test the deployed model, use the OpenAI Python client as follows:
|
110 |
+
|
111 |
+
```python
|
112 |
+
from openai import OpenAI
|
113 |
+
|
114 |
+
# Initialize the client
|
115 |
+
client = OpenAI(base_url='http://localhost:8000/v1', api_key='empty')
|
116 |
+
|
117 |
+
# Define the input content
|
118 |
+
content = "Hello Lucie"
|
119 |
+
|
120 |
+
# Generate a response
|
121 |
+
chat_response = client.chat.completions.create(
|
122 |
+
model="OpenLLM-France/Lucie-7B-Instruct",
|
123 |
+
messages=[
|
124 |
+
{"role": "user", "content": content}
|
125 |
+
],
|
126 |
+
)
|
127 |
+
print(chat_response.choices[0].message.content)
|
128 |
+
```
|
129 |
+
|
130 |
+
## Citation
|
131 |
+
|
132 |
+
When using the Lucie-7B-Instruct model, please cite the following paper:
|
133 |
+
|
134 |
+
✍ Olivier Gouvert, Julie Hunter, Jérôme Louradour,
|
135 |
+
Evan Dufraisse, Yaya Sy, Pierre-Carl Langlais, Anastasia Stasenko,
|
136 |
+
Laura Rivière, Christophe Cerisara, Jean-Pierre Lorré (2025)
|
137 |
+
Lucie-7B LLM and its training dataset
|
138 |
+
```bibtex
|
139 |
+
@misc{openllm2023claire,
|
140 |
+
title={The Lucie-7B LLM and the Lucie Training Dataset:
|
141 |
+
open resources for multilingual language generation},
|
142 |
+
author={Olivier Gouvert and Julie Hunter and Jérôme Louradour and Evan Dufraisse and Yaya Sy and Pierre-Carl Langlais and Anastasia Stasenko and Laura Rivière and Christophe Cerisara and Jean-Pierre Lorré},
|
143 |
+
year={2025},
|
144 |
+
archivePrefix={arXiv},
|
145 |
+
primaryClass={cs.CL}
|
146 |
+
}
|
147 |
+
```
|
148 |
+
|
149 |
+
|
150 |
+
## Acknowledgements
|
151 |
+
|
152 |
+
This work was performed using HPC resources from GENCI–IDRIS (Grant 2024-GC011015444).
|
153 |
+
|
154 |
+
Lucie-7B was created by members of [LINAGORA](https://labs.linagora.com/) and the [OpenLLM-France](https://www.openllm-france.fr/) community, including in alphabetical order:
|
155 |
+
Olivier Gouvert (LINAGORA),
|
156 |
+
Ismaïl Harrando (LINAGORA/SciencesPo),
|
157 |
+
Julie Hunter (LINAGORA),
|
158 |
+
Jean-Pierre Lorré (LINAGORA),
|
159 |
+
Jérôme Louradour (LINAGORA),
|
160 |
+
Michel-Marie Maudet (LINAGORA), and
|
161 |
+
Laura Rivière (LINAGORA).
|
162 |
+
|
163 |
+
|
164 |
+
We thank
|
165 |
+
Clément Bénesse (Opsci),
|
166 |
+
Christophe Cerisara (LORIA),
|
167 |
+
Evan Dufraisse (CEA),
|
168 |
+
Guokan Shang (MBZUAI),
|
169 |
+
Joël Gombin (Opsci),
|
170 |
+
Jordan Ricker (Opsci),
|
171 |
+
and
|
172 |
+
Olivier Ferret (CEA)
|
173 |
+
for their helpful input.
|
174 |
+
|
175 |
+
## Contact
|
176 |
+
|
177 |
config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/data-server/models/text/llm/multilang/Lucie-7B/instruct/llama_instruct/recipe2_fullpipe/base",
|
3 |
+
"architectures": [
|
4 |
+
"LlamaForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"eos_token_id": 267,
|
10 |
+
"head_dim": 128,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 4096,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 12288,
|
15 |
+
"max_position_embeddings": 32000,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 32,
|
19 |
+
"num_hidden_layers": 32,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pad_token_id": 3,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"rms_norm_eps": 1e-05,
|
24 |
+
"rope_scaling": null,
|
25 |
+
"rope_theta": 20000000.0,
|
26 |
+
"tie_word_embeddings": false,
|
27 |
+
"torch_dtype": "bfloat16",
|
28 |
+
"transformers_version": "4.46.3",
|
29 |
+
"use_cache": true,
|
30 |
+
"vocab_size": 65024
|
31 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 0,
|
3 |
+
"eos_token_id": 267,
|
4 |
+
"pad_token_id": 3,
|
5 |
+
"max_length": 32000,
|
6 |
+
"do_sample": true,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"transformers_version": "4.46.3"
|
9 |
+
}
|
model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5cc1dc77938bab2a925f7799222df5410d340d845bebf9da03abe621ea4e3d37
|
3 |
+
size 4924315872
|
model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0a2950dcda1ae2a7f2584eea1ad178866a8d19ddc5fed9f289da14121a794c1
|
3 |
+
size 4983047384
|
model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ed10187364d168bd8a8710fa46f5a86455ede459784b1ed498fa3103c479b21
|
3 |
+
size 3506598760
|
model.safetensors.index.json
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"metadata": {
|
3 |
+
"total_size": 13413924864
|
4 |
+
},
|
5 |
+
"weight_map": {
|
6 |
+
"model.embed_tokens.weight": "model-00001-of-00003.safetensors",
|
7 |
+
"model.norm.weight": "model-00001-of-00003.safetensors",
|
8 |
+
"lm_head.weight": "model-00001-of-00003.safetensors",
|
9 |
+
"model.layers.0.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
10 |
+
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
11 |
+
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
12 |
+
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
13 |
+
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
14 |
+
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
15 |
+
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
16 |
+
"model.layers.0.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
17 |
+
"model.layers.1.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
18 |
+
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
19 |
+
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
20 |
+
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
21 |
+
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
22 |
+
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
23 |
+
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
24 |
+
"model.layers.1.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
25 |
+
"model.layers.2.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
26 |
+
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
27 |
+
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
28 |
+
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
29 |
+
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
30 |
+
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
31 |
+
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
32 |
+
"model.layers.2.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
33 |
+
"model.layers.3.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
34 |
+
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
35 |
+
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
36 |
+
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
37 |
+
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
38 |
+
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
39 |
+
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
40 |
+
"model.layers.3.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
41 |
+
"model.layers.4.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
42 |
+
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
43 |
+
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
44 |
+
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
45 |
+
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
46 |
+
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
47 |
+
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
48 |
+
"model.layers.4.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
49 |
+
"model.layers.5.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
50 |
+
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
51 |
+
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
52 |
+
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
53 |
+
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
54 |
+
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
55 |
+
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
56 |
+
"model.layers.5.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
57 |
+
"model.layers.6.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
58 |
+
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
59 |
+
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
60 |
+
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
61 |
+
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
62 |
+
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
63 |
+
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
64 |
+
"model.layers.6.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
65 |
+
"model.layers.7.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
66 |
+
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
67 |
+
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
68 |
+
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
69 |
+
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
70 |
+
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
71 |
+
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
72 |
+
"model.layers.7.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
73 |
+
"model.layers.8.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
74 |
+
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
75 |
+
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
76 |
+
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
77 |
+
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
78 |
+
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
79 |
+
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
80 |
+
"model.layers.8.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
81 |
+
"model.layers.9.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
82 |
+
"model.layers.9.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
83 |
+
"model.layers.9.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
84 |
+
"model.layers.9.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
85 |
+
"model.layers.9.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
86 |
+
"model.layers.9.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
87 |
+
"model.layers.9.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
88 |
+
"model.layers.9.self_attn.rotary_emb.inv_freq": "model-00001-of-00003.safetensors",
|
89 |
+
"model.layers.10.input_layernorm.weight": "model-00001-of-00003.safetensors",
|
90 |
+
"model.layers.10.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
91 |
+
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
92 |
+
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
93 |
+
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
94 |
+
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
95 |
+
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
96 |
+
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
97 |
+
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
98 |
+
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
99 |
+
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
100 |
+
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
101 |
+
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
102 |
+
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
103 |
+
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
104 |
+
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
105 |
+
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
106 |
+
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
107 |
+
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
108 |
+
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
109 |
+
"model.layers.9.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
110 |
+
"model.layers.9.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
111 |
+
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
112 |
+
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
113 |
+
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
114 |
+
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
115 |
+
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
116 |
+
"model.layers.10.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
117 |
+
"model.layers.11.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
118 |
+
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
119 |
+
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
120 |
+
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
121 |
+
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
122 |
+
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
123 |
+
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
124 |
+
"model.layers.11.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
125 |
+
"model.layers.12.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
126 |
+
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
127 |
+
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
128 |
+
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
129 |
+
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
130 |
+
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
131 |
+
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
132 |
+
"model.layers.12.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
133 |
+
"model.layers.13.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
134 |
+
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
135 |
+
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
136 |
+
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
137 |
+
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
138 |
+
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
139 |
+
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
140 |
+
"model.layers.13.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
141 |
+
"model.layers.14.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
142 |
+
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
143 |
+
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
144 |
+
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
145 |
+
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
146 |
+
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
147 |
+
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
148 |
+
"model.layers.14.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
149 |
+
"model.layers.15.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
150 |
+
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
151 |
+
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
152 |
+
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
153 |
+
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
154 |
+
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
155 |
+
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
156 |
+
"model.layers.15.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
157 |
+
"model.layers.16.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
158 |
+
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
159 |
+
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
160 |
+
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
161 |
+
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
162 |
+
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
163 |
+
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
164 |
+
"model.layers.16.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
165 |
+
"model.layers.17.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
166 |
+
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
167 |
+
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
168 |
+
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
169 |
+
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
170 |
+
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
171 |
+
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
172 |
+
"model.layers.17.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
173 |
+
"model.layers.18.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
174 |
+
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
175 |
+
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
176 |
+
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
177 |
+
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
178 |
+
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
179 |
+
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
180 |
+
"model.layers.18.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
181 |
+
"model.layers.19.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
182 |
+
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
183 |
+
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
184 |
+
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
185 |
+
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
186 |
+
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
187 |
+
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
188 |
+
"model.layers.19.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
189 |
+
"model.layers.20.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
190 |
+
"model.layers.20.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
191 |
+
"model.layers.20.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
192 |
+
"model.layers.20.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
193 |
+
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
194 |
+
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
195 |
+
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
196 |
+
"model.layers.20.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
197 |
+
"model.layers.21.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
198 |
+
"model.layers.21.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
199 |
+
"model.layers.21.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
200 |
+
"model.layers.21.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
201 |
+
"model.layers.21.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
202 |
+
"model.layers.21.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
203 |
+
"model.layers.21.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
204 |
+
"model.layers.21.self_attn.rotary_emb.inv_freq": "model-00002-of-00003.safetensors",
|
205 |
+
"model.layers.22.input_layernorm.weight": "model-00002-of-00003.safetensors",
|
206 |
+
"model.layers.22.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
207 |
+
"model.layers.22.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
208 |
+
"model.layers.22.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
209 |
+
"model.layers.22.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
210 |
+
"model.layers.22.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
211 |
+
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
212 |
+
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
213 |
+
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
214 |
+
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
215 |
+
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
216 |
+
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
217 |
+
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
218 |
+
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
219 |
+
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
220 |
+
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
221 |
+
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
222 |
+
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
223 |
+
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
224 |
+
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
225 |
+
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
226 |
+
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
227 |
+
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
228 |
+
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
229 |
+
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
230 |
+
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
231 |
+
"model.layers.20.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
232 |
+
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
233 |
+
"model.layers.21.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
234 |
+
"model.layers.21.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
235 |
+
"model.layers.22.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
236 |
+
"model.layers.22.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
237 |
+
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
238 |
+
"model.layers.22.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
239 |
+
"model.layers.23.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
240 |
+
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
241 |
+
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
242 |
+
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
243 |
+
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
244 |
+
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
245 |
+
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
246 |
+
"model.layers.23.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
247 |
+
"model.layers.24.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
248 |
+
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
249 |
+
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
250 |
+
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
251 |
+
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
252 |
+
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
253 |
+
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
254 |
+
"model.layers.24.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
255 |
+
"model.layers.25.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
256 |
+
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
257 |
+
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
258 |
+
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
259 |
+
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
260 |
+
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
261 |
+
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
262 |
+
"model.layers.25.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
263 |
+
"model.layers.26.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
264 |
+
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
265 |
+
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
266 |
+
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
267 |
+
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
268 |
+
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
269 |
+
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
270 |
+
"model.layers.26.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
271 |
+
"model.layers.27.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
272 |
+
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
273 |
+
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
274 |
+
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
275 |
+
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
276 |
+
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
277 |
+
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
278 |
+
"model.layers.27.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
279 |
+
"model.layers.28.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
280 |
+
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
281 |
+
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
282 |
+
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
283 |
+
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
284 |
+
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
285 |
+
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
286 |
+
"model.layers.28.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
287 |
+
"model.layers.29.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
288 |
+
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
289 |
+
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
290 |
+
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
291 |
+
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
292 |
+
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
293 |
+
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
294 |
+
"model.layers.29.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
295 |
+
"model.layers.30.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
296 |
+
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
297 |
+
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
298 |
+
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
299 |
+
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
300 |
+
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
301 |
+
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
302 |
+
"model.layers.30.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
303 |
+
"model.layers.31.input_layernorm.weight": "model-00003-of-00003.safetensors",
|
304 |
+
"model.layers.31.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
305 |
+
"model.layers.31.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
306 |
+
"model.layers.31.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
307 |
+
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
308 |
+
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
309 |
+
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
310 |
+
"model.layers.31.self_attn.rotary_emb.inv_freq": "model-00003-of-00003.safetensors",
|
311 |
+
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
312 |
+
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
313 |
+
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
314 |
+
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
315 |
+
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
316 |
+
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
317 |
+
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
318 |
+
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
319 |
+
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
320 |
+
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
321 |
+
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
322 |
+
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
323 |
+
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
324 |
+
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
325 |
+
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
326 |
+
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
327 |
+
"model.layers.31.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
328 |
+
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00003.safetensors"
|
329 |
+
}
|
330 |
+
}
|
openllm_english.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
openllm_french.jsonl
ADDED
The diff for this file is too large to render.
See raw diff
|
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|eot_id|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<unk>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"added_tokens_decoder": {
|
5 |
+
"0": {
|
6 |
+
"content": "<s>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": false,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false,
|
11 |
+
"special": true
|
12 |
+
},
|
13 |
+
"1": {
|
14 |
+
"content": "</s>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false,
|
19 |
+
"special": true
|
20 |
+
},
|
21 |
+
"2": {
|
22 |
+
"content": "<unk>",
|
23 |
+
"lstrip": false,
|
24 |
+
"normalized": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"single_word": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
"3": {
|
30 |
+
"content": "<pad>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
+
},
|
37 |
+
"265": {
|
38 |
+
"content": "<|start_header_id|>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false,
|
43 |
+
"special": true
|
44 |
+
},
|
45 |
+
"266": {
|
46 |
+
"content": "<|end_header_id|>",
|
47 |
+
"lstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"rstrip": false,
|
50 |
+
"single_word": false,
|
51 |
+
"special": true
|
52 |
+
},
|
53 |
+
"267": {
|
54 |
+
"content": "<|eot_id|>",
|
55 |
+
"lstrip": false,
|
56 |
+
"normalized": false,
|
57 |
+
"rstrip": false,
|
58 |
+
"single_word": false,
|
59 |
+
"special": true
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"additional_special_tokens": [],
|
63 |
+
"bos_token": "<s>",
|
64 |
+
"clean_up_tokenization_spaces": false,
|
65 |
+
"eos_token": "<|eot_id|>",
|
66 |
+
"legacy": true,
|
67 |
+
"model_max_length": 1000000000000000000000000000000,
|
68 |
+
"pad_token": "<pad>",
|
69 |
+
"sp_model_kwargs": {},
|
70 |
+
"spaces_between_special_tokens": false,
|
71 |
+
"tokenizer_class": "LlamaTokenizer",
|
72 |
+
"unk_token": "<unk>",
|
73 |
+
"use_default_system_prompt": false,
|
74 |
+
"chat_template": "{{- bos_token }}\n{%- for message in messages %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\n\n' }}\n{%- endif %}"
|
75 |
+
}
|