yujiepan commited on
Commit
a52c335
·
verified ·
1 Parent(s): 363d569

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ pipeline_tag: text-generation
4
+ inference: true
5
+ widget:
6
+ - text: Hello!
7
+ example_title: Hello world
8
+ group: Python
9
+ base_model:
10
+ - KORMo-Team/KORMo-10B-sft
11
+ ---
12
+
13
+ This tiny model is intended for debugging. It is randomly initialized using the configuration adapted from [KORMo-Team/KORMo-10B-sft](https://huggingface.co/KORMo-Team/KORMo-10B-sft).
14
+
15
+ ### Example usage:
16
+
17
+ ```python
18
+ import torch
19
+ from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
20
+
21
+ model_id = "tiny-random/kormo"
22
+ tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
23
+ model = AutoModelForCausalLM.from_pretrained(
24
+ model_id,
25
+ torch_dtype=torch.bfloat16,
26
+ trust_remote_code=True,
27
+ )
28
+ pipe = pipeline('text-generation', model=model, tokenizer=tokenizer, trust_remote_code=True)
29
+ print(pipe('Write an article about Artificial Intelligence.'))
30
+ ```
31
+
32
+ ### Codes to create this repo:
33
+
34
+ ```python
35
+ import json
36
+ from pathlib import Path
37
+
38
+ import accelerate
39
+ import torch
40
+ from huggingface_hub import file_exists, hf_hub_download
41
+ from transformers import (
42
+ AutoConfig,
43
+ AutoModelForCausalLM,
44
+ AutoTokenizer,
45
+ GenerationConfig,
46
+ set_seed,
47
+ )
48
+
49
+ source_model_id = "KORMo-Team/KORMo-10B-sft"
50
+ save_folder = "/tmp/tiny-random/kormo"
51
+
52
+ processor = AutoTokenizer.from_pretrained(source_model_id)
53
+ processor.save_pretrained(save_folder)
54
+
55
+ with open(hf_hub_download(source_model_id, filename='config.json', repo_type='model'), 'r', encoding='utf-8') as f:
56
+ config_json = json.load(f)
57
+ for k, v in config_json['auto_map'].items():
58
+ config_json['auto_map'][k] = f'{source_model_id}--{v}'
59
+
60
+ config_json['hidden_size'] = 8
61
+ config_json['intermediate_size'] = 64
62
+ config_json['num_attention_heads'] = 8
63
+ config_json['num_hidden_layers'] = 2
64
+ config_json['num_key_value_heads'] = 4
65
+
66
+ with open(f"{save_folder}/config.json", "w", encoding='utf-8') as f:
67
+ json.dump(config_json, f, indent=2)
68
+
69
+ config = AutoConfig.from_pretrained(
70
+ save_folder,
71
+ trust_remote_code=True,
72
+ )
73
+ print(config)
74
+
75
+ torch.set_default_dtype(torch.bfloat16)
76
+ model = AutoModelForCausalLM.from_config(config, trust_remote_code=True)
77
+ torch.set_default_dtype(torch.float32)
78
+
79
+ if file_exists(filename="generation_config.json", repo_id=source_model_id, repo_type='model'):
80
+ model.generation_config = GenerationConfig.from_pretrained(
81
+ source_model_id, trust_remote_code=True,
82
+ )
83
+ set_seed(42)
84
+ model = model.cpu()
85
+ with torch.no_grad():
86
+ for name, p in sorted(model.named_parameters()):
87
+ torch.nn.init.normal_(p, 0, 0.1)
88
+ print(name, p.shape)
89
+ model.save_pretrained(save_folder)
90
+ print(model)
91
+
92
+ def modify_automap(path, source_model_id):
93
+ import json
94
+ with open(path, 'r', encoding='utf-8') as f:
95
+ content = json.load(f)
96
+ automap = {}
97
+ if content.get('auto_map', None) is not None:
98
+ for key, value in content.get('auto_map').items():
99
+ if isinstance(value, str):
100
+ value = source_model_id + '--' + value.split('--')[-1]
101
+ else:
102
+ value = [(source_model_id + '--' + v.split('--')[-1]) if '.' in str(v) else v for v in value]
103
+ automap[key] = value
104
+ with open(path, 'w', encoding='utf-8') as f:
105
+ json.dump({**content, 'auto_map': automap}, f, indent=2)
106
+
107
+ modify_automap(f"{save_folder}/config.json", source_model_id)
108
+ # modify_automap(f'{save_folder}/processor_config.json', source_model_id)
109
+ # modify_automap(f'{save_folder}/preprocessor_config.json', source_model_id)
110
+ # modify_automap(f'{save_folder}/tokenizer_config.json', source_model_id)
111
+ for python_file in Path(save_folder).glob('*.py'):
112
+ python_file.unlink()
113
+ ```
114
+
115
+ ### Printing the model:
116
+
117
+ ```text
118
+ KORMoForCausalLM(
119
+ (model): KORMoModel(
120
+ (embed_tokens): Embedding(125184, 8, padding_idx=125032)
121
+ (layers): ModuleList(
122
+ (0-1): 2 x DecoderLayer(
123
+ (self_attn): Attention(
124
+ (q_proj): Linear(in_features=8, out_features=1024, bias=False)
125
+ (k_proj): Linear(in_features=8, out_features=512, bias=False)
126
+ (v_proj): Linear(in_features=8, out_features=512, bias=False)
127
+ (o_proj): Linear(in_features=1024, out_features=8, bias=False)
128
+ )
129
+ (mlp): MLP(
130
+ (gate_proj): Linear(in_features=8, out_features=64, bias=False)
131
+ (up_proj): Linear(in_features=8, out_features=64, bias=False)
132
+ (down_proj): Linear(in_features=64, out_features=8, bias=False)
133
+ (act_fn): SiLU()
134
+ )
135
+ (pre_attention_layernorm): RMSNorm((8,), eps=1e-05)
136
+ (pre_mlp_layernorm): RMSNorm((8,), eps=1e-05)
137
+ )
138
+ )
139
+ (norm): RMSNorm((8,), eps=1e-05)
140
+ (rotary_emb): RotaryEmbedding()
141
+ )
142
+ (lm_head): Linear(in_features=8, out_features=125184, bias=False)
143
+ )
144
+ ```
chat_template.jinja ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+     {{- '<|BOT|>system\n' }}
3
+     {%- if messages[0].role == 'system' %}
4
+         {{- messages[0].content + '\n\n' }}
5
+     {%- endif %}
6
+     {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
7
+     {%- for tool in tools %}
8
+         {{- "\n" }}
9
+         {{- tool | tojson }}
10
+     {%- endfor %}
11
+     {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|EOT|>\n" }}
12
+ {%- else %}
13
+     {%- if messages[0].role == 'system' %}
14
+         {{- '<|BOT|>system\n' + messages[0].content + '<|EOT|>\n' }}
15
+     {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+     {%- set index = (messages|length - 1) - loop.index0 %}
20
+     {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+         {%- set ns.multi_step_tool = false %}
22
+         {%- set ns.last_query_index = index %}
23
+     {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+     {%- if message.content is string %}
27
+         {%- set content = message.content %}
28
+     {%- else %}
29
+         {%- set content = '' %}
30
+     {%- endif %}
31
+     {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+         {{- '<|BOT|>' + message.role + '\n' + content + '<|EOT|>' + '\n' }}
33
+     {%- elif message.role == "assistant" %}
34
+         {%- set reasoning_content = '' %}
35
+         {%- if message.reasoning_content is string %}
36
+             {%- set reasoning_content = message.reasoning_content %}
37
+         {%- else %}
38
+             {%- if '</think>' in content %}
39
+                 {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+                 {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+             {%- endif %}
42
+         {%- endif %}
43
+         {%- if loop.index0 > ns.last_query_index %}
44
+             {%- if loop.last or (not loop.last and reasoning_content) %}
45
+                 {{- '<|BOT|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+             {%- else %}
47
+                 {{- '<|BOT|>' + message.role + '\n' + content }}
48
+             {%- endif %}
49
+         {%- else %}
50
+             {{- '<|BOT|>' + message.role + '\n' + content }}
51
+         {%- endif %}
52
+         {%- if message.tool_calls %}
53
+             {%- for tool_call in message.tool_calls %}
54
+                 {%- if (loop.first and content) or (not loop.first) %}
55
+                     {{- '\n' }}
56
+                 {%- endif %}
57
+                 {%- if tool_call.function %}
58
+                     {%- set tool_call = tool_call.function %}
59
+                 {%- endif %}
60
+                 {{- '<tool_call>\n{"name": "' }}
61
+                 {{- tool_call.name }}
62
+                 {{- '", "arguments": ' }}
63
+                 {%- if tool_call.arguments is string %}
64
+                     {{- tool_call.arguments }}
65
+                 {%- else %}
66
+                     {{- tool_call.arguments | tojson }}
67
+                 {%- endif %}
68
+                 {{- '}\n</tool_call>' }}
69
+             {%- endfor %}
70
+         {%- endif %}
71
+         {{- '<|EOT|>\n' }}
72
+     {%- elif message.role == "tool" %}
73
+         {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+             {{- '<|BOT|>user' }}
75
+         {%- endif %}
76
+         {{- '\n<tool_response>\n' }}
77
+         {{- content }}
78
+         {{- '\n</tool_response>' }}
79
+         {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+             {{- '<|EOT|>\n' }}
81
+         {%- endif %}
82
+     {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+     {{- '<|BOT|>assistant\n' }}
86
+     {%- if enable_thinking is defined %}
87
+         {%- if not enable_thinking %}
88
+             {{- '<think>\n\n</think>\n' }}
89
+         {%- else %}
90
+             {{-'<think>\n'}}
91
+         {%- endif %}
92
+     {%- else %}
93
+         {{- '<think>\n\n</think>\n' }}
94
+     {%- endif %}
95
+ {%- endif %}
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "KORMoForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "auto_map": {
8
+ "AutoConfig": "KORMo-Team/KORMo-10B-sft--_configuration_kormo.KORMoConfig",
9
+ "AutoModelForCausalLM": "KORMo-Team/KORMo-10B-sft--_modeling_kormo.KORMoForCausalLM"
10
+ },
11
+ "bos_token_id": 125030,
12
+ "dtype": "bfloat16",
13
+ "eos_token_id": 125040,
14
+ "head_dim": 128,
15
+ "hidden_act": "silu",
16
+ "hidden_size": 8,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 64,
19
+ "mask_type": null,
20
+ "max_position_embeddings": 131072,
21
+ "mlp_bias": false,
22
+ "model_type": "kormo",
23
+ "num_attention_heads": 8,
24
+ "num_hidden_layers": 2,
25
+ "num_key_value_heads": 4,
26
+ "pad_token_id": 125032,
27
+ "pretrain_tp": 1,
28
+ "pretraining_tp": 1,
29
+ "rms_norm_eps": 1e-05,
30
+ "rope_scaling": null,
31
+ "rope_theta": 8000000.0,
32
+ "tie_word_embeddings": false,
33
+ "tie_word_embeddins": false,
34
+ "transformers_version": "4.57.0.dev0",
35
+ "use_cache": true,
36
+ "vocab_size": 125184
37
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 125030,
4
+ "eos_token_id": [
5
+ 125040
6
+ ],
7
+ "pad_token_id": 125032,
8
+ "transformers_version": "4.57.0.dev0"
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53350012e9e81d76e27e84627d1ba062eef66e3fbc32781f4fb73ece0aaa939c
3
+ size 4112624
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|BOS|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|EOT|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|PAD|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "125000": {
4
+ "content": "\n\n",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "125001": {
12
+ "content": "\n\n\n",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "125002": {
20
+ "content": "\n\n\n\n",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "125003": {
28
+ "content": "\n\n\n\n\n",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": false
34
+ },
35
+ "125004": {
36
+ "content": "\n\n\n\n\n\n",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": false
42
+ },
43
+ "125005": {
44
+ "content": "\n\n\n\n\n\n\n",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ },
51
+ "125006": {
52
+ "content": "\n\n\n\n\n\n\n\n",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": false
58
+ },
59
+ "125007": {
60
+ "content": "\n\n\n\n\n\n\n\n\n",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": false
66
+ },
67
+ "125008": {
68
+ "content": "\n\n\n\n\n\n\n\n\n\n",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": false
74
+ },
75
+ "125009": {
76
+ "content": "\n\n\n\n\n\n\n\n\n\n\n",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": false
82
+ },
83
+ "125010": {
84
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": false
90
+ },
91
+ "125011": {
92
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": false
98
+ },
99
+ "125012": {
100
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": false
106
+ },
107
+ "125013": {
108
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": false
114
+ },
115
+ "125014": {
116
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
117
+ "lstrip": false,
118
+ "normalized": false,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": false
122
+ },
123
+ "125015": {
124
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
125
+ "lstrip": false,
126
+ "normalized": false,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": false
130
+ },
131
+ "125016": {
132
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
133
+ "lstrip": false,
134
+ "normalized": false,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": false
138
+ },
139
+ "125017": {
140
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
141
+ "lstrip": false,
142
+ "normalized": false,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": false
146
+ },
147
+ "125018": {
148
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
149
+ "lstrip": false,
150
+ "normalized": false,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": false
154
+ },
155
+ "125019": {
156
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
157
+ "lstrip": false,
158
+ "normalized": false,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": false
162
+ },
163
+ "125020": {
164
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
165
+ "lstrip": false,
166
+ "normalized": false,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": false
170
+ },
171
+ "125021": {
172
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
173
+ "lstrip": false,
174
+ "normalized": false,
175
+ "rstrip": false,
176
+ "single_word": false,
177
+ "special": false
178
+ },
179
+ "125022": {
180
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
181
+ "lstrip": false,
182
+ "normalized": false,
183
+ "rstrip": false,
184
+ "single_word": false,
185
+ "special": false
186
+ },
187
+ "125023": {
188
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
189
+ "lstrip": false,
190
+ "normalized": false,
191
+ "rstrip": false,
192
+ "single_word": false,
193
+ "special": false
194
+ },
195
+ "125024": {
196
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
197
+ "lstrip": false,
198
+ "normalized": false,
199
+ "rstrip": false,
200
+ "single_word": false,
201
+ "special": false
202
+ },
203
+ "125025": {
204
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
205
+ "lstrip": false,
206
+ "normalized": false,
207
+ "rstrip": false,
208
+ "single_word": false,
209
+ "special": false
210
+ },
211
+ "125026": {
212
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
213
+ "lstrip": false,
214
+ "normalized": false,
215
+ "rstrip": false,
216
+ "single_word": false,
217
+ "special": false
218
+ },
219
+ "125027": {
220
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
221
+ "lstrip": false,
222
+ "normalized": false,
223
+ "rstrip": false,
224
+ "single_word": false,
225
+ "special": false
226
+ },
227
+ "125028": {
228
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
229
+ "lstrip": false,
230
+ "normalized": false,
231
+ "rstrip": false,
232
+ "single_word": false,
233
+ "special": false
234
+ },
235
+ "125029": {
236
+ "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
237
+ "lstrip": false,
238
+ "normalized": false,
239
+ "rstrip": false,
240
+ "single_word": false,
241
+ "special": false
242
+ },
243
+ "125030": {
244
+ "content": "<|BOS|>",
245
+ "lstrip": false,
246
+ "normalized": true,
247
+ "rstrip": false,
248
+ "single_word": false,
249
+ "special": true
250
+ },
251
+ "125031": {
252
+ "content": "<|EOS|>",
253
+ "lstrip": false,
254
+ "normalized": true,
255
+ "rstrip": false,
256
+ "single_word": false,
257
+ "special": true
258
+ },
259
+ "125032": {
260
+ "content": "<|PAD|>",
261
+ "lstrip": false,
262
+ "normalized": true,
263
+ "rstrip": false,
264
+ "single_word": false,
265
+ "special": true
266
+ },
267
+ "125033": {
268
+ "content": "<think>",
269
+ "lstrip": false,
270
+ "normalized": true,
271
+ "rstrip": false,
272
+ "single_word": false,
273
+ "special": false
274
+ },
275
+ "125034": {
276
+ "content": "</think>",
277
+ "lstrip": false,
278
+ "normalized": true,
279
+ "rstrip": false,
280
+ "single_word": false,
281
+ "special": false
282
+ },
283
+ "125035": {
284
+ "content": "<tool_call>",
285
+ "lstrip": false,
286
+ "normalized": false,
287
+ "rstrip": false,
288
+ "single_word": false,
289
+ "special": false
290
+ },
291
+ "125036": {
292
+ "content": "</tool_call>",
293
+ "lstrip": false,
294
+ "normalized": false,
295
+ "rstrip": false,
296
+ "single_word": false,
297
+ "special": false
298
+ },
299
+ "125037": {
300
+ "content": "<tool_response>",
301
+ "lstrip": false,
302
+ "normalized": false,
303
+ "rstrip": false,
304
+ "single_word": false,
305
+ "special": false
306
+ },
307
+ "125038": {
308
+ "content": "</tool_response>",
309
+ "lstrip": false,
310
+ "normalized": false,
311
+ "rstrip": false,
312
+ "single_word": false,
313
+ "special": false
314
+ },
315
+ "125039": {
316
+ "content": "<|BOT|>",
317
+ "lstrip": false,
318
+ "normalized": false,
319
+ "rstrip": false,
320
+ "single_word": false,
321
+ "special": true
322
+ },
323
+ "125040": {
324
+ "content": "<|EOT|>",
325
+ "lstrip": false,
326
+ "normalized": false,
327
+ "rstrip": false,
328
+ "single_word": false,
329
+ "special": true
330
+ }
331
+ },
332
+ "bos_token": "<|BOS|>",
333
+ "clean_up_tokenization_spaces": false,
334
+ "eos_token": "<|EOT|>",
335
+ "extra_special_tokens": {},
336
+ "model_input_names": [
337
+ "input_ids",
338
+ "attention_mask"
339
+ ],
340
+ "model_max_length": 1000000000000000019884624838656,
341
+ "pad_token": "<|PAD|>",
342
+ "tokenizer_class": "PreTrainedTokenizerFast"
343
+ }