Kendamarron commited on
Commit
b3bd8da
1 Parent(s): 2a456b9

Model save

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: Kendamarron/Qwen2.5-4x0.5B-cpt
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ datasets:
8
+ - Kendamarron/jimba-instruction-all
9
+ - Kendamarron/OpenMathInstruct-2-ja-CoT-only_thought
10
+ - Aratako/Synthetic-JP-EN-Coding-Dataset-801k
11
+ - llm-jp/magpie-sft-v1.0
12
+ model-index:
13
+ - name: Qwen2.5-4x0.5B-sft-v1
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ [<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
21
+ <details><summary>See axolotl config</summary>
22
+
23
+ axolotl version: `0.6.0`
24
+ ```yaml
25
+ # 学習のベースモデルに関する設定
26
+ base_model: Kendamarron/Qwen2.5-4x0.5B-cpt
27
+ model_type: AutoModelForCausalLM
28
+ tokenizer_type: AutoTokenizer
29
+
30
+ # 学習後のモデルのHFへのアップロードに関する設定
31
+ hub_model_id: Kendamarron/Qwen2.5-4x0.5B-sft-v1
32
+ hub_strategy: "end"
33
+ push_dataset_to_hub:
34
+ hf_use_auth_token: true
35
+
36
+ # Liger Kernelの設定(学習の軽量・高速化)
37
+ plugins:
38
+ - axolotl.integrations.liger.LigerPlugin
39
+ liger_cross_entropy: false
40
+ liger_rope: true
41
+ liger_rms_norm: true
42
+ liger_swiglu: true
43
+ liger_fused_linear_cross_entropy: true
44
+
45
+ # 量子化に関する設定
46
+ load_in_8bit: false
47
+ load_in_4bit: false
48
+
49
+ # SFTに利用するchat templateの設定
50
+ chat_template: qwen_25
51
+
52
+ # 学習データセットの前処理に関する設定
53
+ datasets:
54
+ - path: Kendamarron/jimba-instruction-all
55
+ split: train
56
+ type: chat_template
57
+ field_messages: conversations
58
+ message_field_role: role
59
+ message_field_content: content
60
+ - path: Kendamarron/OpenMathInstruct-2-ja-CoT-only_thought
61
+ split: train
62
+ type: chat_template
63
+ field_messages: messages
64
+ message_field_role: role
65
+ message_field_content: content
66
+ - path: Aratako/Synthetic-JP-EN-Coding-Dataset-801k
67
+ split: train[0:10000]
68
+ type: chat_template
69
+ field_messages: messages
70
+ message_field_role: role
71
+ message_field_content: content
72
+ - path: llm-jp/magpie-sft-v1.0
73
+ split: train[0:30000]
74
+ type: chat_template
75
+ field_messages: conversations
76
+ message_field_role: role
77
+ message_field_content: content
78
+
79
+
80
+ # データセット、モデルの出力先に関する設定
81
+ shuffle_merged_datasets: true
82
+ dataset_prepared_path: /workspace/data/sft-data
83
+ output_dir: /workspace/data/models/Qwen2.5-4x0.5B-SFT
84
+
85
+ # valid datasetのサイズ
86
+ val_set_size: 0.005
87
+
88
+ # wandbに関する設定
89
+ wandb_project: Qwen2.5-4x0.5B
90
+ wandb_entity: kendamarron
91
+ wandb_watch:
92
+ wandb_name: sft-v1
93
+ wandb_log_model:
94
+
95
+ # 学習に関する様々な設定
96
+ sequence_len: 8192
97
+ sample_packing: true
98
+ eval_sample_packing: false
99
+ pad_to_sequence_len: true
100
+
101
+ gradient_accumulation_steps: 8
102
+ micro_batch_size: 1
103
+ num_epochs: 2
104
+ optimizer: adamw_bnb_8bit
105
+ lr_scheduler: cosine
106
+ cosine_min_lr_ratio: 0.1
107
+ learning_rate: 2e-5
108
+
109
+ train_on_inputs: false
110
+ group_by_length: false
111
+ bf16: auto
112
+ fp16:
113
+ tf32: false
114
+
115
+ gradient_checkpointing: false
116
+ early_stopping_patience:
117
+ auto_resume_from_checkpoints: true
118
+ local_rank:
119
+ logging_steps: 1
120
+ xformers_attention:
121
+ flash_attention: true
122
+
123
+ saves_per_epoch: 1
124
+
125
+ warmup_steps: 60
126
+ eval_steps: 100
127
+ eval_batch_size: 1
128
+ eval_table_size:
129
+ eval_max_new_tokens:
130
+ debug:
131
+ deepspeed: deepspeed_configs/zero3_bf16.json
132
+ weight_decay: 0.1
133
+ fsdp:
134
+ fsdp_config:
135
+ special_tokens:
136
+ eos_token: "<|im_end|>"
137
+ pad_token: "<|end_of_text|>"
138
+ tokens:
139
+ - "<|im_start|>"
140
+ - "<|im_end|>"
141
+ ```
142
+
143
+ </details><br>
144
+
145
+ # Qwen2.5-4x0.5B-sft-v1
146
+
147
+ This model is a fine-tuned version of [Kendamarron/Qwen2.5-4x0.5B-cpt](https://huggingface.co/Kendamarron/Qwen2.5-4x0.5B-cpt) on the Kendamarron/jimba-instruction-all, the Kendamarron/OpenMathInstruct-2-ja-CoT-only_thought, the Aratako/Synthetic-JP-EN-Coding-Dataset-801k and the llm-jp/magpie-sft-v1.0 datasets.
148
+ It achieves the following results on the evaluation set:
149
+ - Loss: 1.0085
150
+
151
+ ## Model description
152
+
153
+ More information needed
154
+
155
+ ## Intended uses & limitations
156
+
157
+ More information needed
158
+
159
+ ## Training and evaluation data
160
+
161
+ More information needed
162
+
163
+ ## Training procedure
164
+
165
+ ### Training hyperparameters
166
+
167
+ The following hyperparameters were used during training:
168
+ - learning_rate: 2e-05
169
+ - train_batch_size: 1
170
+ - eval_batch_size: 1
171
+ - seed: 42
172
+ - distributed_type: multi-GPU
173
+ - num_devices: 4
174
+ - gradient_accumulation_steps: 8
175
+ - total_train_batch_size: 32
176
+ - total_eval_batch_size: 4
177
+ - optimizer: Use OptimizerNames.ADAMW_BNB with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
178
+ - lr_scheduler_type: cosine
179
+ - lr_scheduler_warmup_steps: 60
180
+ - num_epochs: 2
181
+
182
+ ### Training results
183
+
184
+ | Training Loss | Epoch | Step | Validation Loss |
185
+ |:-------------:|:------:|:----:|:---------------:|
186
+ | 1.3068 | 0.0033 | 1 | 1.3071 |
187
+ | 1.1087 | 0.3309 | 100 | 1.0806 |
188
+ | 1.1393 | 0.6617 | 200 | 1.0488 |
189
+ | 1.0569 | 0.9926 | 300 | 1.0286 |
190
+ | 0.9902 | 1.3209 | 400 | 1.0215 |
191
+ | 0.9933 | 1.6518 | 500 | 1.0133 |
192
+ | 0.9706 | 1.9826 | 600 | 1.0085 |
193
+
194
+
195
+ ### Framework versions
196
+
197
+ - Transformers 4.47.1
198
+ - Pytorch 2.5.1+cu124
199
+ - Datasets 3.1.0
200
+ - Tokenizers 0.21.0
added_tokens.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|end_of_text|>": 151665,
7
+ "<|endoftext|>": 151643,
8
+ "<|file_sep|>": 151664,
9
+ "<|fim_middle|>": 151660,
10
+ "<|fim_pad|>": 151662,
11
+ "<|fim_prefix|>": 151659,
12
+ "<|fim_suffix|>": 151661,
13
+ "<|im_end|>": 151645,
14
+ "<|im_start|>": 151644,
15
+ "<|image_pad|>": 151655,
16
+ "<|object_ref_end|>": 151647,
17
+ "<|object_ref_start|>": 151646,
18
+ "<|quad_end|>": 151651,
19
+ "<|quad_start|>": 151650,
20
+ "<|repo_name|>": 151663,
21
+ "<|video_pad|>": 151656,
22
+ "<|vision_end|>": 151653,
23
+ "<|vision_pad|>": 151654,
24
+ "<|vision_start|>": 151652
25
+ }
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Kendamarron/Qwen2.5-4x0.5B-cpt",
3
+ "architectures": [
4
+ "Qwen2MoeForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "decoder_sparse_step": 1,
8
+ "eos_token_id": 151645,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 896,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 4864,
13
+ "max_position_embeddings": 32768,
14
+ "max_window_layers": 24,
15
+ "mlp_only_layers": [],
16
+ "model_type": "qwen2_moe",
17
+ "moe_intermediate_size": 4864,
18
+ "norm_topk_prob": true,
19
+ "num_attention_heads": 14,
20
+ "num_experts": 4,
21
+ "num_experts_per_tok": 2,
22
+ "num_hidden_layers": 24,
23
+ "num_key_value_heads": 2,
24
+ "output_router_logits": false,
25
+ "rms_norm_eps": 1e-06,
26
+ "rope_scaling": null,
27
+ "rope_theta": 1000000.0,
28
+ "router_aux_loss_coef": 0.001,
29
+ "shared_expert_intermediate_size": 4864,
30
+ "sliding_window": null,
31
+ "tie_word_embeddings": true,
32
+ "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.47.1",
34
+ "use_cache": false,
35
+ "use_mrope": false,
36
+ "use_sliding_window": false,
37
+ "vocab_size": 151936
38
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 151643,
4
+ "do_sample": true,
5
+ "eos_token_id": 151643,
6
+ "transformers_version": "4.47.1"
7
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc7d76995affd6797024badf00ac5d0abb968f15fe42034a7aa20dc93db08f66
3
+ size 3498645928
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65c92d86c90b755074ebb288a0f3a8e6c143689a090f6a0c74c7f9ccb840ac34
3
+ size 272808338
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|end_of_text|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:370e980c793d05e72bd1ec67b4e6a2948c558e6c713e238b90976afa201db27b
3
+ size 11422090
tokenizer_config.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": false
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<|end_of_text|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ }
189
+ },
190
+ "additional_special_tokens": [
191
+ "<|im_start|>",
192
+ "<|im_end|>",
193
+ "<|object_ref_start|>",
194
+ "<|object_ref_end|>",
195
+ "<|box_start|>",
196
+ "<|box_end|>",
197
+ "<|quad_start|>",
198
+ "<|quad_end|>",
199
+ "<|vision_start|>",
200
+ "<|vision_end|>",
201
+ "<|vision_pad|>",
202
+ "<|image_pad|>",
203
+ "<|video_pad|>"
204
+ ],
205
+ "bos_token": null,
206
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\n\\n# 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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
207
+ "clean_up_tokenization_spaces": false,
208
+ "eos_token": "<|im_end|>",
209
+ "errors": "replace",
210
+ "extra_special_tokens": {},
211
+ "max_length": null,
212
+ "model_max_length": 131072,
213
+ "pad_to_multiple_of": null,
214
+ "pad_token": "<|end_of_text|>",
215
+ "pad_token_type_id": 0,
216
+ "padding_side": "left",
217
+ "split_special_tokens": false,
218
+ "tokenizer_class": "Qwen2Tokenizer",
219
+ "unk_token": null
220
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b7178cff093884a83953bdbe826aaa98810438e4ac57a8f1f605c3d937a5254
3
+ size 10680
vocab.json ADDED
The diff for this file is too large to render. See raw diff