pipenetwork commited on
Commit
deed08f
·
verified ·
1 Parent(s): 1d83ec5

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +9 -0
  2. chat_template.jinja +190 -0
  3. config.json +374 -0
  4. generation_config.json +7 -0
  5. model-00010-of-00261.safetensors +3 -0
  6. model-00015-of-00261.safetensors +3 -0
  7. model-00016-of-00261.safetensors +3 -0
  8. model-00022-of-00261.safetensors +3 -0
  9. model-00027-of-00261.safetensors +3 -0
  10. model-00028-of-00261.safetensors +3 -0
  11. model-00049-of-00261.safetensors +3 -0
  12. model-00051-of-00261.safetensors +3 -0
  13. model-00052-of-00261.safetensors +3 -0
  14. model-00054-of-00261.safetensors +3 -0
  15. model-00063-of-00261.safetensors +3 -0
  16. model-00066-of-00261.safetensors +3 -0
  17. model-00069-of-00261.safetensors +3 -0
  18. model-00071-of-00261.safetensors +3 -0
  19. model-00087-of-00261.safetensors +3 -0
  20. model-00090-of-00261.safetensors +3 -0
  21. model-00095-of-00261.safetensors +3 -0
  22. model-00103-of-00261.safetensors +3 -0
  23. model-00106-of-00261.safetensors +3 -0
  24. model-00109-of-00261.safetensors +3 -0
  25. model-00111-of-00261.safetensors +3 -0
  26. model-00129-of-00261.safetensors +3 -0
  27. model-00131-of-00261.safetensors +3 -0
  28. model-00134-of-00261.safetensors +3 -0
  29. model-00137-of-00261.safetensors +3 -0
  30. model-00142-of-00261.safetensors +3 -0
  31. model-00147-of-00261.safetensors +3 -0
  32. model-00148-of-00261.safetensors +3 -0
  33. model-00170-of-00261.safetensors +3 -0
  34. model-00175-of-00261.safetensors +3 -0
  35. model-00183-of-00261.safetensors +3 -0
  36. model-00186-of-00261.safetensors +3 -0
  37. model-00189-of-00261.safetensors +3 -0
  38. model-00203-of-00261.safetensors +3 -0
  39. model-00211-of-00261.safetensors +3 -0
  40. model-00214-of-00261.safetensors +3 -0
  41. model-00223-of-00261.safetensors +3 -0
  42. model-00226-of-00261.safetensors +3 -0
  43. model-00229-of-00261.safetensors +3 -0
  44. model-00247-of-00261.safetensors +3 -0
  45. model-00250-of-00261.safetensors +3 -0
  46. model-00255-of-00261.safetensors +3 -0
  47. model.safetensors.index.json +0 -0
  48. special_tokens_map.json +30 -0
  49. tokenization_llama.py +231 -0
  50. tokenizer_config.json +1811 -0
README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: mlx
3
+ pipeline_tag: text-generation
4
+ tags: [mlx, longcat]
5
+ license: mit
6
+ base_model: meituan-longcat/LongCat-2.0-FP8
7
+ ---
8
+ # pipenetwork/LongCat-2.0-6bit
9
+ 6-bit MLX quant of LongCat-2.0 (from FP8 source). Requires mlx-lm PR #1464: `pip install git+https://github.com/ml-explore/mlx-lm.git@refs/pull/1464/head`
chat_template.jinja ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- set tool_choice = tool_choice | default('auto') -%}
2
+ {%- set enable_thinking = enable_thinking | default(true) -%}
3
+ {%- set save_history_reasoning_content = save_history_reasoning_content | default(true) -%}
4
+ {%- set ns = namespace(final_messages = [], tool_types = [], last_query_index = -1) -%}
5
+ {%- for message in messages -%}
6
+ {%- set role = message.get('role') -%}
7
+ {%- set c = message.get('content') -%}
8
+ {%- if c is string -%}
9
+ {%- set ns.final_messages = ns.final_messages + [message] -%}
10
+ {%- elif c is iterable and c is not mapping -%}
11
+ {%- set parts = namespace(text=[], thinking=[], tool_calls=[], tool_results=[]) -%}
12
+ {%- for item in c -%}
13
+ {%- if item['type'] == 'text' -%}
14
+ {%- set parts.text = parts.text + [item['text']] -%}
15
+ {%- elif item['type'] == 'thinking' -%}
16
+ {%- if item['thinking'] -%}
17
+ {%- set parts.thinking = parts.thinking + [item['thinking']] -%}
18
+ {%- endif -%}
19
+ {%- elif item['type'] == 'tool_use' -%}
20
+ {%- set parts.tool_calls = parts.tool_calls + [{
21
+ 'id': item['id'],
22
+ 'type': 'function',
23
+ 'function': {
24
+ 'name': item['name'],
25
+ 'arguments': item['input']
26
+ }
27
+ }] -%}
28
+ {%- elif item['type'] == 'tool_result' -%}
29
+ {%- set parts.tool_results = parts.tool_results + [{
30
+ 'role': 'tool',
31
+ 'name': item.get('name', ''),
32
+ 'tool_call_id': item['tool_use_id'],
33
+ 'content': item['content']
34
+ }] -%}
35
+ {%- endif -%}
36
+ {%- endfor -%}
37
+ {%- set ns.final_messages = ns.final_messages + parts.tool_results -%}
38
+ {%- if not (parts.tool_results | length > 0 and parts.text | length == 0 and role == 'user') -%}
39
+ {%- set ns.final_messages = ns.final_messages + [{
40
+ 'role': role,
41
+ 'content': parts.text | join(''),
42
+ 'reasoning_content': parts.thinking | join(''),
43
+ 'tool_calls': parts.tool_calls
44
+ }] -%}
45
+ {%- endif -%}
46
+ {%- else -%}
47
+ {%- set ns.final_messages = ns.final_messages + [message] -%}
48
+ {%- endif -%}
49
+ {%- endfor -%}
50
+ {%- set messages = ns.final_messages -%}
51
+
52
+ {%- for idx in range(messages|length) -%}
53
+ {%- set msg = messages[idx] -%}
54
+ {%- if msg.role == 'user' -%}
55
+ {%- set ns.last_query_index = idx -%}
56
+ {%- endif -%}
57
+ {%- endfor -%}
58
+
59
+ {%- if tools and tool_choice != 'none' -%}
60
+ {{- "<longcat_tool_declare>\n" -}}
61
+ {{- "# Tools\n" -}}
62
+ {{- "You have access to the following tools:\n\n" -}}
63
+ {%- for tool in tools -%}
64
+ {%- if tool.type not in ns.tool_types -%}
65
+ {%- set ns.tool_types = ns.tool_types + [tool.type] -%}
66
+ {{- "## Tool namespace: " ~ tool.type ~ "\n\n" -}}
67
+ {%- endif -%}
68
+ {%- if tool.type == 'code_interpreter' -%}
69
+ {%- 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"]}} -%}
70
+ {%- endif -%}
71
+ {{- "### Tool name: " + tool.function.name + "\n" -}}
72
+ {{- "Description: " + tool.function.description + "\n\n" -}}
73
+ {{- "InputSchema: " + tool.function.parameters | tojson(ensure_ascii=False) + "\n\n" -}}
74
+ {%- endfor -%}
75
+ {{- '**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' -}}
76
+ {{- "</longcat_tool_declare>"-}}
77
+ {%- endif -%}
78
+
79
+ {%- for msg in messages -%}
80
+ {%- if msg.role == "system" -%}
81
+ {{- "<longcat_system>" + msg.content -}}
82
+ {%- elif msg.role == "user" -%}
83
+ {{- "<longcat_user>" -}}
84
+ {%- if msg["files"] -%}
85
+ {{- '<longcat_files>\n' ~ msg.files | tojson(indent=2) ~ '\n</longcat_files>' -}}
86
+ {%- endif -%}
87
+ {{- msg.content -}}
88
+ {%- if save_history_reasoning_content and enable_thinking is not none -%}
89
+ {%- if loop.last or messages[loop.index0 + 1].role != 'assistant' -%}
90
+ {# pass #}
91
+ {%- else -%}
92
+ {%- if enable_thinking == true -%}
93
+ {{- " /think_on" -}}
94
+ {%- if thinking_budget -%}
95
+ {%- if thinking_budget < 1024 -%}
96
+ {%- set thinking_budget = 1024 -%}
97
+ {%- endif -%}
98
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." -}}
99
+ {%- endif -%}
100
+ {{- " " -}}
101
+ {%- elif enable_thinking == false -%}
102
+ {{- " /think_off " -}}
103
+ {%- endif -%}
104
+ {%- endif -%}
105
+ {%- elif loop.index0 >= ns.last_query_index and enable_thinking is not none -%}
106
+ {%- if loop.last or messages[loop.index0 + 1].role != 'assistant' -%}
107
+ {# pass #}
108
+ {%- else -%}
109
+ {%- if enable_thinking == true -%}
110
+ {{- " /think_on" -}}
111
+ {%- if thinking_budget -%}
112
+ {%- if thinking_budget < 1024 -%}
113
+ {%- set thinking_budget = 1024 -%}
114
+ {%- endif -%}
115
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." -}}
116
+ {%- endif -%}
117
+ {{- " " -}}
118
+ {%- elif enable_thinking == false -%}
119
+ {{- " /think_off " -}}
120
+ {%- endif -%}
121
+ {%- endif -%}
122
+ {%- endif -%}
123
+ {%- elif msg.role == "assistant" -%}
124
+ {{- "<longcat_assistant>" -}}
125
+ {%- if save_history_reasoning_content == true or loop.index0 > ns.last_query_index -%}
126
+ {%- if enable_thinking == true -%}
127
+ {%- if msg.reasoning_content -%}
128
+ {%- set reasoning_content = msg.reasoning_content | trim -%}
129
+ {{- "<longcat_think>\n" ~ reasoning_content ~ "\n</longcat_think>\n" -}}
130
+ {%- else -%}
131
+ {{- "<longcat_think>\n\n</longcat_think>\n" -}}
132
+ {%- endif -%}
133
+ {%- elif enable_thinking == false -%}
134
+ {{- "<longcat_think>\n\n</longcat_think>\n" -}}
135
+ {%- endif -%}
136
+ {%- endif -%}
137
+ {%- if msg.content -%}
138
+ {{- msg.content -}}
139
+ {%- endif -%}
140
+ {%- if msg.tool_calls -%}
141
+ {%- for tool_call in msg.tool_calls -%}
142
+ {{- "<longcat_tool_call>" ~ tool_call.function.name ~ "\n" -}}
143
+ {%- set _args = tool_call.function.arguments -%}
144
+ {%- for k, v in _args.items() -%}
145
+ {{- "<longcat_arg_key>" ~ k ~ "</longcat_arg_key>\n" -}}
146
+ {{- "<longcat_arg_value>" ~ (v if v is string else v | tojson(ensure_ascii=False)) ~ "</longcat_arg_value>\n" -}}
147
+ {% endfor -%}
148
+ {{- "</longcat_tool_call>\n" -}}
149
+ {%- endfor -%}
150
+ {%- endif -%}
151
+ {{- "</longcat_s>" -}}
152
+ {%- elif msg.role == "tool" -%}
153
+ {%- if messages[loop.index0 - 1].role != "tool" -%}
154
+ {{- "<longcat_observation>" -}}
155
+ {%- endif -%}
156
+ {{- "<longcat_tool_response>" ~ msg.name ~ "\n" ~ msg.content ~ "</longcat_tool_response>" -}}
157
+ {%- if loop.index0 == messages|length - 1 -%}
158
+ {# pass #}
159
+ {%- elif (save_history_reasoning_content or loop.index0 > ns.last_query_index) and messages[loop.index0 + 1].role != "tool" -%}
160
+ {%- if enable_thinking == true -%}
161
+ {{- " /think_on" -}}
162
+ {%- if thinking_budget -%}
163
+ {%- if thinking_budget < 1024 -%}
164
+ {%- set thinking_budget = 1024 -%}
165
+ {%- endif -%}
166
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." -}}
167
+ {%- endif -%}
168
+ {{- " " -}}
169
+ {%- elif enable_thinking == false -%}
170
+ {{- " /think_off " -}}
171
+ {%- endif -%}
172
+ {%- endif -%}
173
+ {%- endif -%}
174
+ {%- endfor -%}
175
+ {%- if add_generation_prompt -%}
176
+ {%- if enable_thinking == true -%}
177
+ {{- " /think_on" -}}
178
+ {%- if thinking_budget -%}
179
+ {%- if thinking_budget < 1024 -%}
180
+ {%- set thinking_budget = 1024 -%}
181
+ {%- endif -%}
182
+ {{- "\nthinking_budget: < " ~ thinking_budget ~ "." -}}
183
+ {%- endif -%}
184
+ {{- " <longcat_assistant><longcat_think>" -}}
185
+ {%- elif enable_thinking == false -%}
186
+ {{- " /think_off <longcat_assistant><longcat_think>\n\n</longcat_think>\n" -}}
187
+ {%- else -%}
188
+ {{- " /think_off <longcat_assistant><longcat_think>\n\n</longcat_think>\n" -}}
189
+ {%- endif -%}
190
+ {%- endif -%}
config.json ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LongcatCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "attention_method": "MLA",
8
+ "bos_token_id": 1,
9
+ "cli_factor": 2,
10
+ "disable_quant_module": [],
11
+ "dsa_mtp_cli": true,
12
+ "eos_token_id": 2,
13
+ "expert_ffn_hidden_size": 2048,
14
+ "ffn_hidden_size": 12288,
15
+ "hidden_size": 8192,
16
+ "index_head_dim": 128,
17
+ "index_init_tokens": 16,
18
+ "index_k_norm_type": "rms",
19
+ "index_local_tokens": 1024,
20
+ "index_n_heads": 32,
21
+ "index_topk": 2048,
22
+ "kv_lora_rank": 512,
23
+ "max_position_embeddings": 262144,
24
+ "mla_scale_kv_lora": true,
25
+ "mla_scale_q_lora": true,
26
+ "model_type": "longcat2",
27
+ "moe_impl": "mix",
28
+ "moe_switch_token_num": 1024,
29
+ "moe_topk": 12,
30
+ "mtp_disable_over_tokenizer": true,
31
+ "mtp_num_layers": 3,
32
+ "mtp_replicate_modules": true,
33
+ "n_routed_experts": 768,
34
+ "num_attention_heads": 64,
35
+ "num_layers": 38,
36
+ "oe_neighbor_num": 5,
37
+ "oe_split_num": 4,
38
+ "oe_vocab_size_ratio": 100.567,
39
+ "q_lora_rank": 1536,
40
+ "qk_nope_head_dim": 128,
41
+ "qk_rope_head_dim": 64,
42
+ "quantization": {
43
+ "group_size": 64,
44
+ "bits": 6,
45
+ "mode": "affine",
46
+ "model.layers.0.mlp.router.classifier": {
47
+ "group_size": 64,
48
+ "bits": 8
49
+ },
50
+ "model.layers.1.mlp.router.classifier": {
51
+ "group_size": 64,
52
+ "bits": 8
53
+ },
54
+ "model.layers.2.mlp.router.classifier": {
55
+ "group_size": 64,
56
+ "bits": 8
57
+ },
58
+ "model.layers.3.mlp.router.classifier": {
59
+ "group_size": 64,
60
+ "bits": 8
61
+ },
62
+ "model.layers.4.mlp.router.classifier": {
63
+ "group_size": 64,
64
+ "bits": 8
65
+ },
66
+ "model.layers.5.mlp.router.classifier": {
67
+ "group_size": 64,
68
+ "bits": 8
69
+ },
70
+ "model.layers.6.mlp.router.classifier": {
71
+ "group_size": 64,
72
+ "bits": 8
73
+ },
74
+ "model.layers.7.mlp.router.classifier": {
75
+ "group_size": 64,
76
+ "bits": 8
77
+ },
78
+ "model.layers.8.mlp.router.classifier": {
79
+ "group_size": 64,
80
+ "bits": 8
81
+ },
82
+ "model.layers.9.mlp.router.classifier": {
83
+ "group_size": 64,
84
+ "bits": 8
85
+ },
86
+ "model.layers.10.mlp.router.classifier": {
87
+ "group_size": 64,
88
+ "bits": 8
89
+ },
90
+ "model.layers.11.mlp.router.classifier": {
91
+ "group_size": 64,
92
+ "bits": 8
93
+ },
94
+ "model.layers.12.mlp.router.classifier": {
95
+ "group_size": 64,
96
+ "bits": 8
97
+ },
98
+ "model.layers.13.mlp.router.classifier": {
99
+ "group_size": 64,
100
+ "bits": 8
101
+ },
102
+ "model.layers.14.mlp.router.classifier": {
103
+ "group_size": 64,
104
+ "bits": 8
105
+ },
106
+ "model.layers.15.mlp.router.classifier": {
107
+ "group_size": 64,
108
+ "bits": 8
109
+ },
110
+ "model.layers.16.mlp.router.classifier": {
111
+ "group_size": 64,
112
+ "bits": 8
113
+ },
114
+ "model.layers.17.mlp.router.classifier": {
115
+ "group_size": 64,
116
+ "bits": 8
117
+ },
118
+ "model.layers.18.mlp.router.classifier": {
119
+ "group_size": 64,
120
+ "bits": 8
121
+ },
122
+ "model.layers.19.mlp.router.classifier": {
123
+ "group_size": 64,
124
+ "bits": 8
125
+ },
126
+ "model.layers.20.mlp.router.classifier": {
127
+ "group_size": 64,
128
+ "bits": 8
129
+ },
130
+ "model.layers.21.mlp.router.classifier": {
131
+ "group_size": 64,
132
+ "bits": 8
133
+ },
134
+ "model.layers.22.mlp.router.classifier": {
135
+ "group_size": 64,
136
+ "bits": 8
137
+ },
138
+ "model.layers.23.mlp.router.classifier": {
139
+ "group_size": 64,
140
+ "bits": 8
141
+ },
142
+ "model.layers.24.mlp.router.classifier": {
143
+ "group_size": 64,
144
+ "bits": 8
145
+ },
146
+ "model.layers.25.mlp.router.classifier": {
147
+ "group_size": 64,
148
+ "bits": 8
149
+ },
150
+ "model.layers.26.mlp.router.classifier": {
151
+ "group_size": 64,
152
+ "bits": 8
153
+ },
154
+ "model.layers.27.mlp.router.classifier": {
155
+ "group_size": 64,
156
+ "bits": 8
157
+ },
158
+ "model.layers.28.mlp.router.classifier": {
159
+ "group_size": 64,
160
+ "bits": 8
161
+ },
162
+ "model.layers.29.mlp.router.classifier": {
163
+ "group_size": 64,
164
+ "bits": 8
165
+ },
166
+ "model.layers.30.mlp.router.classifier": {
167
+ "group_size": 64,
168
+ "bits": 8
169
+ },
170
+ "model.layers.31.mlp.router.classifier": {
171
+ "group_size": 64,
172
+ "bits": 8
173
+ },
174
+ "model.layers.32.mlp.router.classifier": {
175
+ "group_size": 64,
176
+ "bits": 8
177
+ },
178
+ "model.layers.33.mlp.router.classifier": {
179
+ "group_size": 64,
180
+ "bits": 8
181
+ },
182
+ "model.layers.34.mlp.router.classifier": {
183
+ "group_size": 64,
184
+ "bits": 8
185
+ },
186
+ "model.layers.35.mlp.router.classifier": {
187
+ "group_size": 64,
188
+ "bits": 8
189
+ },
190
+ "model.layers.36.mlp.router.classifier": {
191
+ "group_size": 64,
192
+ "bits": 8
193
+ },
194
+ "model.layers.37.mlp.router.classifier": {
195
+ "group_size": 64,
196
+ "bits": 8
197
+ }
198
+ },
199
+ "quantization_config": {
200
+ "group_size": 64,
201
+ "bits": 6,
202
+ "mode": "affine",
203
+ "model.layers.0.mlp.router.classifier": {
204
+ "group_size": 64,
205
+ "bits": 8
206
+ },
207
+ "model.layers.1.mlp.router.classifier": {
208
+ "group_size": 64,
209
+ "bits": 8
210
+ },
211
+ "model.layers.2.mlp.router.classifier": {
212
+ "group_size": 64,
213
+ "bits": 8
214
+ },
215
+ "model.layers.3.mlp.router.classifier": {
216
+ "group_size": 64,
217
+ "bits": 8
218
+ },
219
+ "model.layers.4.mlp.router.classifier": {
220
+ "group_size": 64,
221
+ "bits": 8
222
+ },
223
+ "model.layers.5.mlp.router.classifier": {
224
+ "group_size": 64,
225
+ "bits": 8
226
+ },
227
+ "model.layers.6.mlp.router.classifier": {
228
+ "group_size": 64,
229
+ "bits": 8
230
+ },
231
+ "model.layers.7.mlp.router.classifier": {
232
+ "group_size": 64,
233
+ "bits": 8
234
+ },
235
+ "model.layers.8.mlp.router.classifier": {
236
+ "group_size": 64,
237
+ "bits": 8
238
+ },
239
+ "model.layers.9.mlp.router.classifier": {
240
+ "group_size": 64,
241
+ "bits": 8
242
+ },
243
+ "model.layers.10.mlp.router.classifier": {
244
+ "group_size": 64,
245
+ "bits": 8
246
+ },
247
+ "model.layers.11.mlp.router.classifier": {
248
+ "group_size": 64,
249
+ "bits": 8
250
+ },
251
+ "model.layers.12.mlp.router.classifier": {
252
+ "group_size": 64,
253
+ "bits": 8
254
+ },
255
+ "model.layers.13.mlp.router.classifier": {
256
+ "group_size": 64,
257
+ "bits": 8
258
+ },
259
+ "model.layers.14.mlp.router.classifier": {
260
+ "group_size": 64,
261
+ "bits": 8
262
+ },
263
+ "model.layers.15.mlp.router.classifier": {
264
+ "group_size": 64,
265
+ "bits": 8
266
+ },
267
+ "model.layers.16.mlp.router.classifier": {
268
+ "group_size": 64,
269
+ "bits": 8
270
+ },
271
+ "model.layers.17.mlp.router.classifier": {
272
+ "group_size": 64,
273
+ "bits": 8
274
+ },
275
+ "model.layers.18.mlp.router.classifier": {
276
+ "group_size": 64,
277
+ "bits": 8
278
+ },
279
+ "model.layers.19.mlp.router.classifier": {
280
+ "group_size": 64,
281
+ "bits": 8
282
+ },
283
+ "model.layers.20.mlp.router.classifier": {
284
+ "group_size": 64,
285
+ "bits": 8
286
+ },
287
+ "model.layers.21.mlp.router.classifier": {
288
+ "group_size": 64,
289
+ "bits": 8
290
+ },
291
+ "model.layers.22.mlp.router.classifier": {
292
+ "group_size": 64,
293
+ "bits": 8
294
+ },
295
+ "model.layers.23.mlp.router.classifier": {
296
+ "group_size": 64,
297
+ "bits": 8
298
+ },
299
+ "model.layers.24.mlp.router.classifier": {
300
+ "group_size": 64,
301
+ "bits": 8
302
+ },
303
+ "model.layers.25.mlp.router.classifier": {
304
+ "group_size": 64,
305
+ "bits": 8
306
+ },
307
+ "model.layers.26.mlp.router.classifier": {
308
+ "group_size": 64,
309
+ "bits": 8
310
+ },
311
+ "model.layers.27.mlp.router.classifier": {
312
+ "group_size": 64,
313
+ "bits": 8
314
+ },
315
+ "model.layers.28.mlp.router.classifier": {
316
+ "group_size": 64,
317
+ "bits": 8
318
+ },
319
+ "model.layers.29.mlp.router.classifier": {
320
+ "group_size": 64,
321
+ "bits": 8
322
+ },
323
+ "model.layers.30.mlp.router.classifier": {
324
+ "group_size": 64,
325
+ "bits": 8
326
+ },
327
+ "model.layers.31.mlp.router.classifier": {
328
+ "group_size": 64,
329
+ "bits": 8
330
+ },
331
+ "model.layers.32.mlp.router.classifier": {
332
+ "group_size": 64,
333
+ "bits": 8
334
+ },
335
+ "model.layers.33.mlp.router.classifier": {
336
+ "group_size": 64,
337
+ "bits": 8
338
+ },
339
+ "model.layers.34.mlp.router.classifier": {
340
+ "group_size": 64,
341
+ "bits": 8
342
+ },
343
+ "model.layers.35.mlp.router.classifier": {
344
+ "group_size": 64,
345
+ "bits": 8
346
+ },
347
+ "model.layers.36.mlp.router.classifier": {
348
+ "group_size": 64,
349
+ "bits": 8
350
+ },
351
+ "model.layers.37.mlp.router.classifier": {
352
+ "group_size": 64,
353
+ "bits": 8
354
+ }
355
+ },
356
+ "rms_norm_eps": 1e-05,
357
+ "rope_scaling": {
358
+ "beta_fast": 32,
359
+ "beta_slow": 1,
360
+ "factor": 120,
361
+ "mscale": 1,
362
+ "mscale_all_dim": 1,
363
+ "original_max_position_embeddings": 8192,
364
+ "rope_type": "deepseek_yarn"
365
+ },
366
+ "rope_theta": 1000000.0,
367
+ "routed_scaling_factor": 9,
368
+ "use_cache": true,
369
+ "use_mla": 1,
370
+ "v_head_dim": 128,
371
+ "vocab_size": 163840,
372
+ "zero_expert_num": 128,
373
+ "zero_expert_type": "identity"
374
+ }
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": 3,
6
+ "transformers_version": "4.55.0"
7
+ }
model-00010-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:369f376a607ac3e1b823e484d94ae59ef6a8e744a125c4299a5cabac7cc1bb57
3
+ size 6327132057
model-00015-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87bc892b610fdfd30c3e2a31e080d606dcbc0b5c21168b4bf5c4ea636f5385cd
3
+ size 527261391
model-00016-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ac08668632b2224543551831c4af0fd6a6ca5ad9aff1d459efb3098d8050dd8
3
+ size 6327134361
model-00022-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae5e95dd37de31e61bb17190ea09dd6116ae7e65dcd93207f164f73c7e4573b0
3
+ size 6327136666
model-00027-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:545285afc092d206174a0abf3300fc347f0692275020287b4dcebc6369d5ea96
3
+ size 527261777
model-00028-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8bd59b70de3fb50ab224a45d01fdf3cdf07e834b0e280d0642499999d81f5da
3
+ size 6327138970
model-00049-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8a1bdbdba82c71f7e8455da856916904598871fff8bb74cf22dcfeb595bcc10
3
+ size 805306649
model-00051-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ceb7c476a677db85ca69f7e2e0ecaa6296d5a0def4d4674ef90e518133b9c68
3
+ size 1492046622
model-00052-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af65e1eccedfa6c6370e8136b4def8c50dd764b8e6ac5e885605341551d942df
3
+ size 9663676576
model-00054-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60cce66e7fa14c0c5058fda06ea38d90b73d2fb02d8c3483692ad1670cd6f922
3
+ size 9663676574
model-00063-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d723d35994695ecf6bb790d8774ae221710ee3dfaa53154f5b93a28c3ee3991
3
+ size 1492046646
model-00066-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6183bfaf0bb231d25293b21f1d9972149c2b874391b2b0c71d5193ccef92d9f7
3
+ size 9663676574
model-00069-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d22054db22deed03dc60ecdf514ec40d7bb2e1bbf593a8034aa706ff30b837d3
3
+ size 1492046648
model-00071-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2a640044fbebef514e3e2736e2dfcd0de4f650e3a206d953932f28d21319a70
3
+ size 805306653
model-00087-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e528fba84627635379870fe16505b0faa90e08bdedaf67839bb612f444a3952
3
+ size 1492046644
model-00090-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:595021c951a12ab32b4635de35e9051b05ed033d4b018e0d71aea8ed3f908414
3
+ size 9663676574
model-00095-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52e7f74a14e936e80f692a93610ed1ce922ad2b9435b5fbe1bff17c7e9637452
3
+ size 805306655
model-00103-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f7a278bd4d016fb29d69c5310dc93c45065d5642536a578b2ed37f6bad02224
3
+ size 805306651
model-00106-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3abc6564b8e918aa8aa316b4340ce7521a8fb9824f64c81c9407b927e27f678
3
+ size 9663676577
model-00109-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bca44cee47ca0c06ebe0ab3e8e74be6174ce240a615f244e57b9deaacb3c1dbf
3
+ size 805306651
model-00111-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46f8a420df462bcfdb4c36c449a41906bfff773c5bc128166b32454464f1e7e7
3
+ size 1492046706
model-00129-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f32676ab9623c1bdb564f0536ea982cffbba053276cb098713c5ff5508e9e39
3
+ size 1492046690
model-00131-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0589909821adb6822c9c041af702752e5c5306472eb9baf8697220684c20221b
3
+ size 805306655
model-00134-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2337500fd3564019089370dfa0d1a7eed939ecd74dd5c390ed0101dafccdd40a
3
+ size 9663676576
model-00137-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95cb7938c79ed4d3fed89cc326b7e9ab2fc8fa25e5720b4c77910c81c5213219
3
+ size 805306655
model-00142-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0a3401b583c92d84e6d396eea4a713524cf65989b5ffb14ee5be5462e426d79
3
+ size 9663676577
model-00147-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cffc7c0926001a3768cf402b57f295f6e8ff46d05e354be9b29068b41e9ec337
3
+ size 1492046702
model-00148-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcc42d98d82b699e1d07a3384e53df50456e24da3688b14a1b0fdc6a820737d3
3
+ size 9663676577
model-00170-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fccacebd72294062d732dc9cf20b21d6dcc47399ca2b766dda39e5c623a1787
3
+ size 9663676576
model-00175-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0268856db99ea72f1a1699deb467f55966cbc2e75d11685dc2d8153b407906df
3
+ size 805306651
model-00183-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a60f57ffadfe408a62730fd3a3068d3ccf85ff8101508d5ee52b6e1c54e4412
3
+ size 1492046736
model-00186-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b9ad05fc2a6bf23da3a4b0521a9fbcbf355ef5610745124ea868058ff481340
3
+ size 9663676575
model-00189-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74eb0627a85fc53d6cddbe280dad0f73b63db809831cb77f32ce33f601dd98de
3
+ size 1492046740
model-00203-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cab43738a7f6dc006ddf23d16d8980c39e0eac702898037c40d75eb6e0610343
3
+ size 805306655
model-00211-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8d2ed79d8be21ae63ecc5f48ea98ab6810772386a9be2beeae8064cc0f518da
3
+ size 805306651
model-00214-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88194f80b5312cefc50c356ba29b07101929458fbccfd5339e708068773b6bf1
3
+ size 9663676577
model-00223-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:552d4578560aab8e1ebeb72a00ec1e14237cc92e044e66d50e5e01dcfc676df3
3
+ size 805306651
model-00226-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bda46aad68f4871b42c79229d2185abb7fa19b2fda71d091c7f1667ff658ade
3
+ size 9663676577
model-00229-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d20cdfd5dfe5e475c0b543605a26e5262a06d6917a162aa7a2bef610f5115dcd
3
+ size 805306651
model-00247-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7071dbd90618a32fb59f4fba7e50bf01031764f5fa1b21dc4bb7f3b3e36ca986
3
+ size 805306651
model-00250-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f56323594862355b8edffa2ac40f1e8082d7b3c400a551eb1430d15d5f285c5f
3
+ size 9663676577
model-00255-of-00261.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f04dd548c4aa596ff5052b0a66fcc6f5b031de3f53c90c5295970b7da5882b
3
+ size 1492046714
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<longcat_s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</longcat_s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<longcat_pad>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<longcat_unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenization_llama.py ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2022 EleutherAI and the HuggingFace Inc. team. All rights reserved.
3
+ #
4
+ # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX
5
+ # and OPT implementations in this library. It has been modified from its
6
+ # original forms to accommodate minor architectural differences compared
7
+ # to GPT-NeoX and OPT used by the Meta AI team that trained the model.
8
+ #
9
+ # Licensed under the Apache License, Version 2.0 (the "License");
10
+ # you may not use this file except in compliance with the License.
11
+ # You may obtain a copy of the License at
12
+ #
13
+ # http://www.apache.org/licenses/LICENSE-2.0
14
+ #
15
+ # Unless required by applicable law or agreed to in writing, software
16
+ # distributed under the License is distributed on an "AS IS" BASIS,
17
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ # See the License for the specific language governing permissions and
19
+ # limitations under the License.
20
+
21
+ """Tokenization classes for LLaMA."""
22
+ import os
23
+ from shutil import copyfile
24
+ from typing import Any, Dict, List, Optional, Tuple
25
+
26
+ import sentencepiece as spm
27
+
28
+ from transformers.tokenization_utils import PreTrainedTokenizer
29
+ from transformers.utils import logging
30
+
31
+
32
+ logger = logging.get_logger(__name__)
33
+
34
+ VOCAB_FILES_NAMES = {"vocab_file": "tokenizer.model"}
35
+
36
+ PRETRAINED_VOCAB_FILES_MAP = {}
37
+
38
+
39
+ class LlamaTokenizer(PreTrainedTokenizer):
40
+ """
41
+ Construct a Llama tokenizer. Based on byte-level Byte-Pair-Encoding.
42
+
43
+ Args:
44
+ vocab_file (`str`):
45
+ Path to the vocabulary file.
46
+ """
47
+
48
+ vocab_files_names = VOCAB_FILES_NAMES
49
+ pretrained_vocab_files_map = PRETRAINED_VOCAB_FILES_MAP
50
+ model_input_names = ["input_ids", "attention_mask"]
51
+
52
+ def __init__(
53
+ self,
54
+ vocab_file,
55
+ unk_token="<unk>",
56
+ bos_token="<s>",
57
+ eos_token="</s>",
58
+ sp_model_kwargs: Optional[Dict[str, Any]] = None,
59
+ add_bos_token=True,
60
+ add_eos_token=False,
61
+ decode_with_prefix_space=False,
62
+ **kwargs,
63
+ ):
64
+ self.sp_model_kwargs = {} if sp_model_kwargs is None else sp_model_kwargs
65
+ super().__init__(bos_token=bos_token, eos_token=eos_token, unk_token=unk_token, **kwargs)
66
+ self.vocab_file = vocab_file
67
+ self.add_bos_token = add_bos_token
68
+ self.add_eos_token = add_eos_token
69
+ self.decode_with_prefix_space = decode_with_prefix_space
70
+ self.sp_model = spm.SentencePieceProcessor(**self.sp_model_kwargs)
71
+ self.sp_model.Load(vocab_file)
72
+ self._no_prefix_space_tokens = None
73
+
74
+ """ Initialisation"""
75
+
76
+ @property
77
+ def no_prefix_space_tokens(self):
78
+ if self._no_prefix_space_tokens is None:
79
+ vocab = self.convert_ids_to_tokens(list(range(self.vocab_size)))
80
+ self._no_prefix_space_tokens = {i for i, tok in enumerate(vocab) if not tok.startswith("▁")}
81
+ return self._no_prefix_space_tokens
82
+
83
+ @property
84
+ def vocab_size(self):
85
+ """Returns vocab size"""
86
+ return self.sp_model.get_piece_size()
87
+
88
+ @property
89
+ def bos_token_id(self) -> Optional[int]:
90
+ return self.sp_model.bos_id()
91
+
92
+ @property
93
+ def eos_token_id(self) -> Optional[int]:
94
+ return self.sp_model.eos_id()
95
+
96
+ def get_vocab(self):
97
+ """Returns vocab as a dict"""
98
+ vocab = {self.convert_ids_to_tokens(i): i for i in range(self.vocab_size)}
99
+ vocab.update(self.added_tokens_encoder)
100
+ return vocab
101
+
102
+ def _tokenize(self, text):
103
+ """Returns a tokenized string."""
104
+ return self.sp_model.encode(text, out_type=str)
105
+
106
+ def _convert_token_to_id(self, token):
107
+ """Converts a token (str) in an id using the vocab."""
108
+ return self.sp_model.piece_to_id(token)
109
+
110
+ def _convert_id_to_token(self, index):
111
+ """Converts an index (integer) in a token (str) using the vocab."""
112
+ token = self.sp_model.IdToPiece(index)
113
+ return token
114
+
115
+ def _maybe_add_prefix_space(self, tokens, decoded):
116
+ if tokens and tokens[0] not in self.no_prefix_space_tokens:
117
+ return " " + decoded
118
+ else:
119
+ return decoded
120
+
121
+ def convert_tokens_to_string(self, tokens):
122
+ """Converts a sequence of tokens (string) in a single string."""
123
+ current_sub_tokens = []
124
+ out_string = ""
125
+ prev_is_special = False
126
+ for token in tokens:
127
+ # make sure that special tokens are not decoded using sentencepiece model
128
+ if token in self.all_special_tokens:
129
+ if not prev_is_special:
130
+ out_string += " "
131
+ out_string += self.sp_model.decode(current_sub_tokens) + token
132
+ prev_is_special = True
133
+ current_sub_tokens = []
134
+ else:
135
+ current_sub_tokens.append(token)
136
+ prev_is_special = False
137
+ out_string += self.sp_model.decode(current_sub_tokens)
138
+ out_string = self._maybe_add_prefix_space(tokens=tokens, decoded=out_string)
139
+ return out_string
140
+
141
+ def save_vocabulary(self, save_directory, filename_prefix: Optional[str] = None) -> Tuple[str]:
142
+ """
143
+ Save the vocabulary and special tokens file to a directory.
144
+
145
+ Args:
146
+ save_directory (`str`):
147
+ The directory in which to save the vocabulary.
148
+
149
+ Returns:
150
+ `Tuple(str)`: Paths to the files saved.
151
+ """
152
+ if not os.path.isdir(save_directory):
153
+ logger.error(f"Vocabulary path ({save_directory}) should be a directory")
154
+ return
155
+ out_vocab_file = os.path.join(
156
+ save_directory, (filename_prefix + "-" if filename_prefix else "") + VOCAB_FILES_NAMES["vocab_file"]
157
+ )
158
+
159
+ if os.path.abspath(self.vocab_file) != os.path.abspath(out_vocab_file) and os.path.isfile(self.vocab_file):
160
+ copyfile(self.vocab_file, out_vocab_file)
161
+ elif not os.path.isfile(self.vocab_file):
162
+ with open(out_vocab_file, "wb") as fi:
163
+ content_spiece_model = self.sp_model.serialized_model_proto()
164
+ fi.write(content_spiece_model)
165
+
166
+ return (out_vocab_file,)
167
+
168
+ def build_inputs_with_special_tokens(self, token_ids_0, token_ids_1=None):
169
+ if self.add_bos_token:
170
+ bos_token_ids = [self.bos_token_id]
171
+ else:
172
+ bos_token_ids = []
173
+
174
+ output = bos_token_ids + token_ids_0
175
+
176
+ if token_ids_1 is not None:
177
+ output = output + token_ids_1
178
+
179
+ if self.add_eos_token:
180
+ output = output + [self.eos_token_id]
181
+
182
+ return output
183
+
184
+ def get_special_tokens_mask(
185
+ self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None, already_has_special_tokens: bool = False
186
+ ) -> List[int]:
187
+ """
188
+ Retrieve sequence ids from a token list that has no special tokens added. This method is called when adding
189
+ special tokens using the tokenizer `prepare_for_model` method.
190
+
191
+ Args:
192
+ token_ids_0 (`List[int]`):
193
+ List of IDs.
194
+ token_ids_1 (`List[int]`, *optional*):
195
+ Optional second list of IDs for sequence pairs.
196
+ already_has_special_tokens (`bool`, *optional*, defaults to `False`):
197
+ Whether or not the token list is already formatted with special tokens for the model.
198
+
199
+ Returns:
200
+ `List[int]`: A list of integers in the range [0, 1]: 1 for a special token, 0 for a sequence token.
201
+ """
202
+ if already_has_special_tokens:
203
+ return super().get_special_tokens_mask(
204
+ token_ids_0=token_ids_0, token_ids_1=token_ids_1, already_has_special_tokens=True
205
+ )
206
+
207
+ if token_ids_1 is None:
208
+ return [1] + ([0] * len(token_ids_0)) + [1]
209
+ return [1] + ([0] * len(token_ids_0)) + [1, 1] + ([0] * len(token_ids_1)) + [1]
210
+
211
+ def create_token_type_ids_from_sequences(
212
+ self, token_ids_0: List[int], token_ids_1: Optional[List[int]] = None
213
+ ) -> List[int]:
214
+ """
215
+ Create a mask from the two sequences passed to be used in a sequence-pair classification task. T5 does not make
216
+ use of token type ids, therefore a list of zeros is returned.
217
+
218
+ Args:
219
+ token_ids_0 (`List[int]`):
220
+ List of IDs.
221
+ token_ids_1 (`List[int]`, *optional*):
222
+ Optional second list of IDs for sequence pairs.
223
+
224
+ Returns:
225
+ `List[int]`: List of zeros.
226
+ """
227
+ eos = [self.eos_token_id]
228
+
229
+ if token_ids_1 is None:
230
+ return len(token_ids_0 + eos) * [0]
231
+ return len(token_ids_0 + eos + token_ids_1 + eos) * [0]
tokenizer_config.json ADDED
@@ -0,0 +1,1811 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": true,
4
+ "add_prefix_space": false,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<longcat_unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<longcat_s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</longcat_s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ },
30
+ "3": {
31
+ "content": "<longcat_pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false,
36
+ "special": true
37
+ },
38
+ "4": {
39
+ "content": "<shift_unk>",
40
+ "lstrip": false,
41
+ "normalized": false,
42
+ "rstrip": false,
43
+ "single_word": false,
44
+ "special": true
45
+ },
46
+ "5": {
47
+ "content": "<shift_s>",
48
+ "lstrip": false,
49
+ "normalized": false,
50
+ "rstrip": false,
51
+ "single_word": false,
52
+ "special": true
53
+ },
54
+ "6": {
55
+ "content": "</shift_s>",
56
+ "lstrip": false,
57
+ "normalized": false,
58
+ "rstrip": false,
59
+ "single_word": false,
60
+ "special": true
61
+ },
62
+ "7": {
63
+ "content": "<shift_pad>",
64
+ "lstrip": false,
65
+ "normalized": false,
66
+ "rstrip": false,
67
+ "single_word": false,
68
+ "special": true
69
+ },
70
+ "8": {
71
+ "content": "<mask_0>",
72
+ "lstrip": false,
73
+ "normalized": false,
74
+ "rstrip": false,
75
+ "single_word": false,
76
+ "special": true
77
+ },
78
+ "9": {
79
+ "content": "<reponame>",
80
+ "lstrip": false,
81
+ "normalized": false,
82
+ "rstrip": false,
83
+ "single_word": false,
84
+ "special": true
85
+ },
86
+ "10": {
87
+ "content": "<filename>",
88
+ "lstrip": false,
89
+ "normalized": false,
90
+ "rstrip": false,
91
+ "single_word": false,
92
+ "special": true
93
+ },
94
+ "11": {
95
+ "content": "<gh_stars>",
96
+ "lstrip": false,
97
+ "normalized": false,
98
+ "rstrip": false,
99
+ "single_word": false,
100
+ "special": true
101
+ },
102
+ "12": {
103
+ "content": "<issue_start>",
104
+ "lstrip": false,
105
+ "normalized": false,
106
+ "rstrip": false,
107
+ "single_word": false,
108
+ "special": true
109
+ },
110
+ "13": {
111
+ "content": "<issue_comment>",
112
+ "lstrip": false,
113
+ "normalized": false,
114
+ "rstrip": false,
115
+ "single_word": false,
116
+ "special": true
117
+ },
118
+ "14": {
119
+ "content": "<issue_closed>",
120
+ "lstrip": false,
121
+ "normalized": false,
122
+ "rstrip": false,
123
+ "single_word": false,
124
+ "special": true
125
+ },
126
+ "15": {
127
+ "content": "<jupyter_start>",
128
+ "lstrip": false,
129
+ "normalized": false,
130
+ "rstrip": false,
131
+ "single_word": false,
132
+ "special": true
133
+ },
134
+ "16": {
135
+ "content": "<jupyter_text>",
136
+ "lstrip": false,
137
+ "normalized": false,
138
+ "rstrip": false,
139
+ "single_word": false,
140
+ "special": true
141
+ },
142
+ "17": {
143
+ "content": "<jupyter_code>",
144
+ "lstrip": false,
145
+ "normalized": false,
146
+ "rstrip": false,
147
+ "single_word": false,
148
+ "special": true
149
+ },
150
+ "18": {
151
+ "content": "<jupyter_output>",
152
+ "lstrip": false,
153
+ "normalized": false,
154
+ "rstrip": false,
155
+ "single_word": false,
156
+ "special": true
157
+ },
158
+ "19": {
159
+ "content": "<empty_output>",
160
+ "lstrip": false,
161
+ "normalized": false,
162
+ "rstrip": false,
163
+ "single_word": false,
164
+ "special": true
165
+ },
166
+ "20": {
167
+ "content": "<commit_before>",
168
+ "lstrip": false,
169
+ "normalized": false,
170
+ "rstrip": false,
171
+ "single_word": false,
172
+ "special": true
173
+ },
174
+ "21": {
175
+ "content": "<commit_msg>",
176
+ "lstrip": false,
177
+ "normalized": false,
178
+ "rstrip": false,
179
+ "single_word": false,
180
+ "special": true
181
+ },
182
+ "22": {
183
+ "content": "<commit_after>",
184
+ "lstrip": false,
185
+ "normalized": false,
186
+ "rstrip": false,
187
+ "single_word": false,
188
+ "special": true
189
+ },
190
+ "23": {
191
+ "content": "<program_lang>",
192
+ "lstrip": false,
193
+ "normalized": false,
194
+ "rstrip": false,
195
+ "single_word": false,
196
+ "special": true
197
+ },
198
+ "24": {
199
+ "content": "<|image_placeholder|>",
200
+ "lstrip": false,
201
+ "normalized": false,
202
+ "rstrip": false,
203
+ "single_word": false,
204
+ "special": true
205
+ },
206
+ "25": {
207
+ "content": "<|url_placeholder|>",
208
+ "lstrip": false,
209
+ "normalized": false,
210
+ "rstrip": false,
211
+ "single_word": false,
212
+ "special": true
213
+ },
214
+ "26": {
215
+ "content": "<|hyperlink_placeholder|>",
216
+ "lstrip": false,
217
+ "normalized": false,
218
+ "rstrip": false,
219
+ "single_word": false,
220
+ "special": true
221
+ },
222
+ "27": {
223
+ "content": "<|table_placeholder|>",
224
+ "lstrip": false,
225
+ "normalized": false,
226
+ "rstrip": false,
227
+ "single_word": false,
228
+ "special": true
229
+ },
230
+ "28": {
231
+ "content": "<|equation_placeholder|>",
232
+ "lstrip": false,
233
+ "normalized": false,
234
+ "rstrip": false,
235
+ "single_word": false,
236
+ "special": true
237
+ },
238
+ "29": {
239
+ "content": "<|code_placeholder|>",
240
+ "lstrip": false,
241
+ "normalized": false,
242
+ "rstrip": false,
243
+ "single_word": false,
244
+ "special": true
245
+ },
246
+ "30": {
247
+ "content": "<|reference_placeholder|>",
248
+ "lstrip": false,
249
+ "normalized": false,
250
+ "rstrip": false,
251
+ "single_word": false,
252
+ "special": true
253
+ },
254
+ "31": {
255
+ "content": "<|endoftext|>",
256
+ "lstrip": false,
257
+ "normalized": false,
258
+ "rstrip": false,
259
+ "single_word": false,
260
+ "special": true
261
+ },
262
+ "32": {
263
+ "content": "<fim_prefix>",
264
+ "lstrip": false,
265
+ "normalized": false,
266
+ "rstrip": false,
267
+ "single_word": false,
268
+ "special": true
269
+ },
270
+ "33": {
271
+ "content": "<fim_middle>",
272
+ "lstrip": false,
273
+ "normalized": false,
274
+ "rstrip": false,
275
+ "single_word": false,
276
+ "special": true
277
+ },
278
+ "34": {
279
+ "content": "<fim_suffix>",
280
+ "lstrip": false,
281
+ "normalized": false,
282
+ "rstrip": false,
283
+ "single_word": false,
284
+ "special": true
285
+ },
286
+ "35": {
287
+ "content": "<fim_pad>",
288
+ "lstrip": false,
289
+ "normalized": false,
290
+ "rstrip": false,
291
+ "single_word": false,
292
+ "special": true
293
+ },
294
+ "36": {
295
+ "content": "<longcat_think>",
296
+ "lstrip": false,
297
+ "normalized": false,
298
+ "rstrip": false,
299
+ "single_word": false,
300
+ "special": false
301
+ },
302
+ "37": {
303
+ "content": "</longcat_think>",
304
+ "lstrip": false,
305
+ "normalized": false,
306
+ "rstrip": false,
307
+ "single_word": false,
308
+ "special": false
309
+ },
310
+ "38": {
311
+ "content": "<longcat_answer>",
312
+ "lstrip": false,
313
+ "normalized": false,
314
+ "rstrip": false,
315
+ "single_word": false,
316
+ "special": false
317
+ },
318
+ "39": {
319
+ "content": "</longcat_answer>",
320
+ "lstrip": false,
321
+ "normalized": false,
322
+ "rstrip": false,
323
+ "single_word": false,
324
+ "special": false
325
+ },
326
+ "40": {
327
+ "content": "<longcat_files>",
328
+ "lstrip": false,
329
+ "normalized": false,
330
+ "rstrip": false,
331
+ "single_word": false,
332
+ "special": false
333
+ },
334
+ "41": {
335
+ "content": "</longcat_files>",
336
+ "lstrip": false,
337
+ "normalized": false,
338
+ "rstrip": false,
339
+ "single_word": false,
340
+ "special": false
341
+ },
342
+ "42": {
343
+ "content": "<longcat_tool_call>",
344
+ "lstrip": false,
345
+ "normalized": false,
346
+ "rstrip": false,
347
+ "single_word": false,
348
+ "special": false
349
+ },
350
+ "43": {
351
+ "content": "</longcat_tool_call>",
352
+ "lstrip": false,
353
+ "normalized": false,
354
+ "rstrip": false,
355
+ "single_word": false,
356
+ "special": false
357
+ },
358
+ "44": {
359
+ "content": "<longcat_tool_declare>",
360
+ "lstrip": false,
361
+ "normalized": false,
362
+ "rstrip": false,
363
+ "single_word": false,
364
+ "special": true
365
+ },
366
+ "45": {
367
+ "content": "</longcat_tool_declare>",
368
+ "lstrip": false,
369
+ "normalized": false,
370
+ "rstrip": false,
371
+ "single_word": false,
372
+ "special": true
373
+ },
374
+ "46": {
375
+ "content": "<longcat_system>",
376
+ "lstrip": false,
377
+ "normalized": false,
378
+ "rstrip": false,
379
+ "single_word": false,
380
+ "special": true
381
+ },
382
+ "47": {
383
+ "content": "<longcat_user>",
384
+ "lstrip": false,
385
+ "normalized": false,
386
+ "rstrip": false,
387
+ "single_word": false,
388
+ "special": true
389
+ },
390
+ "48": {
391
+ "content": "<longcat_assistant>",
392
+ "lstrip": false,
393
+ "normalized": false,
394
+ "rstrip": false,
395
+ "single_word": false,
396
+ "special": true
397
+ },
398
+ "49": {
399
+ "content": "<longcat_tool_response>",
400
+ "lstrip": false,
401
+ "normalized": false,
402
+ "rstrip": false,
403
+ "single_word": false,
404
+ "special": false
405
+ },
406
+ "50": {
407
+ "content": "</longcat_tool_response>",
408
+ "lstrip": false,
409
+ "normalized": false,
410
+ "rstrip": false,
411
+ "single_word": false,
412
+ "special": false
413
+ },
414
+ "51": {
415
+ "content": "<longcat_arg_key>",
416
+ "lstrip": false,
417
+ "normalized": false,
418
+ "rstrip": false,
419
+ "single_word": false,
420
+ "special": false
421
+ },
422
+ "52": {
423
+ "content": "</longcat_arg_key>",
424
+ "lstrip": false,
425
+ "normalized": false,
426
+ "rstrip": false,
427
+ "single_word": false,
428
+ "special": false
429
+ },
430
+ "53": {
431
+ "content": "<longcat_arg_value>",
432
+ "lstrip": false,
433
+ "normalized": false,
434
+ "rstrip": false,
435
+ "single_word": false,
436
+ "special": false
437
+ },
438
+ "54": {
439
+ "content": "</longcat_arg_value>",
440
+ "lstrip": false,
441
+ "normalized": false,
442
+ "rstrip": false,
443
+ "single_word": false,
444
+ "special": false
445
+ },
446
+ "55": {
447
+ "content": "<longcat_observation>",
448
+ "lstrip": false,
449
+ "normalized": false,
450
+ "rstrip": false,
451
+ "single_word": false,
452
+ "special": true
453
+ },
454
+ "56": {
455
+ "content": "<table>",
456
+ "lstrip": false,
457
+ "normalized": false,
458
+ "rstrip": false,
459
+ "single_word": false,
460
+ "special": false
461
+ },
462
+ "57": {
463
+ "content": "</table>",
464
+ "lstrip": false,
465
+ "normalized": false,
466
+ "rstrip": false,
467
+ "single_word": false,
468
+ "special": false
469
+ },
470
+ "58": {
471
+ "content": "<td>",
472
+ "lstrip": false,
473
+ "normalized": false,
474
+ "rstrip": false,
475
+ "single_word": false,
476
+ "special": false
477
+ },
478
+ "59": {
479
+ "content": "</td>",
480
+ "lstrip": false,
481
+ "normalized": false,
482
+ "rstrip": false,
483
+ "single_word": false,
484
+ "special": false
485
+ },
486
+ "60": {
487
+ "content": "<tr>",
488
+ "lstrip": false,
489
+ "normalized": false,
490
+ "rstrip": false,
491
+ "single_word": false,
492
+ "special": false
493
+ },
494
+ "61": {
495
+ "content": "</tr>",
496
+ "lstrip": false,
497
+ "normalized": false,
498
+ "rstrip": false,
499
+ "single_word": false,
500
+ "special": false
501
+ },
502
+ "62": {
503
+ "content": "<th>",
504
+ "lstrip": false,
505
+ "normalized": false,
506
+ "rstrip": false,
507
+ "single_word": false,
508
+ "special": false
509
+ },
510
+ "63": {
511
+ "content": "</th>",
512
+ "lstrip": false,
513
+ "normalized": false,
514
+ "rstrip": false,
515
+ "single_word": false,
516
+ "special": false
517
+ },
518
+ "64": {
519
+ "content": "<mask_40>",
520
+ "lstrip": false,
521
+ "normalized": false,
522
+ "rstrip": false,
523
+ "single_word": false,
524
+ "special": true
525
+ },
526
+ "65": {
527
+ "content": "<mask_41>",
528
+ "lstrip": false,
529
+ "normalized": false,
530
+ "rstrip": false,
531
+ "single_word": false,
532
+ "special": true
533
+ },
534
+ "66": {
535
+ "content": "<mask_42>",
536
+ "lstrip": false,
537
+ "normalized": false,
538
+ "rstrip": false,
539
+ "single_word": false,
540
+ "special": true
541
+ },
542
+ "67": {
543
+ "content": "<mask_43>",
544
+ "lstrip": false,
545
+ "normalized": false,
546
+ "rstrip": false,
547
+ "single_word": false,
548
+ "special": true
549
+ },
550
+ "68": {
551
+ "content": "<mask_44>",
552
+ "lstrip": false,
553
+ "normalized": false,
554
+ "rstrip": false,
555
+ "single_word": false,
556
+ "special": true
557
+ },
558
+ "69": {
559
+ "content": "<mask_45>",
560
+ "lstrip": false,
561
+ "normalized": false,
562
+ "rstrip": false,
563
+ "single_word": false,
564
+ "special": true
565
+ },
566
+ "70": {
567
+ "content": "<mask_46>",
568
+ "lstrip": false,
569
+ "normalized": false,
570
+ "rstrip": false,
571
+ "single_word": false,
572
+ "special": true
573
+ },
574
+ "71": {
575
+ "content": "<mask_47>",
576
+ "lstrip": false,
577
+ "normalized": false,
578
+ "rstrip": false,
579
+ "single_word": false,
580
+ "special": true
581
+ },
582
+ "72": {
583
+ "content": "<mask_48>",
584
+ "lstrip": false,
585
+ "normalized": false,
586
+ "rstrip": false,
587
+ "single_word": false,
588
+ "special": true
589
+ },
590
+ "73": {
591
+ "content": "<mask_49>",
592
+ "lstrip": false,
593
+ "normalized": false,
594
+ "rstrip": false,
595
+ "single_word": false,
596
+ "special": true
597
+ },
598
+ "74": {
599
+ "content": "<mask_50>",
600
+ "lstrip": false,
601
+ "normalized": false,
602
+ "rstrip": false,
603
+ "single_word": false,
604
+ "special": true
605
+ },
606
+ "75": {
607
+ "content": "<mask_51>",
608
+ "lstrip": false,
609
+ "normalized": false,
610
+ "rstrip": false,
611
+ "single_word": false,
612
+ "special": true
613
+ },
614
+ "76": {
615
+ "content": "<mask_52>",
616
+ "lstrip": false,
617
+ "normalized": false,
618
+ "rstrip": false,
619
+ "single_word": false,
620
+ "special": true
621
+ },
622
+ "77": {
623
+ "content": "<mask_53>",
624
+ "lstrip": false,
625
+ "normalized": false,
626
+ "rstrip": false,
627
+ "single_word": false,
628
+ "special": true
629
+ },
630
+ "78": {
631
+ "content": "<mask_54>",
632
+ "lstrip": false,
633
+ "normalized": false,
634
+ "rstrip": false,
635
+ "single_word": false,
636
+ "special": true
637
+ },
638
+ "79": {
639
+ "content": "<mask_55>",
640
+ "lstrip": false,
641
+ "normalized": false,
642
+ "rstrip": false,
643
+ "single_word": false,
644
+ "special": true
645
+ },
646
+ "80": {
647
+ "content": "<mask_56>",
648
+ "lstrip": false,
649
+ "normalized": false,
650
+ "rstrip": false,
651
+ "single_word": false,
652
+ "special": true
653
+ },
654
+ "81": {
655
+ "content": "<mask_57>",
656
+ "lstrip": false,
657
+ "normalized": false,
658
+ "rstrip": false,
659
+ "single_word": false,
660
+ "special": true
661
+ },
662
+ "82": {
663
+ "content": "<mask_58>",
664
+ "lstrip": false,
665
+ "normalized": false,
666
+ "rstrip": false,
667
+ "single_word": false,
668
+ "special": true
669
+ },
670
+ "83": {
671
+ "content": "<mask_59>",
672
+ "lstrip": false,
673
+ "normalized": false,
674
+ "rstrip": false,
675
+ "single_word": false,
676
+ "special": true
677
+ },
678
+ "84": {
679
+ "content": "<mask_60>",
680
+ "lstrip": false,
681
+ "normalized": false,
682
+ "rstrip": false,
683
+ "single_word": false,
684
+ "special": true
685
+ },
686
+ "85": {
687
+ "content": "<mask_61>",
688
+ "lstrip": false,
689
+ "normalized": false,
690
+ "rstrip": false,
691
+ "single_word": false,
692
+ "special": true
693
+ },
694
+ "86": {
695
+ "content": "<mask_62>",
696
+ "lstrip": false,
697
+ "normalized": false,
698
+ "rstrip": false,
699
+ "single_word": false,
700
+ "special": true
701
+ },
702
+ "87": {
703
+ "content": "<mask_63>",
704
+ "lstrip": false,
705
+ "normalized": false,
706
+ "rstrip": false,
707
+ "single_word": false,
708
+ "special": true
709
+ },
710
+ "88": {
711
+ "content": "<mask_64>",
712
+ "lstrip": false,
713
+ "normalized": false,
714
+ "rstrip": false,
715
+ "single_word": false,
716
+ "special": true
717
+ },
718
+ "89": {
719
+ "content": "<mask_65>",
720
+ "lstrip": false,
721
+ "normalized": false,
722
+ "rstrip": false,
723
+ "single_word": false,
724
+ "special": true
725
+ },
726
+ "90": {
727
+ "content": "<mask_66>",
728
+ "lstrip": false,
729
+ "normalized": false,
730
+ "rstrip": false,
731
+ "single_word": false,
732
+ "special": true
733
+ },
734
+ "91": {
735
+ "content": "<mask_67>",
736
+ "lstrip": false,
737
+ "normalized": false,
738
+ "rstrip": false,
739
+ "single_word": false,
740
+ "special": true
741
+ },
742
+ "92": {
743
+ "content": "<mask_68>",
744
+ "lstrip": false,
745
+ "normalized": false,
746
+ "rstrip": false,
747
+ "single_word": false,
748
+ "special": true
749
+ },
750
+ "93": {
751
+ "content": "<mask_69>",
752
+ "lstrip": false,
753
+ "normalized": false,
754
+ "rstrip": false,
755
+ "single_word": false,
756
+ "special": true
757
+ },
758
+ "94": {
759
+ "content": "<mask_70>",
760
+ "lstrip": false,
761
+ "normalized": false,
762
+ "rstrip": false,
763
+ "single_word": false,
764
+ "special": true
765
+ },
766
+ "95": {
767
+ "content": "<mask_71>",
768
+ "lstrip": false,
769
+ "normalized": false,
770
+ "rstrip": false,
771
+ "single_word": false,
772
+ "special": true
773
+ },
774
+ "96": {
775
+ "content": "<mask_72>",
776
+ "lstrip": false,
777
+ "normalized": false,
778
+ "rstrip": false,
779
+ "single_word": false,
780
+ "special": true
781
+ },
782
+ "97": {
783
+ "content": "<mask_73>",
784
+ "lstrip": false,
785
+ "normalized": false,
786
+ "rstrip": false,
787
+ "single_word": false,
788
+ "special": true
789
+ },
790
+ "98": {
791
+ "content": "<mask_74>",
792
+ "lstrip": false,
793
+ "normalized": false,
794
+ "rstrip": false,
795
+ "single_word": false,
796
+ "special": true
797
+ },
798
+ "99": {
799
+ "content": "<mask_75>",
800
+ "lstrip": false,
801
+ "normalized": false,
802
+ "rstrip": false,
803
+ "single_word": false,
804
+ "special": true
805
+ },
806
+ "100": {
807
+ "content": "<mask_76>",
808
+ "lstrip": false,
809
+ "normalized": false,
810
+ "rstrip": false,
811
+ "single_word": false,
812
+ "special": true
813
+ },
814
+ "101": {
815
+ "content": "<mask_77>",
816
+ "lstrip": false,
817
+ "normalized": false,
818
+ "rstrip": false,
819
+ "single_word": false,
820
+ "special": true
821
+ },
822
+ "102": {
823
+ "content": "<mask_78>",
824
+ "lstrip": false,
825
+ "normalized": false,
826
+ "rstrip": false,
827
+ "single_word": false,
828
+ "special": true
829
+ },
830
+ "103": {
831
+ "content": "<mask_79>",
832
+ "lstrip": false,
833
+ "normalized": false,
834
+ "rstrip": false,
835
+ "single_word": false,
836
+ "special": true
837
+ },
838
+ "104": {
839
+ "content": "<mask_80>",
840
+ "lstrip": false,
841
+ "normalized": false,
842
+ "rstrip": false,
843
+ "single_word": false,
844
+ "special": true
845
+ },
846
+ "105": {
847
+ "content": "<mask_81>",
848
+ "lstrip": false,
849
+ "normalized": false,
850
+ "rstrip": false,
851
+ "single_word": false,
852
+ "special": true
853
+ },
854
+ "106": {
855
+ "content": "<mask_82>",
856
+ "lstrip": false,
857
+ "normalized": false,
858
+ "rstrip": false,
859
+ "single_word": false,
860
+ "special": true
861
+ },
862
+ "107": {
863
+ "content": "<mask_83>",
864
+ "lstrip": false,
865
+ "normalized": false,
866
+ "rstrip": false,
867
+ "single_word": false,
868
+ "special": true
869
+ },
870
+ "108": {
871
+ "content": "<mask_84>",
872
+ "lstrip": false,
873
+ "normalized": false,
874
+ "rstrip": false,
875
+ "single_word": false,
876
+ "special": true
877
+ },
878
+ "109": {
879
+ "content": "<mask_85>",
880
+ "lstrip": false,
881
+ "normalized": false,
882
+ "rstrip": false,
883
+ "single_word": false,
884
+ "special": true
885
+ },
886
+ "110": {
887
+ "content": "<mask_86>",
888
+ "lstrip": false,
889
+ "normalized": false,
890
+ "rstrip": false,
891
+ "single_word": false,
892
+ "special": true
893
+ },
894
+ "111": {
895
+ "content": "<mask_87>",
896
+ "lstrip": false,
897
+ "normalized": false,
898
+ "rstrip": false,
899
+ "single_word": false,
900
+ "special": true
901
+ },
902
+ "112": {
903
+ "content": "<mask_88>",
904
+ "lstrip": false,
905
+ "normalized": false,
906
+ "rstrip": false,
907
+ "single_word": false,
908
+ "special": true
909
+ },
910
+ "113": {
911
+ "content": "<mask_89>",
912
+ "lstrip": false,
913
+ "normalized": false,
914
+ "rstrip": false,
915
+ "single_word": false,
916
+ "special": true
917
+ },
918
+ "114": {
919
+ "content": "<mask_90>",
920
+ "lstrip": false,
921
+ "normalized": false,
922
+ "rstrip": false,
923
+ "single_word": false,
924
+ "special": true
925
+ },
926
+ "115": {
927
+ "content": "<mask_91>",
928
+ "lstrip": false,
929
+ "normalized": false,
930
+ "rstrip": false,
931
+ "single_word": false,
932
+ "special": true
933
+ },
934
+ "116": {
935
+ "content": "<mask_92>",
936
+ "lstrip": false,
937
+ "normalized": false,
938
+ "rstrip": false,
939
+ "single_word": false,
940
+ "special": true
941
+ },
942
+ "117": {
943
+ "content": "<mask_93>",
944
+ "lstrip": false,
945
+ "normalized": false,
946
+ "rstrip": false,
947
+ "single_word": false,
948
+ "special": true
949
+ },
950
+ "118": {
951
+ "content": "<mask_94>",
952
+ "lstrip": false,
953
+ "normalized": false,
954
+ "rstrip": false,
955
+ "single_word": false,
956
+ "special": true
957
+ },
958
+ "119": {
959
+ "content": "<mask_95>",
960
+ "lstrip": false,
961
+ "normalized": false,
962
+ "rstrip": false,
963
+ "single_word": false,
964
+ "special": true
965
+ },
966
+ "120": {
967
+ "content": "<mask_96>",
968
+ "lstrip": false,
969
+ "normalized": false,
970
+ "rstrip": false,
971
+ "single_word": false,
972
+ "special": true
973
+ },
974
+ "121": {
975
+ "content": "<mask_97>",
976
+ "lstrip": false,
977
+ "normalized": false,
978
+ "rstrip": false,
979
+ "single_word": false,
980
+ "special": true
981
+ },
982
+ "122": {
983
+ "content": "<mask_98>",
984
+ "lstrip": false,
985
+ "normalized": false,
986
+ "rstrip": false,
987
+ "single_word": false,
988
+ "special": true
989
+ },
990
+ "123": {
991
+ "content": "<mask_99>",
992
+ "lstrip": false,
993
+ "normalized": false,
994
+ "rstrip": false,
995
+ "single_word": false,
996
+ "special": true
997
+ },
998
+ "124": {
999
+ "content": "<mask_100>",
1000
+ "lstrip": false,
1001
+ "normalized": false,
1002
+ "rstrip": false,
1003
+ "single_word": false,
1004
+ "special": true
1005
+ },
1006
+ "125": {
1007
+ "content": "<mask_101>",
1008
+ "lstrip": false,
1009
+ "normalized": false,
1010
+ "rstrip": false,
1011
+ "single_word": false,
1012
+ "special": true
1013
+ },
1014
+ "126": {
1015
+ "content": "<mask_102>",
1016
+ "lstrip": false,
1017
+ "normalized": false,
1018
+ "rstrip": false,
1019
+ "single_word": false,
1020
+ "special": true
1021
+ },
1022
+ "127": {
1023
+ "content": "<mask_103>",
1024
+ "lstrip": false,
1025
+ "normalized": false,
1026
+ "rstrip": false,
1027
+ "single_word": false,
1028
+ "special": true
1029
+ },
1030
+ "128": {
1031
+ "content": "<mask_104>",
1032
+ "lstrip": false,
1033
+ "normalized": false,
1034
+ "rstrip": false,
1035
+ "single_word": false,
1036
+ "special": true
1037
+ },
1038
+ "129": {
1039
+ "content": "<mask_105>",
1040
+ "lstrip": false,
1041
+ "normalized": false,
1042
+ "rstrip": false,
1043
+ "single_word": false,
1044
+ "special": true
1045
+ },
1046
+ "130": {
1047
+ "content": "<mask_106>",
1048
+ "lstrip": false,
1049
+ "normalized": false,
1050
+ "rstrip": false,
1051
+ "single_word": false,
1052
+ "special": true
1053
+ },
1054
+ "131": {
1055
+ "content": "<mask_107>",
1056
+ "lstrip": false,
1057
+ "normalized": false,
1058
+ "rstrip": false,
1059
+ "single_word": false,
1060
+ "special": true
1061
+ },
1062
+ "132": {
1063
+ "content": "<mask_108>",
1064
+ "lstrip": false,
1065
+ "normalized": false,
1066
+ "rstrip": false,
1067
+ "single_word": false,
1068
+ "special": true
1069
+ },
1070
+ "133": {
1071
+ "content": "<mask_109>",
1072
+ "lstrip": false,
1073
+ "normalized": false,
1074
+ "rstrip": false,
1075
+ "single_word": false,
1076
+ "special": true
1077
+ },
1078
+ "134": {
1079
+ "content": "<mask_110>",
1080
+ "lstrip": false,
1081
+ "normalized": false,
1082
+ "rstrip": false,
1083
+ "single_word": false,
1084
+ "special": true
1085
+ },
1086
+ "135": {
1087
+ "content": "<mask_111>",
1088
+ "lstrip": false,
1089
+ "normalized": false,
1090
+ "rstrip": false,
1091
+ "single_word": false,
1092
+ "special": true
1093
+ },
1094
+ "136": {
1095
+ "content": "<mask_112>",
1096
+ "lstrip": false,
1097
+ "normalized": false,
1098
+ "rstrip": false,
1099
+ "single_word": false,
1100
+ "special": true
1101
+ },
1102
+ "137": {
1103
+ "content": "<mask_113>",
1104
+ "lstrip": false,
1105
+ "normalized": false,
1106
+ "rstrip": false,
1107
+ "single_word": false,
1108
+ "special": true
1109
+ },
1110
+ "138": {
1111
+ "content": "<mask_114>",
1112
+ "lstrip": false,
1113
+ "normalized": false,
1114
+ "rstrip": false,
1115
+ "single_word": false,
1116
+ "special": true
1117
+ },
1118
+ "139": {
1119
+ "content": "<mask_115>",
1120
+ "lstrip": false,
1121
+ "normalized": false,
1122
+ "rstrip": false,
1123
+ "single_word": false,
1124
+ "special": true
1125
+ },
1126
+ "140": {
1127
+ "content": "<mask_116>",
1128
+ "lstrip": false,
1129
+ "normalized": false,
1130
+ "rstrip": false,
1131
+ "single_word": false,
1132
+ "special": true
1133
+ },
1134
+ "141": {
1135
+ "content": "<mask_117>",
1136
+ "lstrip": false,
1137
+ "normalized": false,
1138
+ "rstrip": false,
1139
+ "single_word": false,
1140
+ "special": true
1141
+ },
1142
+ "142": {
1143
+ "content": "<mask_118>",
1144
+ "lstrip": false,
1145
+ "normalized": false,
1146
+ "rstrip": false,
1147
+ "single_word": false,
1148
+ "special": true
1149
+ },
1150
+ "143": {
1151
+ "content": "<mask_119>",
1152
+ "lstrip": false,
1153
+ "normalized": false,
1154
+ "rstrip": false,
1155
+ "single_word": false,
1156
+ "special": true
1157
+ },
1158
+ "144": {
1159
+ "content": "<mask_120>",
1160
+ "lstrip": false,
1161
+ "normalized": false,
1162
+ "rstrip": false,
1163
+ "single_word": false,
1164
+ "special": true
1165
+ },
1166
+ "145": {
1167
+ "content": "<mask_121>",
1168
+ "lstrip": false,
1169
+ "normalized": false,
1170
+ "rstrip": false,
1171
+ "single_word": false,
1172
+ "special": true
1173
+ },
1174
+ "146": {
1175
+ "content": "<mask_122>",
1176
+ "lstrip": false,
1177
+ "normalized": false,
1178
+ "rstrip": false,
1179
+ "single_word": false,
1180
+ "special": true
1181
+ },
1182
+ "147": {
1183
+ "content": "<mask_123>",
1184
+ "lstrip": false,
1185
+ "normalized": false,
1186
+ "rstrip": false,
1187
+ "single_word": false,
1188
+ "special": true
1189
+ },
1190
+ "148": {
1191
+ "content": "<mask_124>",
1192
+ "lstrip": false,
1193
+ "normalized": false,
1194
+ "rstrip": false,
1195
+ "single_word": false,
1196
+ "special": true
1197
+ },
1198
+ "149": {
1199
+ "content": "<mask_125>",
1200
+ "lstrip": false,
1201
+ "normalized": false,
1202
+ "rstrip": false,
1203
+ "single_word": false,
1204
+ "special": true
1205
+ },
1206
+ "150": {
1207
+ "content": "<mask_126>",
1208
+ "lstrip": false,
1209
+ "normalized": false,
1210
+ "rstrip": false,
1211
+ "single_word": false,
1212
+ "special": true
1213
+ },
1214
+ "151": {
1215
+ "content": "<mask_127>",
1216
+ "lstrip": false,
1217
+ "normalized": false,
1218
+ "rstrip": false,
1219
+ "single_word": false,
1220
+ "special": true
1221
+ },
1222
+ "152": {
1223
+ "content": "<mask_128>",
1224
+ "lstrip": false,
1225
+ "normalized": false,
1226
+ "rstrip": false,
1227
+ "single_word": false,
1228
+ "special": true
1229
+ },
1230
+ "153": {
1231
+ "content": "<mask_129>",
1232
+ "lstrip": false,
1233
+ "normalized": false,
1234
+ "rstrip": false,
1235
+ "single_word": false,
1236
+ "special": true
1237
+ },
1238
+ "154": {
1239
+ "content": "<mask_130>",
1240
+ "lstrip": false,
1241
+ "normalized": false,
1242
+ "rstrip": false,
1243
+ "single_word": false,
1244
+ "special": true
1245
+ },
1246
+ "155": {
1247
+ "content": "<mask_131>",
1248
+ "lstrip": false,
1249
+ "normalized": false,
1250
+ "rstrip": false,
1251
+ "single_word": false,
1252
+ "special": true
1253
+ },
1254
+ "156": {
1255
+ "content": "<mask_132>",
1256
+ "lstrip": false,
1257
+ "normalized": false,
1258
+ "rstrip": false,
1259
+ "single_word": false,
1260
+ "special": true
1261
+ },
1262
+ "157": {
1263
+ "content": "<mask_133>",
1264
+ "lstrip": false,
1265
+ "normalized": false,
1266
+ "rstrip": false,
1267
+ "single_word": false,
1268
+ "special": true
1269
+ },
1270
+ "158": {
1271
+ "content": "<mask_134>",
1272
+ "lstrip": false,
1273
+ "normalized": false,
1274
+ "rstrip": false,
1275
+ "single_word": false,
1276
+ "special": true
1277
+ },
1278
+ "159": {
1279
+ "content": "<mask_135>",
1280
+ "lstrip": false,
1281
+ "normalized": false,
1282
+ "rstrip": false,
1283
+ "single_word": false,
1284
+ "special": true
1285
+ },
1286
+ "160": {
1287
+ "content": "<mask_136>",
1288
+ "lstrip": false,
1289
+ "normalized": false,
1290
+ "rstrip": false,
1291
+ "single_word": false,
1292
+ "special": true
1293
+ },
1294
+ "161": {
1295
+ "content": "<mask_137>",
1296
+ "lstrip": false,
1297
+ "normalized": false,
1298
+ "rstrip": false,
1299
+ "single_word": false,
1300
+ "special": true
1301
+ },
1302
+ "162": {
1303
+ "content": "<mask_138>",
1304
+ "lstrip": false,
1305
+ "normalized": false,
1306
+ "rstrip": false,
1307
+ "single_word": false,
1308
+ "special": true
1309
+ },
1310
+ "163": {
1311
+ "content": "<mask_139>",
1312
+ "lstrip": false,
1313
+ "normalized": false,
1314
+ "rstrip": false,
1315
+ "single_word": false,
1316
+ "special": true
1317
+ },
1318
+ "164": {
1319
+ "content": "<mask_140>",
1320
+ "lstrip": false,
1321
+ "normalized": false,
1322
+ "rstrip": false,
1323
+ "single_word": false,
1324
+ "special": true
1325
+ },
1326
+ "165": {
1327
+ "content": "<mask_141>",
1328
+ "lstrip": false,
1329
+ "normalized": false,
1330
+ "rstrip": false,
1331
+ "single_word": false,
1332
+ "special": true
1333
+ },
1334
+ "166": {
1335
+ "content": "<mask_142>",
1336
+ "lstrip": false,
1337
+ "normalized": false,
1338
+ "rstrip": false,
1339
+ "single_word": false,
1340
+ "special": true
1341
+ },
1342
+ "167": {
1343
+ "content": "<mask_143>",
1344
+ "lstrip": false,
1345
+ "normalized": false,
1346
+ "rstrip": false,
1347
+ "single_word": false,
1348
+ "special": true
1349
+ },
1350
+ "168": {
1351
+ "content": "<mask_144>",
1352
+ "lstrip": false,
1353
+ "normalized": false,
1354
+ "rstrip": false,
1355
+ "single_word": false,
1356
+ "special": true
1357
+ },
1358
+ "169": {
1359
+ "content": "<mask_145>",
1360
+ "lstrip": false,
1361
+ "normalized": false,
1362
+ "rstrip": false,
1363
+ "single_word": false,
1364
+ "special": true
1365
+ },
1366
+ "170": {
1367
+ "content": "<mask_146>",
1368
+ "lstrip": false,
1369
+ "normalized": false,
1370
+ "rstrip": false,
1371
+ "single_word": false,
1372
+ "special": true
1373
+ },
1374
+ "171": {
1375
+ "content": "<mask_147>",
1376
+ "lstrip": false,
1377
+ "normalized": false,
1378
+ "rstrip": false,
1379
+ "single_word": false,
1380
+ "special": true
1381
+ },
1382
+ "172": {
1383
+ "content": "<mask_148>",
1384
+ "lstrip": false,
1385
+ "normalized": false,
1386
+ "rstrip": false,
1387
+ "single_word": false,
1388
+ "special": true
1389
+ },
1390
+ "173": {
1391
+ "content": "<mask_149>",
1392
+ "lstrip": false,
1393
+ "normalized": false,
1394
+ "rstrip": false,
1395
+ "single_word": false,
1396
+ "special": true
1397
+ },
1398
+ "174": {
1399
+ "content": "<mask_150>",
1400
+ "lstrip": false,
1401
+ "normalized": false,
1402
+ "rstrip": false,
1403
+ "single_word": false,
1404
+ "special": true
1405
+ },
1406
+ "175": {
1407
+ "content": "<mask_151>",
1408
+ "lstrip": false,
1409
+ "normalized": false,
1410
+ "rstrip": false,
1411
+ "single_word": false,
1412
+ "special": true
1413
+ },
1414
+ "176": {
1415
+ "content": "<mask_152>",
1416
+ "lstrip": false,
1417
+ "normalized": false,
1418
+ "rstrip": false,
1419
+ "single_word": false,
1420
+ "special": true
1421
+ },
1422
+ "177": {
1423
+ "content": "<mask_153>",
1424
+ "lstrip": false,
1425
+ "normalized": false,
1426
+ "rstrip": false,
1427
+ "single_word": false,
1428
+ "special": true
1429
+ },
1430
+ "178": {
1431
+ "content": "<mask_154>",
1432
+ "lstrip": false,
1433
+ "normalized": false,
1434
+ "rstrip": false,
1435
+ "single_word": false,
1436
+ "special": true
1437
+ },
1438
+ "179": {
1439
+ "content": "<mask_155>",
1440
+ "lstrip": false,
1441
+ "normalized": false,
1442
+ "rstrip": false,
1443
+ "single_word": false,
1444
+ "special": true
1445
+ },
1446
+ "180": {
1447
+ "content": "<mask_156>",
1448
+ "lstrip": false,
1449
+ "normalized": false,
1450
+ "rstrip": false,
1451
+ "single_word": false,
1452
+ "special": true
1453
+ },
1454
+ "181": {
1455
+ "content": "<mask_157>",
1456
+ "lstrip": false,
1457
+ "normalized": false,
1458
+ "rstrip": false,
1459
+ "single_word": false,
1460
+ "special": true
1461
+ },
1462
+ "182": {
1463
+ "content": "<mask_158>",
1464
+ "lstrip": false,
1465
+ "normalized": false,
1466
+ "rstrip": false,
1467
+ "single_word": false,
1468
+ "special": true
1469
+ },
1470
+ "183": {
1471
+ "content": "<mask_159>",
1472
+ "lstrip": false,
1473
+ "normalized": false,
1474
+ "rstrip": false,
1475
+ "single_word": false,
1476
+ "special": true
1477
+ },
1478
+ "184": {
1479
+ "content": "<mask_160>",
1480
+ "lstrip": false,
1481
+ "normalized": false,
1482
+ "rstrip": false,
1483
+ "single_word": false,
1484
+ "special": true
1485
+ },
1486
+ "185": {
1487
+ "content": "<mask_161>",
1488
+ "lstrip": false,
1489
+ "normalized": false,
1490
+ "rstrip": false,
1491
+ "single_word": false,
1492
+ "special": true
1493
+ },
1494
+ "186": {
1495
+ "content": "<mask_162>",
1496
+ "lstrip": false,
1497
+ "normalized": false,
1498
+ "rstrip": false,
1499
+ "single_word": false,
1500
+ "special": true
1501
+ },
1502
+ "187": {
1503
+ "content": "<mask_163>",
1504
+ "lstrip": false,
1505
+ "normalized": false,
1506
+ "rstrip": false,
1507
+ "single_word": false,
1508
+ "special": true
1509
+ },
1510
+ "188": {
1511
+ "content": "<mask_164>",
1512
+ "lstrip": false,
1513
+ "normalized": false,
1514
+ "rstrip": false,
1515
+ "single_word": false,
1516
+ "special": true
1517
+ },
1518
+ "189": {
1519
+ "content": "<mask_165>",
1520
+ "lstrip": false,
1521
+ "normalized": false,
1522
+ "rstrip": false,
1523
+ "single_word": false,
1524
+ "special": true
1525
+ },
1526
+ "190": {
1527
+ "content": "<mask_166>",
1528
+ "lstrip": false,
1529
+ "normalized": false,
1530
+ "rstrip": false,
1531
+ "single_word": false,
1532
+ "special": true
1533
+ },
1534
+ "191": {
1535
+ "content": "<mask_167>",
1536
+ "lstrip": false,
1537
+ "normalized": false,
1538
+ "rstrip": false,
1539
+ "single_word": false,
1540
+ "special": true
1541
+ },
1542
+ "192": {
1543
+ "content": "<mask_168>",
1544
+ "lstrip": false,
1545
+ "normalized": false,
1546
+ "rstrip": false,
1547
+ "single_word": false,
1548
+ "special": true
1549
+ },
1550
+ "193": {
1551
+ "content": "<mask_169>",
1552
+ "lstrip": false,
1553
+ "normalized": false,
1554
+ "rstrip": false,
1555
+ "single_word": false,
1556
+ "special": true
1557
+ },
1558
+ "194": {
1559
+ "content": "<mask_170>",
1560
+ "lstrip": false,
1561
+ "normalized": false,
1562
+ "rstrip": false,
1563
+ "single_word": false,
1564
+ "special": true
1565
+ },
1566
+ "195": {
1567
+ "content": "<mask_171>",
1568
+ "lstrip": false,
1569
+ "normalized": false,
1570
+ "rstrip": false,
1571
+ "single_word": false,
1572
+ "special": true
1573
+ },
1574
+ "196": {
1575
+ "content": "<mask_172>",
1576
+ "lstrip": false,
1577
+ "normalized": false,
1578
+ "rstrip": false,
1579
+ "single_word": false,
1580
+ "special": true
1581
+ },
1582
+ "197": {
1583
+ "content": "<mask_173>",
1584
+ "lstrip": false,
1585
+ "normalized": false,
1586
+ "rstrip": false,
1587
+ "single_word": false,
1588
+ "special": true
1589
+ },
1590
+ "198": {
1591
+ "content": "<mask_174>",
1592
+ "lstrip": false,
1593
+ "normalized": false,
1594
+ "rstrip": false,
1595
+ "single_word": false,
1596
+ "special": true
1597
+ },
1598
+ "199": {
1599
+ "content": "<mask_175>",
1600
+ "lstrip": false,
1601
+ "normalized": false,
1602
+ "rstrip": false,
1603
+ "single_word": false,
1604
+ "special": true
1605
+ },
1606
+ "200": {
1607
+ "content": "<mask_176>",
1608
+ "lstrip": false,
1609
+ "normalized": false,
1610
+ "rstrip": false,
1611
+ "single_word": false,
1612
+ "special": true
1613
+ },
1614
+ "201": {
1615
+ "content": "<mask_177>",
1616
+ "lstrip": false,
1617
+ "normalized": false,
1618
+ "rstrip": false,
1619
+ "single_word": false,
1620
+ "special": true
1621
+ },
1622
+ "202": {
1623
+ "content": "<mask_178>",
1624
+ "lstrip": false,
1625
+ "normalized": false,
1626
+ "rstrip": false,
1627
+ "single_word": false,
1628
+ "special": true
1629
+ },
1630
+ "203": {
1631
+ "content": "<mask_179>",
1632
+ "lstrip": false,
1633
+ "normalized": false,
1634
+ "rstrip": false,
1635
+ "single_word": false,
1636
+ "special": true
1637
+ },
1638
+ "204": {
1639
+ "content": "<mask_180>",
1640
+ "lstrip": false,
1641
+ "normalized": false,
1642
+ "rstrip": false,
1643
+ "single_word": false,
1644
+ "special": true
1645
+ },
1646
+ "205": {
1647
+ "content": "<mask_181>",
1648
+ "lstrip": false,
1649
+ "normalized": false,
1650
+ "rstrip": false,
1651
+ "single_word": false,
1652
+ "special": true
1653
+ },
1654
+ "206": {
1655
+ "content": "<mask_182>",
1656
+ "lstrip": false,
1657
+ "normalized": false,
1658
+ "rstrip": false,
1659
+ "single_word": false,
1660
+ "special": true
1661
+ },
1662
+ "207": {
1663
+ "content": "<mask_183>",
1664
+ "lstrip": false,
1665
+ "normalized": false,
1666
+ "rstrip": false,
1667
+ "single_word": false,
1668
+ "special": true
1669
+ },
1670
+ "208": {
1671
+ "content": "<mask_184>",
1672
+ "lstrip": false,
1673
+ "normalized": false,
1674
+ "rstrip": false,
1675
+ "single_word": false,
1676
+ "special": true
1677
+ },
1678
+ "209": {
1679
+ "content": "<mask_185>",
1680
+ "lstrip": false,
1681
+ "normalized": false,
1682
+ "rstrip": false,
1683
+ "single_word": false,
1684
+ "special": true
1685
+ },
1686
+ "210": {
1687
+ "content": "<mask_186>",
1688
+ "lstrip": false,
1689
+ "normalized": false,
1690
+ "rstrip": false,
1691
+ "single_word": false,
1692
+ "special": true
1693
+ },
1694
+ "211": {
1695
+ "content": "<mask_187>",
1696
+ "lstrip": false,
1697
+ "normalized": false,
1698
+ "rstrip": false,
1699
+ "single_word": false,
1700
+ "special": true
1701
+ },
1702
+ "212": {
1703
+ "content": "<mask_188>",
1704
+ "lstrip": false,
1705
+ "normalized": false,
1706
+ "rstrip": false,
1707
+ "single_word": false,
1708
+ "special": true
1709
+ },
1710
+ "213": {
1711
+ "content": "<mask_189>",
1712
+ "lstrip": false,
1713
+ "normalized": false,
1714
+ "rstrip": false,
1715
+ "single_word": false,
1716
+ "special": true
1717
+ },
1718
+ "214": {
1719
+ "content": "<mask_190>",
1720
+ "lstrip": false,
1721
+ "normalized": false,
1722
+ "rstrip": false,
1723
+ "single_word": false,
1724
+ "special": true
1725
+ },
1726
+ "215": {
1727
+ "content": "<mask_191>",
1728
+ "lstrip": false,
1729
+ "normalized": false,
1730
+ "rstrip": false,
1731
+ "single_word": false,
1732
+ "special": true
1733
+ },
1734
+ "216": {
1735
+ "content": "<mask_192>",
1736
+ "lstrip": false,
1737
+ "normalized": false,
1738
+ "rstrip": false,
1739
+ "single_word": false,
1740
+ "special": true
1741
+ },
1742
+ "217": {
1743
+ "content": "<mask_193>",
1744
+ "lstrip": false,
1745
+ "normalized": false,
1746
+ "rstrip": false,
1747
+ "single_word": false,
1748
+ "special": true
1749
+ },
1750
+ "218": {
1751
+ "content": "<mask_194>",
1752
+ "lstrip": false,
1753
+ "normalized": false,
1754
+ "rstrip": false,
1755
+ "single_word": false,
1756
+ "special": true
1757
+ },
1758
+ "219": {
1759
+ "content": "<mask_195>",
1760
+ "lstrip": false,
1761
+ "normalized": false,
1762
+ "rstrip": false,
1763
+ "single_word": false,
1764
+ "special": true
1765
+ },
1766
+ "220": {
1767
+ "content": "<mask_196>",
1768
+ "lstrip": false,
1769
+ "normalized": false,
1770
+ "rstrip": false,
1771
+ "single_word": false,
1772
+ "special": true
1773
+ },
1774
+ "221": {
1775
+ "content": "<mask_197>",
1776
+ "lstrip": false,
1777
+ "normalized": false,
1778
+ "rstrip": false,
1779
+ "single_word": false,
1780
+ "special": true
1781
+ },
1782
+ "222": {
1783
+ "content": "<mask_198>",
1784
+ "lstrip": false,
1785
+ "normalized": false,
1786
+ "rstrip": false,
1787
+ "single_word": false,
1788
+ "special": true
1789
+ },
1790
+ "223": {
1791
+ "content": "<mask_199>",
1792
+ "lstrip": false,
1793
+ "normalized": false,
1794
+ "rstrip": false,
1795
+ "single_word": false,
1796
+ "special": true
1797
+ }
1798
+ },
1799
+ "bos_token": "<longcat_s>",
1800
+ "clean_up_tokenization_spaces": false,
1801
+ "eos_token": "</longcat_s>",
1802
+ "extra_special_tokens": {},
1803
+ "merges_file": null,
1804
+ "model_max_length": 131072,
1805
+ "pad_token": "<longcat_pad>",
1806
+ "sp_model_kwargs": {},
1807
+ "tokenizer_class": "BloomTokenizer",
1808
+ "tool_parser_type": "longcat",
1809
+ "unk_token": "<longcat_unk>",
1810
+ "vocab_file": null
1811
+ }