archit11 commited on
Commit
faa4ba9
·
verified ·
1 Parent(s): d404888

Upload folder using huggingface_hub

Browse files
Files changed (44) hide show
  1. .gitattributes +4 -0
  2. README.md +61 -0
  3. adapter_config.json +46 -0
  4. adapter_model.safetensors +3 -0
  5. chat_template.jinja +54 -0
  6. checkpoint-17/README.md +209 -0
  7. checkpoint-17/adapter_config.json +46 -0
  8. checkpoint-17/adapter_model.safetensors +3 -0
  9. checkpoint-17/chat_template.jinja +54 -0
  10. checkpoint-17/optimizer.pt +3 -0
  11. checkpoint-17/rng_state.pth +3 -0
  12. checkpoint-17/scaler.pt +3 -0
  13. checkpoint-17/scheduler.pt +3 -0
  14. checkpoint-17/tokenizer.json +3 -0
  15. checkpoint-17/tokenizer_config.json +29 -0
  16. checkpoint-17/trainer_state.json +204 -0
  17. checkpoint-17/training_args.bin +3 -0
  18. checkpoint-34/README.md +209 -0
  19. checkpoint-34/adapter_config.json +46 -0
  20. checkpoint-34/adapter_model.safetensors +3 -0
  21. checkpoint-34/chat_template.jinja +54 -0
  22. checkpoint-34/optimizer.pt +3 -0
  23. checkpoint-34/rng_state.pth +3 -0
  24. checkpoint-34/scaler.pt +3 -0
  25. checkpoint-34/scheduler.pt +3 -0
  26. checkpoint-34/tokenizer.json +3 -0
  27. checkpoint-34/tokenizer_config.json +29 -0
  28. checkpoint-34/trainer_state.json +374 -0
  29. checkpoint-34/training_args.bin +3 -0
  30. checkpoint-51/README.md +209 -0
  31. checkpoint-51/adapter_config.json +46 -0
  32. checkpoint-51/adapter_model.safetensors +3 -0
  33. checkpoint-51/chat_template.jinja +54 -0
  34. checkpoint-51/optimizer.pt +3 -0
  35. checkpoint-51/rng_state.pth +3 -0
  36. checkpoint-51/scaler.pt +3 -0
  37. checkpoint-51/scheduler.pt +3 -0
  38. checkpoint-51/tokenizer.json +3 -0
  39. checkpoint-51/tokenizer_config.json +29 -0
  40. checkpoint-51/trainer_state.json +544 -0
  41. checkpoint-51/training_args.bin +3 -0
  42. tokenizer.json +3 -0
  43. tokenizer_config.json +29 -0
  44. 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-17/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-34/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ checkpoint-51/tokenizer.json filter=lfs diff=lfs merge=lfs -text
39
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-1.5B
3
+ library_name: peft
4
+ model_name: track_b_sft
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-Coder-1.5B
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for track_b_sft
16
+
17
+ This model is a fine-tuned version of [Qwen/Qwen2.5-Coder-1.5B](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B).
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/dumbal/huggingface/runs/xwrn72zo)
34
+
35
+
36
+ This model was trained with SFT.
37
+
38
+ ### Framework versions
39
+
40
+ - PEFT 0.18.1
41
+ - TRL: 0.28.0
42
+ - Transformers: 5.2.0
43
+ - Pytorch: 2.9.1
44
+ - Datasets: 4.5.0
45
+ - Tokenizers: 0.22.2
46
+
47
+ ## Citations
48
+
49
+
50
+
51
+ Cite TRL as:
52
+
53
+ ```bibtex
54
+ @software{vonwerra2020trl,
55
+ title = {{TRL: Transformers Reinforcement Learning}},
56
+ 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},
57
+ license = {Apache-2.0},
58
+ url = {https://github.com/huggingface/trl},
59
+ year = {2020}
60
+ }
61
+ ```
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-Coder-1.5B",
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
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "q_proj",
35
+ "down_proj",
36
+ "up_proj",
37
+ "o_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79fb2ad20d7abccef47d883b0ff0b0696e8fc63fdb370164fb3afb96d7ae7121
3
+ size 73911112
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-17/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-1.5B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-Coder-1.5B
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.18.1
checkpoint-17/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-Coder-1.5B",
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
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "q_proj",
35
+ "down_proj",
36
+ "up_proj",
37
+ "o_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-17/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6aa0db9b530af1a0fd56d8f501c9997353d5c4ff2774854dbd819cc0c6dcde8a
3
+ size 73911112
checkpoint-17/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-17/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9111c762051cc608076f518ba836541b99aeae4e5c40d498b2af0687091b58d6
3
+ size 148053627
checkpoint-17/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c78ceb8504ea85e58ae8b9bc73a01f21dca9ceba014d587d1a71dd24805d37e
3
+ size 14645
checkpoint-17/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76bd207a74c468d5e9c5de14c476cac714458bb63790e26052924d5e85022225
3
+ size 1383
checkpoint-17/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69dd761a8eafde257f8143032e4447e6e0ee7449011ec15c8f90e85821296e9
3
+ size 1465
checkpoint-17/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-17/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
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
+ "model_max_length": 32768,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-17/trainer_state.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 17,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.2623544037342072,
14
+ "epoch": 0.06153846153846154,
15
+ "grad_norm": 0.19557932019233704,
16
+ "learning_rate": 0.0,
17
+ "loss": 1.363303303718567,
18
+ "mean_token_accuracy": 0.6967771947383881,
19
+ "num_tokens": 8983.0,
20
+ "step": 1
21
+ },
22
+ {
23
+ "entropy": 1.2696461975574493,
24
+ "epoch": 0.12307692307692308,
25
+ "grad_norm": 0.2623090445995331,
26
+ "learning_rate": 0.0001,
27
+ "loss": 1.3970271348953247,
28
+ "mean_token_accuracy": 0.7032225728034973,
29
+ "num_tokens": 15469.0,
30
+ "step": 2
31
+ },
32
+ {
33
+ "entropy": 1.351563960313797,
34
+ "epoch": 0.18461538461538463,
35
+ "grad_norm": 0.2595767080783844,
36
+ "learning_rate": 0.0002,
37
+ "loss": 1.438194990158081,
38
+ "mean_token_accuracy": 0.6762479990720749,
39
+ "num_tokens": 23136.0,
40
+ "step": 3
41
+ },
42
+ {
43
+ "entropy": 1.156097874045372,
44
+ "epoch": 0.24615384615384617,
45
+ "grad_norm": 0.9452286958694458,
46
+ "learning_rate": 0.00019979453927503364,
47
+ "loss": 1.191060185432434,
48
+ "mean_token_accuracy": 0.7312490344047546,
49
+ "num_tokens": 31431.0,
50
+ "step": 4
51
+ },
52
+ {
53
+ "entropy": 1.2470719814300537,
54
+ "epoch": 0.3076923076923077,
55
+ "grad_norm": 0.29575249552726746,
56
+ "learning_rate": 0.0001991790013823246,
57
+ "loss": 1.2078289985656738,
58
+ "mean_token_accuracy": 0.7162232249975204,
59
+ "num_tokens": 39311.0,
60
+ "step": 5
61
+ },
62
+ {
63
+ "entropy": 1.3020514845848083,
64
+ "epoch": 0.36923076923076925,
65
+ "grad_norm": 0.12131688743829727,
66
+ "learning_rate": 0.00019815591569910654,
67
+ "loss": 1.236517310142517,
68
+ "mean_token_accuracy": 0.7079942375421524,
69
+ "num_tokens": 46157.0,
70
+ "step": 6
71
+ },
72
+ {
73
+ "entropy": 1.1494204998016357,
74
+ "epoch": 0.4307692307692308,
75
+ "grad_norm": 0.07860170304775238,
76
+ "learning_rate": 0.00019672948630390294,
77
+ "loss": 1.0905468463897705,
78
+ "mean_token_accuracy": 0.74454265832901,
79
+ "num_tokens": 55535.0,
80
+ "step": 7
81
+ },
82
+ {
83
+ "entropy": 1.0420133769512177,
84
+ "epoch": 0.49230769230769234,
85
+ "grad_norm": 0.09150254726409912,
86
+ "learning_rate": 0.00019490557470106686,
87
+ "loss": 1.0026195049285889,
88
+ "mean_token_accuracy": 0.7577853351831436,
89
+ "num_tokens": 63422.0,
90
+ "step": 8
91
+ },
92
+ {
93
+ "entropy": 1.0447807163000107,
94
+ "epoch": 0.5538461538461539,
95
+ "grad_norm": 0.10369911789894104,
96
+ "learning_rate": 0.0001926916757346022,
97
+ "loss": 1.0252422094345093,
98
+ "mean_token_accuracy": 0.7560650110244751,
99
+ "num_tokens": 70555.0,
100
+ "step": 9
101
+ },
102
+ {
103
+ "entropy": 1.0285034626722336,
104
+ "epoch": 0.6153846153846154,
105
+ "grad_norm": 0.11572559177875519,
106
+ "learning_rate": 0.0001900968867902419,
107
+ "loss": 1.052419900894165,
108
+ "mean_token_accuracy": 0.7432190179824829,
109
+ "num_tokens": 78003.0,
110
+ "step": 10
111
+ },
112
+ {
113
+ "entropy": 1.0061500668525696,
114
+ "epoch": 0.676923076923077,
115
+ "grad_norm": 0.10965128242969513,
116
+ "learning_rate": 0.00018713187041233896,
117
+ "loss": 0.9987847805023193,
118
+ "mean_token_accuracy": 0.7628708183765411,
119
+ "num_tokens": 86065.0,
120
+ "step": 11
121
+ },
122
+ {
123
+ "entropy": 1.0449193269014359,
124
+ "epoch": 0.7384615384615385,
125
+ "grad_norm": 0.10073477029800415,
126
+ "learning_rate": 0.00018380881048918405,
127
+ "loss": 1.0622799396514893,
128
+ "mean_token_accuracy": 0.746578574180603,
129
+ "num_tokens": 93482.0,
130
+ "step": 12
131
+ },
132
+ {
133
+ "entropy": 0.8957007825374603,
134
+ "epoch": 0.8,
135
+ "grad_norm": 0.10005328059196472,
136
+ "learning_rate": 0.00018014136218679567,
137
+ "loss": 0.8889887928962708,
138
+ "mean_token_accuracy": 0.77289679646492,
139
+ "num_tokens": 100654.0,
140
+ "step": 13
141
+ },
142
+ {
143
+ "entropy": 0.9818997383117676,
144
+ "epoch": 0.8615384615384616,
145
+ "grad_norm": 0.12628009915351868,
146
+ "learning_rate": 0.00017614459583691346,
147
+ "loss": 0.976428210735321,
148
+ "mean_token_accuracy": 0.7596915662288666,
149
+ "num_tokens": 108091.0,
150
+ "step": 14
151
+ },
152
+ {
153
+ "entropy": 0.9654281437397003,
154
+ "epoch": 0.9230769230769231,
155
+ "grad_norm": 0.11806830018758774,
156
+ "learning_rate": 0.00017183493500977278,
157
+ "loss": 0.9671178460121155,
158
+ "mean_token_accuracy": 0.7701253145933151,
159
+ "num_tokens": 114707.0,
160
+ "step": 15
161
+ },
162
+ {
163
+ "entropy": 0.9159971326589584,
164
+ "epoch": 0.9846153846153847,
165
+ "grad_norm": 0.09751465171575546,
166
+ "learning_rate": 0.0001672300890261317,
167
+ "loss": 0.902397632598877,
168
+ "mean_token_accuracy": 0.7794631719589233,
169
+ "num_tokens": 121769.0,
170
+ "step": 16
171
+ },
172
+ {
173
+ "entropy": 1.1713899374008179,
174
+ "epoch": 1.0,
175
+ "grad_norm": 0.5108214020729065,
176
+ "learning_rate": 0.00016234898018587337,
177
+ "loss": 1.1008179187774658,
178
+ "mean_token_accuracy": 0.7128027677536011,
179
+ "num_tokens": 122059.0,
180
+ "step": 17
181
+ }
182
+ ],
183
+ "logging_steps": 1,
184
+ "max_steps": 51,
185
+ "num_input_tokens_seen": 0,
186
+ "num_train_epochs": 3,
187
+ "save_steps": 500,
188
+ "stateful_callbacks": {
189
+ "TrainerControl": {
190
+ "args": {
191
+ "should_epoch_stop": false,
192
+ "should_evaluate": false,
193
+ "should_log": false,
194
+ "should_save": true,
195
+ "should_training_stop": false
196
+ },
197
+ "attributes": {}
198
+ }
199
+ },
200
+ "total_flos": 1465581970962432.0,
201
+ "train_batch_size": 4,
202
+ "trial_name": null,
203
+ "trial_params": null
204
+ }
checkpoint-17/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2050cc34f19877546e9181667805ad821ca9a4aa7a4c3b14ccf1db53d804983
3
+ size 5649
checkpoint-34/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-1.5B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-Coder-1.5B
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.18.1
checkpoint-34/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-Coder-1.5B",
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
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "q_proj",
35
+ "down_proj",
36
+ "up_proj",
37
+ "o_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-34/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d97ccd85fc0c1dff7672dde2bb53b458f2869269ad0732801955564f7a81de8
3
+ size 73911112
checkpoint-34/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-34/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af9efa1ad52dc915c60117be1e95f28d6fa0dfba76b0386737b2802278e7ff1c
3
+ size 148053627
checkpoint-34/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d335de884d3ea182ac1ea3f3d8cbc3d115c8bc06b55e71fb1d361a86db8384ac
3
+ size 14645
checkpoint-34/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:227e3caad3f787fbe810fbac3c378957e1394c039f30869d94e84d08288a0af5
3
+ size 1383
checkpoint-34/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2cbd54157d44da95bf4642583f9c9cb3618e2d2200ddade24b33b5ed135810f
3
+ size 1465
checkpoint-34/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-34/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
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
+ "model_max_length": 32768,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-34/trainer_state.json ADDED
@@ -0,0 +1,374 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 34,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.2623544037342072,
14
+ "epoch": 0.06153846153846154,
15
+ "grad_norm": 0.19557932019233704,
16
+ "learning_rate": 0.0,
17
+ "loss": 1.363303303718567,
18
+ "mean_token_accuracy": 0.6967771947383881,
19
+ "num_tokens": 8983.0,
20
+ "step": 1
21
+ },
22
+ {
23
+ "entropy": 1.2696461975574493,
24
+ "epoch": 0.12307692307692308,
25
+ "grad_norm": 0.2623090445995331,
26
+ "learning_rate": 0.0001,
27
+ "loss": 1.3970271348953247,
28
+ "mean_token_accuracy": 0.7032225728034973,
29
+ "num_tokens": 15469.0,
30
+ "step": 2
31
+ },
32
+ {
33
+ "entropy": 1.351563960313797,
34
+ "epoch": 0.18461538461538463,
35
+ "grad_norm": 0.2595767080783844,
36
+ "learning_rate": 0.0002,
37
+ "loss": 1.438194990158081,
38
+ "mean_token_accuracy": 0.6762479990720749,
39
+ "num_tokens": 23136.0,
40
+ "step": 3
41
+ },
42
+ {
43
+ "entropy": 1.156097874045372,
44
+ "epoch": 0.24615384615384617,
45
+ "grad_norm": 0.9452286958694458,
46
+ "learning_rate": 0.00019979453927503364,
47
+ "loss": 1.191060185432434,
48
+ "mean_token_accuracy": 0.7312490344047546,
49
+ "num_tokens": 31431.0,
50
+ "step": 4
51
+ },
52
+ {
53
+ "entropy": 1.2470719814300537,
54
+ "epoch": 0.3076923076923077,
55
+ "grad_norm": 0.29575249552726746,
56
+ "learning_rate": 0.0001991790013823246,
57
+ "loss": 1.2078289985656738,
58
+ "mean_token_accuracy": 0.7162232249975204,
59
+ "num_tokens": 39311.0,
60
+ "step": 5
61
+ },
62
+ {
63
+ "entropy": 1.3020514845848083,
64
+ "epoch": 0.36923076923076925,
65
+ "grad_norm": 0.12131688743829727,
66
+ "learning_rate": 0.00019815591569910654,
67
+ "loss": 1.236517310142517,
68
+ "mean_token_accuracy": 0.7079942375421524,
69
+ "num_tokens": 46157.0,
70
+ "step": 6
71
+ },
72
+ {
73
+ "entropy": 1.1494204998016357,
74
+ "epoch": 0.4307692307692308,
75
+ "grad_norm": 0.07860170304775238,
76
+ "learning_rate": 0.00019672948630390294,
77
+ "loss": 1.0905468463897705,
78
+ "mean_token_accuracy": 0.74454265832901,
79
+ "num_tokens": 55535.0,
80
+ "step": 7
81
+ },
82
+ {
83
+ "entropy": 1.0420133769512177,
84
+ "epoch": 0.49230769230769234,
85
+ "grad_norm": 0.09150254726409912,
86
+ "learning_rate": 0.00019490557470106686,
87
+ "loss": 1.0026195049285889,
88
+ "mean_token_accuracy": 0.7577853351831436,
89
+ "num_tokens": 63422.0,
90
+ "step": 8
91
+ },
92
+ {
93
+ "entropy": 1.0447807163000107,
94
+ "epoch": 0.5538461538461539,
95
+ "grad_norm": 0.10369911789894104,
96
+ "learning_rate": 0.0001926916757346022,
97
+ "loss": 1.0252422094345093,
98
+ "mean_token_accuracy": 0.7560650110244751,
99
+ "num_tokens": 70555.0,
100
+ "step": 9
101
+ },
102
+ {
103
+ "entropy": 1.0285034626722336,
104
+ "epoch": 0.6153846153846154,
105
+ "grad_norm": 0.11572559177875519,
106
+ "learning_rate": 0.0001900968867902419,
107
+ "loss": 1.052419900894165,
108
+ "mean_token_accuracy": 0.7432190179824829,
109
+ "num_tokens": 78003.0,
110
+ "step": 10
111
+ },
112
+ {
113
+ "entropy": 1.0061500668525696,
114
+ "epoch": 0.676923076923077,
115
+ "grad_norm": 0.10965128242969513,
116
+ "learning_rate": 0.00018713187041233896,
117
+ "loss": 0.9987847805023193,
118
+ "mean_token_accuracy": 0.7628708183765411,
119
+ "num_tokens": 86065.0,
120
+ "step": 11
121
+ },
122
+ {
123
+ "entropy": 1.0449193269014359,
124
+ "epoch": 0.7384615384615385,
125
+ "grad_norm": 0.10073477029800415,
126
+ "learning_rate": 0.00018380881048918405,
127
+ "loss": 1.0622799396514893,
128
+ "mean_token_accuracy": 0.746578574180603,
129
+ "num_tokens": 93482.0,
130
+ "step": 12
131
+ },
132
+ {
133
+ "entropy": 0.8957007825374603,
134
+ "epoch": 0.8,
135
+ "grad_norm": 0.10005328059196472,
136
+ "learning_rate": 0.00018014136218679567,
137
+ "loss": 0.8889887928962708,
138
+ "mean_token_accuracy": 0.77289679646492,
139
+ "num_tokens": 100654.0,
140
+ "step": 13
141
+ },
142
+ {
143
+ "entropy": 0.9818997383117676,
144
+ "epoch": 0.8615384615384616,
145
+ "grad_norm": 0.12628009915351868,
146
+ "learning_rate": 0.00017614459583691346,
147
+ "loss": 0.976428210735321,
148
+ "mean_token_accuracy": 0.7596915662288666,
149
+ "num_tokens": 108091.0,
150
+ "step": 14
151
+ },
152
+ {
153
+ "entropy": 0.9654281437397003,
154
+ "epoch": 0.9230769230769231,
155
+ "grad_norm": 0.11806830018758774,
156
+ "learning_rate": 0.00017183493500977278,
157
+ "loss": 0.9671178460121155,
158
+ "mean_token_accuracy": 0.7701253145933151,
159
+ "num_tokens": 114707.0,
160
+ "step": 15
161
+ },
162
+ {
163
+ "entropy": 0.9159971326589584,
164
+ "epoch": 0.9846153846153847,
165
+ "grad_norm": 0.09751465171575546,
166
+ "learning_rate": 0.0001672300890261317,
167
+ "loss": 0.902397632598877,
168
+ "mean_token_accuracy": 0.7794631719589233,
169
+ "num_tokens": 121769.0,
170
+ "step": 16
171
+ },
172
+ {
173
+ "entropy": 1.1713899374008179,
174
+ "epoch": 1.0,
175
+ "grad_norm": 0.5108214020729065,
176
+ "learning_rate": 0.00016234898018587337,
177
+ "loss": 1.1008179187774658,
178
+ "mean_token_accuracy": 0.7128027677536011,
179
+ "num_tokens": 122059.0,
180
+ "step": 17
181
+ },
182
+ {
183
+ "entropy": 0.9143469482660294,
184
+ "epoch": 1.0615384615384615,
185
+ "grad_norm": 0.08762291073799133,
186
+ "learning_rate": 0.00015721166601221698,
187
+ "loss": 0.8315602540969849,
188
+ "mean_token_accuracy": 0.793931856751442,
189
+ "num_tokens": 128993.0,
190
+ "step": 18
191
+ },
192
+ {
193
+ "entropy": 0.8749453127384186,
194
+ "epoch": 1.123076923076923,
195
+ "grad_norm": 0.08239830285310745,
196
+ "learning_rate": 0.00015183925683105254,
197
+ "loss": 0.8309834003448486,
198
+ "mean_token_accuracy": 0.7881838083267212,
199
+ "num_tokens": 137231.0,
200
+ "step": 19
201
+ },
202
+ {
203
+ "entropy": 0.8598180264234543,
204
+ "epoch": 1.1846153846153846,
205
+ "grad_norm": 0.08933497220277786,
206
+ "learning_rate": 0.00014625382902408356,
207
+ "loss": 0.8326812982559204,
208
+ "mean_token_accuracy": 0.789072722196579,
209
+ "num_tokens": 145190.0,
210
+ "step": 20
211
+ },
212
+ {
213
+ "entropy": 0.9529785364866257,
214
+ "epoch": 1.2461538461538462,
215
+ "grad_norm": 0.10007654130458832,
216
+ "learning_rate": 0.00014047833431223938,
217
+ "loss": 0.9316624999046326,
218
+ "mean_token_accuracy": 0.7664911448955536,
219
+ "num_tokens": 152202.0,
220
+ "step": 21
221
+ },
222
+ {
223
+ "entropy": 0.7975367158651352,
224
+ "epoch": 1.3076923076923077,
225
+ "grad_norm": 0.097578264772892,
226
+ "learning_rate": 0.00013453650544213076,
227
+ "loss": 0.7583404779434204,
228
+ "mean_token_accuracy": 0.8191335052251816,
229
+ "num_tokens": 158331.0,
230
+ "step": 22
231
+ },
232
+ {
233
+ "entropy": 0.8262939751148224,
234
+ "epoch": 1.3692307692307693,
235
+ "grad_norm": 0.08703760802745819,
236
+ "learning_rate": 0.00012845275866310324,
237
+ "loss": 0.8296029567718506,
238
+ "mean_token_accuracy": 0.7906320244073868,
239
+ "num_tokens": 166002.0,
240
+ "step": 23
241
+ },
242
+ {
243
+ "entropy": 0.9157162606716156,
244
+ "epoch": 1.4307692307692308,
245
+ "grad_norm": 0.09159163385629654,
246
+ "learning_rate": 0.00012225209339563145,
247
+ "loss": 0.9092485308647156,
248
+ "mean_token_accuracy": 0.7690109759569168,
249
+ "num_tokens": 175547.0,
250
+ "step": 24
251
+ },
252
+ {
253
+ "entropy": 0.7814479619264603,
254
+ "epoch": 1.4923076923076923,
255
+ "grad_norm": 0.0804533138871193,
256
+ "learning_rate": 0.00011595998950333793,
257
+ "loss": 0.7761488556861877,
258
+ "mean_token_accuracy": 0.7984755784273148,
259
+ "num_tokens": 184577.0,
260
+ "step": 25
261
+ },
262
+ {
263
+ "entropy": 0.7985701262950897,
264
+ "epoch": 1.5538461538461539,
265
+ "grad_norm": 0.0917685404419899,
266
+ "learning_rate": 0.00010960230259076818,
267
+ "loss": 0.7678935527801514,
268
+ "mean_token_accuracy": 0.8032983243465424,
269
+ "num_tokens": 191871.0,
270
+ "step": 26
271
+ },
272
+ {
273
+ "entropy": 0.9452711939811707,
274
+ "epoch": 1.6153846153846154,
275
+ "grad_norm": 0.10309547930955887,
276
+ "learning_rate": 0.00010320515775716555,
277
+ "loss": 0.9123054146766663,
278
+ "mean_token_accuracy": 0.7641141563653946,
279
+ "num_tokens": 199434.0,
280
+ "step": 27
281
+ },
282
+ {
283
+ "entropy": 0.9179778099060059,
284
+ "epoch": 1.676923076923077,
285
+ "grad_norm": 0.0981035828590393,
286
+ "learning_rate": 9.679484224283449e-05,
287
+ "loss": 0.8683165311813354,
288
+ "mean_token_accuracy": 0.7796975672245026,
289
+ "num_tokens": 206254.0,
290
+ "step": 28
291
+ },
292
+ {
293
+ "entropy": 0.9250332564115524,
294
+ "epoch": 1.7384615384615385,
295
+ "grad_norm": 0.08907375484704971,
296
+ "learning_rate": 9.039769740923183e-05,
297
+ "loss": 0.9016717672348022,
298
+ "mean_token_accuracy": 0.7748660296201706,
299
+ "num_tokens": 213583.0,
300
+ "step": 29
301
+ },
302
+ {
303
+ "entropy": 0.8822590410709381,
304
+ "epoch": 1.8,
305
+ "grad_norm": 0.09369569271802902,
306
+ "learning_rate": 8.404001049666211e-05,
307
+ "loss": 0.8634146451950073,
308
+ "mean_token_accuracy": 0.7857015281915665,
309
+ "num_tokens": 220995.0,
310
+ "step": 30
311
+ },
312
+ {
313
+ "entropy": 0.8900642246007919,
314
+ "epoch": 1.8615384615384616,
315
+ "grad_norm": 0.1084684282541275,
316
+ "learning_rate": 7.774790660436858e-05,
317
+ "loss": 0.9049892425537109,
318
+ "mean_token_accuracy": 0.7676405757665634,
319
+ "num_tokens": 228050.0,
320
+ "step": 31
321
+ },
322
+ {
323
+ "entropy": 0.8679154813289642,
324
+ "epoch": 1.9230769230769231,
325
+ "grad_norm": 0.09301979839801788,
326
+ "learning_rate": 7.154724133689677e-05,
327
+ "loss": 0.8593922257423401,
328
+ "mean_token_accuracy": 0.7785892337560654,
329
+ "num_tokens": 235526.0,
330
+ "step": 32
331
+ },
332
+ {
333
+ "entropy": 0.8450447171926498,
334
+ "epoch": 1.9846153846153847,
335
+ "grad_norm": 0.0842856764793396,
336
+ "learning_rate": 6.546349455786926e-05,
337
+ "loss": 0.8173251152038574,
338
+ "mean_token_accuracy": 0.7973018437623978,
339
+ "num_tokens": 243742.0,
340
+ "step": 33
341
+ },
342
+ {
343
+ "entropy": 0.8048986196517944,
344
+ "epoch": 2.0,
345
+ "grad_norm": 0.3837374150753021,
346
+ "learning_rate": 5.952166568776062e-05,
347
+ "loss": 0.6818726658821106,
348
+ "mean_token_accuracy": 0.8026666641235352,
349
+ "num_tokens": 244118.0,
350
+ "step": 34
351
+ }
352
+ ],
353
+ "logging_steps": 1,
354
+ "max_steps": 51,
355
+ "num_input_tokens_seen": 0,
356
+ "num_train_epochs": 3,
357
+ "save_steps": 500,
358
+ "stateful_callbacks": {
359
+ "TrainerControl": {
360
+ "args": {
361
+ "should_epoch_stop": false,
362
+ "should_evaluate": false,
363
+ "should_log": false,
364
+ "should_save": true,
365
+ "should_training_stop": false
366
+ },
367
+ "attributes": {}
368
+ }
369
+ },
370
+ "total_flos": 2955225949673472.0,
371
+ "train_batch_size": 4,
372
+ "trial_name": null,
373
+ "trial_params": null
374
+ }
checkpoint-34/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2050cc34f19877546e9181667805ad821ca9a4aa7a4c3b14ccf1db53d804983
3
+ size 5649
checkpoint-51/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-1.5B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-Coder-1.5B
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.18.1
checkpoint-51/adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-Coder-1.5B",
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
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.1",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "gate_proj",
33
+ "k_proj",
34
+ "q_proj",
35
+ "down_proj",
36
+ "up_proj",
37
+ "o_proj",
38
+ "v_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
checkpoint-51/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79fb2ad20d7abccef47d883b0ff0b0696e8fc63fdb370164fb3afb96d7ae7121
3
+ size 73911112
checkpoint-51/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-51/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6be7f0a5c913ca3304be1b18ea4a47e57cd7e9303da3ba23b1a9e0a03d97210f
3
+ size 148053627
checkpoint-51/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d867bbb84fbf94ff822fd0b2d98080c060ff7f1ce3872a39cd320d7d27fd85bc
3
+ size 14645
checkpoint-51/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac1a5d19496e5d4bf9c5cc60fab70c6757fcb313a464c4ebfc323d888d8d878c
3
+ size 1383
checkpoint-51/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f782d16f24cf09e5acd64560a755743c0eb6def028416fb8eb8030665f056d00
3
+ size 1465
checkpoint-51/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-51/tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
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
+ "model_max_length": 32768,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-51/trainer_state.json ADDED
@@ -0,0 +1,544 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 51,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 1.2623544037342072,
14
+ "epoch": 0.06153846153846154,
15
+ "grad_norm": 0.19557932019233704,
16
+ "learning_rate": 0.0,
17
+ "loss": 1.363303303718567,
18
+ "mean_token_accuracy": 0.6967771947383881,
19
+ "num_tokens": 8983.0,
20
+ "step": 1
21
+ },
22
+ {
23
+ "entropy": 1.2696461975574493,
24
+ "epoch": 0.12307692307692308,
25
+ "grad_norm": 0.2623090445995331,
26
+ "learning_rate": 0.0001,
27
+ "loss": 1.3970271348953247,
28
+ "mean_token_accuracy": 0.7032225728034973,
29
+ "num_tokens": 15469.0,
30
+ "step": 2
31
+ },
32
+ {
33
+ "entropy": 1.351563960313797,
34
+ "epoch": 0.18461538461538463,
35
+ "grad_norm": 0.2595767080783844,
36
+ "learning_rate": 0.0002,
37
+ "loss": 1.438194990158081,
38
+ "mean_token_accuracy": 0.6762479990720749,
39
+ "num_tokens": 23136.0,
40
+ "step": 3
41
+ },
42
+ {
43
+ "entropy": 1.156097874045372,
44
+ "epoch": 0.24615384615384617,
45
+ "grad_norm": 0.9452286958694458,
46
+ "learning_rate": 0.00019979453927503364,
47
+ "loss": 1.191060185432434,
48
+ "mean_token_accuracy": 0.7312490344047546,
49
+ "num_tokens": 31431.0,
50
+ "step": 4
51
+ },
52
+ {
53
+ "entropy": 1.2470719814300537,
54
+ "epoch": 0.3076923076923077,
55
+ "grad_norm": 0.29575249552726746,
56
+ "learning_rate": 0.0001991790013823246,
57
+ "loss": 1.2078289985656738,
58
+ "mean_token_accuracy": 0.7162232249975204,
59
+ "num_tokens": 39311.0,
60
+ "step": 5
61
+ },
62
+ {
63
+ "entropy": 1.3020514845848083,
64
+ "epoch": 0.36923076923076925,
65
+ "grad_norm": 0.12131688743829727,
66
+ "learning_rate": 0.00019815591569910654,
67
+ "loss": 1.236517310142517,
68
+ "mean_token_accuracy": 0.7079942375421524,
69
+ "num_tokens": 46157.0,
70
+ "step": 6
71
+ },
72
+ {
73
+ "entropy": 1.1494204998016357,
74
+ "epoch": 0.4307692307692308,
75
+ "grad_norm": 0.07860170304775238,
76
+ "learning_rate": 0.00019672948630390294,
77
+ "loss": 1.0905468463897705,
78
+ "mean_token_accuracy": 0.74454265832901,
79
+ "num_tokens": 55535.0,
80
+ "step": 7
81
+ },
82
+ {
83
+ "entropy": 1.0420133769512177,
84
+ "epoch": 0.49230769230769234,
85
+ "grad_norm": 0.09150254726409912,
86
+ "learning_rate": 0.00019490557470106686,
87
+ "loss": 1.0026195049285889,
88
+ "mean_token_accuracy": 0.7577853351831436,
89
+ "num_tokens": 63422.0,
90
+ "step": 8
91
+ },
92
+ {
93
+ "entropy": 1.0447807163000107,
94
+ "epoch": 0.5538461538461539,
95
+ "grad_norm": 0.10369911789894104,
96
+ "learning_rate": 0.0001926916757346022,
97
+ "loss": 1.0252422094345093,
98
+ "mean_token_accuracy": 0.7560650110244751,
99
+ "num_tokens": 70555.0,
100
+ "step": 9
101
+ },
102
+ {
103
+ "entropy": 1.0285034626722336,
104
+ "epoch": 0.6153846153846154,
105
+ "grad_norm": 0.11572559177875519,
106
+ "learning_rate": 0.0001900968867902419,
107
+ "loss": 1.052419900894165,
108
+ "mean_token_accuracy": 0.7432190179824829,
109
+ "num_tokens": 78003.0,
110
+ "step": 10
111
+ },
112
+ {
113
+ "entropy": 1.0061500668525696,
114
+ "epoch": 0.676923076923077,
115
+ "grad_norm": 0.10965128242969513,
116
+ "learning_rate": 0.00018713187041233896,
117
+ "loss": 0.9987847805023193,
118
+ "mean_token_accuracy": 0.7628708183765411,
119
+ "num_tokens": 86065.0,
120
+ "step": 11
121
+ },
122
+ {
123
+ "entropy": 1.0449193269014359,
124
+ "epoch": 0.7384615384615385,
125
+ "grad_norm": 0.10073477029800415,
126
+ "learning_rate": 0.00018380881048918405,
127
+ "loss": 1.0622799396514893,
128
+ "mean_token_accuracy": 0.746578574180603,
129
+ "num_tokens": 93482.0,
130
+ "step": 12
131
+ },
132
+ {
133
+ "entropy": 0.8957007825374603,
134
+ "epoch": 0.8,
135
+ "grad_norm": 0.10005328059196472,
136
+ "learning_rate": 0.00018014136218679567,
137
+ "loss": 0.8889887928962708,
138
+ "mean_token_accuracy": 0.77289679646492,
139
+ "num_tokens": 100654.0,
140
+ "step": 13
141
+ },
142
+ {
143
+ "entropy": 0.9818997383117676,
144
+ "epoch": 0.8615384615384616,
145
+ "grad_norm": 0.12628009915351868,
146
+ "learning_rate": 0.00017614459583691346,
147
+ "loss": 0.976428210735321,
148
+ "mean_token_accuracy": 0.7596915662288666,
149
+ "num_tokens": 108091.0,
150
+ "step": 14
151
+ },
152
+ {
153
+ "entropy": 0.9654281437397003,
154
+ "epoch": 0.9230769230769231,
155
+ "grad_norm": 0.11806830018758774,
156
+ "learning_rate": 0.00017183493500977278,
157
+ "loss": 0.9671178460121155,
158
+ "mean_token_accuracy": 0.7701253145933151,
159
+ "num_tokens": 114707.0,
160
+ "step": 15
161
+ },
162
+ {
163
+ "entropy": 0.9159971326589584,
164
+ "epoch": 0.9846153846153847,
165
+ "grad_norm": 0.09751465171575546,
166
+ "learning_rate": 0.0001672300890261317,
167
+ "loss": 0.902397632598877,
168
+ "mean_token_accuracy": 0.7794631719589233,
169
+ "num_tokens": 121769.0,
170
+ "step": 16
171
+ },
172
+ {
173
+ "entropy": 1.1713899374008179,
174
+ "epoch": 1.0,
175
+ "grad_norm": 0.5108214020729065,
176
+ "learning_rate": 0.00016234898018587337,
177
+ "loss": 1.1008179187774658,
178
+ "mean_token_accuracy": 0.7128027677536011,
179
+ "num_tokens": 122059.0,
180
+ "step": 17
181
+ },
182
+ {
183
+ "entropy": 0.9143469482660294,
184
+ "epoch": 1.0615384615384615,
185
+ "grad_norm": 0.08762291073799133,
186
+ "learning_rate": 0.00015721166601221698,
187
+ "loss": 0.8315602540969849,
188
+ "mean_token_accuracy": 0.793931856751442,
189
+ "num_tokens": 128993.0,
190
+ "step": 18
191
+ },
192
+ {
193
+ "entropy": 0.8749453127384186,
194
+ "epoch": 1.123076923076923,
195
+ "grad_norm": 0.08239830285310745,
196
+ "learning_rate": 0.00015183925683105254,
197
+ "loss": 0.8309834003448486,
198
+ "mean_token_accuracy": 0.7881838083267212,
199
+ "num_tokens": 137231.0,
200
+ "step": 19
201
+ },
202
+ {
203
+ "entropy": 0.8598180264234543,
204
+ "epoch": 1.1846153846153846,
205
+ "grad_norm": 0.08933497220277786,
206
+ "learning_rate": 0.00014625382902408356,
207
+ "loss": 0.8326812982559204,
208
+ "mean_token_accuracy": 0.789072722196579,
209
+ "num_tokens": 145190.0,
210
+ "step": 20
211
+ },
212
+ {
213
+ "entropy": 0.9529785364866257,
214
+ "epoch": 1.2461538461538462,
215
+ "grad_norm": 0.10007654130458832,
216
+ "learning_rate": 0.00014047833431223938,
217
+ "loss": 0.9316624999046326,
218
+ "mean_token_accuracy": 0.7664911448955536,
219
+ "num_tokens": 152202.0,
220
+ "step": 21
221
+ },
222
+ {
223
+ "entropy": 0.7975367158651352,
224
+ "epoch": 1.3076923076923077,
225
+ "grad_norm": 0.097578264772892,
226
+ "learning_rate": 0.00013453650544213076,
227
+ "loss": 0.7583404779434204,
228
+ "mean_token_accuracy": 0.8191335052251816,
229
+ "num_tokens": 158331.0,
230
+ "step": 22
231
+ },
232
+ {
233
+ "entropy": 0.8262939751148224,
234
+ "epoch": 1.3692307692307693,
235
+ "grad_norm": 0.08703760802745819,
236
+ "learning_rate": 0.00012845275866310324,
237
+ "loss": 0.8296029567718506,
238
+ "mean_token_accuracy": 0.7906320244073868,
239
+ "num_tokens": 166002.0,
240
+ "step": 23
241
+ },
242
+ {
243
+ "entropy": 0.9157162606716156,
244
+ "epoch": 1.4307692307692308,
245
+ "grad_norm": 0.09159163385629654,
246
+ "learning_rate": 0.00012225209339563145,
247
+ "loss": 0.9092485308647156,
248
+ "mean_token_accuracy": 0.7690109759569168,
249
+ "num_tokens": 175547.0,
250
+ "step": 24
251
+ },
252
+ {
253
+ "entropy": 0.7814479619264603,
254
+ "epoch": 1.4923076923076923,
255
+ "grad_norm": 0.0804533138871193,
256
+ "learning_rate": 0.00011595998950333793,
257
+ "loss": 0.7761488556861877,
258
+ "mean_token_accuracy": 0.7984755784273148,
259
+ "num_tokens": 184577.0,
260
+ "step": 25
261
+ },
262
+ {
263
+ "entropy": 0.7985701262950897,
264
+ "epoch": 1.5538461538461539,
265
+ "grad_norm": 0.0917685404419899,
266
+ "learning_rate": 0.00010960230259076818,
267
+ "loss": 0.7678935527801514,
268
+ "mean_token_accuracy": 0.8032983243465424,
269
+ "num_tokens": 191871.0,
270
+ "step": 26
271
+ },
272
+ {
273
+ "entropy": 0.9452711939811707,
274
+ "epoch": 1.6153846153846154,
275
+ "grad_norm": 0.10309547930955887,
276
+ "learning_rate": 0.00010320515775716555,
277
+ "loss": 0.9123054146766663,
278
+ "mean_token_accuracy": 0.7641141563653946,
279
+ "num_tokens": 199434.0,
280
+ "step": 27
281
+ },
282
+ {
283
+ "entropy": 0.9179778099060059,
284
+ "epoch": 1.676923076923077,
285
+ "grad_norm": 0.0981035828590393,
286
+ "learning_rate": 9.679484224283449e-05,
287
+ "loss": 0.8683165311813354,
288
+ "mean_token_accuracy": 0.7796975672245026,
289
+ "num_tokens": 206254.0,
290
+ "step": 28
291
+ },
292
+ {
293
+ "entropy": 0.9250332564115524,
294
+ "epoch": 1.7384615384615385,
295
+ "grad_norm": 0.08907375484704971,
296
+ "learning_rate": 9.039769740923183e-05,
297
+ "loss": 0.9016717672348022,
298
+ "mean_token_accuracy": 0.7748660296201706,
299
+ "num_tokens": 213583.0,
300
+ "step": 29
301
+ },
302
+ {
303
+ "entropy": 0.8822590410709381,
304
+ "epoch": 1.8,
305
+ "grad_norm": 0.09369569271802902,
306
+ "learning_rate": 8.404001049666211e-05,
307
+ "loss": 0.8634146451950073,
308
+ "mean_token_accuracy": 0.7857015281915665,
309
+ "num_tokens": 220995.0,
310
+ "step": 30
311
+ },
312
+ {
313
+ "entropy": 0.8900642246007919,
314
+ "epoch": 1.8615384615384616,
315
+ "grad_norm": 0.1084684282541275,
316
+ "learning_rate": 7.774790660436858e-05,
317
+ "loss": 0.9049892425537109,
318
+ "mean_token_accuracy": 0.7676405757665634,
319
+ "num_tokens": 228050.0,
320
+ "step": 31
321
+ },
322
+ {
323
+ "entropy": 0.8679154813289642,
324
+ "epoch": 1.9230769230769231,
325
+ "grad_norm": 0.09301979839801788,
326
+ "learning_rate": 7.154724133689677e-05,
327
+ "loss": 0.8593922257423401,
328
+ "mean_token_accuracy": 0.7785892337560654,
329
+ "num_tokens": 235526.0,
330
+ "step": 32
331
+ },
332
+ {
333
+ "entropy": 0.8450447171926498,
334
+ "epoch": 1.9846153846153847,
335
+ "grad_norm": 0.0842856764793396,
336
+ "learning_rate": 6.546349455786926e-05,
337
+ "loss": 0.8173251152038574,
338
+ "mean_token_accuracy": 0.7973018437623978,
339
+ "num_tokens": 243742.0,
340
+ "step": 33
341
+ },
342
+ {
343
+ "entropy": 0.8048986196517944,
344
+ "epoch": 2.0,
345
+ "grad_norm": 0.3837374150753021,
346
+ "learning_rate": 5.952166568776062e-05,
347
+ "loss": 0.6818726658821106,
348
+ "mean_token_accuracy": 0.8026666641235352,
349
+ "num_tokens": 244118.0,
350
+ "step": 34
351
+ },
352
+ {
353
+ "entropy": 0.7753455340862274,
354
+ "epoch": 2.0615384615384613,
355
+ "grad_norm": 0.08415307849645615,
356
+ "learning_rate": 5.37461709759165e-05,
357
+ "loss": 0.7494256496429443,
358
+ "mean_token_accuracy": 0.8127170354127884,
359
+ "num_tokens": 250812.0,
360
+ "step": 35
361
+ },
362
+ {
363
+ "entropy": 0.8705243319272995,
364
+ "epoch": 2.123076923076923,
365
+ "grad_norm": 0.08281857520341873,
366
+ "learning_rate": 4.8160743168947496e-05,
367
+ "loss": 0.8155778050422668,
368
+ "mean_token_accuracy": 0.7962700128555298,
369
+ "num_tokens": 259283.0,
370
+ "step": 36
371
+ },
372
+ {
373
+ "entropy": 0.8529106080532074,
374
+ "epoch": 2.184615384615385,
375
+ "grad_norm": 0.08684741705656052,
376
+ "learning_rate": 4.278833398778306e-05,
377
+ "loss": 0.8145401477813721,
378
+ "mean_token_accuracy": 0.7847489565610886,
379
+ "num_tokens": 266873.0,
380
+ "step": 37
381
+ },
382
+ {
383
+ "entropy": 0.8403101414442062,
384
+ "epoch": 2.246153846153846,
385
+ "grad_norm": 0.08266881853342056,
386
+ "learning_rate": 3.7651019814126654e-05,
387
+ "loss": 0.7661445140838623,
388
+ "mean_token_accuracy": 0.7890966683626175,
389
+ "num_tokens": 275434.0,
390
+ "step": 38
391
+ },
392
+ {
393
+ "entropy": 0.8713241517543793,
394
+ "epoch": 2.3076923076923075,
395
+ "grad_norm": 0.10077489912509918,
396
+ "learning_rate": 3.276991097386831e-05,
397
+ "loss": 0.8386235237121582,
398
+ "mean_token_accuracy": 0.7867482155561447,
399
+ "num_tokens": 283379.0,
400
+ "step": 39
401
+ },
402
+ {
403
+ "entropy": 0.83709417283535,
404
+ "epoch": 2.3692307692307693,
405
+ "grad_norm": 0.09080053120851517,
406
+ "learning_rate": 2.8165064990227252e-05,
407
+ "loss": 0.8067209720611572,
408
+ "mean_token_accuracy": 0.8016703128814697,
409
+ "num_tokens": 290338.0,
410
+ "step": 40
411
+ },
412
+ {
413
+ "entropy": 0.8438597768545151,
414
+ "epoch": 2.430769230769231,
415
+ "grad_norm": 0.08650004863739014,
416
+ "learning_rate": 2.3855404163086558e-05,
417
+ "loss": 0.8423045873641968,
418
+ "mean_token_accuracy": 0.7904495745897293,
419
+ "num_tokens": 297691.0,
420
+ "step": 41
421
+ },
422
+ {
423
+ "entropy": 0.9152878075838089,
424
+ "epoch": 2.4923076923076923,
425
+ "grad_norm": 0.09586209803819656,
426
+ "learning_rate": 1.985863781320435e-05,
427
+ "loss": 0.852942705154419,
428
+ "mean_token_accuracy": 0.7787963896989822,
429
+ "num_tokens": 306035.0,
430
+ "step": 42
431
+ },
432
+ {
433
+ "entropy": 0.8039195388555527,
434
+ "epoch": 2.5538461538461537,
435
+ "grad_norm": 0.09025844186544418,
436
+ "learning_rate": 1.619118951081594e-05,
437
+ "loss": 0.7521865367889404,
438
+ "mean_token_accuracy": 0.7952634990215302,
439
+ "num_tokens": 312983.0,
440
+ "step": 43
441
+ },
442
+ {
443
+ "entropy": 0.823731929063797,
444
+ "epoch": 2.6153846153846154,
445
+ "grad_norm": 0.08297690749168396,
446
+ "learning_rate": 1.286812958766106e-05,
447
+ "loss": 0.7870848178863525,
448
+ "mean_token_accuracy": 0.8034364879131317,
449
+ "num_tokens": 320988.0,
450
+ "step": 44
451
+ },
452
+ {
453
+ "entropy": 0.7294498234987259,
454
+ "epoch": 2.676923076923077,
455
+ "grad_norm": 0.08398636430501938,
456
+ "learning_rate": 9.903113209758096e-06,
457
+ "loss": 0.695728063583374,
458
+ "mean_token_accuracy": 0.8254178762435913,
459
+ "num_tokens": 328225.0,
460
+ "step": 45
461
+ },
462
+ {
463
+ "entropy": 0.8571453243494034,
464
+ "epoch": 2.7384615384615385,
465
+ "grad_norm": 0.08756409585475922,
466
+ "learning_rate": 7.308324265397836e-06,
467
+ "loss": 0.8280683755874634,
468
+ "mean_token_accuracy": 0.78800830245018,
469
+ "num_tokens": 336579.0,
470
+ "step": 46
471
+ },
472
+ {
473
+ "entropy": 0.7919066250324249,
474
+ "epoch": 2.8,
475
+ "grad_norm": 0.08554663509130478,
476
+ "learning_rate": 5.094425298933136e-06,
477
+ "loss": 0.7187934517860413,
478
+ "mean_token_accuracy": 0.8041840344667435,
479
+ "num_tokens": 344723.0,
480
+ "step": 47
481
+ },
482
+ {
483
+ "entropy": 0.8572646379470825,
484
+ "epoch": 2.8615384615384616,
485
+ "grad_norm": 0.09562932699918747,
486
+ "learning_rate": 3.270513696097055e-06,
487
+ "loss": 0.8291648030281067,
488
+ "mean_token_accuracy": 0.7917099297046661,
489
+ "num_tokens": 352382.0,
490
+ "step": 48
491
+ },
492
+ {
493
+ "entropy": 0.7069458961486816,
494
+ "epoch": 2.9230769230769234,
495
+ "grad_norm": 0.09365329891443253,
496
+ "learning_rate": 1.8440843008934561e-06,
497
+ "loss": 0.6509672999382019,
498
+ "mean_token_accuracy": 0.8331291377544403,
499
+ "num_tokens": 358675.0,
500
+ "step": 49
501
+ },
502
+ {
503
+ "entropy": 0.727226197719574,
504
+ "epoch": 2.9846153846153847,
505
+ "grad_norm": 0.08536290377378464,
506
+ "learning_rate": 8.209986176753948e-07,
507
+ "loss": 0.7147982716560364,
508
+ "mean_token_accuracy": 0.8153118640184402,
509
+ "num_tokens": 365917.0,
510
+ "step": 50
511
+ },
512
+ {
513
+ "entropy": 0.6229841709136963,
514
+ "epoch": 3.0,
515
+ "grad_norm": 0.373575896024704,
516
+ "learning_rate": 2.054607249663665e-07,
517
+ "loss": 0.5710164904594421,
518
+ "mean_token_accuracy": 0.8725868463516235,
519
+ "num_tokens": 366177.0,
520
+ "step": 51
521
+ }
522
+ ],
523
+ "logging_steps": 1,
524
+ "max_steps": 51,
525
+ "num_input_tokens_seen": 0,
526
+ "num_train_epochs": 3,
527
+ "save_steps": 500,
528
+ "stateful_callbacks": {
529
+ "TrainerControl": {
530
+ "args": {
531
+ "should_epoch_stop": false,
532
+ "should_evaluate": false,
533
+ "should_log": false,
534
+ "should_save": true,
535
+ "should_training_stop": true
536
+ },
537
+ "attributes": {}
538
+ }
539
+ },
540
+ "total_flos": 4397256174151680.0,
541
+ "train_batch_size": 4,
542
+ "trial_name": null,
543
+ "trial_params": null
544
+ }
checkpoint-51/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2050cc34f19877546e9181667805ad821ca9a4aa7a4c3b14ccf1db53d804983
3
+ size 5649
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,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|endoftext|>",
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
+ "model_max_length": 32768,
25
+ "pad_token": "<|endoftext|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2050cc34f19877546e9181667805ad821ca9a4aa7a4c3b14ccf1db53d804983
3
+ size 5649