pathcosmos commited on
Commit
e68bfa3
·
verified ·
1 Parent(s): 3f477a0

Release JANSORI 3B Base at 47,000 steps in BF16, Q8_0 and Q4_K_M

Browse files
.gitattributes CHANGED
@@ -1,35 +1,2 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
  *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  *.safetensors filter=lfs diff=lfs merge=lfs -text
2
+ *.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
NOTICE ADDED
@@ -0,0 +1 @@
 
 
1
+ Training sources: Wikimedia Wikipedia, HuggingFaceFW FineWeb2 and FineWeb-Edu, HPLT 2.0, OpenWebMath and CodeParrot GitHub Code. See README.md for pinned source cards. The FineWeb2, FineWeb-Edu and OpenWebMath databases use ODC-By 1.0 (https://opendatacommons.org/licenses/by/1-0/). Wikimedia credits appear in the page histories. HPLT applies CC0 to the packaging. GitHub Code records upstream repository license labels. The release contains model weights, tokenizer assets, and inference documentation.
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: [ko, en]
3
+ pipeline_tag: text-generation
4
+ license: apache-2.0
5
+ library_name: transformers
6
+ tags: [gguf]
7
+ ---
8
+
9
+ # JANSORI · 한국어 중심 3B Dense Base
10
+
11
+ 한국어와 영어 문장을 이어 쓰는 사전학습 모델이다. 어휘 크기는 65,536, 검증한 문맥은 4,096토큰이다. 대화용 역할 토큰 없이 일반 텍스트를 입력한다.
12
+
13
+ ## vLLM으로 BF16 실행
14
+
15
+ vLLM 0.11.2에서 H200 한 장을 사용했다. 아래 명령은 다운로드 시점의 commit SHA를 조회해 가중치와 토크나이저를 같은 revision으로 고정한다. 이전 버전을 재현할 때는 기록해 둔 SHA를 REV에 지정한다.
16
+
17
+ ```bash
18
+ REV=$(python -c 'from huggingface_hub import HfApi; print(HfApi().model_info("pathcosmos/JANSORI").sha)')
19
+ CUDA_VISIBLE_DEVICES=0 vllm serve pathcosmos/JANSORI --revision "$REV" --tokenizer-revision "$REV" --load-format safetensors --dtype bfloat16 --tensor-parallel-size 1 --max-model-len 4096 --host 127.0.0.1
20
+ ```
21
+
22
+ 다른 셸에서 한국어 이어쓰기를 요청한다.
23
+
24
+ ```bash
25
+ curl -s http://127.0.0.1:8000/v1/completions -H 'Content-Type: application/json' -d '{"model":"pathcosmos/JANSORI","prompt":"한국의 수도는","max_tokens":32,"temperature":0}'
26
+ ```
27
+
28
+ ## Ollama로 Q8_0 또는 Q4_K_M 실행
29
+
30
+ Ollama 0.40.16을 사용했다. H200 한 장에서 한국어 이어쓰기를 시험할 때는 사용할 양자화 하나를 선택한다.
31
+
32
+ ```bash
33
+ ollama run hf.co/pathcosmos/JANSORI:Q8_0 "한국의 수도는"
34
+ ollama run hf.co/pathcosmos/JANSORI:Q4_K_M "한국의 수도는"
35
+ ```
36
+
37
+ 루트의 `template`은 입력 프롬프트를 그대로 전달한다. 양자화 태그는 변경될 수 있다. 실행 당시 저장소 commit과 내려받은 GGUF의 SHA-256을 함께 기록하면 사용한 가중치를 확인할 수 있다.
38
+
39
+ 세 형식은 같은 배포 commit에 들어 있다. 이 저장소의 BF16에서 고정밀 GGUF(SHA-256 `c69c8a77121940e0c1f06f668ba0a80e57edba1afaac777cae3ea3f923d69b7b`)를 한 번 생성한 뒤 Q8_0과 Q4_K_M으로 각각 양자화했다. BF16 shard와 각 GGUF의 SHA-256은 같은 commit의 [SHA256SUMS](./SHA256SUMS)에 있다.
40
+
41
+ ## 실제 3B 평가
42
+
43
+ 같은 holdout의 한국어 663,905개·영어 705,634개 표적을 채점했다. 속도와 VRAM은 H200에서 첫 순차 회차의 고정 프롬프트 6개(최대 64토큰)로 측정했다.
44
+
45
+ | 형식 | 패키지 바이트¹ | 한국어 PPL | 영어 PPL | 요청 기준 토큰/초 | 생성 구간 GPU 최고(MiB) |
46
+ |---|---:|---:|---:|---:|---:|
47
+ | BF16 | 6,448,116,613 | 9.089808 | 10.215738 | 100.27 | 8805.9 |
48
+ | Q8_0 | 3,426,185,184 | 9.090860 | 10.217286 | 14.49 | 5055.9 |
49
+ | Q4_K_M | 1,969,663,968 | 9.196303 | 10.317744 | 9.95 | 3761.9 |
50
+
51
+ ¹ BF16은 가중치·설정·토크나이저 합계, GGUF는 각 가중치 파일 크기다.
52
+
53
+ native 한국어 PPL은 9.087589, 영어는 10.213156이었다. 표준 HF와 원래 native BF16 수치 비교에서 4,096토큰 로짓 268,435,456개 중 297개가 허용량을 초과했다. RoPE 반올림과 attention 호출 방식을 맞춘 native 대조에서는 8개 입력의 전체 로짓이 같았고 캐시 비교가 통과했다.
54
+
55
+ ### 고정 프롬프트에서 관찰된 한계
56
+
57
+ - 빛의 굴절 설명에서 세 형식 모두 매질 경계에 관한 문구를 반복했고 굴절 원인을 설명하지 못했다.
58
+ - 사과 12개를 3명에게 나누는 한국어 문제에서 세 형식 모두 12개라고 답했다. 정답은 4개다.
59
+ - 한국어 add 함수의 첫 반환식은 모두 a + b였다. BF16·Q8은 번호 주석을 반복했고, Q4는 두 인자 함수에 세 개 이상의 인자를 넘기는 호출을 추가했다.
60
+ - 영어 이야기에서는 BF16·Q8이 가난한 과부를, Q4가 부유한 남편과 사는 Sara를 등장시켰다. 세 출력 모두 한 문장이나 표현을 반복했다.
61
+ - 영어 방정식에서 BF16·Q8은 처음 4라고 쓴 뒤 풀이에서 5로 정정했다. Q4는 첫 식부터 12 − 7 = 5로 계산했다.
62
+ - 짝수 판별 함수에서 세 형식 모두 들여쓰기를 잃었다. BF16·Q8은 짝수 분기에 True를 썼고 Q4는 False를 써서 판정도 뒤집혔다.
63
+
64
+ ### 이어쓰기 예시
65
+
66
+ 입력
67
+
68
+ ```text
69
+ 한국어로 빛이 굴절되는 이유를 간단히 설명하면
70
+ ```
71
+
72
+ 생성 (BF16)
73
+
74
+ ```text
75
+ 다음과 같다.
76
+ 1. 빛의 굴절
77
+ 빛은 파동이다. 파동은 매질의 경계에서 진동하는 파동이다. 파동의 경계는 매질의 경계이다. 파동의 경계는 매질의 경계이다. 파동의 경계는 매질의 경계이다. 파동의 경계는 매질의 경계이다.
78
+ ```
79
+
80
+ 입력
81
+
82
+ ```text
83
+ Once upon a time, in a quiet village
84
+ ```
85
+
86
+ 생성 (BF16)
87
+
88
+ ```text
89
+ , there lived a poor old woman. She was a widow, and she had no children. She was very old, and she was very poor. She had no money, and she had no food. She was very lonely, and she was very poor. She was very old, and she was very poor. She
90
+ ```
91
+
92
+ ## 학습 데이터
93
+
94
+ 한국어 중심 3B Dense Base 모델은 47,000스텝에서 누적 98,566,144,000토큰을 학습했다. 아래 수��는 학습 시 반복 노출을 포함한 출처별 입력 토큰 수다.
95
+
96
+ | 데이터셋 | 사용 범위 | 학습 토큰 | 비중 |
97
+ |---|---|---:|---:|
98
+ | [wikimedia/wikipedia](https://huggingface.co/datasets/wikimedia/wikipedia/blob/b04c8d1ceb2f5cd4588862100d08de323dccfbaa/README.md) | 2023-11-01 한국어 위키백과 덤프 3개 샤드 | 494,833,664 | 0.502% |
99
+ | [HuggingFaceFW/fineweb-2](https://huggingface.co/datasets/HuggingFaceFW/fineweb-2/blob/af9c13333eb981300149d5ca60a8e9d659b276b9/README.md) | 한국어 kor_Hang 25개 샤드 | 29,038,194,688 | 29.461% |
100
+ | [HPLT/HPLT2.0_cleaned](https://huggingface.co/datasets/HPLT/HPLT2.0_cleaned/blob/d1324a5283f762ee62c2a5c81de08fc6450ea540/README.md) | 한국어 kor_Hang 464개 샤드 | 19,756,912,640 | 20.044% |
101
+ | [HuggingFaceFW/fineweb-edu](https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu/blob/87f09149ef4734204d70ed1d046ddc9ca3f2b8f9/README.md) | 100BT 표본에서 파일명 순 앞 56개 샤드 | 29,557,293,056 | 29.987% |
102
+ | [open-web-math/open-web-math](https://huggingface.co/datasets/open-web-math/open-web-math/blob/fde8ef8de2300f5e778f56261843dab89f230815/README.md) | 114개 샤드 | 9,861,763,072 | 10.005% |
103
+ | [codeparrot/github-code](https://huggingface.co/datasets/codeparrot/github-code/blob/b5661e6b17396364b2bcf8e68977b0d28e1ebd19/README.md) | 1,126개 중 균등 간격으로 선정한 64개 샤드 | 9,857,146,880 | 10.001% |
SHA256SUMS ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ e656e13897e3ef9c16a5bd506b16cc1cd557212bd0c55e10994be2e70e01bf47 .gitattributes
2
+ cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
3
+ 057f847c2bb770535d520ca66c61eff6de69f8095385cf1d5f69f48b471f96d6 NOTICE
4
+ ea1c10074d26dd9b3eac8978d03ac289056cf4673ef03fe66faebcb1cf603148 README.md
5
+ b94eb89d477bb22489a5730b77ea4cdf92af9c63dbddc3dc5cd7967e87d4749e config.json
6
+ 21f8c90ade582967a8acb1991f73bea5f62757ae2d430500da41ba458f0f52a0 dense-3b-47k-Q4_K_M.gguf
7
+ eb7053112886dab60d6012d4635dc2c7cdd07c902317e202a91ba36da33fed41 dense-3b-47k-Q8_0.gguf
8
+ b763c05297bf629d06c48320988e4503ccc17d5bed353f1b8887374a2173cda3 generation_config.json
9
+ 948559d83ad275bd0448524683f32cbadca88b92aa57e73de711e742816ff726 model-00001-of-00004.safetensors
10
+ 035ac2525c473392aa369fe62b80b9b873e28ea9798a51b73a0d53a7ef6c50cd model-00002-of-00004.safetensors
11
+ 9a3d6271453afea6aed4964fd6a670142dc6db7b39825cfddb10e16596417787 model-00003-of-00004.safetensors
12
+ eb3097e85f6214a60192729c07785ef4b45649ddfd321dee572fc7021979ceb8 model-00004-of-00004.safetensors
13
+ b2f08a2577b3c8d65ce5d30935f3fc0cba91ece8bd87347dbb1abcd5314cff2e model.safetensors.index.json
14
+ 265486ef7e7241d840b8d3e13c66b314c03a5b4872bd514ec904b64c329e3930 special_tokens_map.json
15
+ b507b9c2f6ca642bffcd06665ea7c91f235fd32daeefdf875a0f938db05fb315 template
16
+ 050f9b43cf964f0c3b29ae443a1c2eae46cb2ee0022cc010bcfea3d26acf1706 tokenizer.json
17
+ 970ecc46b1a42d8fcff79ba8c6785ee4166ab69d00567fbe2699f073dc98422e tokenizer_config.json
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 1,
9
+ "head_dim": 128,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 3072,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 8192,
14
+ "max_position_embeddings": 4096,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 24,
18
+ "num_hidden_layers": 28,
19
+ "num_key_value_heads": 8,
20
+ "pad_token_id": 2,
21
+ "pretraining_tp": 1,
22
+ "rms_norm_eps": 1e-05,
23
+ "rope_scaling": null,
24
+ "rope_theta": 500000.0,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "bfloat16",
27
+ "transformers_version": "4.55.2",
28
+ "use_cache": true,
29
+ "vocab_size": 65536
30
+ }
dense-3b-47k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21f8c90ade582967a8acb1991f73bea5f62757ae2d430500da41ba458f0f52a0
3
+ size 1969663968
dense-3b-47k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb7053112886dab60d6012d4635dc2c7cdd07c902317e202a91ba36da33fed41
3
+ size 3426185184
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.55.2"
7
+ }
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:948559d83ad275bd0448524683f32cbadca88b92aa57e73de711e742816ff726
3
+ size 1963028344
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:035ac2525c473392aa369fe62b80b9b873e28ea9798a51b73a0d53a7ef6c50cd
3
+ size 1963067432
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a3d6271453afea6aed4964fd6a670142dc6db7b39825cfddb10e16596417787
3
+ size 1963067456
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3097e85f6214a60192729c07785ef4b45649ddfd321dee572fc7021979ceb8
3
+ size 553667344
model.safetensors.index.json ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 3221400576,
4
+ "total_size": 6442801152
5
+ },
6
+ "weight_map": {
7
+ "lm_head.weight": "model-00004-of-00004.safetensors",
8
+ "model.embed_tokens.weight": "model-00001-of-00004.safetensors",
9
+ "model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
10
+ "model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
11
+ "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
12
+ "model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
13
+ "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
14
+ "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
15
+ "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
16
+ "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
17
+ "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
18
+ "model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
19
+ "model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
20
+ "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
21
+ "model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
22
+ "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
23
+ "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
24
+ "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
25
+ "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
26
+ "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
27
+ "model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
28
+ "model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
29
+ "model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
30
+ "model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
31
+ "model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
32
+ "model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
33
+ "model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
34
+ "model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
35
+ "model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
36
+ "model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
37
+ "model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
38
+ "model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
39
+ "model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
40
+ "model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
41
+ "model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
42
+ "model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
43
+ "model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
44
+ "model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
45
+ "model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
46
+ "model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
47
+ "model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
48
+ "model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
49
+ "model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
50
+ "model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
51
+ "model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
52
+ "model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
53
+ "model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
54
+ "model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
55
+ "model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
56
+ "model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
57
+ "model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
58
+ "model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
59
+ "model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
60
+ "model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
61
+ "model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
62
+ "model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
63
+ "model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
64
+ "model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
65
+ "model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
66
+ "model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
67
+ "model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
68
+ "model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
69
+ "model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
70
+ "model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
71
+ "model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
72
+ "model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
73
+ "model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
74
+ "model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
75
+ "model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
76
+ "model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
77
+ "model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
78
+ "model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
79
+ "model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
80
+ "model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
81
+ "model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
82
+ "model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
83
+ "model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
84
+ "model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
85
+ "model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
86
+ "model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
87
+ "model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
88
+ "model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
89
+ "model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
90
+ "model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
91
+ "model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
92
+ "model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
93
+ "model.layers.17.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
94
+ "model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
95
+ "model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
96
+ "model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
97
+ "model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
98
+ "model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
99
+ "model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
100
+ "model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
101
+ "model.layers.18.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
102
+ "model.layers.18.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
103
+ "model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
104
+ "model.layers.18.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
105
+ "model.layers.18.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
106
+ "model.layers.18.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
107
+ "model.layers.18.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
108
+ "model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
109
+ "model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
110
+ "model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
111
+ "model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
112
+ "model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
113
+ "model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
114
+ "model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
115
+ "model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
116
+ "model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
117
+ "model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
118
+ "model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
119
+ "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
120
+ "model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
121
+ "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
122
+ "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
123
+ "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
124
+ "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
125
+ "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
126
+ "model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
127
+ "model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
128
+ "model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
129
+ "model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
130
+ "model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
131
+ "model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
132
+ "model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
133
+ "model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
134
+ "model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
135
+ "model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
136
+ "model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
137
+ "model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
138
+ "model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
139
+ "model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
140
+ "model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
141
+ "model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
142
+ "model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
143
+ "model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
144
+ "model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
145
+ "model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
146
+ "model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
147
+ "model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
148
+ "model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
149
+ "model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
150
+ "model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
151
+ "model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
152
+ "model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
153
+ "model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
154
+ "model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
155
+ "model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
156
+ "model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
157
+ "model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
158
+ "model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
159
+ "model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
160
+ "model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
161
+ "model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
162
+ "model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
163
+ "model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
164
+ "model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
165
+ "model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
166
+ "model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
167
+ "model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
168
+ "model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
169
+ "model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
170
+ "model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
171
+ "model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
172
+ "model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
173
+ "model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
174
+ "model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
175
+ "model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
176
+ "model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
177
+ "model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
178
+ "model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
179
+ "model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
180
+ "model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
181
+ "model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
182
+ "model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
183
+ "model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
184
+ "model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
185
+ "model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
186
+ "model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
187
+ "model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
188
+ "model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
189
+ "model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
190
+ "model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
191
+ "model.layers.27.mlp.gate_proj.weight": "model-00004-of-00004.safetensors",
192
+ "model.layers.27.mlp.up_proj.weight": "model-00004-of-00004.safetensors",
193
+ "model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
194
+ "model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
195
+ "model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
196
+ "model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
197
+ "model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
198
+ "model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
199
+ "model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
200
+ "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
201
+ "model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
202
+ "model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
203
+ "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
204
+ "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
205
+ "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
206
+ "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
207
+ "model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
208
+ "model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
209
+ "model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
210
+ "model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
211
+ "model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
212
+ "model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
213
+ "model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
214
+ "model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
215
+ "model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
216
+ "model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
217
+ "model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
218
+ "model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
219
+ "model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
220
+ "model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
221
+ "model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
222
+ "model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
223
+ "model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
224
+ "model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
225
+ "model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
226
+ "model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
227
+ "model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
228
+ "model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
229
+ "model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
230
+ "model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
231
+ "model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
232
+ "model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
233
+ "model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
234
+ "model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
235
+ "model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
236
+ "model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
237
+ "model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
238
+ "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
239
+ "model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
240
+ "model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
241
+ "model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
242
+ "model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
243
+ "model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
244
+ "model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
245
+ "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
246
+ "model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
247
+ "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
248
+ "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
249
+ "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
250
+ "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
251
+ "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
252
+ "model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
253
+ "model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
254
+ "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
255
+ "model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
256
+ "model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
257
+ "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
258
+ "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
259
+ "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
260
+ "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
261
+ "model.norm.weight": "model-00004-of-00004.safetensors"
262
+ }
263
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|reserved_0|>",
6
+ "<|reserved_1|>",
7
+ "<|reserved_2|>",
8
+ "<|reserved_3|>",
9
+ "<|reserved_4|>",
10
+ "<|reserved_5|>",
11
+ "<|reserved_6|>",
12
+ "<|reserved_7|>",
13
+ "<|reserved_8|>",
14
+ "<|reserved_9|>",
15
+ "<|reserved_10|>"
16
+ ],
17
+ "bos_token": "<|bos|>",
18
+ "eos_token": "<|eos|>",
19
+ "pad_token": "<|pad|>"
20
+ }
template ADDED
@@ -0,0 +1 @@
 
 
1
+ {{ .Prompt }}
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<|bos|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<|eos|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<|pad|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<|im_start|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<|im_end|>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<|reserved_0|>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<|reserved_1|>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "7": {
60
+ "content": "<|reserved_2|>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "8": {
68
+ "content": "<|reserved_3|>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "9": {
76
+ "content": "<|reserved_4|>",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "10": {
84
+ "content": "<|reserved_5|>",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "11": {
92
+ "content": "<|reserved_6|>",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "12": {
100
+ "content": "<|reserved_7|>",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "13": {
108
+ "content": "<|reserved_8|>",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": true
114
+ },
115
+ "14": {
116
+ "content": "<|reserved_9|>",
117
+ "lstrip": false,
118
+ "normalized": false,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": true
122
+ },
123
+ "15": {
124
+ "content": "<|reserved_10|>",
125
+ "lstrip": false,
126
+ "normalized": false,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": true
130
+ }
131
+ },
132
+ "additional_special_tokens": [
133
+ "<|im_start|>",
134
+ "<|im_end|>",
135
+ "<|reserved_0|>",
136
+ "<|reserved_1|>",
137
+ "<|reserved_2|>",
138
+ "<|reserved_3|>",
139
+ "<|reserved_4|>",
140
+ "<|reserved_5|>",
141
+ "<|reserved_6|>",
142
+ "<|reserved_7|>",
143
+ "<|reserved_8|>",
144
+ "<|reserved_9|>",
145
+ "<|reserved_10|>"
146
+ ],
147
+ "bos_token": "<|bos|>",
148
+ "clean_up_tokenization_spaces": false,
149
+ "eos_token": "<|eos|>",
150
+ "extra_special_tokens": {},
151
+ "model_max_length": 4096,
152
+ "pad_token": "<|pad|>",
153
+ "tokenizer_class": "PreTrainedTokenizerFast"
154
+ }