hyunsikc commited on
Commit
2ddf36b
·
verified ·
1 Parent(s): 9d869e4

Delete files * with huggingface_hub

Browse files
Files changed (16) hide show
  1. LICENSE +0 -202
  2. README.md +0 -39
  3. artifact.json +0 -3
  4. binary_bundle.zip +0 -3
  5. config.json +0 -29
  6. furiosa_config.json +0 -58
  7. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00001-of-00007.safetensors +0 -3
  8. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00002-of-00007.safetensors +0 -3
  9. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00003-of-00007.safetensors +0 -3
  10. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00004-of-00007.safetensors +0 -3
  11. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00005-of-00007.safetensors +0 -3
  12. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00006-of-00007.safetensors +0 -3
  13. params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00007-of-00007.safetensors +0 -3
  14. special_tokens_map.json +0 -17
  15. tokenizer.json +0 -3
  16. tokenizer_config.json +0 -196
LICENSE DELETED
@@ -1,202 +0,0 @@
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 2024 Alibaba Cloud
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,39 +0,0 @@
1
- ---
2
- base_model: deepseek-ai/DeepSeek-R1-Distill-Qwen-14B
3
- license: mit
4
- pipeline_tag: text-generation
5
- library_name: furiosa-llm
6
- tags:
7
- - furiosa-ai
8
- ---
9
- # Model Overview
10
- - **Model Architecture:** Qwen2
11
- - **Input:** Text
12
- - **Output:** Text
13
- - **Model Optimizations:**
14
- - **Context Length:** 32k tokens
15
- - Maximum Prompt Length: 32768 tokens
16
- - Maximum Generation Length: 32768 tokens
17
- - **Intended Use Cases:** Intended for commercial and non-commercial use. Same as [deepseek-ai/DeepSeek-R1-Distill-Qwen-14B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B), this models is intended for assistant-like chat.
18
- - **Release Date:** 08/26/2025
19
- - **Version:** v2025.3
20
- - **License(s):** [MIT License](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B/blob/main/LICENSE)
21
- - **Supported Inference Engine(s):** Furiosa LLM
22
- - **Supported Hardware Compatibility:** FuriosaAI RNGD
23
- - **Preferred Operating System(s):** Linux
24
-
25
-
26
- ## Description:
27
- This model is the pre-compiled version of the [deepseek-ai/DeepSeek-R1-Distill-Qwen-14B](https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Qwen-14B),
28
- which is an auto-regressive language model that uses an optimized transformer architecture.
29
-
30
- ## Usage
31
-
32
- To run this model with [Furiosa-LLM](https://developer.furiosa.ai/latest/en/furiosa_llm/intro.html),
33
- follow the example command below after
34
- [installing Furiosa-LLM and its prerequisites](https://developer.furiosa.ai/latest/en/getting_started/furiosa_llm.html#installing-furiosa-llm).
35
-
36
- ```sh
37
- furiosa-llm serve furiosa-ai/DeepSeek-R1-Distill-Qwen-14B \
38
- --reasoning-parser deepseek_r1
39
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
artifact.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ba3dac12a92455160219e31ae1d2d70671e831777cdce4592582c3f7df0cf3c1
3
- size 19258027
 
 
 
 
binary_bundle.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:505751a16977077afde46d61bad7004c1326234ca16b7812231774b7d29fd4fb
3
- size 360963754
 
 
 
 
config.json DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "_name_or_path": "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B",
3
- "architectures": [
4
- "Qwen2ForCausalLM"
5
- ],
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 151643,
8
- "eos_token_id": 151643,
9
- "hidden_act": "silu",
10
- "hidden_size": 5120,
11
- "initializer_range": 0.02,
12
- "intermediate_size": 13824,
13
- "max_position_embeddings": 131072,
14
- "max_window_layers": 48,
15
- "model_type": "qwen2",
16
- "num_attention_heads": 40,
17
- "num_hidden_layers": 48,
18
- "num_key_value_heads": 8,
19
- "rms_norm_eps": 1e-05,
20
- "rope_scaling": null,
21
- "rope_theta": 1000000.0,
22
- "sliding_window": null,
23
- "tie_word_embeddings": false,
24
- "torch_dtype": "bfloat16",
25
- "transformers_version": "4.48.1",
26
- "use_cache": true,
27
- "use_sliding_window": false,
28
- "vocab_size": 152064
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
furiosa_config.json DELETED
@@ -1,58 +0,0 @@
1
- {
2
- "config_version": "1.0.0",
3
- "model_id": "Qwen/Qwen2.5-14B",
4
- "model_kinds": [
5
- "ARTIFACT"
6
- ],
7
- "model_class": {
8
- "module": "furiosa_models.architecture.models.qwen2",
9
- "name": "Qwen2ForCausalLM"
10
- },
11
- "llm_config": {
12
- "optimization_config": {
13
- "attention_type": "PAGED_ATTENTION",
14
- "optimize_rope": true,
15
- "optimize_packed": true,
16
- "decompose_layernorm": false,
17
- "optimize_furiosa": false,
18
- "use_unsplit_packed": false,
19
- "compact_causal_mask": false,
20
- "use_rngd_gelu": false,
21
- "causal_mask_free_decoding": true,
22
- "kv_cache_sharing_across_beams": false,
23
- "inbound_beamsearch_softmax": false,
24
- "calculate_logit_only_for_last_token": false,
25
- "optimized_for_speculative_decoding": true,
26
- "use_2d_masks": false,
27
- "merged_kv_indices": false
28
- },
29
- "quantization_config": {
30
- "weight": "bf16",
31
- "activation": "bf16",
32
- "kv_cache": "bf16",
33
- "use_mcp": false
34
- }
35
- },
36
- "components_versions": {
37
- "furiosa_llm": {
38
- "version": "0.1.0-dev",
39
- "git_hash": "0d00aee",
40
- "build_time": null
41
- },
42
- "furiosa_ir": {
43
- "version": "0.11.0-dev",
44
- "git_hash": "4467f6a699",
45
- "build_time": "2025-08-27T04:38:43Z"
46
- },
47
- "furiosa_runtime": {
48
- "version": "2025.3.1",
49
- "git_hash": "0d00aee20",
50
- "build_time": "2025-08-27T04:38:48Z"
51
- },
52
- "furiosa_model_compressor": {
53
- "version": "2025.3.0 (rev: 4cd9804)",
54
- "git_hash": null,
55
- "build_time": null
56
- }
57
- }
58
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00001-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d6cbd0e91782d74e15d882c435c5d6c77631601272614e7c1aff664903bcba8d
3
- size 4986211272
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00002-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:34f314f88eed3e9f11e6a774d638808061c6c792ec3a7293ed7dc4c0cc0ebc0b
3
- size 4954847336
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00003-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e103b0f3a7ee25b42eeef037bf3711e304a94ac1edcc4453b281d44f1ea68ae4
3
- size 4954847376
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00004-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:30fb299059b247ed9050e059a93520171673689135796c3c4bfc4bd7092f99db
3
- size 4954847376
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00005-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd259506c8918f13107e76cd68d719b28f713eefa2a215310af16f55478d870c
3
- size 4954847376
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00006-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cf2f4a5f7ae7fa7a53c5b09bdd2c66929a70945e4466fa65e42f5d948cd3e1ae
3
- size 4935860136
 
 
 
 
params-Qwen2.5-14B-qwen2-48L-W16A16KV16_NO_MCP-allow_bfloat16_cast_with_mcp-shard_size=5000000000-933bf1e33eda8d98987a46f0f2d8fc1a19acc4707ac72c6fdd23fc60b3d74e6c.safetensors/model-00007-of-00007.safetensors DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6212fff73f5709f9a7838d315f3d04cb8e3ad10d17cab26dd26059ebf57c76b5
3
- size 3019904848
 
 
 
 
special_tokens_map.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "bos_token": {
3
- "content": "<|begin▁of▁sentence|>",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "<|end▁of▁sentence|>",
11
- "lstrip": false,
12
- "normalized": false,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "pad_token": "<|end▁of▁sentence|>"
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tokenizer.json DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893
3
- size 11422778
 
 
 
 
tokenizer_config.json DELETED
@@ -1,196 +0,0 @@
1
- {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
- "add_prefix_space": null,
5
- "added_tokens_decoder": {
6
- "151643": {
7
- "content": "<|end▁of▁sentence|>",
8
- "lstrip": false,
9
- "normalized": false,
10
- "rstrip": false,
11
- "single_word": false,
12
- "special": true
13
- },
14
- "151644": {
15
- "content": "<|User|>",
16
- "lstrip": false,
17
- "normalized": false,
18
- "rstrip": false,
19
- "single_word": false,
20
- "special": false
21
- },
22
- "151645": {
23
- "content": "<|Assistant|>",
24
- "lstrip": false,
25
- "normalized": false,
26
- "rstrip": false,
27
- "single_word": false,
28
- "special": false
29
- },
30
- "151646": {
31
- "content": "<|begin▁of▁sentence|>",
32
- "lstrip": false,
33
- "normalized": false,
34
- "rstrip": false,
35
- "single_word": false,
36
- "special": true
37
- },
38
- "151647": {
39
- "content": "<|EOT|>",
40
- "lstrip": false,
41
- "normalized": false,
42
- "rstrip": false,
43
- "single_word": false,
44
- "special": false
45
- },
46
- "151648": {
47
- "content": "<think>",
48
- "lstrip": false,
49
- "normalized": false,
50
- "rstrip": false,
51
- "single_word": false,
52
- "special": false
53
- },
54
- "151649": {
55
- "content": "</think>",
56
- "lstrip": false,
57
- "normalized": false,
58
- "rstrip": false,
59
- "single_word": false,
60
- "special": false
61
- },
62
- "151650": {
63
- "content": "<|quad_start|>",
64
- "lstrip": false,
65
- "normalized": false,
66
- "rstrip": false,
67
- "single_word": false,
68
- "special": true
69
- },
70
- "151651": {
71
- "content": "<|quad_end|>",
72
- "lstrip": false,
73
- "normalized": false,
74
- "rstrip": false,
75
- "single_word": false,
76
- "special": true
77
- },
78
- "151652": {
79
- "content": "<|vision_start|>",
80
- "lstrip": false,
81
- "normalized": false,
82
- "rstrip": false,
83
- "single_word": false,
84
- "special": true
85
- },
86
- "151653": {
87
- "content": "<|vision_end|>",
88
- "lstrip": false,
89
- "normalized": false,
90
- "rstrip": false,
91
- "single_word": false,
92
- "special": true
93
- },
94
- "151654": {
95
- "content": "<|vision_pad|>",
96
- "lstrip": false,
97
- "normalized": false,
98
- "rstrip": false,
99
- "single_word": false,
100
- "special": true
101
- },
102
- "151655": {
103
- "content": "<|image_pad|>",
104
- "lstrip": false,
105
- "normalized": false,
106
- "rstrip": false,
107
- "single_word": false,
108
- "special": true
109
- },
110
- "151656": {
111
- "content": "<|video_pad|>",
112
- "lstrip": false,
113
- "normalized": false,
114
- "rstrip": false,
115
- "single_word": false,
116
- "special": true
117
- },
118
- "151657": {
119
- "content": "<tool_call>",
120
- "lstrip": false,
121
- "normalized": false,
122
- "rstrip": false,
123
- "single_word": false,
124
- "special": false
125
- },
126
- "151658": {
127
- "content": "</tool_call>",
128
- "lstrip": false,
129
- "normalized": false,
130
- "rstrip": false,
131
- "single_word": false,
132
- "special": false
133
- },
134
- "151659": {
135
- "content": "<|fim_prefix|>",
136
- "lstrip": false,
137
- "normalized": false,
138
- "rstrip": false,
139
- "single_word": false,
140
- "special": false
141
- },
142
- "151660": {
143
- "content": "<|fim_middle|>",
144
- "lstrip": false,
145
- "normalized": false,
146
- "rstrip": false,
147
- "single_word": false,
148
- "special": false
149
- },
150
- "151661": {
151
- "content": "<|fim_suffix|>",
152
- "lstrip": false,
153
- "normalized": false,
154
- "rstrip": false,
155
- "single_word": false,
156
- "special": false
157
- },
158
- "151662": {
159
- "content": "<|fim_pad|>",
160
- "lstrip": false,
161
- "normalized": false,
162
- "rstrip": false,
163
- "single_word": false,
164
- "special": false
165
- },
166
- "151663": {
167
- "content": "<|repo_name|>",
168
- "lstrip": false,
169
- "normalized": false,
170
- "rstrip": false,
171
- "single_word": false,
172
- "special": false
173
- },
174
- "151664": {
175
- "content": "<|file_sep|>",
176
- "lstrip": false,
177
- "normalized": false,
178
- "rstrip": false,
179
- "single_word": false,
180
- "special": false
181
- }
182
- },
183
- "bos_token": "<|begin▁of▁sentence|>",
184
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin��>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\\n' + '```json' + '\\n' + tool['function']['arguments'] + '\\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\\n'}}{% endif %}",
185
- "clean_up_tokenization_spaces": false,
186
- "eos_token": "<|end▁of▁sentence|>",
187
- "extra_special_tokens": {},
188
- "legacy": true,
189
- "model_max_length": 16384,
190
- "pad_token": "<|end▁of▁sentence|>",
191
- "padding_side": "left",
192
- "sp_model_kwargs": {},
193
- "tokenizer_class": "LlamaTokenizer",
194
- "unk_token": null,
195
- "use_default_system_prompt": false
196
- }