finding1 commited on
Commit
d9d698f
·
verified ·
1 Parent(s): 6d21088

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +17 -0
  2. chat_template.jinja +138 -0
  3. config.json +281 -0
  4. configuration_longcat.py +210 -0
  5. generation_config.json +7 -0
  6. model-00001-of-00085.safetensors +3 -0
  7. model-00002-of-00085.safetensors +3 -0
  8. model-00003-of-00085.safetensors +3 -0
  9. model-00004-of-00085.safetensors +3 -0
  10. model-00005-of-00085.safetensors +3 -0
  11. model-00006-of-00085.safetensors +3 -0
  12. model-00007-of-00085.safetensors +3 -0
  13. model-00008-of-00085.safetensors +3 -0
  14. model-00009-of-00085.safetensors +3 -0
  15. model-00010-of-00085.safetensors +3 -0
  16. model-00011-of-00085.safetensors +3 -0
  17. model-00012-of-00085.safetensors +3 -0
  18. model-00013-of-00085.safetensors +3 -0
  19. model-00014-of-00085.safetensors +3 -0
  20. model-00015-of-00085.safetensors +3 -0
  21. model-00016-of-00085.safetensors +3 -0
  22. model-00017-of-00085.safetensors +3 -0
  23. model-00018-of-00085.safetensors +3 -0
  24. model-00019-of-00085.safetensors +3 -0
  25. model-00020-of-00085.safetensors +3 -0
  26. model-00021-of-00085.safetensors +3 -0
  27. model-00022-of-00085.safetensors +3 -0
  28. model-00023-of-00085.safetensors +3 -0
  29. model-00024-of-00085.safetensors +3 -0
  30. model-00025-of-00085.safetensors +3 -0
  31. model-00026-of-00085.safetensors +3 -0
  32. model-00027-of-00085.safetensors +3 -0
  33. model-00028-of-00085.safetensors +3 -0
  34. model-00029-of-00085.safetensors +3 -0
  35. model-00030-of-00085.safetensors +3 -0
  36. model-00031-of-00085.safetensors +3 -0
  37. model-00032-of-00085.safetensors +3 -0
  38. model-00033-of-00085.safetensors +3 -0
  39. model-00034-of-00085.safetensors +3 -0
  40. model-00035-of-00085.safetensors +3 -0
  41. model-00036-of-00085.safetensors +3 -0
  42. model-00037-of-00085.safetensors +3 -0
  43. model-00038-of-00085.safetensors +3 -0
  44. model-00039-of-00085.safetensors +3 -0
  45. model-00040-of-00085.safetensors +3 -0
  46. model-00041-of-00085.safetensors +3 -0
  47. model-00042-of-00085.safetensors +3 -0
  48. model-00043-of-00085.safetensors +3 -0
  49. model-00044-of-00085.safetensors +3 -0
  50. model-00045-of-00085.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: mlx
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - transformers
7
+ - mlx
8
+ base_model: meituan-longcat/LongCat-Flash-Thinking-2601
9
+ ---
10
+
11
+ This model [finding1/LongCat-Flash-Thinking-2601-MLX-5.5bpw](https://huggingface.co/finding1/LongCat-Flash-Thinking-2601-MLX-5.5bpw) was
12
+ converted to MLX format from [meituan-longcat/LongCat-Flash-Thinking-2601](https://huggingface.co/meituan-longcat/LongCat-Flash-Thinking-2601)
13
+ using mlx-lm version **0.30.0** by running
14
+ `mlx_lm.convert --hf-path meituan-longcat/LongCat-Flash-Thinking-2601 --mlx-path LongCat-Flash-Thinking-2601-MLX-5.5bpw --quantize --q-bits 5`
15
+ until it crashed with a `KeyError`;
16
+ [adding `"model_type": "longcat_flash",` to the downloaded `config.json`](https://github.com/ml-explore/mlx-lm/issues/433#issuecomment-3262138687),
17
+ then running the command again.
chat_template.jinja ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set tool_choice = tool_choice | default('auto') %}
2
+ {%- set enable_thinking = enable_thinking | default(none) %}
3
+ {%- set save_history_reasoning_content = save_history_reasoning_content | default(false) %}
4
+ {%- set ns = namespace(tool_types = [], last_query_index = -1) %}
5
+ {%- for idx in range(messages|length - 1) %}
6
+ {%- set msg = messages[idx] %}
7
+ {%- if msg.role == 'assistant' and not msg.tool_calls %}
8
+ {%- set ns.last_query_index = idx %}
9
+ {%- endif %}
10
+ {%- endfor %}
11
+
12
+ {%- if tools and tool_choice != 'none' %}
13
+ {{- "<longcat_tool_declare>\n"-}}
14
+ {{- "# Tools\n" }}
15
+ {{- "You have access to the following tools:\n\n" }}
16
+ {%- for tool in tools %}
17
+ {%- if tool.type not in ns.tool_types %}
18
+ {%- set ns.tool_types = ns.tool_types + [tool.type] %}
19
+ {{- "## Tool namespace: " ~ tool.type ~ "\n\n" }}
20
+ {%- endif %}
21
+ {%- if tool.type == 'code_interpreter' %}
22
+ {%- set tool = {"type":"code_interpreter","function":{"name":"code_interpreter_preview","description":"The code will be executed in a stateful Jupyter notebook sandbox environment, only supports local computation, data processing, and file operations.\nCode sandbox environment (network isolated) Any external network requests or online API calls are prohibited.\nIf online functionality is needed, please use other permitted tools.\nCode will respond with the output of the execution or time out after 60.0 seconds. ","parameters":{"type":"object","properties":{"language":{"type":"string","description":"The programming language of the code to be executed. Available values: python (Default), java, go, js, ts, c, c++."},"code":{"type":"string","description":"Python code to be executed must not include the following:\n- Importing network libraries such as requests, httplib, etc.\n- Any form of HTTP requests.\n- External API calls.\n- Network port operations. Example: ```python\nimport pandas as pd\npd.DataFrame({'A':[1,2]})\n```"},"timeout":{"type":"number","description":"The maximum execution time of the code, in seconds. Default is 60.0."}}},"required":["code"]}} %}
23
+ {%- endif %}
24
+ {{- "### Tool name: " + tool.function.name + "\n" }}
25
+ {{- "Description: " + tool.function.description + "\n\n" }}
26
+ {{- "InputSchema: " + tool.function.parameters | tojson(ensure_ascii=False) + "\n\n" }}
27
+ {%- endfor %}
28
+ {{- '**Note**: For each function call, output the function name and arguments within the following XML format:\n<longcat_tool_call>{function-name}\n<longcat_arg_key>{arg-key-1}</longcat_arg_key>\n<longcat_arg_value>{arg-value-1}</longcat_arg_value>\n<longcat_arg_key>{arg-key-2}</longcat_arg_key>\n<longcat_arg_value>{arg-value-2}</longcat_arg_value>\n...\n</longcat_tool_call>\n' }}
29
+ {{- "</longcat_tool_declare>"-}}
30
+ {%- endif %}
31
+
32
+ {%- for msg in messages %}
33
+ {%- if msg.role == "system" %}
34
+ {{- "<longcat_system>" + msg.content }}
35
+ {%- elif msg.role == "user" %}
36
+ {{- "<longcat_user>" }}
37
+ {%- if msg["files"] %}
38
+ {{- '<longcat_files>\n' ~ msg.files | tojson(indent=2) ~ '\n</longcat_files>' }}
39
+ {%- endif %}
40
+ {{- msg.content }}
41
+ {%- if save_history_reasoning_content and enable_thinking is not none %}
42
+ {%- if loop.index0 == messages|length - 1 %}
43
+ {# pass #}
44
+ {%- else %}
45
+ {%- if enable_thinking == true %}
46
+ {{- " /think_on" }}
47
+ {%- if thinking_budget %}
48
+ {%- if thinking_budget < 1024 %}
49
+ {%- set thinking_budget = 1024 %}
50
+ {%- endif %}
51
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." }}
52
+ {%- endif %}
53
+ {{- " " }}
54
+ {%- elif enable_thinking == false %}
55
+ {{- " /think_off " }}
56
+ {%- endif %}
57
+ {%- endif %}
58
+ {%- elif loop.index0 > ns.last_query_index and enable_thinking is not none %}
59
+ {%- if loop.index0 == messages|length - 1 %}
60
+ {# pass #}
61
+ {%- else %}
62
+ {%- if enable_thinking == true %}
63
+ {{- " /think_on" }}
64
+ {%- if thinking_budget %}
65
+ {%- if thinking_budget < 1024 %}
66
+ {%- set thinking_budget = 1024 %}
67
+ {%- endif %}
68
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." }}
69
+ {%- endif %}
70
+ {{- " " }}
71
+ {%- elif enable_thinking == false %}
72
+ {{- " /think_off " }}
73
+ {%- endif %}
74
+ {%- endif %}
75
+ {%- endif %}
76
+ {%- elif msg.role == "assistant" %}
77
+ {{- "<longcat_assistant>" }}
78
+ {%- if save_history_reasoning_content == true or loop.index0 > ns.last_query_index %}
79
+ {%- if enable_thinking == true and msg.reasoning_content%}
80
+ {{- "<longcat_think>\n" ~ msg.reasoning_content ~ "\n</longcat_think>\n" }}
81
+ {%- elif enable_thinking == false %}
82
+ {{- "<longcat_think>\n\n</longcat_think>\n" }}
83
+ {%- endif %}
84
+ {%- endif %}
85
+ {%- if msg.content %}
86
+ {{- msg.content }}
87
+ {%- endif %}
88
+ {%- if msg.tool_calls %}
89
+ {%- for tool_call in msg.tool_calls -%}
90
+ {{- "<longcat_tool_call>" ~ tool_call.function.name ~ "\n" -}}
91
+ {% set _args = tool_call.function.arguments %}
92
+ {% for k, v in _args.items() %}
93
+ {{- "<longcat_arg_key>" ~ k ~ "</longcat_arg_key>\n" -}}
94
+ {{- "<longcat_arg_value>" ~ (v if v is string else v | tojson(ensure_ascii=False)) ~ "</longcat_arg_value>\n" -}}
95
+ {% endfor %}
96
+ {{- "</longcat_tool_call>\n" }}
97
+ {%- endfor %}
98
+ {%- endif %}
99
+ {{- "</longcat_s>" -}}
100
+ {%- elif msg.role == "tool" %}
101
+ {%- if messages[loop.index0 - 1].role != "tool" %}
102
+ {{- "<longcat_observation>" -}}
103
+ {%- endif %}
104
+ {{- "<longcat_tool_response>" ~ msg.name ~ "\n" ~ msg.content ~ "</longcat_tool_response>"-}}
105
+ {%- if loop.index0 == messages|length - 1 %}
106
+ {# pass #}
107
+ {%- elif save_history_reasoning_content or loop.index0 > ns.last_query_index %}
108
+ {%- if enable_thinking == true and messages[loop.index0 + 1].role != "tool" %}
109
+ {{- " /think_on" }}
110
+ {%- if thinking_budget %}
111
+ {%- if thinking_budget < 1024 %}
112
+ {%- set thinking_budget = 1024 %}
113
+ {%- endif %}
114
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." }}
115
+ {%- endif %}
116
+ {{- " " }}
117
+ {%- elif enable_thinking == false %}
118
+ {{- " /think_off " }}
119
+ {%- endif %}
120
+ {%- endif %}
121
+ {%- endif %}
122
+ {%- endfor %}
123
+ {%- if add_generation_prompt %}
124
+ {%- if enable_thinking == true %}
125
+ {{- " /think_on" }}
126
+ {%- if thinking_budget %}
127
+ {%- if thinking_budget < 1024 %}
128
+ {%- set thinking_budget = 1024 %}
129
+ {%- endif %}
130
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." }}
131
+ {%- endif %}
132
+ {{- " <longcat_assistant><longcat_think>\n" }}
133
+ {%- elif enable_thinking == false %}
134
+ {{- " /think_off <longcat_assistant><longcat_think>\n\n</longcat_think>\n" }}
135
+ {%- else %}
136
+ {{- "<longcat_assistant>" }}
137
+ {%- endif %}
138
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LongcatCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attention_method": "MLA",
8
+ "auto_map": {
9
+ "AutoConfig": "configuration_longcat.LongcatConfig",
10
+ "AutoModel": "modeling_longcat.LongcatModel",
11
+ "AutoModelForCausalLM": "modeling_longcat.LongcatForCausalLM"
12
+ },
13
+ "bos_token_id": 1,
14
+ "eos_token_id": 2,
15
+ "expert_ffn_hidden_size": 2048,
16
+ "ffn_hidden_size": 12288,
17
+ "hidden_size": 6144,
18
+ "kv_lora_rank": 512,
19
+ "max_position_embeddings": 983040,
20
+ "mla_scale_kv_lora": true,
21
+ "mla_scale_q_lora": true,
22
+ "model_type": "longcat_flash",
23
+ "moe_topk": 12,
24
+ "n_routed_experts": 512,
25
+ "num_attention_heads": 64,
26
+ "num_layers": 28,
27
+ "q_lora_rank": 1536,
28
+ "qk_nope_head_dim": 128,
29
+ "qk_rope_head_dim": 64,
30
+ "quantization": {
31
+ "group_size": 64,
32
+ "bits": 5,
33
+ "mode": "affine",
34
+ "model.layers.0.mlp.router.classifier": {
35
+ "group_size": 64,
36
+ "bits": 8
37
+ },
38
+ "model.layers.1.mlp.router.classifier": {
39
+ "group_size": 64,
40
+ "bits": 8
41
+ },
42
+ "model.layers.2.mlp.router.classifier": {
43
+ "group_size": 64,
44
+ "bits": 8
45
+ },
46
+ "model.layers.3.mlp.router.classifier": {
47
+ "group_size": 64,
48
+ "bits": 8
49
+ },
50
+ "model.layers.4.mlp.router.classifier": {
51
+ "group_size": 64,
52
+ "bits": 8
53
+ },
54
+ "model.layers.5.mlp.router.classifier": {
55
+ "group_size": 64,
56
+ "bits": 8
57
+ },
58
+ "model.layers.6.mlp.router.classifier": {
59
+ "group_size": 64,
60
+ "bits": 8
61
+ },
62
+ "model.layers.7.mlp.router.classifier": {
63
+ "group_size": 64,
64
+ "bits": 8
65
+ },
66
+ "model.layers.8.mlp.router.classifier": {
67
+ "group_size": 64,
68
+ "bits": 8
69
+ },
70
+ "model.layers.9.mlp.router.classifier": {
71
+ "group_size": 64,
72
+ "bits": 8
73
+ },
74
+ "model.layers.10.mlp.router.classifier": {
75
+ "group_size": 64,
76
+ "bits": 8
77
+ },
78
+ "model.layers.11.mlp.router.classifier": {
79
+ "group_size": 64,
80
+ "bits": 8
81
+ },
82
+ "model.layers.12.mlp.router.classifier": {
83
+ "group_size": 64,
84
+ "bits": 8
85
+ },
86
+ "model.layers.13.mlp.router.classifier": {
87
+ "group_size": 64,
88
+ "bits": 8
89
+ },
90
+ "model.layers.14.mlp.router.classifier": {
91
+ "group_size": 64,
92
+ "bits": 8
93
+ },
94
+ "model.layers.15.mlp.router.classifier": {
95
+ "group_size": 64,
96
+ "bits": 8
97
+ },
98
+ "model.layers.16.mlp.router.classifier": {
99
+ "group_size": 64,
100
+ "bits": 8
101
+ },
102
+ "model.layers.17.mlp.router.classifier": {
103
+ "group_size": 64,
104
+ "bits": 8
105
+ },
106
+ "model.layers.18.mlp.router.classifier": {
107
+ "group_size": 64,
108
+ "bits": 8
109
+ },
110
+ "model.layers.19.mlp.router.classifier": {
111
+ "group_size": 64,
112
+ "bits": 8
113
+ },
114
+ "model.layers.20.mlp.router.classifier": {
115
+ "group_size": 64,
116
+ "bits": 8
117
+ },
118
+ "model.layers.21.mlp.router.classifier": {
119
+ "group_size": 64,
120
+ "bits": 8
121
+ },
122
+ "model.layers.22.mlp.router.classifier": {
123
+ "group_size": 64,
124
+ "bits": 8
125
+ },
126
+ "model.layers.23.mlp.router.classifier": {
127
+ "group_size": 64,
128
+ "bits": 8
129
+ },
130
+ "model.layers.24.mlp.router.classifier": {
131
+ "group_size": 64,
132
+ "bits": 8
133
+ },
134
+ "model.layers.25.mlp.router.classifier": {
135
+ "group_size": 64,
136
+ "bits": 8
137
+ },
138
+ "model.layers.26.mlp.router.classifier": {
139
+ "group_size": 64,
140
+ "bits": 8
141
+ },
142
+ "model.layers.27.mlp.router.classifier": {
143
+ "group_size": 64,
144
+ "bits": 8
145
+ }
146
+ },
147
+ "quantization_config": {
148
+ "group_size": 64,
149
+ "bits": 5,
150
+ "mode": "affine",
151
+ "model.layers.0.mlp.router.classifier": {
152
+ "group_size": 64,
153
+ "bits": 8
154
+ },
155
+ "model.layers.1.mlp.router.classifier": {
156
+ "group_size": 64,
157
+ "bits": 8
158
+ },
159
+ "model.layers.2.mlp.router.classifier": {
160
+ "group_size": 64,
161
+ "bits": 8
162
+ },
163
+ "model.layers.3.mlp.router.classifier": {
164
+ "group_size": 64,
165
+ "bits": 8
166
+ },
167
+ "model.layers.4.mlp.router.classifier": {
168
+ "group_size": 64,
169
+ "bits": 8
170
+ },
171
+ "model.layers.5.mlp.router.classifier": {
172
+ "group_size": 64,
173
+ "bits": 8
174
+ },
175
+ "model.layers.6.mlp.router.classifier": {
176
+ "group_size": 64,
177
+ "bits": 8
178
+ },
179
+ "model.layers.7.mlp.router.classifier": {
180
+ "group_size": 64,
181
+ "bits": 8
182
+ },
183
+ "model.layers.8.mlp.router.classifier": {
184
+ "group_size": 64,
185
+ "bits": 8
186
+ },
187
+ "model.layers.9.mlp.router.classifier": {
188
+ "group_size": 64,
189
+ "bits": 8
190
+ },
191
+ "model.layers.10.mlp.router.classifier": {
192
+ "group_size": 64,
193
+ "bits": 8
194
+ },
195
+ "model.layers.11.mlp.router.classifier": {
196
+ "group_size": 64,
197
+ "bits": 8
198
+ },
199
+ "model.layers.12.mlp.router.classifier": {
200
+ "group_size": 64,
201
+ "bits": 8
202
+ },
203
+ "model.layers.13.mlp.router.classifier": {
204
+ "group_size": 64,
205
+ "bits": 8
206
+ },
207
+ "model.layers.14.mlp.router.classifier": {
208
+ "group_size": 64,
209
+ "bits": 8
210
+ },
211
+ "model.layers.15.mlp.router.classifier": {
212
+ "group_size": 64,
213
+ "bits": 8
214
+ },
215
+ "model.layers.16.mlp.router.classifier": {
216
+ "group_size": 64,
217
+ "bits": 8
218
+ },
219
+ "model.layers.17.mlp.router.classifier": {
220
+ "group_size": 64,
221
+ "bits": 8
222
+ },
223
+ "model.layers.18.mlp.router.classifier": {
224
+ "group_size": 64,
225
+ "bits": 8
226
+ },
227
+ "model.layers.19.mlp.router.classifier": {
228
+ "group_size": 64,
229
+ "bits": 8
230
+ },
231
+ "model.layers.20.mlp.router.classifier": {
232
+ "group_size": 64,
233
+ "bits": 8
234
+ },
235
+ "model.layers.21.mlp.router.classifier": {
236
+ "group_size": 64,
237
+ "bits": 8
238
+ },
239
+ "model.layers.22.mlp.router.classifier": {
240
+ "group_size": 64,
241
+ "bits": 8
242
+ },
243
+ "model.layers.23.mlp.router.classifier": {
244
+ "group_size": 64,
245
+ "bits": 8
246
+ },
247
+ "model.layers.24.mlp.router.classifier": {
248
+ "group_size": 64,
249
+ "bits": 8
250
+ },
251
+ "model.layers.25.mlp.router.classifier": {
252
+ "group_size": 64,
253
+ "bits": 8
254
+ },
255
+ "model.layers.26.mlp.router.classifier": {
256
+ "group_size": 64,
257
+ "bits": 8
258
+ },
259
+ "model.layers.27.mlp.router.classifier": {
260
+ "group_size": 64,
261
+ "bits": 8
262
+ }
263
+ },
264
+ "rms_norm_eps": 1e-05,
265
+ "rope_scaling": {
266
+ "original_max_position_embeddings": 8192,
267
+ "rope_type": "deepseek_yarn",
268
+ "factor": 120,
269
+ "beta_fast": 32,
270
+ "beta_slow": 1,
271
+ "mscale": 1,
272
+ "mscale_all_dim": 1
273
+ },
274
+ "rope_theta": 1000000.0,
275
+ "routed_scaling_factor": 6.0,
276
+ "use_cache": true,
277
+ "v_head_dim": 128,
278
+ "vocab_size": 131072,
279
+ "zero_expert_num": 256,
280
+ "zero_expert_type": "identity"
281
+ }
configuration_longcat.py ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2025 bzantium and the HuggingFace Inc. team. All rights reserved.
3
+ #
4
+
5
+ """Longcat model configuration"""
6
+
7
+ from transformers.configuration_utils import PretrainedConfig
8
+ from transformers.modeling_rope_utils import rope_config_validation
9
+
10
+
11
+ LONGCAT_PRETRAINED_CONFIG_ARCHIVE_MAP = {}
12
+
13
+
14
+ class LongcatConfig(PretrainedConfig):
15
+ r"""
16
+ This is the configuration class to store the configuration of a [`LongcatModel`]. It is used to instantiate an Longcat
17
+ model according to the specified arguments, defining the model architecture. Instantiating a configuration with the
18
+ defaults will yield a similar configuration to that of the Longcat.
19
+ Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
20
+ documentation from [`PretrainedConfig`] for more information.
21
+
22
+
23
+ Args:
24
+ vocab_size (`int`, *optional*, defaults to 131072):
25
+ Vocabulary size of the Deep model. Defines the number of different tokens that can be represented by the
26
+ `inputs_ids` passed when calling [`LongcatModel`]
27
+ hidden_size (`int`, *optional*, defaults to 7168):
28
+ Dimension of the hidden representations.
29
+ ffn_hidden_size (`int`, *optional*, defaults to 18432):
30
+ Dimension of the MLP representations.
31
+ expert_ffn_hidden_size (`int`, *optional*, defaults to 2048):
32
+ Dimension of the MoE representations.
33
+ num_layers (`int`, *optional*, defaults to 61):
34
+ Number of hidden layers in the Transformer decoder.
35
+ num_attention_heads (`int`, *optional*, defaults to 128):
36
+ Number of attention heads for each attention layer in the Transformer decoder.
37
+ num_key_value_heads (`int`, *optional*, defaults to 128):
38
+ This is the number of key_value heads that should be used to implement Grouped Query Attention. If
39
+ `num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
40
+ `num_key_value_heads=1 the model will use Multi Query Attention (MQA) otherwise GQA is used. When
41
+ converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
42
+ by meanpooling all the original heads within that group. For more details checkout [this
43
+ paper](https://arxiv.org/pdf/2305.13245.pdf). If it is not specified, will default to
44
+ `num_attention_heads`.
45
+ n_routed_experts (`int`, *optional*, defaults to 256):
46
+ Number of routed experts.
47
+ routed_scaling_factor (`float`, *optional*, defaults to 2.5):
48
+ Scaling factor or routed experts.
49
+ kv_lora_rank (`int`, *optional*, defaults to 512):
50
+ Rank of the LoRA matrices for key and value projections.
51
+ q_lora_rank (`int`, *optional*, defaults to 1536):
52
+ Rank of the LoRA matrices for query projections.
53
+ qk_rope_head_dim (`int`, *optional*, defaults to 64):
54
+ Dimension of the query/key heads that use rotary position embeddings.
55
+ v_head_dim (`int`, *optional*, defaults to 128):
56
+ Dimension of the value heads.
57
+ qk_nope_head_dim (`int`, *optional*, defaults to 128):
58
+ Dimension of the query/key heads that don't use rotary position embeddings.
59
+ norm_topk_prob (`bool`, *optional*, defaults to `True`):
60
+ Whether to normalize the weights of the routed experts.
61
+ hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
62
+ The non-linear activation function (function or string) in the decoder.
63
+ max_position_embeddings (`int`, *optional*, defaults to 4096):
64
+ The maximum sequence length that this model might ever be used with.
65
+ rms_norm_eps (`float`, *optional*, defaults to 1e-06):
66
+ The epsilon used by the rms normalization layers.
67
+ use_cache (`bool`, *optional*, defaults to `True`):
68
+ Whether or not the model should return the last key/values attentions (not used by all models). Only
69
+ relevant if `config.is_decoder=True`.
70
+ pad_token_id (`int`, *optional*):
71
+ Padding token id.
72
+ bos_token_id (`int`, *optional*, defaults to 0):
73
+ Beginning of stream token id.
74
+ eos_token_id (`int`, *optional*, defaults to 1):
75
+ End of stream token id.
76
+ tie_word_embeddings (`bool`, *optional*, defaults to `False`):
77
+ Whether to tie weight embeddings
78
+ rope_theta (`float`, *optional*, defaults to 10000.0):
79
+ The base period of the RoPE embeddings.
80
+ attention_bias (`bool`, defaults to `False`, *optional*, defaults to `False`):
81
+ Whether to use a bias in the query, key, value and output projection layers during self-attention.
82
+ attention_dropout (`float`, *optional*, defaults to 0.0):
83
+ The dropout ratio for the attention probabilities.
84
+
85
+ ```python
86
+ >>> from transformers import LongcatModel, LongcatConfig
87
+
88
+ >>> # Initializing a Longcat style configuration
89
+ >>> configuration = LongcatConfig()
90
+
91
+ >>> # Accessing the model configuration
92
+ >>> configuration = model.config
93
+ ```"""
94
+
95
+ model_type = "longcat"
96
+ keys_to_ignore_at_inference = ["past_key_values"]
97
+ base_model_tp_plan = { # TODO: only replicate attention layers when > first_k_dense_replace
98
+ "layers.*.self_attn.k_proj": "colwise",
99
+ "layers.*.self_attn.v_proj": "colwise",
100
+ "layers.*.self_attn.o_proj": "rowwise",
101
+ "layers.*.mlp.experts.*.gate_proj": "local_colwise",
102
+ "layers.*.mlp.experts.*.up_proj": "local_colwise",
103
+ "layers.*.mlp.experts.*.down_proj": "local_rowwise",
104
+ "layers.*.mlps.*.gate_proj": "local_colwise",
105
+ "layers.*.mlps.*.up_proj": "local_colwise",
106
+ "layers.*.mlps.*.down_proj": "local_rowwise",
107
+ }
108
+ base_model_pp_plan = {
109
+ "embed_tokens": (["input_ids"], ["inputs_embeds"]),
110
+ "layers": (["hidden_states", "attention_mask"], ["hidden_states"]),
111
+ "norm": (["hidden_states"], ["hidden_states"]),
112
+ }
113
+
114
+ def __init__(
115
+ self,
116
+ vocab_size=131072,
117
+ hidden_size=7168,
118
+ ffn_hidden_size=18432,
119
+ expert_ffn_hidden_size=2048,
120
+ num_layers=61,
121
+ num_attention_heads=128,
122
+ num_key_value_heads=None,
123
+ n_routed_experts=256,
124
+ routed_scaling_factor=1,
125
+ kv_lora_rank=512,
126
+ q_lora_rank=1536,
127
+ qk_rope_head_dim=64,
128
+ v_head_dim=128,
129
+ head_dim=128,
130
+ qk_nope_head_dim=128,
131
+ mla_scale_q_lora=True,
132
+ mla_scale_kv_lora=True,
133
+ moe_topk=8,
134
+ norm_topk_prob=False,
135
+ hidden_act="silu",
136
+ max_position_embeddings=4096,
137
+ rms_norm_eps=1e-6,
138
+ use_cache=True,
139
+ pad_token_id=None,
140
+ bos_token_id=0,
141
+ eos_token_id=1,
142
+ tie_word_embeddings=False,
143
+ rope_theta=10000.0,
144
+ attention_bias=False,
145
+ attention_dropout=0.0,
146
+ attention_method='GQA',
147
+ initializer_range=0.006,
148
+ router_bias=False,
149
+ zero_expert_num=None,
150
+ zero_expert_type=None,
151
+ **kwargs,
152
+ ):
153
+ self.vocab_size = vocab_size
154
+ self.max_position_embeddings = max_position_embeddings
155
+ self.hidden_size = hidden_size
156
+ self.ffn_hidden_size = ffn_hidden_size
157
+ self.expert_ffn_hidden_size = expert_ffn_hidden_size
158
+ self.num_layers = num_layers
159
+ self.num_attention_heads = num_attention_heads
160
+ self.n_routed_experts = n_routed_experts
161
+ self.routed_scaling_factor = routed_scaling_factor
162
+ self.kv_lora_rank = kv_lora_rank
163
+ self.q_lora_rank = q_lora_rank
164
+ self.qk_rope_head_dim = qk_rope_head_dim
165
+ self.v_head_dim = v_head_dim
166
+ self.qk_nope_head_dim = qk_nope_head_dim
167
+ self.qk_head_dim = qk_nope_head_dim + qk_rope_head_dim
168
+ self.moe_topk = moe_topk
169
+ self.norm_topk_prob = norm_topk_prob
170
+ self.mla_scale_q_lora = mla_scale_q_lora
171
+ self.mla_scale_kv_lora = mla_scale_kv_lora
172
+ self.attention_method = attention_method
173
+ self.initializer_range = initializer_range
174
+ self.router_bias = router_bias
175
+ self.zero_expert_num = zero_expert_num
176
+ self.zero_expert_type = zero_expert_type
177
+
178
+ if self.attention_method == "GQA":
179
+ self.head_dim = head_dim
180
+ elif self.attention_method == "MLA":
181
+ self.head_dim = qk_rope_head_dim
182
+ else:
183
+ ValueError("attention_method should be one of [\"GQA\", \"MLA\"]")
184
+
185
+
186
+ # for backward compatibility
187
+ if num_key_value_heads is None:
188
+ num_key_value_heads = num_attention_heads
189
+
190
+ self.num_key_value_heads = num_key_value_heads
191
+ self.hidden_act = hidden_act
192
+ self.rms_norm_eps = rms_norm_eps
193
+ self.use_cache = use_cache
194
+ self.rope_theta = rope_theta
195
+ self.attention_bias = attention_bias
196
+ self.attention_dropout = attention_dropout
197
+ # Validate the correctness of rotary position embeddings parameters
198
+ # BC: if there is a 'type' field, copy it it to 'rope_type'.
199
+ rope_config_validation(self)
200
+
201
+ super().__init__(
202
+ pad_token_id=pad_token_id,
203
+ bos_token_id=bos_token_id,
204
+ eos_token_id=eos_token_id,
205
+ tie_word_embeddings=tie_word_embeddings,
206
+ **kwargs,
207
+ )
208
+
209
+
210
+ __all__ = ["LongcatConfig"]
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.36.0"
7
+ }
model-00001-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e8624c8e929b284949d7b7a2c68c4f909100948fef217aec34bf7d916d7e7c
3
+ size 4982833873
model-00002-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44cd331a4bb4defc9cb1f26f81efd6a1413eb6c6967da8cc8f59b5ad79878958
3
+ size 4429185427
model-00003-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fd3aa15d8794ad9baa0b1bd9af68027adf9f1c8e89f0f34040f841d09210e9a
3
+ size 4870523118
model-00004-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96a53cb4d5f7875d64c0f7ff29895b0f9806047e8ae450996d7c77c20b80c0f9
3
+ size 4429185433
model-00005-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1877c984771661eb02d7196d3825ea023a137c0cf9f33dc3613beca2ba62b93
3
+ size 4429185427
model-00006-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05ac51b806faa93334f39e79c096e928afedd3b5a50fa46e9d574769c3542e4e
3
+ size 4870523134
model-00007-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91b7f0e8cbac263ec6bd5b07d1a859ecde8d2d3de8a6686303adad7d71f09b18
3
+ size 4429185433
model-00008-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b405a61878102bff003f80f1fd18f765a585a9bfec6b270a06b2f7687b4b51d
3
+ size 4429185427
model-00009-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f27f3529beaf0fdc12f27ee8502e3c67e5266e4750350afef32cca2fedf6902
3
+ size 4870523102
model-00010-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:285dc29db4c6985d15464346595591b89a1c2168eb20643c507bda88da78c884
3
+ size 4429185433
model-00011-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62ab886c06ba6007bd85095fe767b7245ee578f42a3ef471f006f0b99b57bf9f
3
+ size 4429185427
model-00012-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49658a558d740134bd6dbd9714b8500773579a907cdecad63055ef53631dd1db
3
+ size 4870523134
model-00013-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54d4d29cf62636edcb934a7ffa1a60f5d22c2a6a349e4e82a79896ba2ffd5ea1
3
+ size 4429185433
model-00014-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:323aa9ea053355c896e14dd34240343eb93977f3668c92cb9caa6b8c6e7f61f9
3
+ size 4429185427
model-00015-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8d9ef2ebbe8e374755b019f00d20b961fae4499a2b25ef8a15a1e189c9c23e8
3
+ size 4870523124
model-00016-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d319fc89678d7dcc38b98d8e2d9a030ebd421a6333df20d54ad69a2d73208cd3
3
+ size 4429185433
model-00017-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3104b61cd54a0b78992fa3a6ed1d5178b48c37d93d90727cec1639cb34dfae3
3
+ size 4429185427
model-00018-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3d26a2a67151caea3e680c44728931f140526276b3a58dbffe61df75adedf0f
3
+ size 4870523122
model-00019-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ef1aab652e974860d3f187c5228a59eb886ac682580083efd5ce69c63e5c41c
3
+ size 4429185433
model-00020-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96c6a6618957e8585155ebce25f68f3f3ef2246c2da177854b90aa10ab6de3eb
3
+ size 4429185427
model-00021-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e585332c2b9631d49f7b887fcd15989821419462eddddad7b2b41e1e055c7ab
3
+ size 4870523160
model-00022-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:714ddc016194f2b5b436436a9193847ac5802517670cd86c9dd8ac596e1fd494
3
+ size 4429185433
model-00023-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50d8e256dba88459c543607c6b9a83d490ff1d6ff19f00cdcf4c9579c7c958ae
3
+ size 4429185427
model-00024-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec9f7fac6755c2ef65736b46f4e32eeb2855359ff43fad44d8eaf075aaa7ed72
3
+ size 4870523130
model-00025-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be05ea82a4b897bc64b0f553b41fd9fa660803f1905b61658cf2b5b1caf5502
3
+ size 4429185433
model-00026-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49a7cb96bc6346284e7e3e0a985dfc4f1ca754fe5365471417824716159e917f
3
+ size 4429185427
model-00027-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daa3ef46610a039cb0b615e52ddb1ecd031557c0bd4f45ecb3376bd65fdba2d5
3
+ size 4870523106
model-00028-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c11506d62890545a72522c53b1a010728b89d44f8dc496d5d20e4292f7e6ba50
3
+ size 4429185433
model-00029-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e57f5ca87b68cd34d397567943b82d4d3a8785b35c794db9a2ff333d6562c7e2
3
+ size 4429185427
model-00030-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef2dc49086ccb200a7e2f1c54ef0665ae955e0227a6413e81220f2f94bce8028
3
+ size 4870523128
model-00031-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df7e051f9868974cb91a5620f9732b9ec08881d77353b9c63af34a5f146fd5c7
3
+ size 4429185436
model-00032-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccf75a005d8b781ae975643f4770ee096c296d86da604dc3237d1dbbe3f5c814
3
+ size 4429185430
model-00033-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a265b858f5d0418708a6595d0b2dce3ef4a8ea24882702cd9a2a37787a99214
3
+ size 4870523265
model-00034-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1541a60369bd19ea93d1a3df05d687f37dc67d2cdac1d9e683f320e58a791abe
3
+ size 4429185436
model-00035-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346302db09fb3c0a9b6c6fb687702f1929950990e3d08d06028b7228845593b2
3
+ size 4429185430
model-00036-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91d3598707ec7ed1ab1d9d04ba3a218a6eeb2d7e9e1d3d1a4df07437c44890ae
3
+ size 4870523213
model-00037-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfa7cfce7de2615f18699e3a7000f5101d3cd046b51bae65f439d24e9110f034
3
+ size 4429185436
model-00038-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cae7162f49d5b68d08ca8bfff6d6e8524769add3534d903766106ac82cc27eef
3
+ size 4429185430
model-00039-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ff6a957a7e384ed0488e3f9e92e64949923f575a0ee803eb266f5daf66c3d96
3
+ size 4870523163
model-00040-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be70f54d7d181dfe4b647686f4c131ef85c12b70becd2f17378844e4299df170
3
+ size 4429185436
model-00041-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fdf21b25c2e49847ab93b860c891e0853fc9b41c2ad4ffeb95a2714864885ba2
3
+ size 4429185430
model-00042-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7dd45cb10993aa869b9335681e396ee5306ba5a2808329a5ae02ba7eccf4e3e
3
+ size 4870523155
model-00043-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:798c426c1cf168ab40c24911abdb4c5a7dffbd462d3684e0be411f01d401ed94
3
+ size 4429185436
model-00044-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2664c110716e1a593bfa603abf5d9a7f774739c76216793734e550c2802b2e6a
3
+ size 4429185430
model-00045-of-00085.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8141698545c4eeef5fe90c119ed4338085d26704b48ef44a3fb37277460e521b
3
+ size 4870523163