motamad commited on
Commit
ea4efc0
·
verified ·
1 Parent(s): 7ffe89f

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ 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
+ checkpoint-63/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ license: apache-2.0
5
+ tags:
6
+ - text-generation
7
+ - fine-tuning
8
+ - arabic
9
+ - qwen
10
+ datasets:
11
+ - local
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # 🧠 Thoth Text Model — InjazSmart
16
+
17
+ **Thoth Text** هو نموذج لغوي عربي تم تدريبه وتحسينه باستخدام تقنية Fine-Tuning
18
+ بهدف تحسين الأداء في المحادثات النصية باللغة العربية والفهم السياقي العميق.
19
+
20
+ ---
21
+
22
+ ## 🧩 معلومات عامة
23
+ - **الأساس (Base Model):** [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct)
24
+ - **نوع الموديل:** Text Generation / Chat
25
+ - **المطور:** [InjazSmart](https://huggingface.co/injazsmart)
26
+ - **اللغة:** العربية (AR)
27
+ - **الترخيص:** Apache 2.0
28
+
29
+ ---
30
+
31
+ ## ⚙️ كيفية الاستخدام
32
+
33
+ ```python
34
+ from transformers import AutoTokenizer, AutoModelForCausalLM
35
+
36
+ tokenizer = AutoTokenizer.from_pretrained("injazsmart/thoth_text")
37
+ model = AutoModelForCausalLM.from_pretrained("injazsmart/thoth_text")
38
+
39
+ prompt = "اشرح بإيجاز مفهوم الذكاء الاصطناعي."
40
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
41
+ outputs = model.generate(**inputs, max_new_tokens=200)
42
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
README.md CHANGED
@@ -1,3 +1,42 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ar
4
+ license: apache-2.0
5
+ tags:
6
+ - text-generation
7
+ - fine-tuning
8
+ - arabic
9
+ - qwen
10
+ datasets:
11
+ - local
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # 🧠 Thoth Text Model — InjazSmart
16
+
17
+ **Thoth Text** هو نموذج لغوي عربي تم تدريبه وتحسينه باستخدام تقنية Fine-Tuning
18
+ بهدف تحسين الأداء في المحادثات النصية باللغة العربية والفهم السياقي العميق.
19
+
20
+ ---
21
+
22
+ ## 🧩 معلومات عامة
23
+ - **الأساس (Base Model):** [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct)
24
+ - **نوع الموديل:** Text Generation / Chat
25
+ - **المطور:** [InjazSmart](https://huggingface.co/injazsmart)
26
+ - **اللغة:** العربية (AR)
27
+ - **الترخيص:** Apache 2.0
28
+
29
+ ---
30
+
31
+ ## ⚙️ كيفية الاستخدام
32
+
33
+ ```python
34
+ from transformers import AutoTokenizer, AutoModelForCausalLM
35
+
36
+ tokenizer = AutoTokenizer.from_pretrained("injazsmart/thoth_text")
37
+ model = AutoModelForCausalLM.from_pretrained("injazsmart/thoth_text")
38
+
39
+ prompt = "اشرح بإيجاز مفهوم الذكاء الاصطناعي."
40
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
41
+ outputs = model.generate(**inputs, max_new_tokens=200)
42
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-7B-Instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "o_proj",
29
+ "down_proj",
30
+ "gate_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "v_proj",
34
+ "k_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78e247e50072a6cf7a52e2e0d6258a3016ffd2e866533c145df8f41ac38718e1
3
+ size 80792096
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-63/README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-7B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - axolotl
7
+ - base_model:adapter:Qwen/Qwen2.5-7B-Instruct
8
+ - lora
9
+ - transformers
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.17.1
checkpoint-63/adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-7B-Instruct",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": null,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 8,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "o_proj",
29
+ "down_proj",
30
+ "gate_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "v_proj",
34
+ "k_proj"
35
+ ],
36
+ "target_parameters": [],
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": false
42
+ }
checkpoint-63/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78e247e50072a6cf7a52e2e0d6258a3016ffd2e866533c145df8f41ac38718e1
3
+ size 80792096
checkpoint-63/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-63/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-63/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-63/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:569a26f672642370f063344eb1841ba493689f10f4bfc8faa33de06807df6b64
3
+ size 41460101
checkpoint-63/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be9bf68cc1330c69720dd641339953baacd6b2bf9e9bb41240e282995a8233c7
3
+ size 14645
checkpoint-63/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df46d9037a5cc2c989a00c7e5584f8a9ac173aafa6941328d852b1e297f78735
3
+ size 1465
checkpoint-63/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": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint-63/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
checkpoint-63/tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
checkpoint-63/trainer_state.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 63,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.47619047619047616,
14
+ "grad_norm": 0.5804110765457153,
15
+ "learning_rate": 0.00019357168190404936,
16
+ "loss": 2.8315,
17
+ "memory/device_reserved (GiB)": 21.65,
18
+ "memory/max_active (GiB)": 19.67,
19
+ "memory/max_allocated (GiB)": 19.67,
20
+ "step": 10,
21
+ "tokens_per_second_per_gpu": 1089.23
22
+ },
23
+ {
24
+ "epoch": 0.9523809523809523,
25
+ "grad_norm": 0.5418248772621155,
26
+ "learning_rate": 0.00016405931786981755,
27
+ "loss": 2.5331,
28
+ "memory/device_reserved (GiB)": 21.65,
29
+ "memory/max_active (GiB)": 17.12,
30
+ "memory/max_allocated (GiB)": 17.12,
31
+ "step": 20,
32
+ "tokens_per_second_per_gpu": 1399.77
33
+ },
34
+ {
35
+ "epoch": 1.4285714285714286,
36
+ "grad_norm": 0.926287829875946,
37
+ "learning_rate": 0.00011792807588107357,
38
+ "loss": 2.2908,
39
+ "memory/device_reserved (GiB)": 21.66,
40
+ "memory/max_active (GiB)": 19.67,
41
+ "memory/max_allocated (GiB)": 19.67,
42
+ "step": 30,
43
+ "tokens_per_second_per_gpu": 1503.62
44
+ },
45
+ {
46
+ "epoch": 1.9047619047619047,
47
+ "grad_norm": 0.741166353225708,
48
+ "learning_rate": 6.714576180891654e-05,
49
+ "loss": 2.3613,
50
+ "memory/device_reserved (GiB)": 21.66,
51
+ "memory/max_active (GiB)": 13.69,
52
+ "memory/max_allocated (GiB)": 13.69,
53
+ "step": 40,
54
+ "tokens_per_second_per_gpu": 1292.51
55
+ },
56
+ {
57
+ "epoch": 2.380952380952381,
58
+ "grad_norm": 0.8406546115875244,
59
+ "learning_rate": 2.4886806912948035e-05,
60
+ "loss": 2.1182,
61
+ "memory/device_reserved (GiB)": 21.66,
62
+ "memory/max_active (GiB)": 19.67,
63
+ "memory/max_allocated (GiB)": 19.67,
64
+ "step": 50,
65
+ "tokens_per_second_per_gpu": 1380.03
66
+ },
67
+ {
68
+ "epoch": 2.857142857142857,
69
+ "grad_norm": 0.7622830271720886,
70
+ "learning_rate": 2.1144314904642195e-06,
71
+ "loss": 2.1277,
72
+ "memory/device_reserved (GiB)": 21.66,
73
+ "memory/max_active (GiB)": 17.48,
74
+ "memory/max_allocated (GiB)": 17.48,
75
+ "step": 60,
76
+ "tokens_per_second_per_gpu": 1322.61
77
+ }
78
+ ],
79
+ "logging_steps": 10,
80
+ "max_steps": 63,
81
+ "num_input_tokens_seen": 0,
82
+ "num_train_epochs": 3,
83
+ "save_steps": 200,
84
+ "stateful_callbacks": {
85
+ "TrainerControl": {
86
+ "args": {
87
+ "should_epoch_stop": false,
88
+ "should_evaluate": false,
89
+ "should_log": false,
90
+ "should_save": true,
91
+ "should_training_stop": true
92
+ },
93
+ "attributes": {}
94
+ }
95
+ },
96
+ "total_flos": 2.2466390650454016e+16,
97
+ "train_batch_size": 4,
98
+ "trial_name": null,
99
+ "trial_params": null
100
+ }
checkpoint-63/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56bc325f0573f875c8a837ac20fbafb00d5bdae4d80f0640de382b6623c15759
3
+ size 7313
checkpoint-63/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 151645,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 3584,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 18944,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention",
25
+ "full_attention",
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention"
41
+ ],
42
+ "max_position_embeddings": 32768,
43
+ "max_window_layers": 28,
44
+ "model_type": "qwen2",
45
+ "num_attention_heads": 28,
46
+ "num_hidden_layers": 28,
47
+ "num_key_value_heads": 4,
48
+ "quantization_config": {
49
+ "_load_in_4bit": false,
50
+ "_load_in_8bit": true,
51
+ "bnb_4bit_compute_dtype": "float32",
52
+ "bnb_4bit_quant_storage": "uint8",
53
+ "bnb_4bit_quant_type": "fp4",
54
+ "bnb_4bit_use_double_quant": false,
55
+ "llm_int8_enable_fp32_cpu_offload": false,
56
+ "llm_int8_has_fp16_weight": false,
57
+ "llm_int8_skip_modules": null,
58
+ "llm_int8_threshold": 6.0,
59
+ "load_in_4bit": false,
60
+ "load_in_8bit": true,
61
+ "quant_method": "bitsandbytes"
62
+ },
63
+ "rms_norm_eps": 1e-06,
64
+ "rope_scaling": null,
65
+ "rope_theta": 1000000.0,
66
+ "sliding_window": null,
67
+ "tie_word_embeddings": false,
68
+ "transformers_version": "4.57.0",
69
+ "use_cache": false,
70
+ "use_sliding_window": false,
71
+ "vocab_size": 152064
72
+ }
debug.log ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
  0%| | 0/63 [00:00<?, ?it/s][2025-10-22 12:56:58,802] [WARNING] [py.warnings._showwarnmsg:110] [PID:2418] /root/miniconda3/envs/py3.11/lib/python3.11/site-packages/bitsandbytes/autograd/_functions.py:186: UserWarning: MatMul8bitLt: inputs will be cast from torch.bfloat16 to float16 during quantization
 
 
 
1
  2%|█▊ | 1/63 [00:04<04:23, 4.24s/it]
2
  3%|███▋ | 2/63 [00:07<03:35, 3.53s/it]
3
  5%|█████▌ | 3/63 [00:10<03:29, 3.50s/it]
4
  6%|███████▍ | 4/63 [00:13<03:15, 3.31s/it]
5
  8%|█████████▎ | 5/63 [00:16<03:06, 3.22s/it]
6
  10%|███████████▏ | 6/63 [00:19<03:01, 3.19s/it]
7
  11%|█████████████ | 7/63 [00:22<02:50, 3.04s/it]
8
  13%|██████████████▊ | 8/63 [00:25<02:46, 3.03s/it]
9
  14%|████████████████▋ | 9/63 [00:28<02:39, 2.95s/it]
10
  16%|██████████████████▍ | 10/63 [00:32<02:49, 3.20s/it]
11
 
 
12
  16%|██████████████████▍ | 10/63 [00:32<02:49, 3.20s/it]
13
  17%|████████████████████▎ | 11/63 [00:35<02:52, 3.32s/it]
14
  19%|██████████████████████ | 12/63 [00:38<02:41, 3.17s/it]
15
  21%|███████████████████████▉ | 13/63 [00:41<02:33, 3.08s/it]
16
  22%|█████████████████████████▊ | 14/63 [00:44<02:23, 2.93s/it]
17
  24%|███████████████████████████▌ | 15/63 [00:47<02:21, 2.95s/it]
18
  25%|█████████████████████████████▍ | 16/63 [00:50<02:20, 2.98s/it]
19
  27%|███████████████████████████████▎ | 17/63 [00:52<02:13, 2.91s/it]
20
  29%|█████████████████████████████████▏ | 18/63 [00:55<02:11, 2.93s/it]
21
  30%|██████████████████████████████████▉ | 19/63 [00:58<02:06, 2.87s/it]
22
  32%|████████████████████████████████████▊ | 20/63 [01:01<02:02, 2.85s/it]
23
 
 
24
  32%|████████████████████████████████████▊ | 20/63 [01:01<02:02, 2.85s/it]
25
  33%|██████████████████████████████████████▋ | 21/63 [01:04<01:58, 2.82s/it]
26
  35%|████████████████████████████████████████▌ | 22/63 [01:07<02:00, 2.94s/it]
27
  37%|██████████████████████████████████████████▎ | 23/63 [01:09<01:53, 2.83s/it]
28
  38%|████████████████████████████████████████████▏ | 24/63 [01:13<01:57, 3.01s/it]
29
  40%|██████████████████████████████████████████████ | 25/63 [01:16<01:51, 2.93s/it]
30
  41%|███████████████████████████████████████████████▊ | 26/63 [01:18<01:46, 2.87s/it]
31
  43%|█████████████████████████████████████████████████▋ | 27/63 [01:21<01:45, 2.93s/it]
32
  44%|███████████████████████████████████████████████████▌ | 28/63 [01:25<01:51, 3.19s/it]
33
  46%|█████████████████████████████████████████████████████▍ | 29/63 [01:28<01:46, 3.15s/it]
34
  48%|███████████████████████████████████████████████████████▏ | 30/63 [01:31<01:38, 2.97s/it]
35
 
 
36
  48%|███████████████████████████████████████████████████████▏ | 30/63 [01:31<01:38, 2.97s/it]
37
  49%|█████████████████████████████████████████████████████████ | 31/63 [01:33<01:30, 2.84s/it]
38
  51%|██████████████████████████████████████████████████████████▉ | 32/63 [01:36<01:28, 2.85s/it]
39
  52%|████████████████████████████████████████████████████████████▊ | 33/63 [01:39<01:25, 2.84s/it]
40
  54%|██████████████████████████████████████████████████████████████▌ | 34/63 [01:42<01:23, 2.87s/it]
41
  56%|████████████████████████████████████████████████████████████████▍ | 35/63 [01:45<01:17, 2.78s/it]
42
  57%|██████████████████████████████████████████████████████████████████▎ | 36/63 [01:48<01:17, 2.87s/it]
43
  59%|████████████████████████████████████████████████████████████████████▏ | 37/63 [01:50<01:13, 2.84s/it]
44
  60%|█████████████████████████████████████████████████████████████████████▉ | 38/63 [01:53<01:12, 2.90s/it]
45
  62%|███████████████████████████████████████████████████████████████████████▊ | 39/63 [01:56<01:10, 2.93s/it]
46
  63%|█████████████████████████████████████████████████████████████████████████▋ | 40/63 [01:59<01:07, 2.95s/it]
47
 
 
48
  63%|█████████████████████████████████████████████████████████████████████████▋ | 40/63 [01:59<01:07, 2.95s/it]
49
  65%|███████████████████████████████████████████████████████████████████████████▍ | 41/63 [02:02<01:05, 2.97s/it]
50
  67%|█████████████████████████████████████████████████████████████████████████████▎ | 42/63 [02:05<01:01, 2.91s/it]
51
  68%|███████████████████████████████████████████████████████████████████████████████▏ | 43/63 [02:08<01:00, 3.02s/it]
52
  70%|█████████████████████████████████████████████████████████████████████████████████ | 44/63 [02:12<01:00, 3.20s/it]
53
  71%|██████████████████████████████████████████████████████████████████████████████████▊ | 45/63 [02:15<00:56, 3.11s/it]
54
  73%|████████████████████████████████████████████████████████████████████████████████████▋ | 46/63 [02:18<00:52, 3.11s/it]
55
  75%|██████████████████████████████████████████████████████████████████████████████████████▌ | 47/63 [02:21<00:49, 3.08s/it]
56
  76%|████████████████████████████████████████████████████████████████████████████████████████▍ | 48/63 [02:25<00:48, 3.23s/it]
57
  78%|██████████████████████████████████████████████████████████████████████████████████████████▏ | 49/63 [02:28<00:43, 3.10s/it]
58
  79%|████████████████████████████████████████████████████████████████████████████████████████████ | 50/63 [02:31<00:39, 3.07s/it]
59
 
 
60
  79%|████████████████████████████████████████████████████████████████████████████████████████████ | 50/63 [02:31<00:39, 3.07s/it]
61
  81%|█████████████████████████████████████████████████████████████████████████████████████████████▉ | 51/63 [02:33<00:35, 2.97s/it]
62
  83%|███████████████████████████████████████████████████████████████████████████████████████████████▋ | 52/63 [02:36<00:32, 2.93s/it]
63
  84%|█████████████████████████████████████████████████████████████████████████████████████████████████▌ | 53/63 [02:39<00:29, 2.92s/it]
64
  86%|███████████████████████████████████████████████████████████████████████████████████████████████████▍ | 54/63 [02:42<00:26, 2.92s/it]
65
  87%|█████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 55/63 [02:45<00:23, 2.91s/it]
66
  89%|███████████████████████████████████████████████████████████████████████████████████████████████████████ | 56/63 [02:48<00:20, 2.91s/it]
67
  90%|████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 57/63 [02:51<00:18, 3.04s/it]
68
  92%|██████████████████████████████████████████████████████████████████████████████████████████████████████████▊ | 58/63 [02:54<00:14, 2.99s/it]
69
  94%|████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 59/63 [02:57<00:11, 2.95s/it]
70
  95%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 60/63 [03:00<00:08, 2.95s/it]
71
 
 
72
  95%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 60/63 [03:00<00:08, 2.95s/it]
73
  97%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 61/63 [03:03<00:05, 2.92s/it]
74
  98%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 62/63 [03:05<00:02, 2.91s/it]
 
75
 
 
 
 
 
1
+ [2025-10-22 12:55:24,619] [DEBUG] [axolotl.utils.config.resolve_dtype:66] [PID:2418] bf16 support detected, enabling for this configuration.
2
+
3
+ [2025-10-22 12:55:24,766] [DEBUG] [axolotl.utils.config.log_gpu_memory_usage:127] [PID:2418] baseline 0.000GB ()
4
+ [2025-10-22 12:55:24,766] [INFO] [axolotl.cli.config.load_cfg:248] [PID:2418] config:
5
+ {
6
+ "activation_offloading": false,
7
+ "adapter": "lora",
8
+ "axolotl_config_path": "config.yaml",
9
+ "base_model": "Qwen/Qwen2.5-7B-Instruct",
10
+ "base_model_config": "Qwen/Qwen2.5-7B-Instruct",
11
+ "batch_size": 16,
12
+ "bf16": true,
13
+ "capabilities": {
14
+ "bf16": true,
15
+ "compute_capability": "sm_90",
16
+ "fp8": false,
17
+ "n_gpu": 1,
18
+ "n_node": 1
19
+ },
20
+ "context_parallel_size": 1,
21
+ "dataloader_num_workers": 1,
22
+ "dataloader_pin_memory": true,
23
+ "dataloader_prefetch_factor": 256,
24
+ "dataset_processes": 36,
25
+ "datasets": [
26
+ {
27
+ "message_property_mappings": {
28
+ "content": "content",
29
+ "role": "role"
30
+ },
31
+ "path": "/workspace/fine-tuning/data/data.json",
32
+ "trust_remote_code": false,
33
+ "type": "alpaca"
34
+ }
35
+ ],
36
+ "ddp": false,
37
+ "device": "cuda:0",
38
+ "dion_rank_fraction": 1.0,
39
+ "dion_rank_multiple_of": 1,
40
+ "env_capabilities": {
41
+ "torch_version": "2.7.1"
42
+ },
43
+ "eval_batch_size": 4,
44
+ "eval_causal_lm_metrics": [
45
+ "sacrebleu",
46
+ "comet",
47
+ "ter",
48
+ "chrf"
49
+ ],
50
+ "eval_max_new_tokens": 128,
51
+ "eval_table_size": 0,
52
+ "experimental_skip_move_to_device": true,
53
+ "flash_attention": true,
54
+ "fp16": false,
55
+ "gradient_accumulation_steps": 4,
56
+ "gradient_checkpointing": true,
57
+ "gradient_checkpointing_kwargs": {
58
+ "use_reentrant": true
59
+ },
60
+ "include_tkps": true,
61
+ "learning_rate": 0.0002,
62
+ "lisa_layers_attribute": "model.layers",
63
+ "load_best_model_at_end": false,
64
+ "load_in_4bit": false,
65
+ "load_in_8bit": true,
66
+ "local_rank": 0,
67
+ "logging_steps": 10,
68
+ "lora_alpha": 16,
69
+ "lora_dropout": 0.05,
70
+ "lora_r": 8,
71
+ "lora_target_modules": [
72
+ "q_proj",
73
+ "k_proj",
74
+ "v_proj",
75
+ "o_proj",
76
+ "gate_proj",
77
+ "down_proj",
78
+ "up_proj"
79
+ ],
80
+ "loraplus_lr_embedding": 1e-06,
81
+ "lr_scheduler": "cosine",
82
+ "mean_resizing_embeddings": false,
83
+ "micro_batch_size": 4,
84
+ "model_config_type": "qwen2",
85
+ "num_epochs": 3.0,
86
+ "optimizer": "adamw_bnb_8bit",
87
+ "output_dir": "/workspace/fine-tuning/output",
88
+ "pretrain_multipack_attn": true,
89
+ "profiler_steps_start": 0,
90
+ "qlora_sharded_model_loading": false,
91
+ "ray_num_workers": 1,
92
+ "resources_per_worker": {
93
+ "GPU": 1
94
+ },
95
+ "sample_packing_bin_size": 200,
96
+ "sample_packing_group_size": 100000,
97
+ "save_only_model": false,
98
+ "save_safetensors": true,
99
+ "save_steps": 200,
100
+ "save_total_limit": 2,
101
+ "sequence_len": 4096,
102
+ "shuffle_before_merging_datasets": false,
103
+ "shuffle_merged_datasets": true,
104
+ "skip_prepare_dataset": false,
105
+ "streaming_multipack_buffer_size": 10000,
106
+ "strict": false,
107
+ "tensor_parallel_size": 1,
108
+ "tiled_mlp_use_original_mlp": true,
109
+ "tokenizer_config": "Qwen/Qwen2.5-7B-Instruct",
110
+ "tokenizer_save_jinja_files": true,
111
+ "torch_dtype": "torch.bfloat16",
112
+ "train_on_inputs": false,
113
+ "trl": {
114
+ "log_completions": false,
115
+ "mask_truncated_completions": false,
116
+ "ref_model_mixup_alpha": 0.9,
117
+ "ref_model_sync_steps": 64,
118
+ "scale_rewards": true,
119
+ "sync_ref_model": false,
120
+ "use_vllm": false,
121
+ "vllm_server_host": "0.0.0.0",
122
+ "vllm_server_port": 8000
123
+ },
124
+ "use_ray": false,
125
+ "val_set_size": 0.0,
126
+ "vllm": {
127
+ "device": "auto",
128
+ "dtype": "auto",
129
+ "gpu_memory_utilization": 0.9,
130
+ "host": "0.0.0.0",
131
+ "port": 8000
132
+ },
133
+ "weight_decay": 0.0,
134
+ "world_size": 1
135
+ }
136
+
137
+
138
+
139
+
140
+ [2025-10-22 12:55:25,791] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:2418] EOS: 151645 / <|im_end|>
141
+ [2025-10-22 12:55:25,792] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:2418] BOS: None / None
142
+ [2025-10-22 12:55:25,792] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:2418] PAD: 151643 / <|endoftext|>
143
+ [2025-10-22 12:55:25,792] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:2418] UNK: None / None
144
+ [2025-10-22 12:55:25,792] [INFO] [axolotl.utils.data.shared.load_preprocessed_dataset:476] [PID:2418] Unable to find prepared dataset in last_run_prepared/a99a12059c50ab085817560a37dbde6c
145
+ [2025-10-22 12:55:25,792] [INFO] [axolotl.utils.data.sft._load_raw_datasets:320] [PID:2418] Loading raw datasets...
146
+ [2025-10-22 12:55:25,792] [WARNING] [axolotl.utils.data.sft._load_raw_datasets:322] [PID:2418] Processing datasets during training can lead to VRAM instability. Please pre-process your dataset using `axolotl preprocess path/to/config.yml`.
147
+
148
+ [2025-10-22 12:55:25,923] [INFO] [axolotl.utils.data.wrappers.get_dataset_wrapper:87] [PID:2418] Loading dataset: /workspace/fine-tuning/data/data.json with base_type: alpaca and prompt_style: None
149
+
150
+ [2025-10-22 12:55:30,239] [INFO] [axolotl.utils.data.utils.handle_long_seq_in_dataset:218] [PID:2418] min_input_len: 36
151
+ [2025-10-22 12:55:30,239] [INFO] [axolotl.utils.data.utils.handle_long_seq_in_dataset:220] [PID:2418] max_input_len: 1350
152
+
153
+
154
+ [2025-10-22 12:55:31,719] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:404] [PID:2418] total_num_tokens: 94_264
155
+ [2025-10-22 12:55:31,721] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:422] [PID:2418] `total_supervised_tokens: 82_964`
156
+ [2025-10-22 12:55:31,721] [DEBUG] [axolotl.utils.trainer.calculate_total_num_steps:520] [PID:2418] total_num_steps: 63
157
+ [2025-10-22 12:55:31,721] [INFO] [axolotl.utils.data.sft._prepare_standard_dataset:121] [PID:2418] Maximum number of steps set at 63
158
+ [2025-10-22 12:55:31,750] [DEBUG] [axolotl.train.setup_model_and_tokenizer:65] [PID:2418] Loading tokenizer... Qwen/Qwen2.5-7B-Instruct
159
+ [2025-10-22 12:55:32,146] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:278] [PID:2418] EOS: 151645 / <|im_end|>
160
+ [2025-10-22 12:55:32,147] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:279] [PID:2418] BOS: None / None
161
+ [2025-10-22 12:55:32,147] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:280] [PID:2418] PAD: 151643 / <|endoftext|>
162
+ [2025-10-22 12:55:32,147] [DEBUG] [axolotl.loaders.tokenizer.load_tokenizer:281] [PID:2418] UNK: None / None
163
+ [2025-10-22 12:55:32,147] [DEBUG] [axolotl.train.setup_model_and_tokenizer:74] [PID:2418] Loading model
164
+ [2025-10-22 12:55:32,205] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_evaluation_loop:87] [PID:2418] Patched Trainer.evaluation_loop with nanmean loss calculation
165
+ [2025-10-22 12:55:32,206] [DEBUG] [axolotl.monkeypatch.transformers.trainer_loss_calc.patch_maybe_log_save_evaluate:138] [PID:2418] Patched Trainer._maybe_log_save_evaluate with nanmean loss calculation
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+ [2025-10-22 12:56:50,899] [INFO] [axolotl.loaders.model._prepare_model_for_quantization:863] [PID:2418] converting PEFT model w/ prepare_model_for_kbit_training
174
+ [2025-10-22 12:56:50,901] [INFO] [axolotl.loaders.model._configure_embedding_dtypes:345] [PID:2418] Converting modules to torch.bfloat16
175
+ [2025-10-22 12:56:50,903] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:2418] Memory usage after model load 11.676GB (+11.676GB allocated, +13.172GB reserved)
176
+ trainable params: 20,185,088 || all params: 7,635,801,600 || trainable%: 0.2643
177
+ [2025-10-22 12:56:51,121] [DEBUG] [axolotl.loaders.model.log_gpu_memory_usage:127] [PID:2418] after adapters 8.565GB (+8.565GB allocated, +13.248GB reserved)
178
+ [2025-10-22 12:56:57,347] [INFO] [axolotl.train.save_initial_configs:398] [PID:2418] Pre-saving adapter config to /workspace/fine-tuning/output...
179
+ [2025-10-22 12:56:57,347] [INFO] [axolotl.train.save_initial_configs:402] [PID:2418] Pre-saving tokenizer to /workspace/fine-tuning/output...
180
+ [2025-10-22 12:56:57,464] [INFO] [axolotl.train.save_initial_configs:407] [PID:2418] Pre-saving model config to /workspace/fine-tuning/output...
181
+ [2025-10-22 12:56:57,466] [INFO] [axolotl.train.execute_training:196] [PID:2418] Starting trainer...
182
+
183
  0%| | 0/63 [00:00<?, ?it/s][2025-10-22 12:56:58,802] [WARNING] [py.warnings._showwarnmsg:110] [PID:2418] /root/miniconda3/envs/py3.11/lib/python3.11/site-packages/bitsandbytes/autograd/_functions.py:186: UserWarning: MatMul8bitLt: inputs will be cast from torch.bfloat16 to float16 during quantization
184
+ warnings.warn(f"MatMul8bitLt: inputs will be cast from {A.dtype} to float16 during quantization")
185
+
186
+
187
  2%|█▊ | 1/63 [00:04<04:23, 4.24s/it]
188
  3%|███▋ | 2/63 [00:07<03:35, 3.53s/it]
189
  5%|█████▌ | 3/63 [00:10<03:29, 3.50s/it]
190
  6%|███████▍ | 4/63 [00:13<03:15, 3.31s/it]
191
  8%|█████████▎ | 5/63 [00:16<03:06, 3.22s/it]
192
  10%|███████████▏ | 6/63 [00:19<03:01, 3.19s/it]
193
  11%|█████████████ | 7/63 [00:22<02:50, 3.04s/it]
194
  13%|██████████████▊ | 8/63 [00:25<02:46, 3.03s/it]
195
  14%|████████████████▋ | 9/63 [00:28<02:39, 2.95s/it]
196
  16%|██████████████████▍ | 10/63 [00:32<02:49, 3.20s/it]
197
 
198
+
199
  16%|██████████████████▍ | 10/63 [00:32<02:49, 3.20s/it]
200
  17%|████████████████████▎ | 11/63 [00:35<02:52, 3.32s/it]
201
  19%|██████████████████████ | 12/63 [00:38<02:41, 3.17s/it]
202
  21%|███████████████████████▉ | 13/63 [00:41<02:33, 3.08s/it]
203
  22%|█████████████████████████▊ | 14/63 [00:44<02:23, 2.93s/it]
204
  24%|███████████████████████████▌ | 15/63 [00:47<02:21, 2.95s/it]
205
  25%|█████████████████████████████▍ | 16/63 [00:50<02:20, 2.98s/it]
206
  27%|███████████████████████████████▎ | 17/63 [00:52<02:13, 2.91s/it]
207
  29%|█████████████████████████████████▏ | 18/63 [00:55<02:11, 2.93s/it]
208
  30%|██████████████████████████████████▉ | 19/63 [00:58<02:06, 2.87s/it]
209
  32%|████████████████████████████████████▊ | 20/63 [01:01<02:02, 2.85s/it]
210
 
211
+
212
  32%|████████████████████████████████████▊ | 20/63 [01:01<02:02, 2.85s/it]
213
  33%|██████████████████████████████████████▋ | 21/63 [01:04<01:58, 2.82s/it]
214
  35%|████████████████████████████████████████▌ | 22/63 [01:07<02:00, 2.94s/it]
215
  37%|██████████████████████████████████████████▎ | 23/63 [01:09<01:53, 2.83s/it]
216
  38%|████████████████████████████████████████████▏ | 24/63 [01:13<01:57, 3.01s/it]
217
  40%|██████████████████████████████████████████████ | 25/63 [01:16<01:51, 2.93s/it]
218
  41%|███████████████████████████████████████████████▊ | 26/63 [01:18<01:46, 2.87s/it]
219
  43%|█████████████████████████████████████████████████▋ | 27/63 [01:21<01:45, 2.93s/it]
220
  44%|███████████████████████████████████████████████████▌ | 28/63 [01:25<01:51, 3.19s/it]
221
  46%|█████████████████████████████████████████████████████▍ | 29/63 [01:28<01:46, 3.15s/it]
222
  48%|███████████████████████████████████████████████████████▏ | 30/63 [01:31<01:38, 2.97s/it]
223
 
224
+
225
  48%|███████████████████████████████████████████████████████▏ | 30/63 [01:31<01:38, 2.97s/it]
226
  49%|█████████████████████████████████████████████████████████ | 31/63 [01:33<01:30, 2.84s/it]
227
  51%|██████████████████████████████████████████████████████████▉ | 32/63 [01:36<01:28, 2.85s/it]
228
  52%|████████████████████████████████████████████████████████████▊ | 33/63 [01:39<01:25, 2.84s/it]
229
  54%|██████████████████████████████████████████████████████████████▌ | 34/63 [01:42<01:23, 2.87s/it]
230
  56%|████████████████████████████████████████████████████████████████▍ | 35/63 [01:45<01:17, 2.78s/it]
231
  57%|██████████████████████████████████████████████████████████████████▎ | 36/63 [01:48<01:17, 2.87s/it]
232
  59%|████████████████████████████████████████████████████████████████████▏ | 37/63 [01:50<01:13, 2.84s/it]
233
  60%|█████████████████████████████████████████████████████████████████████▉ | 38/63 [01:53<01:12, 2.90s/it]
234
  62%|███████████████████████████████████████████████████████████████████████▊ | 39/63 [01:56<01:10, 2.93s/it]
235
  63%|█████████████████████████████████████████████████████████████████████████▋ | 40/63 [01:59<01:07, 2.95s/it]
236
 
237
+
238
  63%|█████████████████████████████████████████████████████████████████████████▋ | 40/63 [01:59<01:07, 2.95s/it]
239
  65%|███████████████████████████████████████████████████████████████████████████▍ | 41/63 [02:02<01:05, 2.97s/it]
240
  67%|█████████████████████████████████████████████████████████████████████████████▎ | 42/63 [02:05<01:01, 2.91s/it]
241
  68%|███████████████████████████████████████████████████████████████████████████████▏ | 43/63 [02:08<01:00, 3.02s/it]
242
  70%|█████████████████████████████████████████████████████████████████████████████████ | 44/63 [02:12<01:00, 3.20s/it]
243
  71%|██████████████████████████████████████████████████████████████████████████████████▊ | 45/63 [02:15<00:56, 3.11s/it]
244
  73%|████████████████████████████████████████████████████████████████████████████████████▋ | 46/63 [02:18<00:52, 3.11s/it]
245
  75%|██████████████████████████████████████████████████████████████████████████████████████▌ | 47/63 [02:21<00:49, 3.08s/it]
246
  76%|████████████████████████████████████████████████████████████████████████████████████████▍ | 48/63 [02:25<00:48, 3.23s/it]
247
  78%|██████████████████████████████████████████████████████████████████████████████████████████▏ | 49/63 [02:28<00:43, 3.10s/it]
248
  79%|████████████████████████████████████████████████████████████████████████████████████████████ | 50/63 [02:31<00:39, 3.07s/it]
249
 
250
+
251
  79%|████████████████████████████████████████████████████████████████████████████████████████████ | 50/63 [02:31<00:39, 3.07s/it]
252
  81%|█████████████████████████████████████████████████████████████████████████████████████████████▉ | 51/63 [02:33<00:35, 2.97s/it]
253
  83%|███████████████████████████████████████████████████████████████████████████████████████████████▋ | 52/63 [02:36<00:32, 2.93s/it]
254
  84%|█████████████████████████████████████████████████████████████████████████████████████████████████▌ | 53/63 [02:39<00:29, 2.92s/it]
255
  86%|███████████████████████████████████████████████████████████████████████████████████████████████████▍ | 54/63 [02:42<00:26, 2.92s/it]
256
  87%|█████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 55/63 [02:45<00:23, 2.91s/it]
257
  89%|███████████████████████████████████████████████████████████████████████████████████████████████████████ | 56/63 [02:48<00:20, 2.91s/it]
258
  90%|████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 57/63 [02:51<00:18, 3.04s/it]
259
  92%|██████████████████████████████████████████████████████████████████████████████████████████████████████████▊ | 58/63 [02:54<00:14, 2.99s/it]
260
  94%|████████████████████████████████████████████████████████████████████████████████████████████████████████████▋ | 59/63 [02:57<00:11, 2.95s/it]
261
  95%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 60/63 [03:00<00:08, 2.95s/it]
262
 
263
+
264
  95%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████▍ | 60/63 [03:00<00:08, 2.95s/it]
265
  97%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎ | 61/63 [03:03<00:05, 2.92s/it]
266
  98%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 62/63 [03:05<00:02, 2.91s/it]
267
+
268
 
269
+
270
+ [2025-10-22 13:00:08,876] [INFO] [axolotl.train.save_trained_model:218] [PID:2418] Training completed! Saving trained model to /workspace/fine-tuning/output.
271
+ [2025-10-22 13:00:09,025] [INFO] [axolotl.train.save_trained_model:336] [PID:2418] Model successfully saved to /workspace/fine-tuning/output
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
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": "<|endoftext|>",
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:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
tokenizer_config.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "split_special_tokens": false,
205
+ "tokenizer_class": "Qwen2Tokenizer",
206
+ "unk_token": null
207
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff