LayerEight commited on
Commit
55fa99f
·
verified ·
1 Parent(s): a337a9f

Upload folder using huggingface_hub

Browse files
Files changed (41) hide show
  1. .gitattributes +4 -0
  2. README.md +62 -3
  3. adapter_config.json +48 -0
  4. adapter_model.safetensors +3 -0
  5. chat_template.jinja +54 -0
  6. checkpoint-1000/README.md +209 -0
  7. checkpoint-1000/adapter_config.json +48 -0
  8. checkpoint-1000/adapter_model.safetensors +3 -0
  9. checkpoint-1000/chat_template.jinja +54 -0
  10. checkpoint-1000/optimizer.pt +3 -0
  11. checkpoint-1000/rng_state.pth +3 -0
  12. checkpoint-1000/scheduler.pt +3 -0
  13. checkpoint-1000/tokenizer.json +3 -0
  14. checkpoint-1000/tokenizer_config.json +30 -0
  15. checkpoint-1000/trainer_state.json +434 -0
  16. checkpoint-1000/training_args.bin +3 -0
  17. checkpoint-1218/README.md +209 -0
  18. checkpoint-1218/adapter_config.json +48 -0
  19. checkpoint-1218/adapter_model.safetensors +3 -0
  20. checkpoint-1218/chat_template.jinja +54 -0
  21. checkpoint-1218/optimizer.pt +3 -0
  22. checkpoint-1218/rng_state.pth +3 -0
  23. checkpoint-1218/scheduler.pt +3 -0
  24. checkpoint-1218/tokenizer.json +3 -0
  25. checkpoint-1218/tokenizer_config.json +30 -0
  26. checkpoint-1218/trainer_state.json +514 -0
  27. checkpoint-1218/training_args.bin +3 -0
  28. checkpoint-500/README.md +209 -0
  29. checkpoint-500/adapter_config.json +48 -0
  30. checkpoint-500/adapter_model.safetensors +3 -0
  31. checkpoint-500/chat_template.jinja +54 -0
  32. checkpoint-500/optimizer.pt +3 -0
  33. checkpoint-500/rng_state.pth +3 -0
  34. checkpoint-500/scheduler.pt +3 -0
  35. checkpoint-500/tokenizer.json +3 -0
  36. checkpoint-500/tokenizer_config.json +30 -0
  37. checkpoint-500/trainer_state.json +234 -0
  38. checkpoint-500/training_args.bin +3 -0
  39. tokenizer.json +3 -0
  40. tokenizer_config.json +30 -0
  41. training_args.bin +3 -0
.gitattributes CHANGED
@@ -33,3 +33,7 @@ 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-1000/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-1218/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,62 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-14B-Instruct
3
+ library_name: peft
4
+ model_name: rfc-model-output
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-14B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for rfc-model-output
16
+
17
+ This model is a fine-tuned version of [Qwen/Qwen2.5-14B-Instruct](https://huggingface.co/Qwen/Qwen2.5-14B-Instruct).
18
+ It has been trained using [TRL](https://github.com/huggingface/trl).
19
+
20
+ ## Quick start
21
+
22
+ ```python
23
+ from transformers import pipeline
24
+
25
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
26
+ generator = pipeline("text-generation", model="None", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
+ print(output["generated_text"])
29
+ ```
30
+
31
+ ## Training procedure
32
+
33
+
34
+
35
+
36
+
37
+ This model was trained with SFT.
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.19.1
42
+ - TRL: 1.2.0
43
+ - Transformers: 5.6.0
44
+ - Pytorch: 2.11.0+rocm7.2
45
+ - Datasets: 4.8.4
46
+ - Tokenizers: 0.22.2
47
+
48
+ ## Citations
49
+
50
+
51
+
52
+ Cite TRL as:
53
+
54
+ ```bibtex
55
+ @software{vonwerra2020trl,
56
+ title = {{TRL: Transformers Reinforcement Learning}},
57
+ author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
58
+ license = {Apache-2.0},
59
+ url = {https://github.com/huggingface/trl},
60
+ year = {2020}
61
+ }
62
+ ```
adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-14B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "down_proj",
34
+ "gate_proj",
35
+ "q_proj",
36
+ "k_proj",
37
+ "up_proj",
38
+ "v_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234a9a624be87bcab1c099d6a9b4aae497b761bb829cd1f46962f485bc882824
3
+ size 137716248
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-1000/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-14B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-14B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-1000/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-14B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "down_proj",
34
+ "gate_proj",
35
+ "q_proj",
36
+ "k_proj",
37
+ "up_proj",
38
+ "v_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoint-1000/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74f137b775b1fb972ee0dabb0466f1cfa7b3b169d6ee7856a24d5831e55a1c3c
3
+ size 137716248
checkpoint-1000/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-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2631de4b03e3087853aec8a6611d850ee61948b600cd6462cde13a8a0367c0
3
+ size 275819843
checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ff02d6746a15327f6d132f7cc486e46f01bc7b32f8586a5e890cf2180737618
3
+ size 14645
checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6139aaa6db114ae152e7eb972ef8f75abd6dcc179fe5d5f9d5715ff454196460
3
+ size 1465
checkpoint-1000/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-1000/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "local_files_only": false,
25
+ "model_max_length": 131072,
26
+ "pad_token": "<|im_end|>",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoint-1000/trainer_state.json ADDED
@@ -0,0 +1,434 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.8213552361396304,
6
+ "eval_steps": 500,
7
+ "global_step": 1000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.9327721463143825,
14
+ "epoch": 0.02053388090349076,
15
+ "grad_norm": 0.1806640625,
16
+ "learning_rate": 0.00012972972972972974,
17
+ "loss": 0.9855536651611329,
18
+ "mean_token_accuracy": 0.7679368060827255,
19
+ "num_tokens": 201640.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 0.8724879887700081,
24
+ "epoch": 0.04106776180698152,
25
+ "grad_norm": 0.1474609375,
26
+ "learning_rate": 0.00019994905570360817,
27
+ "loss": 0.8708956909179687,
28
+ "mean_token_accuracy": 0.7903838059306145,
29
+ "num_tokens": 404792.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 0.8544691229611635,
34
+ "epoch": 0.061601642710472276,
35
+ "grad_norm": 0.15234375,
36
+ "learning_rate": 0.00019951602516690988,
37
+ "loss": 0.8482267761230469,
38
+ "mean_token_accuracy": 0.7932471469044685,
39
+ "num_tokens": 606810.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 0.8944924513995648,
44
+ "epoch": 0.08213552361396304,
45
+ "grad_norm": 0.1640625,
46
+ "learning_rate": 0.0001986430349043317,
47
+ "loss": 0.8818518829345703,
48
+ "mean_token_accuracy": 0.7834139719605446,
49
+ "num_tokens": 807549.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 0.9099837489426136,
54
+ "epoch": 0.1026694045174538,
55
+ "grad_norm": 0.14453125,
56
+ "learning_rate": 0.0001973339444003735,
57
+ "loss": 0.8984813690185547,
58
+ "mean_token_accuracy": 0.7812782523036003,
59
+ "num_tokens": 1008223.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 0.8356300877034664,
64
+ "epoch": 0.12320328542094455,
65
+ "grad_norm": 0.15234375,
66
+ "learning_rate": 0.0001955945411359792,
67
+ "loss": 0.8289723205566406,
68
+ "mean_token_accuracy": 0.7977875503897667,
69
+ "num_tokens": 1209811.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 0.8626699298620224,
74
+ "epoch": 0.1437371663244353,
75
+ "grad_norm": 0.150390625,
76
+ "learning_rate": 0.00019343251500211975,
77
+ "loss": 0.8522069549560547,
78
+ "mean_token_accuracy": 0.789976358115673,
79
+ "num_tokens": 1411353.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.8640103512257338,
84
+ "epoch": 0.16427104722792607,
85
+ "grad_norm": 0.1318359375,
86
+ "learning_rate": 0.00019085742430283322,
87
+ "loss": 0.8584527587890625,
88
+ "mean_token_accuracy": 0.7891600033640862,
89
+ "num_tokens": 1614555.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8809252215921879,
94
+ "epoch": 0.18480492813141683,
95
+ "grad_norm": 0.1640625,
96
+ "learning_rate": 0.0001878806534980221,
97
+ "loss": 0.87360107421875,
98
+ "mean_token_accuracy": 0.7867547670006751,
99
+ "num_tokens": 1816672.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.8541410507261753,
104
+ "epoch": 0.2053388090349076,
105
+ "grad_norm": 0.11962890625,
106
+ "learning_rate": 0.0001845153628728274,
107
+ "loss": 0.8500338745117187,
108
+ "mean_token_accuracy": 0.7926329699158668,
109
+ "num_tokens": 2018500.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8946534705162048,
114
+ "epoch": 0.22587268993839835,
115
+ "grad_norm": 0.1689453125,
116
+ "learning_rate": 0.00018077643035609004,
117
+ "loss": 0.8828852844238281,
118
+ "mean_token_accuracy": 0.7846844819188118,
119
+ "num_tokens": 2220866.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.8587514898180961,
124
+ "epoch": 0.2464065708418891,
125
+ "grad_norm": 0.171875,
126
+ "learning_rate": 0.0001766803857451204,
127
+ "loss": 0.8391613006591797,
128
+ "mean_token_accuracy": 0.7931238517165184,
129
+ "num_tokens": 2421013.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.876440706178546,
134
+ "epoch": 0.2669404517453799,
135
+ "grad_norm": 0.1796875,
136
+ "learning_rate": 0.00017224533762756776,
137
+ "loss": 0.8661175537109375,
138
+ "mean_token_accuracy": 0.7875098848342895,
139
+ "num_tokens": 2623081.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.8844135162234307,
144
+ "epoch": 0.2874743326488706,
145
+ "grad_norm": 0.15234375,
146
+ "learning_rate": 0.00016749089332346713,
147
+ "loss": 0.8735830688476562,
148
+ "mean_token_accuracy": 0.7862337788939476,
149
+ "num_tokens": 2824382.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.7987543179094792,
154
+ "epoch": 0.3080082135523614,
155
+ "grad_norm": 0.154296875,
156
+ "learning_rate": 0.00016243807220139988,
157
+ "loss": 0.79259033203125,
158
+ "mean_token_accuracy": 0.804975683093071,
159
+ "num_tokens": 3026700.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.8895229130983353,
164
+ "epoch": 0.32854209445585214,
165
+ "grad_norm": 0.171875,
166
+ "learning_rate": 0.0001571092127519967,
167
+ "loss": 0.8765971374511718,
168
+ "mean_token_accuracy": 0.7862004506587982,
169
+ "num_tokens": 3228741.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.8609522663801908,
174
+ "epoch": 0.3490759753593429,
175
+ "grad_norm": 0.1484375,
176
+ "learning_rate": 0.00015152787382960968,
177
+ "loss": 0.8444467163085938,
178
+ "mean_token_accuracy": 0.793184621334076,
179
+ "num_tokens": 3428336.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.8780751578509808,
184
+ "epoch": 0.36960985626283366,
185
+ "grad_norm": 0.1318359375,
186
+ "learning_rate": 0.0001457187304987645,
187
+ "loss": 0.8594348907470704,
188
+ "mean_token_accuracy": 0.7891285745799541,
189
+ "num_tokens": 3626721.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.815336870700121,
194
+ "epoch": 0.39014373716632444,
195
+ "grad_norm": 0.1357421875,
196
+ "learning_rate": 0.0001397074649458544,
197
+ "loss": 0.8068878936767578,
198
+ "mean_token_accuracy": 0.8028223878145218,
199
+ "num_tokens": 3829062.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.8639824625849724,
204
+ "epoch": 0.4106776180698152,
205
+ "grad_norm": 0.169921875,
206
+ "learning_rate": 0.00013352065293835397,
207
+ "loss": 0.8533393096923828,
208
+ "mean_token_accuracy": 0.7899997106194496,
209
+ "num_tokens": 4030678.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 0.8904591681063175,
214
+ "epoch": 0.43121149897330596,
215
+ "grad_norm": 0.162109375,
216
+ "learning_rate": 0.00012718564633351772,
217
+ "loss": 0.8847498321533203,
218
+ "mean_token_accuracy": 0.7833931747078896,
219
+ "num_tokens": 4233119.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 0.8268530152738094,
224
+ "epoch": 0.4517453798767967,
225
+ "grad_norm": 0.1689453125,
226
+ "learning_rate": 0.00012073045215598952,
227
+ "loss": 0.8184004211425782,
228
+ "mean_token_accuracy": 0.7992048686742783,
229
+ "num_tokens": 4434734.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 0.7941572253406047,
234
+ "epoch": 0.4722792607802875,
235
+ "grad_norm": 0.173828125,
236
+ "learning_rate": 0.00011418360877892164,
237
+ "loss": 0.7798463439941407,
238
+ "mean_token_accuracy": 0.8061937466263771,
239
+ "num_tokens": 4636778.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 0.8667953862249851,
244
+ "epoch": 0.4928131416837782,
245
+ "grad_norm": 0.169921875,
246
+ "learning_rate": 0.00010757405975600534,
247
+ "loss": 0.8635111999511719,
248
+ "mean_token_accuracy": 0.7889971971511841,
249
+ "num_tokens": 4839819.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 0.8342785247415304,
254
+ "epoch": 0.5133470225872689,
255
+ "grad_norm": 0.1416015625,
256
+ "learning_rate": 0.00010093102586220055,
257
+ "loss": 0.8236666870117187,
258
+ "mean_token_accuracy": 0.796975427120924,
259
+ "num_tokens": 5041753.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.8055999881774187,
264
+ "epoch": 0.5338809034907598,
265
+ "grad_norm": 0.158203125,
266
+ "learning_rate": 9.42838759088723e-05,
267
+ "loss": 0.7989521789550781,
268
+ "mean_token_accuracy": 0.805096383690834,
269
+ "num_tokens": 5245040.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 0.8180603013932705,
274
+ "epoch": 0.5544147843942505,
275
+ "grad_norm": 0.150390625,
276
+ "learning_rate": 8.76619969044592e-05,
277
+ "loss": 0.802100601196289,
278
+ "mean_token_accuracy": 0.8017301180958748,
279
+ "num_tokens": 5446302.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.8475391804426908,
284
+ "epoch": 0.5749486652977412,
285
+ "grad_norm": 0.1865234375,
286
+ "learning_rate": 8.109466413469238e-05,
287
+ "loss": 0.8385409545898438,
288
+ "mean_token_accuracy": 0.7944941192865371,
289
+ "num_tokens": 5647189.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.8185767906159163,
294
+ "epoch": 0.5954825462012321,
295
+ "grad_norm": 0.201171875,
296
+ "learning_rate": 7.461091173674022e-05,
297
+ "loss": 0.80953369140625,
298
+ "mean_token_accuracy": 0.7994823551177979,
299
+ "num_tokens": 5849070.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.8287316697835923,
304
+ "epoch": 0.6160164271047228,
305
+ "grad_norm": 0.193359375,
306
+ "learning_rate": 6.823940433946921e-05,
307
+ "loss": 0.8172183227539063,
308
+ "mean_token_accuracy": 0.8001478153467179,
309
+ "num_tokens": 6051514.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.8862237848341465,
314
+ "epoch": 0.6365503080082136,
315
+ "grad_norm": 0.1630859375,
316
+ "learning_rate": 6.200831033729863e-05,
317
+ "loss": 0.8690660095214844,
318
+ "mean_token_accuracy": 0.7873855569958687,
319
+ "num_tokens": 6251375.0,
320
+ "step": 775
321
+ },
322
+ {
323
+ "entropy": 0.7810994558781386,
324
+ "epoch": 0.6570841889117043,
325
+ "grad_norm": 0.1826171875,
326
+ "learning_rate": 5.5945177357904934e-05,
327
+ "loss": 0.7692386627197265,
328
+ "mean_token_accuracy": 0.8092155620455742,
329
+ "num_tokens": 6453040.0,
330
+ "step": 800
331
+ },
332
+ {
333
+ "entropy": 0.8132312067598104,
334
+ "epoch": 0.6776180698151951,
335
+ "grad_norm": 0.1572265625,
336
+ "learning_rate": 5.007681047433139e-05,
337
+ "loss": 0.8110353088378907,
338
+ "mean_token_accuracy": 0.8015294006466865,
339
+ "num_tokens": 6656782.0,
340
+ "step": 825
341
+ },
342
+ {
343
+ "entropy": 0.8274586813151836,
344
+ "epoch": 0.6981519507186859,
345
+ "grad_norm": 0.1630859375,
346
+ "learning_rate": 4.442915369992802e-05,
347
+ "loss": 0.815575942993164,
348
+ "mean_token_accuracy": 0.7989534091949463,
349
+ "num_tokens": 6858454.0,
350
+ "step": 850
351
+ },
352
+ {
353
+ "entropy": 0.8976877976208926,
354
+ "epoch": 0.7186858316221766,
355
+ "grad_norm": 0.162109375,
356
+ "learning_rate": 3.902717529003005e-05,
357
+ "loss": 0.8837800598144532,
358
+ "mean_token_accuracy": 0.7825979651510715,
359
+ "num_tokens": 7058361.0,
360
+ "step": 875
361
+ },
362
+ {
363
+ "entropy": 0.8282124460488558,
364
+ "epoch": 0.7392197125256673,
365
+ "grad_norm": 0.1640625,
366
+ "learning_rate": 3.389475735745761e-05,
367
+ "loss": 0.8223667907714843,
368
+ "mean_token_accuracy": 0.79724593937397,
369
+ "num_tokens": 7261833.0,
370
+ "step": 900
371
+ },
372
+ {
373
+ "entropy": 0.8559306030720473,
374
+ "epoch": 0.7597535934291582,
375
+ "grad_norm": 0.1630859375,
376
+ "learning_rate": 2.9054590289843396e-05,
377
+ "loss": 0.8454450988769531,
378
+ "mean_token_accuracy": 0.7930123561620712,
379
+ "num_tokens": 7463682.0,
380
+ "step": 925
381
+ },
382
+ {
383
+ "entropy": 0.8133819183707237,
384
+ "epoch": 0.7802874743326489,
385
+ "grad_norm": 0.1884765625,
386
+ "learning_rate": 2.452807243557116e-05,
387
+ "loss": 0.8075272369384766,
388
+ "mean_token_accuracy": 0.8024582426249981,
389
+ "num_tokens": 7666583.0,
390
+ "step": 950
391
+ },
392
+ {
393
+ "entropy": 0.8377064400911332,
394
+ "epoch": 0.8008213552361396,
395
+ "grad_norm": 0.1748046875,
396
+ "learning_rate": 2.0335215501810777e-05,
397
+ "loss": 0.825996322631836,
398
+ "mean_token_accuracy": 0.7960993593931198,
399
+ "num_tokens": 7867378.0,
400
+ "step": 975
401
+ },
402
+ {
403
+ "entropy": 0.8585446905344725,
404
+ "epoch": 0.8213552361396304,
405
+ "grad_norm": 0.169921875,
406
+ "learning_rate": 1.6494556082886036e-05,
407
+ "loss": 0.8439271545410156,
408
+ "mean_token_accuracy": 0.7945261257886886,
409
+ "num_tokens": 8068940.0,
410
+ "step": 1000
411
+ }
412
+ ],
413
+ "logging_steps": 25,
414
+ "max_steps": 1218,
415
+ "num_input_tokens_seen": 0,
416
+ "num_train_epochs": 1,
417
+ "save_steps": 500,
418
+ "stateful_callbacks": {
419
+ "TrainerControl": {
420
+ "args": {
421
+ "should_epoch_stop": false,
422
+ "should_evaluate": false,
423
+ "should_log": false,
424
+ "should_save": true,
425
+ "should_training_stop": false
426
+ },
427
+ "attributes": {}
428
+ }
429
+ },
430
+ "total_flos": 6.807092753482138e+17,
431
+ "train_batch_size": 1,
432
+ "trial_name": null,
433
+ "trial_params": null
434
+ }
checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c74c540ba486e37b2ecd571f6abb225f08e6945cd9424b3c389d45073e7ec7
3
+ size 5713
checkpoint-1218/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-14B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-14B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-1218/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-14B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "down_proj",
34
+ "gate_proj",
35
+ "q_proj",
36
+ "k_proj",
37
+ "up_proj",
38
+ "v_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoint-1218/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234a9a624be87bcab1c099d6a9b4aae497b761bb829cd1f46962f485bc882824
3
+ size 137716248
checkpoint-1218/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-1218/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7084439896f3c03e54044a76252fd5498a3317b8e3d278976eb1efa9f2c2c9d6
3
+ size 275819843
checkpoint-1218/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b0e2046090c2eb039f24137681b28da388e31434b4fbca6430ca94d6ba82ac4e
3
+ size 14645
checkpoint-1218/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e3369d35408474ce20c366a8744cbd23421e743bad2afe92aced69322e81ead
3
+ size 1465
checkpoint-1218/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-1218/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "local_files_only": false,
25
+ "model_max_length": 131072,
26
+ "pad_token": "<|im_end|>",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoint-1218/trainer_state.json ADDED
@@ -0,0 +1,514 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1218,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.9327721463143825,
14
+ "epoch": 0.02053388090349076,
15
+ "grad_norm": 0.1806640625,
16
+ "learning_rate": 0.00012972972972972974,
17
+ "loss": 0.9855536651611329,
18
+ "mean_token_accuracy": 0.7679368060827255,
19
+ "num_tokens": 201640.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 0.8724879887700081,
24
+ "epoch": 0.04106776180698152,
25
+ "grad_norm": 0.1474609375,
26
+ "learning_rate": 0.00019994905570360817,
27
+ "loss": 0.8708956909179687,
28
+ "mean_token_accuracy": 0.7903838059306145,
29
+ "num_tokens": 404792.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 0.8544691229611635,
34
+ "epoch": 0.061601642710472276,
35
+ "grad_norm": 0.15234375,
36
+ "learning_rate": 0.00019951602516690988,
37
+ "loss": 0.8482267761230469,
38
+ "mean_token_accuracy": 0.7932471469044685,
39
+ "num_tokens": 606810.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 0.8944924513995648,
44
+ "epoch": 0.08213552361396304,
45
+ "grad_norm": 0.1640625,
46
+ "learning_rate": 0.0001986430349043317,
47
+ "loss": 0.8818518829345703,
48
+ "mean_token_accuracy": 0.7834139719605446,
49
+ "num_tokens": 807549.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 0.9099837489426136,
54
+ "epoch": 0.1026694045174538,
55
+ "grad_norm": 0.14453125,
56
+ "learning_rate": 0.0001973339444003735,
57
+ "loss": 0.8984813690185547,
58
+ "mean_token_accuracy": 0.7812782523036003,
59
+ "num_tokens": 1008223.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 0.8356300877034664,
64
+ "epoch": 0.12320328542094455,
65
+ "grad_norm": 0.15234375,
66
+ "learning_rate": 0.0001955945411359792,
67
+ "loss": 0.8289723205566406,
68
+ "mean_token_accuracy": 0.7977875503897667,
69
+ "num_tokens": 1209811.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 0.8626699298620224,
74
+ "epoch": 0.1437371663244353,
75
+ "grad_norm": 0.150390625,
76
+ "learning_rate": 0.00019343251500211975,
77
+ "loss": 0.8522069549560547,
78
+ "mean_token_accuracy": 0.789976358115673,
79
+ "num_tokens": 1411353.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.8640103512257338,
84
+ "epoch": 0.16427104722792607,
85
+ "grad_norm": 0.1318359375,
86
+ "learning_rate": 0.00019085742430283322,
87
+ "loss": 0.8584527587890625,
88
+ "mean_token_accuracy": 0.7891600033640862,
89
+ "num_tokens": 1614555.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8809252215921879,
94
+ "epoch": 0.18480492813141683,
95
+ "grad_norm": 0.1640625,
96
+ "learning_rate": 0.0001878806534980221,
97
+ "loss": 0.87360107421875,
98
+ "mean_token_accuracy": 0.7867547670006751,
99
+ "num_tokens": 1816672.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.8541410507261753,
104
+ "epoch": 0.2053388090349076,
105
+ "grad_norm": 0.11962890625,
106
+ "learning_rate": 0.0001845153628728274,
107
+ "loss": 0.8500338745117187,
108
+ "mean_token_accuracy": 0.7926329699158668,
109
+ "num_tokens": 2018500.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8946534705162048,
114
+ "epoch": 0.22587268993839835,
115
+ "grad_norm": 0.1689453125,
116
+ "learning_rate": 0.00018077643035609004,
117
+ "loss": 0.8828852844238281,
118
+ "mean_token_accuracy": 0.7846844819188118,
119
+ "num_tokens": 2220866.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.8587514898180961,
124
+ "epoch": 0.2464065708418891,
125
+ "grad_norm": 0.171875,
126
+ "learning_rate": 0.0001766803857451204,
127
+ "loss": 0.8391613006591797,
128
+ "mean_token_accuracy": 0.7931238517165184,
129
+ "num_tokens": 2421013.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.876440706178546,
134
+ "epoch": 0.2669404517453799,
135
+ "grad_norm": 0.1796875,
136
+ "learning_rate": 0.00017224533762756776,
137
+ "loss": 0.8661175537109375,
138
+ "mean_token_accuracy": 0.7875098848342895,
139
+ "num_tokens": 2623081.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.8844135162234307,
144
+ "epoch": 0.2874743326488706,
145
+ "grad_norm": 0.15234375,
146
+ "learning_rate": 0.00016749089332346713,
147
+ "loss": 0.8735830688476562,
148
+ "mean_token_accuracy": 0.7862337788939476,
149
+ "num_tokens": 2824382.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.7987543179094792,
154
+ "epoch": 0.3080082135523614,
155
+ "grad_norm": 0.154296875,
156
+ "learning_rate": 0.00016243807220139988,
157
+ "loss": 0.79259033203125,
158
+ "mean_token_accuracy": 0.804975683093071,
159
+ "num_tokens": 3026700.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.8895229130983353,
164
+ "epoch": 0.32854209445585214,
165
+ "grad_norm": 0.171875,
166
+ "learning_rate": 0.0001571092127519967,
167
+ "loss": 0.8765971374511718,
168
+ "mean_token_accuracy": 0.7862004506587982,
169
+ "num_tokens": 3228741.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.8609522663801908,
174
+ "epoch": 0.3490759753593429,
175
+ "grad_norm": 0.1484375,
176
+ "learning_rate": 0.00015152787382960968,
177
+ "loss": 0.8444467163085938,
178
+ "mean_token_accuracy": 0.793184621334076,
179
+ "num_tokens": 3428336.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.8780751578509808,
184
+ "epoch": 0.36960985626283366,
185
+ "grad_norm": 0.1318359375,
186
+ "learning_rate": 0.0001457187304987645,
187
+ "loss": 0.8594348907470704,
188
+ "mean_token_accuracy": 0.7891285745799541,
189
+ "num_tokens": 3626721.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.815336870700121,
194
+ "epoch": 0.39014373716632444,
195
+ "grad_norm": 0.1357421875,
196
+ "learning_rate": 0.0001397074649458544,
197
+ "loss": 0.8068878936767578,
198
+ "mean_token_accuracy": 0.8028223878145218,
199
+ "num_tokens": 3829062.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.8639824625849724,
204
+ "epoch": 0.4106776180698152,
205
+ "grad_norm": 0.169921875,
206
+ "learning_rate": 0.00013352065293835397,
207
+ "loss": 0.8533393096923828,
208
+ "mean_token_accuracy": 0.7899997106194496,
209
+ "num_tokens": 4030678.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 0.8904591681063175,
214
+ "epoch": 0.43121149897330596,
215
+ "grad_norm": 0.162109375,
216
+ "learning_rate": 0.00012718564633351772,
217
+ "loss": 0.8847498321533203,
218
+ "mean_token_accuracy": 0.7833931747078896,
219
+ "num_tokens": 4233119.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 0.8268530152738094,
224
+ "epoch": 0.4517453798767967,
225
+ "grad_norm": 0.1689453125,
226
+ "learning_rate": 0.00012073045215598952,
227
+ "loss": 0.8184004211425782,
228
+ "mean_token_accuracy": 0.7992048686742783,
229
+ "num_tokens": 4434734.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 0.7941572253406047,
234
+ "epoch": 0.4722792607802875,
235
+ "grad_norm": 0.173828125,
236
+ "learning_rate": 0.00011418360877892164,
237
+ "loss": 0.7798463439941407,
238
+ "mean_token_accuracy": 0.8061937466263771,
239
+ "num_tokens": 4636778.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 0.8667953862249851,
244
+ "epoch": 0.4928131416837782,
245
+ "grad_norm": 0.169921875,
246
+ "learning_rate": 0.00010757405975600534,
247
+ "loss": 0.8635111999511719,
248
+ "mean_token_accuracy": 0.7889971971511841,
249
+ "num_tokens": 4839819.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 0.8342785247415304,
254
+ "epoch": 0.5133470225872689,
255
+ "grad_norm": 0.1416015625,
256
+ "learning_rate": 0.00010093102586220055,
257
+ "loss": 0.8236666870117187,
258
+ "mean_token_accuracy": 0.796975427120924,
259
+ "num_tokens": 5041753.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.8055999881774187,
264
+ "epoch": 0.5338809034907598,
265
+ "grad_norm": 0.158203125,
266
+ "learning_rate": 9.42838759088723e-05,
267
+ "loss": 0.7989521789550781,
268
+ "mean_token_accuracy": 0.805096383690834,
269
+ "num_tokens": 5245040.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 0.8180603013932705,
274
+ "epoch": 0.5544147843942505,
275
+ "grad_norm": 0.150390625,
276
+ "learning_rate": 8.76619969044592e-05,
277
+ "loss": 0.802100601196289,
278
+ "mean_token_accuracy": 0.8017301180958748,
279
+ "num_tokens": 5446302.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.8475391804426908,
284
+ "epoch": 0.5749486652977412,
285
+ "grad_norm": 0.1865234375,
286
+ "learning_rate": 8.109466413469238e-05,
287
+ "loss": 0.8385409545898438,
288
+ "mean_token_accuracy": 0.7944941192865371,
289
+ "num_tokens": 5647189.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.8185767906159163,
294
+ "epoch": 0.5954825462012321,
295
+ "grad_norm": 0.201171875,
296
+ "learning_rate": 7.461091173674022e-05,
297
+ "loss": 0.80953369140625,
298
+ "mean_token_accuracy": 0.7994823551177979,
299
+ "num_tokens": 5849070.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.8287316697835923,
304
+ "epoch": 0.6160164271047228,
305
+ "grad_norm": 0.193359375,
306
+ "learning_rate": 6.823940433946921e-05,
307
+ "loss": 0.8172183227539063,
308
+ "mean_token_accuracy": 0.8001478153467179,
309
+ "num_tokens": 6051514.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.8862237848341465,
314
+ "epoch": 0.6365503080082136,
315
+ "grad_norm": 0.1630859375,
316
+ "learning_rate": 6.200831033729863e-05,
317
+ "loss": 0.8690660095214844,
318
+ "mean_token_accuracy": 0.7873855569958687,
319
+ "num_tokens": 6251375.0,
320
+ "step": 775
321
+ },
322
+ {
323
+ "entropy": 0.7810994558781386,
324
+ "epoch": 0.6570841889117043,
325
+ "grad_norm": 0.1826171875,
326
+ "learning_rate": 5.5945177357904934e-05,
327
+ "loss": 0.7692386627197265,
328
+ "mean_token_accuracy": 0.8092155620455742,
329
+ "num_tokens": 6453040.0,
330
+ "step": 800
331
+ },
332
+ {
333
+ "entropy": 0.8132312067598104,
334
+ "epoch": 0.6776180698151951,
335
+ "grad_norm": 0.1572265625,
336
+ "learning_rate": 5.007681047433139e-05,
337
+ "loss": 0.8110353088378907,
338
+ "mean_token_accuracy": 0.8015294006466865,
339
+ "num_tokens": 6656782.0,
340
+ "step": 825
341
+ },
342
+ {
343
+ "entropy": 0.8274586813151836,
344
+ "epoch": 0.6981519507186859,
345
+ "grad_norm": 0.1630859375,
346
+ "learning_rate": 4.442915369992802e-05,
347
+ "loss": 0.815575942993164,
348
+ "mean_token_accuracy": 0.7989534091949463,
349
+ "num_tokens": 6858454.0,
350
+ "step": 850
351
+ },
352
+ {
353
+ "entropy": 0.8976877976208926,
354
+ "epoch": 0.7186858316221766,
355
+ "grad_norm": 0.162109375,
356
+ "learning_rate": 3.902717529003005e-05,
357
+ "loss": 0.8837800598144532,
358
+ "mean_token_accuracy": 0.7825979651510715,
359
+ "num_tokens": 7058361.0,
360
+ "step": 875
361
+ },
362
+ {
363
+ "entropy": 0.8282124460488558,
364
+ "epoch": 0.7392197125256673,
365
+ "grad_norm": 0.1640625,
366
+ "learning_rate": 3.389475735745761e-05,
367
+ "loss": 0.8223667907714843,
368
+ "mean_token_accuracy": 0.79724593937397,
369
+ "num_tokens": 7261833.0,
370
+ "step": 900
371
+ },
372
+ {
373
+ "entropy": 0.8559306030720473,
374
+ "epoch": 0.7597535934291582,
375
+ "grad_norm": 0.1630859375,
376
+ "learning_rate": 2.9054590289843396e-05,
377
+ "loss": 0.8454450988769531,
378
+ "mean_token_accuracy": 0.7930123561620712,
379
+ "num_tokens": 7463682.0,
380
+ "step": 925
381
+ },
382
+ {
383
+ "entropy": 0.8133819183707237,
384
+ "epoch": 0.7802874743326489,
385
+ "grad_norm": 0.1884765625,
386
+ "learning_rate": 2.452807243557116e-05,
387
+ "loss": 0.8075272369384766,
388
+ "mean_token_accuracy": 0.8024582426249981,
389
+ "num_tokens": 7666583.0,
390
+ "step": 950
391
+ },
392
+ {
393
+ "entropy": 0.8377064400911332,
394
+ "epoch": 0.8008213552361396,
395
+ "grad_norm": 0.1748046875,
396
+ "learning_rate": 2.0335215501810777e-05,
397
+ "loss": 0.825996322631836,
398
+ "mean_token_accuracy": 0.7960993593931198,
399
+ "num_tokens": 7867378.0,
400
+ "step": 975
401
+ },
402
+ {
403
+ "entropy": 0.8585446905344725,
404
+ "epoch": 0.8213552361396304,
405
+ "grad_norm": 0.169921875,
406
+ "learning_rate": 1.6494556082886036e-05,
407
+ "loss": 0.8439271545410156,
408
+ "mean_token_accuracy": 0.7945261257886886,
409
+ "num_tokens": 8068940.0,
410
+ "step": 1000
411
+ },
412
+ {
413
+ "entropy": 0.8176959943026304,
414
+ "epoch": 0.8418891170431212,
415
+ "grad_norm": 0.1533203125,
416
+ "learning_rate": 1.3023073710106726e-05,
417
+ "loss": 0.8095787048339844,
418
+ "mean_token_accuracy": 0.8031405085325241,
419
+ "num_tokens": 8273099.0,
420
+ "step": 1025
421
+ },
422
+ {
423
+ "entropy": 0.8056896831095218,
424
+ "epoch": 0.8624229979466119,
425
+ "grad_norm": 0.1572265625,
426
+ "learning_rate": 9.936115785366818e-06,
427
+ "loss": 0.7893988800048828,
428
+ "mean_token_accuracy": 0.8052867284417152,
429
+ "num_tokens": 8473495.0,
430
+ "step": 1050
431
+ },
432
+ {
433
+ "entropy": 0.8300137943774462,
434
+ "epoch": 0.8829568788501027,
435
+ "grad_norm": 0.1435546875,
436
+ "learning_rate": 7.247329730376428e-06,
437
+ "loss": 0.8155036926269531,
438
+ "mean_token_accuracy": 0.7991513350605964,
439
+ "num_tokens": 8673737.0,
440
+ "step": 1075
441
+ },
442
+ {
443
+ "entropy": 0.8159111841768026,
444
+ "epoch": 0.9034907597535934,
445
+ "grad_norm": 0.140625,
446
+ "learning_rate": 4.968602651495779e-06,
447
+ "loss": 0.7988214111328125,
448
+ "mean_token_accuracy": 0.8009992632269859,
449
+ "num_tokens": 8873700.0,
450
+ "step": 1100
451
+ },
452
+ {
453
+ "entropy": 0.7891377609223127,
454
+ "epoch": 0.9240246406570842,
455
+ "grad_norm": 0.150390625,
456
+ "learning_rate": 3.110008786912122e-06,
457
+ "loss": 0.7799327087402343,
458
+ "mean_token_accuracy": 0.8081652447581291,
459
+ "num_tokens": 9076270.0,
460
+ "step": 1125
461
+ },
462
+ {
463
+ "entropy": 0.7982633775472641,
464
+ "epoch": 0.944558521560575,
465
+ "grad_norm": 0.18359375,
466
+ "learning_rate": 1.6797649684956119e-06,
467
+ "loss": 0.7916005706787109,
468
+ "mean_token_accuracy": 0.8044543984532356,
469
+ "num_tokens": 9279889.0,
470
+ "step": 1150
471
+ },
472
+ {
473
+ "entropy": 0.8694525339081883,
474
+ "epoch": 0.9650924024640657,
475
+ "grad_norm": 0.177734375,
476
+ "learning_rate": 6.841942952369618e-07,
477
+ "loss": 0.8574421691894532,
478
+ "mean_token_accuracy": 0.7883387035131455,
479
+ "num_tokens": 9481072.0,
480
+ "step": 1175
481
+ },
482
+ {
483
+ "entropy": 0.7400653018802404,
484
+ "epoch": 0.9856262833675564,
485
+ "grad_norm": 0.2109375,
486
+ "learning_rate": 1.2769817886626456e-07,
487
+ "loss": 0.7348995208740234,
488
+ "mean_token_accuracy": 0.8198987892270089,
489
+ "num_tokens": 9683838.0,
490
+ "step": 1200
491
+ }
492
+ ],
493
+ "logging_steps": 25,
494
+ "max_steps": 1218,
495
+ "num_input_tokens_seen": 0,
496
+ "num_train_epochs": 1,
497
+ "save_steps": 500,
498
+ "stateful_callbacks": {
499
+ "TrainerControl": {
500
+ "args": {
501
+ "should_epoch_stop": false,
502
+ "should_evaluate": false,
503
+ "should_log": false,
504
+ "should_save": true,
505
+ "should_training_stop": true
506
+ },
507
+ "attributes": {}
508
+ }
509
+ },
510
+ "total_flos": 8.289904376732713e+17,
511
+ "train_batch_size": 1,
512
+ "trial_name": null,
513
+ "trial_params": null
514
+ }
checkpoint-1218/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c74c540ba486e37b2ecd571f6abb225f08e6945cd9424b3c389d45073e7ec7
3
+ size 5713
checkpoint-500/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-14B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-14B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-14B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 16,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "down_proj",
34
+ "gate_proj",
35
+ "q_proj",
36
+ "k_proj",
37
+ "up_proj",
38
+ "v_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baabde4a77fc6dc06a2c2ba6e7d668eda7873012a39a2625e027ce09f4c503c4
3
+ size 137716248
checkpoint-500/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-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eba3cf2d3ba5507d16e6b7f4806800b2a12ffba45b22458d13598abc59c490eb
3
+ size 275819843
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a248915dafbd7ae492916e8e3b07a84280dd83804293d963a986f5ea88523a05
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7652e22ba8c9f33df03ad6ae69a9c8787cb48432329278c58bc74e8cf0195f4
3
+ size 1465
checkpoint-500/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "local_files_only": false,
25
+ "model_max_length": 131072,
26
+ "pad_token": "<|im_end|>",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.4106776180698152,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 0.9327721463143825,
14
+ "epoch": 0.02053388090349076,
15
+ "grad_norm": 0.1806640625,
16
+ "learning_rate": 0.00012972972972972974,
17
+ "loss": 0.9855536651611329,
18
+ "mean_token_accuracy": 0.7679368060827255,
19
+ "num_tokens": 201640.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 0.8724879887700081,
24
+ "epoch": 0.04106776180698152,
25
+ "grad_norm": 0.1474609375,
26
+ "learning_rate": 0.00019994905570360817,
27
+ "loss": 0.8708956909179687,
28
+ "mean_token_accuracy": 0.7903838059306145,
29
+ "num_tokens": 404792.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 0.8544691229611635,
34
+ "epoch": 0.061601642710472276,
35
+ "grad_norm": 0.15234375,
36
+ "learning_rate": 0.00019951602516690988,
37
+ "loss": 0.8482267761230469,
38
+ "mean_token_accuracy": 0.7932471469044685,
39
+ "num_tokens": 606810.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 0.8944924513995648,
44
+ "epoch": 0.08213552361396304,
45
+ "grad_norm": 0.1640625,
46
+ "learning_rate": 0.0001986430349043317,
47
+ "loss": 0.8818518829345703,
48
+ "mean_token_accuracy": 0.7834139719605446,
49
+ "num_tokens": 807549.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 0.9099837489426136,
54
+ "epoch": 0.1026694045174538,
55
+ "grad_norm": 0.14453125,
56
+ "learning_rate": 0.0001973339444003735,
57
+ "loss": 0.8984813690185547,
58
+ "mean_token_accuracy": 0.7812782523036003,
59
+ "num_tokens": 1008223.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 0.8356300877034664,
64
+ "epoch": 0.12320328542094455,
65
+ "grad_norm": 0.15234375,
66
+ "learning_rate": 0.0001955945411359792,
67
+ "loss": 0.8289723205566406,
68
+ "mean_token_accuracy": 0.7977875503897667,
69
+ "num_tokens": 1209811.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 0.8626699298620224,
74
+ "epoch": 0.1437371663244353,
75
+ "grad_norm": 0.150390625,
76
+ "learning_rate": 0.00019343251500211975,
77
+ "loss": 0.8522069549560547,
78
+ "mean_token_accuracy": 0.789976358115673,
79
+ "num_tokens": 1411353.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.8640103512257338,
84
+ "epoch": 0.16427104722792607,
85
+ "grad_norm": 0.1318359375,
86
+ "learning_rate": 0.00019085742430283322,
87
+ "loss": 0.8584527587890625,
88
+ "mean_token_accuracy": 0.7891600033640862,
89
+ "num_tokens": 1614555.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8809252215921879,
94
+ "epoch": 0.18480492813141683,
95
+ "grad_norm": 0.1640625,
96
+ "learning_rate": 0.0001878806534980221,
97
+ "loss": 0.87360107421875,
98
+ "mean_token_accuracy": 0.7867547670006751,
99
+ "num_tokens": 1816672.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.8541410507261753,
104
+ "epoch": 0.2053388090349076,
105
+ "grad_norm": 0.11962890625,
106
+ "learning_rate": 0.0001845153628728274,
107
+ "loss": 0.8500338745117187,
108
+ "mean_token_accuracy": 0.7926329699158668,
109
+ "num_tokens": 2018500.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8946534705162048,
114
+ "epoch": 0.22587268993839835,
115
+ "grad_norm": 0.1689453125,
116
+ "learning_rate": 0.00018077643035609004,
117
+ "loss": 0.8828852844238281,
118
+ "mean_token_accuracy": 0.7846844819188118,
119
+ "num_tokens": 2220866.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.8587514898180961,
124
+ "epoch": 0.2464065708418891,
125
+ "grad_norm": 0.171875,
126
+ "learning_rate": 0.0001766803857451204,
127
+ "loss": 0.8391613006591797,
128
+ "mean_token_accuracy": 0.7931238517165184,
129
+ "num_tokens": 2421013.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.876440706178546,
134
+ "epoch": 0.2669404517453799,
135
+ "grad_norm": 0.1796875,
136
+ "learning_rate": 0.00017224533762756776,
137
+ "loss": 0.8661175537109375,
138
+ "mean_token_accuracy": 0.7875098848342895,
139
+ "num_tokens": 2623081.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.8844135162234307,
144
+ "epoch": 0.2874743326488706,
145
+ "grad_norm": 0.15234375,
146
+ "learning_rate": 0.00016749089332346713,
147
+ "loss": 0.8735830688476562,
148
+ "mean_token_accuracy": 0.7862337788939476,
149
+ "num_tokens": 2824382.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.7987543179094792,
154
+ "epoch": 0.3080082135523614,
155
+ "grad_norm": 0.154296875,
156
+ "learning_rate": 0.00016243807220139988,
157
+ "loss": 0.79259033203125,
158
+ "mean_token_accuracy": 0.804975683093071,
159
+ "num_tokens": 3026700.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.8895229130983353,
164
+ "epoch": 0.32854209445585214,
165
+ "grad_norm": 0.171875,
166
+ "learning_rate": 0.0001571092127519967,
167
+ "loss": 0.8765971374511718,
168
+ "mean_token_accuracy": 0.7862004506587982,
169
+ "num_tokens": 3228741.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.8609522663801908,
174
+ "epoch": 0.3490759753593429,
175
+ "grad_norm": 0.1484375,
176
+ "learning_rate": 0.00015152787382960968,
177
+ "loss": 0.8444467163085938,
178
+ "mean_token_accuracy": 0.793184621334076,
179
+ "num_tokens": 3428336.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.8780751578509808,
184
+ "epoch": 0.36960985626283366,
185
+ "grad_norm": 0.1318359375,
186
+ "learning_rate": 0.0001457187304987645,
187
+ "loss": 0.8594348907470704,
188
+ "mean_token_accuracy": 0.7891285745799541,
189
+ "num_tokens": 3626721.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.815336870700121,
194
+ "epoch": 0.39014373716632444,
195
+ "grad_norm": 0.1357421875,
196
+ "learning_rate": 0.0001397074649458544,
197
+ "loss": 0.8068878936767578,
198
+ "mean_token_accuracy": 0.8028223878145218,
199
+ "num_tokens": 3829062.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.8639824625849724,
204
+ "epoch": 0.4106776180698152,
205
+ "grad_norm": 0.169921875,
206
+ "learning_rate": 0.00013352065293835397,
207
+ "loss": 0.8533393096923828,
208
+ "mean_token_accuracy": 0.7899997106194496,
209
+ "num_tokens": 4030678.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 1218,
215
+ "num_input_tokens_seen": 0,
216
+ "num_train_epochs": 1,
217
+ "save_steps": 500,
218
+ "stateful_callbacks": {
219
+ "TrainerControl": {
220
+ "args": {
221
+ "should_epoch_stop": false,
222
+ "should_evaluate": false,
223
+ "should_log": false,
224
+ "should_save": true,
225
+ "should_training_stop": false
226
+ },
227
+ "attributes": {}
228
+ }
229
+ },
230
+ "total_flos": 3.400347382112133e+17,
231
+ "train_batch_size": 1,
232
+ "trial_name": null,
233
+ "trial_params": null
234
+ }
checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c74c540ba486e37b2ecd571f6abb225f08e6945cd9424b3c389d45073e7ec7
3
+ size 5713
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
tokenizer_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|im_start|>",
10
+ "<|im_end|>",
11
+ "<|object_ref_start|>",
12
+ "<|object_ref_end|>",
13
+ "<|box_start|>",
14
+ "<|box_end|>",
15
+ "<|quad_start|>",
16
+ "<|quad_end|>",
17
+ "<|vision_start|>",
18
+ "<|vision_end|>",
19
+ "<|vision_pad|>",
20
+ "<|image_pad|>",
21
+ "<|video_pad|>"
22
+ ],
23
+ "is_local": false,
24
+ "local_files_only": false,
25
+ "model_max_length": 131072,
26
+ "pad_token": "<|im_end|>",
27
+ "split_special_tokens": false,
28
+ "tokenizer_class": "Qwen2Tokenizer",
29
+ "unk_token": null
30
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00c74c540ba486e37b2ecd571f6abb225f08e6945cd9424b3c389d45073e7ec7
3
+ size 5713