LayerEight commited on
Commit
0a5a585
·
verified ·
1 Parent(s): 8fd5519

Upload folder using huggingface_hub

Browse files
Files changed (41) hide show
  1. .gitattributes +4 -0
  2. README.md +62 -0
  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 +29 -0
  15. checkpoint-1000/trainer_state.json +434 -0
  16. checkpoint-1000/training_args.bin +3 -0
  17. checkpoint-1467/README.md +209 -0
  18. checkpoint-1467/adapter_config.json +48 -0
  19. checkpoint-1467/adapter_model.safetensors +3 -0
  20. checkpoint-1467/chat_template.jinja +54 -0
  21. checkpoint-1467/optimizer.pt +3 -0
  22. checkpoint-1467/rng_state.pth +3 -0
  23. checkpoint-1467/scheduler.pt +3 -0
  24. checkpoint-1467/tokenizer.json +3 -0
  25. checkpoint-1467/tokenizer_config.json +29 -0
  26. checkpoint-1467/trainer_state.json +614 -0
  27. checkpoint-1467/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 +29 -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 +29 -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-1467/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 ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-7B-Instruct
3
+ library_name: peft
4
+ model_name: Community-Qwen2.5-7B-output
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-7B-Instruct
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ licence: license
12
+ pipeline_tag: text-generation
13
+ ---
14
+
15
+ # Model Card for Community-Qwen2.5-7B-output
16
+
17
+ This model is a fine-tuned version of [Qwen/Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-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.5.1
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-7B-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
+ "up_proj",
34
+ "k_proj",
35
+ "v_proj",
36
+ "o_proj",
37
+ "down_proj",
38
+ "gate_proj",
39
+ "q_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:d8d2b3a64b67283aa533682fa2499e400b6b42155068795c52b98eeef5a0bfc1
3
+ size 80792880
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-7B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-7B-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-7B-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
+ "up_proj",
34
+ "k_proj",
35
+ "v_proj",
36
+ "o_proj",
37
+ "down_proj",
38
+ "gate_proj",
39
+ "q_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:5d7c3c166b244c3d0adc6975fe1d32937664110b9dcdd73c94f684b9e72d80c2
3
+ size 80792880
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:e8968557a1fdedd513910ad0ce10b403ebd1b3296b1d8d599dd6147cc046d8df
3
+ size 161810747
checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c936bc4172a83a03c773a3c49dcc7cb2d90c7bcb031925ae496d0aa65351c2b0
3
+ size 14645
checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76af41d9e43d3e9faf28a5081b12f2b1d7ef61d24defd63d6c9fd17ea7931c83
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,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|im_end|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
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.6817794443497529,
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": 2.163015019595623,
14
+ "epoch": 0.01704448610874382,
15
+ "grad_norm": 0.050537109375,
16
+ "learning_rate": 0.00010666666666666667,
17
+ "loss": 2.4524998474121094,
18
+ "mean_token_accuracy": 0.5153323707729578,
19
+ "num_tokens": 132137.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 2.2185084584355352,
24
+ "epoch": 0.03408897221748764,
25
+ "grad_norm": 0.068359375,
26
+ "learning_rate": 0.000199996095299633,
27
+ "loss": 2.173491668701172,
28
+ "mean_token_accuracy": 0.5537562420964242,
29
+ "num_tokens": 261404.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.9352111649513244,
34
+ "epoch": 0.051133458326231465,
35
+ "grad_norm": 0.1376953125,
36
+ "learning_rate": 0.0001997948280489004,
37
+ "loss": 1.8705439758300781,
38
+ "mean_token_accuracy": 0.5959619037806988,
39
+ "num_tokens": 396323.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.76205413736403,
44
+ "epoch": 0.06817794443497528,
45
+ "grad_norm": 0.09423828125,
46
+ "learning_rate": 0.00019928920737019733,
47
+ "loss": 1.6511923217773437,
48
+ "mean_token_accuracy": 0.6337622724473476,
49
+ "num_tokens": 527358.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.4949746784381568,
54
+ "epoch": 0.08522243054371911,
55
+ "grad_norm": 0.0625,
56
+ "learning_rate": 0.00019848077530122083,
57
+ "loss": 1.3673600769042968,
58
+ "mean_token_accuracy": 0.6848376739770174,
59
+ "num_tokens": 655447.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.4837670608237385,
64
+ "epoch": 0.10226691665246293,
65
+ "grad_norm": 0.08837890625,
66
+ "learning_rate": 0.0001973719973913012,
67
+ "loss": 1.4141250610351563,
68
+ "mean_token_accuracy": 0.6836329951137304,
69
+ "num_tokens": 790490.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.3150090302992612,
74
+ "epoch": 0.11931140276120675,
75
+ "grad_norm": 0.091796875,
76
+ "learning_rate": 0.00019596625518199077,
77
+ "loss": 1.2282736968994141,
78
+ "mean_token_accuracy": 0.7172392677515745,
79
+ "num_tokens": 925069.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.3966816508676856,
84
+ "epoch": 0.13635588886995056,
85
+ "grad_norm": 0.0712890625,
86
+ "learning_rate": 0.00019426783589406642,
87
+ "loss": 1.3173268127441407,
88
+ "mean_token_accuracy": 0.7017394271492958,
89
+ "num_tokens": 1052891.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 1.2435051177628338,
94
+ "epoch": 0.15340037497869438,
95
+ "grad_norm": 0.042236328125,
96
+ "learning_rate": 0.00019228191935240007,
97
+ "loss": 1.115916519165039,
98
+ "mean_token_accuracy": 0.7378023877739907,
99
+ "num_tokens": 1184065.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 1.3924890440981834,
104
+ "epoch": 0.17044486108743823,
105
+ "grad_norm": 0.072265625,
106
+ "learning_rate": 0.00019001456218857208,
107
+ "loss": 1.288157958984375,
108
+ "mean_token_accuracy": 0.7004149560630322,
109
+ "num_tokens": 1313612.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 1.3593159637693315,
114
+ "epoch": 0.18748934719618204,
115
+ "grad_norm": 0.08740234375,
116
+ "learning_rate": 0.00018747267936940722,
117
+ "loss": 1.2840399169921874,
118
+ "mean_token_accuracy": 0.7129683202505112,
119
+ "num_tokens": 1444287.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 1.2371155321784317,
124
+ "epoch": 0.20453383330492586,
125
+ "grad_norm": 0.09130859375,
126
+ "learning_rate": 0.00018466402310776708,
127
+ "loss": 1.1687215423583985,
128
+ "mean_token_accuracy": 0.73335683144629,
129
+ "num_tokens": 1577307.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 1.2478438840154558,
134
+ "epoch": 0.22157831941366968,
135
+ "grad_norm": 0.06005859375,
136
+ "learning_rate": 0.00018159715921991612,
137
+ "loss": 1.20022216796875,
138
+ "mean_token_accuracy": 0.732666322439909,
139
+ "num_tokens": 1711348.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 1.1931916671898215,
144
+ "epoch": 0.2386228055224135,
145
+ "grad_norm": 0.103515625,
146
+ "learning_rate": 0.00017828144100156754,
147
+ "loss": 1.082593002319336,
148
+ "mean_token_accuracy": 0.7456949570775032,
149
+ "num_tokens": 1842011.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 1.1265690931119026,
154
+ "epoch": 0.2556672916311573,
155
+ "grad_norm": 0.0888671875,
156
+ "learning_rate": 0.00017472698070228047,
157
+ "loss": 1.0630721282958984,
158
+ "mean_token_accuracy": 0.7553409574180842,
159
+ "num_tokens": 1976056.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 1.1145534914545714,
164
+ "epoch": 0.27271177773990113,
165
+ "grad_norm": 0.06787109375,
166
+ "learning_rate": 0.00017094461868520622,
167
+ "loss": 1.0225981903076171,
168
+ "mean_token_accuracy": 0.7580388783663511,
169
+ "num_tokens": 2109389.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 1.25198206695728,
174
+ "epoch": 0.28975626384864495,
175
+ "grad_norm": 0.048828125,
176
+ "learning_rate": 0.00016694589036623988,
177
+ "loss": 1.194885482788086,
178
+ "mean_token_accuracy": 0.7303700438886881,
179
+ "num_tokens": 2240117.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 1.1865128787327557,
184
+ "epoch": 0.30680074995738876,
185
+ "grad_norm": 0.0556640625,
186
+ "learning_rate": 0.0001627429910334058,
187
+ "loss": 1.118544158935547,
188
+ "mean_token_accuracy": 0.7400260034948587,
189
+ "num_tokens": 2364080.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 1.274649427868426,
194
+ "epoch": 0.3238452360661326,
195
+ "grad_norm": 0.06591796875,
196
+ "learning_rate": 0.00015834873865377077,
197
+ "loss": 1.1928933715820313,
198
+ "mean_token_accuracy": 0.7288886807858944,
199
+ "num_tokens": 2497166.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 1.1076703028334305,
204
+ "epoch": 0.34088972217487645,
205
+ "grad_norm": 0.0693359375,
206
+ "learning_rate": 0.00015377653478131556,
207
+ "loss": 1.0115528869628907,
208
+ "mean_token_accuracy": 0.7560868422687054,
209
+ "num_tokens": 2632559.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 1.1313659130921587,
214
+ "epoch": 0.35793420828362027,
215
+ "grad_norm": 0.08935546875,
216
+ "learning_rate": 0.00014904032368498856,
217
+ "loss": 1.0595830535888673,
218
+ "mean_token_accuracy": 0.756401935890317,
219
+ "num_tokens": 2764478.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 1.0654471471440048,
224
+ "epoch": 0.3749786943923641,
225
+ "grad_norm": 0.0771484375,
226
+ "learning_rate": 0.0001441545498215912,
227
+ "loss": 1.0119430541992187,
228
+ "mean_token_accuracy": 0.768122655749321,
229
+ "num_tokens": 2901372.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 1.2444889663858338,
234
+ "epoch": 0.3920231805011079,
235
+ "grad_norm": 0.0712890625,
236
+ "learning_rate": 0.00013913411378319504,
237
+ "loss": 1.2215270233154296,
238
+ "mean_token_accuracy": 0.729380588978529,
239
+ "num_tokens": 3031999.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 1.0762281655799597,
244
+ "epoch": 0.4090676666098517,
245
+ "grad_norm": 0.08740234375,
246
+ "learning_rate": 0.0001339943268534414,
247
+ "loss": 0.9998902893066406,
248
+ "mean_token_accuracy": 0.768867435157299,
249
+ "num_tokens": 3164064.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 1.0626403710339218,
254
+ "epoch": 0.42611215271859554,
255
+ "grad_norm": 0.134765625,
256
+ "learning_rate": 0.00012875086431131716,
257
+ "loss": 0.9624679565429688,
258
+ "mean_token_accuracy": 0.771867539063096,
259
+ "num_tokens": 3288692.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.9459870021557435,
264
+ "epoch": 0.44315663882733936,
265
+ "grad_norm": 0.072265625,
266
+ "learning_rate": 0.00012341971762482043,
267
+ "loss": 0.9064933776855468,
268
+ "mean_token_accuracy": 0.7910215198248625,
269
+ "num_tokens": 3418627.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 1.045862675276585,
274
+ "epoch": 0.4602011249360832,
275
+ "grad_norm": 0.06494140625,
276
+ "learning_rate": 0.00011801714568031615,
277
+ "loss": 0.9381060791015625,
278
+ "mean_token_accuracy": 0.770117818787694,
279
+ "num_tokens": 3545140.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.9516787563310936,
284
+ "epoch": 0.477245611044827,
285
+ "grad_norm": 0.07666015625,
286
+ "learning_rate": 0.00011255962519632081,
287
+ "loss": 0.8808039093017578,
288
+ "mean_token_accuracy": 0.7909089859575034,
289
+ "num_tokens": 3679692.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.9953352324664593,
294
+ "epoch": 0.4942900971535708,
295
+ "grad_norm": 0.051513671875,
296
+ "learning_rate": 0.00010706380047294496,
297
+ "loss": 0.9232154846191406,
298
+ "mean_token_accuracy": 0.7844866032898427,
299
+ "num_tokens": 3810488.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.92748022117652,
304
+ "epoch": 0.5113345832623146,
305
+ "grad_norm": 0.07421875,
306
+ "learning_rate": 0.00010154643263024644,
307
+ "loss": 0.8504108428955078,
308
+ "mean_token_accuracy": 0.7934545055776835,
309
+ "num_tokens": 3937101.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.9793470423854888,
314
+ "epoch": 0.5283790693710585,
315
+ "grad_norm": 0.0771484375,
316
+ "learning_rate": 9.602434849030745e-05,
317
+ "loss": 0.8816374969482422,
318
+ "mean_token_accuracy": 0.786624568477273,
319
+ "num_tokens": 4069539.0,
320
+ "step": 775
321
+ },
322
+ {
323
+ "entropy": 0.9201436020294205,
324
+ "epoch": 0.5454235554798023,
325
+ "grad_norm": 0.06005859375,
326
+ "learning_rate": 9.051438925893384e-05,
327
+ "loss": 0.8456056976318359,
328
+ "mean_token_accuracy": 0.7975382874906063,
329
+ "num_tokens": 4196197.0,
330
+ "step": 800
331
+ },
332
+ {
333
+ "entropy": 0.8780001322366298,
334
+ "epoch": 0.5624680415885461,
335
+ "grad_norm": 0.06787109375,
336
+ "learning_rate": 8.503335916348721e-05,
337
+ "loss": 0.7664035034179687,
338
+ "mean_token_accuracy": 0.8094721902906895,
339
+ "num_tokens": 4328551.0,
340
+ "step": 825
341
+ },
342
+ {
343
+ "entropy": 1.0318437330564485,
344
+ "epoch": 0.5795125276972899,
345
+ "grad_norm": 0.0625,
346
+ "learning_rate": 7.959797420349355e-05,
347
+ "loss": 0.9603571319580078,
348
+ "mean_token_accuracy": 0.7762538179755211,
349
+ "num_tokens": 4461738.0,
350
+ "step": 850
351
+ },
352
+ {
353
+ "entropy": 1.001236357828602,
354
+ "epoch": 0.5965570138060338,
355
+ "grad_norm": 0.05322265625,
356
+ "learning_rate": 7.422481117032823e-05,
357
+ "loss": 0.9705011749267578,
358
+ "mean_token_accuracy": 0.7822855979949236,
359
+ "num_tokens": 4595951.0,
360
+ "step": 875
361
+ },
362
+ {
363
+ "entropy": 0.9190932653006166,
364
+ "epoch": 0.6136014999147775,
365
+ "grad_norm": 0.1259765625,
366
+ "learning_rate": 6.893025709145718e-05,
367
+ "loss": 0.7840510559082031,
368
+ "mean_token_accuracy": 0.7955148361623288,
369
+ "num_tokens": 4721963.0,
370
+ "step": 900
371
+ },
372
+ {
373
+ "entropy": 0.9409526876406744,
374
+ "epoch": 0.6306459860235214,
375
+ "grad_norm": 0.07421875,
376
+ "learning_rate": 6.373045925341794e-05,
377
+ "loss": 0.8891078948974609,
378
+ "mean_token_accuracy": 0.797613599896431,
379
+ "num_tokens": 4857248.0,
380
+ "step": 925
381
+ },
382
+ {
383
+ "entropy": 0.9927360657276586,
384
+ "epoch": 0.6476904721322652,
385
+ "grad_norm": 0.05859375,
386
+ "learning_rate": 5.864127595596118e-05,
387
+ "loss": 0.9160787963867187,
388
+ "mean_token_accuracy": 0.7845662014186382,
389
+ "num_tokens": 4990977.0,
390
+ "step": 950
391
+ },
392
+ {
393
+ "entropy": 1.0460572233749554,
394
+ "epoch": 0.664734958241009,
395
+ "grad_norm": 0.048583984375,
396
+ "learning_rate": 5.367822814754124e-05,
397
+ "loss": 1.0131810760498048,
398
+ "mean_token_accuracy": 0.7867030793055892,
399
+ "num_tokens": 5126029.0,
400
+ "step": 975
401
+ },
402
+ {
403
+ "entropy": 0.9399900265224278,
404
+ "epoch": 0.6817794443497529,
405
+ "grad_norm": 0.0810546875,
406
+ "learning_rate": 4.885645208965779e-05,
407
+ "loss": 0.8525303649902344,
408
+ "mean_token_accuracy": 0.7958442622423172,
409
+ "num_tokens": 5258088.0,
410
+ "step": 1000
411
+ }
412
+ ],
413
+ "logging_steps": 25,
414
+ "max_steps": 1467,
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": 2.2434124541733274e+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:6fc4c6c929872f6609871e917db76edda2422f46a78f2141949ced04b85bfae0
3
+ size 5649
checkpoint-1467/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-7B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-7B-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-1467/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-7B-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
+ "up_proj",
34
+ "k_proj",
35
+ "v_proj",
36
+ "o_proj",
37
+ "down_proj",
38
+ "gate_proj",
39
+ "q_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-1467/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8d2b3a64b67283aa533682fa2499e400b6b42155068795c52b98eeef5a0bfc1
3
+ size 80792880
checkpoint-1467/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-1467/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:091019192da312ed9e418a697ec02121b5f7a39a8916105fe484c815e0b454d0
3
+ size 161810747
checkpoint-1467/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abc78e19ad788d4b64c8d16989a877f4cd3a3faf7d582996384b33fbc482659e
3
+ size 14645
checkpoint-1467/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c20698c03b3cfc3824b3f1c419489b692cf2c43444f40387a6ced5edbdbf0b39
3
+ size 1465
checkpoint-1467/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-1467/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": "<|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
+ "model_max_length": 131072,
25
+ "pad_token": "<|im_end|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
checkpoint-1467/trainer_state.json ADDED
@@ -0,0 +1,614 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 1467,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.163015019595623,
14
+ "epoch": 0.01704448610874382,
15
+ "grad_norm": 0.050537109375,
16
+ "learning_rate": 0.00010666666666666667,
17
+ "loss": 2.4524998474121094,
18
+ "mean_token_accuracy": 0.5153323707729578,
19
+ "num_tokens": 132137.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 2.2185084584355352,
24
+ "epoch": 0.03408897221748764,
25
+ "grad_norm": 0.068359375,
26
+ "learning_rate": 0.000199996095299633,
27
+ "loss": 2.173491668701172,
28
+ "mean_token_accuracy": 0.5537562420964242,
29
+ "num_tokens": 261404.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.9352111649513244,
34
+ "epoch": 0.051133458326231465,
35
+ "grad_norm": 0.1376953125,
36
+ "learning_rate": 0.0001997948280489004,
37
+ "loss": 1.8705439758300781,
38
+ "mean_token_accuracy": 0.5959619037806988,
39
+ "num_tokens": 396323.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.76205413736403,
44
+ "epoch": 0.06817794443497528,
45
+ "grad_norm": 0.09423828125,
46
+ "learning_rate": 0.00019928920737019733,
47
+ "loss": 1.6511923217773437,
48
+ "mean_token_accuracy": 0.6337622724473476,
49
+ "num_tokens": 527358.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.4949746784381568,
54
+ "epoch": 0.08522243054371911,
55
+ "grad_norm": 0.0625,
56
+ "learning_rate": 0.00019848077530122083,
57
+ "loss": 1.3673600769042968,
58
+ "mean_token_accuracy": 0.6848376739770174,
59
+ "num_tokens": 655447.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.4837670608237385,
64
+ "epoch": 0.10226691665246293,
65
+ "grad_norm": 0.08837890625,
66
+ "learning_rate": 0.0001973719973913012,
67
+ "loss": 1.4141250610351563,
68
+ "mean_token_accuracy": 0.6836329951137304,
69
+ "num_tokens": 790490.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.3150090302992612,
74
+ "epoch": 0.11931140276120675,
75
+ "grad_norm": 0.091796875,
76
+ "learning_rate": 0.00019596625518199077,
77
+ "loss": 1.2282736968994141,
78
+ "mean_token_accuracy": 0.7172392677515745,
79
+ "num_tokens": 925069.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.3966816508676856,
84
+ "epoch": 0.13635588886995056,
85
+ "grad_norm": 0.0712890625,
86
+ "learning_rate": 0.00019426783589406642,
87
+ "loss": 1.3173268127441407,
88
+ "mean_token_accuracy": 0.7017394271492958,
89
+ "num_tokens": 1052891.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 1.2435051177628338,
94
+ "epoch": 0.15340037497869438,
95
+ "grad_norm": 0.042236328125,
96
+ "learning_rate": 0.00019228191935240007,
97
+ "loss": 1.115916519165039,
98
+ "mean_token_accuracy": 0.7378023877739907,
99
+ "num_tokens": 1184065.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 1.3924890440981834,
104
+ "epoch": 0.17044486108743823,
105
+ "grad_norm": 0.072265625,
106
+ "learning_rate": 0.00019001456218857208,
107
+ "loss": 1.288157958984375,
108
+ "mean_token_accuracy": 0.7004149560630322,
109
+ "num_tokens": 1313612.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 1.3593159637693315,
114
+ "epoch": 0.18748934719618204,
115
+ "grad_norm": 0.08740234375,
116
+ "learning_rate": 0.00018747267936940722,
117
+ "loss": 1.2840399169921874,
118
+ "mean_token_accuracy": 0.7129683202505112,
119
+ "num_tokens": 1444287.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 1.2371155321784317,
124
+ "epoch": 0.20453383330492586,
125
+ "grad_norm": 0.09130859375,
126
+ "learning_rate": 0.00018466402310776708,
127
+ "loss": 1.1687215423583985,
128
+ "mean_token_accuracy": 0.73335683144629,
129
+ "num_tokens": 1577307.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 1.2478438840154558,
134
+ "epoch": 0.22157831941366968,
135
+ "grad_norm": 0.06005859375,
136
+ "learning_rate": 0.00018159715921991612,
137
+ "loss": 1.20022216796875,
138
+ "mean_token_accuracy": 0.732666322439909,
139
+ "num_tokens": 1711348.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 1.1931916671898215,
144
+ "epoch": 0.2386228055224135,
145
+ "grad_norm": 0.103515625,
146
+ "learning_rate": 0.00017828144100156754,
147
+ "loss": 1.082593002319336,
148
+ "mean_token_accuracy": 0.7456949570775032,
149
+ "num_tokens": 1842011.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 1.1265690931119026,
154
+ "epoch": 0.2556672916311573,
155
+ "grad_norm": 0.0888671875,
156
+ "learning_rate": 0.00017472698070228047,
157
+ "loss": 1.0630721282958984,
158
+ "mean_token_accuracy": 0.7553409574180842,
159
+ "num_tokens": 1976056.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 1.1145534914545714,
164
+ "epoch": 0.27271177773990113,
165
+ "grad_norm": 0.06787109375,
166
+ "learning_rate": 0.00017094461868520622,
167
+ "loss": 1.0225981903076171,
168
+ "mean_token_accuracy": 0.7580388783663511,
169
+ "num_tokens": 2109389.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 1.25198206695728,
174
+ "epoch": 0.28975626384864495,
175
+ "grad_norm": 0.048828125,
176
+ "learning_rate": 0.00016694589036623988,
177
+ "loss": 1.194885482788086,
178
+ "mean_token_accuracy": 0.7303700438886881,
179
+ "num_tokens": 2240117.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 1.1865128787327557,
184
+ "epoch": 0.30680074995738876,
185
+ "grad_norm": 0.0556640625,
186
+ "learning_rate": 0.0001627429910334058,
187
+ "loss": 1.118544158935547,
188
+ "mean_token_accuracy": 0.7400260034948587,
189
+ "num_tokens": 2364080.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 1.274649427868426,
194
+ "epoch": 0.3238452360661326,
195
+ "grad_norm": 0.06591796875,
196
+ "learning_rate": 0.00015834873865377077,
197
+ "loss": 1.1928933715820313,
198
+ "mean_token_accuracy": 0.7288886807858944,
199
+ "num_tokens": 2497166.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 1.1076703028334305,
204
+ "epoch": 0.34088972217487645,
205
+ "grad_norm": 0.0693359375,
206
+ "learning_rate": 0.00015377653478131556,
207
+ "loss": 1.0115528869628907,
208
+ "mean_token_accuracy": 0.7560868422687054,
209
+ "num_tokens": 2632559.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 1.1313659130921587,
214
+ "epoch": 0.35793420828362027,
215
+ "grad_norm": 0.08935546875,
216
+ "learning_rate": 0.00014904032368498856,
217
+ "loss": 1.0595830535888673,
218
+ "mean_token_accuracy": 0.756401935890317,
219
+ "num_tokens": 2764478.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 1.0654471471440048,
224
+ "epoch": 0.3749786943923641,
225
+ "grad_norm": 0.0771484375,
226
+ "learning_rate": 0.0001441545498215912,
227
+ "loss": 1.0119430541992187,
228
+ "mean_token_accuracy": 0.768122655749321,
229
+ "num_tokens": 2901372.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 1.2444889663858338,
234
+ "epoch": 0.3920231805011079,
235
+ "grad_norm": 0.0712890625,
236
+ "learning_rate": 0.00013913411378319504,
237
+ "loss": 1.2215270233154296,
238
+ "mean_token_accuracy": 0.729380588978529,
239
+ "num_tokens": 3031999.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 1.0762281655799597,
244
+ "epoch": 0.4090676666098517,
245
+ "grad_norm": 0.08740234375,
246
+ "learning_rate": 0.0001339943268534414,
247
+ "loss": 0.9998902893066406,
248
+ "mean_token_accuracy": 0.768867435157299,
249
+ "num_tokens": 3164064.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 1.0626403710339218,
254
+ "epoch": 0.42611215271859554,
255
+ "grad_norm": 0.134765625,
256
+ "learning_rate": 0.00012875086431131716,
257
+ "loss": 0.9624679565429688,
258
+ "mean_token_accuracy": 0.771867539063096,
259
+ "num_tokens": 3288692.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.9459870021557435,
264
+ "epoch": 0.44315663882733936,
265
+ "grad_norm": 0.072265625,
266
+ "learning_rate": 0.00012341971762482043,
267
+ "loss": 0.9064933776855468,
268
+ "mean_token_accuracy": 0.7910215198248625,
269
+ "num_tokens": 3418627.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 1.045862675276585,
274
+ "epoch": 0.4602011249360832,
275
+ "grad_norm": 0.06494140625,
276
+ "learning_rate": 0.00011801714568031615,
277
+ "loss": 0.9381060791015625,
278
+ "mean_token_accuracy": 0.770117818787694,
279
+ "num_tokens": 3545140.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.9516787563310936,
284
+ "epoch": 0.477245611044827,
285
+ "grad_norm": 0.07666015625,
286
+ "learning_rate": 0.00011255962519632081,
287
+ "loss": 0.8808039093017578,
288
+ "mean_token_accuracy": 0.7909089859575034,
289
+ "num_tokens": 3679692.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.9953352324664593,
294
+ "epoch": 0.4942900971535708,
295
+ "grad_norm": 0.051513671875,
296
+ "learning_rate": 0.00010706380047294496,
297
+ "loss": 0.9232154846191406,
298
+ "mean_token_accuracy": 0.7844866032898427,
299
+ "num_tokens": 3810488.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.92748022117652,
304
+ "epoch": 0.5113345832623146,
305
+ "grad_norm": 0.07421875,
306
+ "learning_rate": 0.00010154643263024644,
307
+ "loss": 0.8504108428955078,
308
+ "mean_token_accuracy": 0.7934545055776835,
309
+ "num_tokens": 3937101.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.9793470423854888,
314
+ "epoch": 0.5283790693710585,
315
+ "grad_norm": 0.0771484375,
316
+ "learning_rate": 9.602434849030745e-05,
317
+ "loss": 0.8816374969482422,
318
+ "mean_token_accuracy": 0.786624568477273,
319
+ "num_tokens": 4069539.0,
320
+ "step": 775
321
+ },
322
+ {
323
+ "entropy": 0.9201436020294205,
324
+ "epoch": 0.5454235554798023,
325
+ "grad_norm": 0.06005859375,
326
+ "learning_rate": 9.051438925893384e-05,
327
+ "loss": 0.8456056976318359,
328
+ "mean_token_accuracy": 0.7975382874906063,
329
+ "num_tokens": 4196197.0,
330
+ "step": 800
331
+ },
332
+ {
333
+ "entropy": 0.8780001322366298,
334
+ "epoch": 0.5624680415885461,
335
+ "grad_norm": 0.06787109375,
336
+ "learning_rate": 8.503335916348721e-05,
337
+ "loss": 0.7664035034179687,
338
+ "mean_token_accuracy": 0.8094721902906895,
339
+ "num_tokens": 4328551.0,
340
+ "step": 825
341
+ },
342
+ {
343
+ "entropy": 1.0318437330564485,
344
+ "epoch": 0.5795125276972899,
345
+ "grad_norm": 0.0625,
346
+ "learning_rate": 7.959797420349355e-05,
347
+ "loss": 0.9603571319580078,
348
+ "mean_token_accuracy": 0.7762538179755211,
349
+ "num_tokens": 4461738.0,
350
+ "step": 850
351
+ },
352
+ {
353
+ "entropy": 1.001236357828602,
354
+ "epoch": 0.5965570138060338,
355
+ "grad_norm": 0.05322265625,
356
+ "learning_rate": 7.422481117032823e-05,
357
+ "loss": 0.9705011749267578,
358
+ "mean_token_accuracy": 0.7822855979949236,
359
+ "num_tokens": 4595951.0,
360
+ "step": 875
361
+ },
362
+ {
363
+ "entropy": 0.9190932653006166,
364
+ "epoch": 0.6136014999147775,
365
+ "grad_norm": 0.1259765625,
366
+ "learning_rate": 6.893025709145718e-05,
367
+ "loss": 0.7840510559082031,
368
+ "mean_token_accuracy": 0.7955148361623288,
369
+ "num_tokens": 4721963.0,
370
+ "step": 900
371
+ },
372
+ {
373
+ "entropy": 0.9409526876406744,
374
+ "epoch": 0.6306459860235214,
375
+ "grad_norm": 0.07421875,
376
+ "learning_rate": 6.373045925341794e-05,
377
+ "loss": 0.8891078948974609,
378
+ "mean_token_accuracy": 0.797613599896431,
379
+ "num_tokens": 4857248.0,
380
+ "step": 925
381
+ },
382
+ {
383
+ "entropy": 0.9927360657276586,
384
+ "epoch": 0.6476904721322652,
385
+ "grad_norm": 0.05859375,
386
+ "learning_rate": 5.864127595596118e-05,
387
+ "loss": 0.9160787963867187,
388
+ "mean_token_accuracy": 0.7845662014186382,
389
+ "num_tokens": 4990977.0,
390
+ "step": 950
391
+ },
392
+ {
393
+ "entropy": 1.0460572233749554,
394
+ "epoch": 0.664734958241009,
395
+ "grad_norm": 0.048583984375,
396
+ "learning_rate": 5.367822814754124e-05,
397
+ "loss": 1.0131810760498048,
398
+ "mean_token_accuracy": 0.7867030793055892,
399
+ "num_tokens": 5126029.0,
400
+ "step": 975
401
+ },
402
+ {
403
+ "entropy": 0.9399900265224278,
404
+ "epoch": 0.6817794443497529,
405
+ "grad_norm": 0.0810546875,
406
+ "learning_rate": 4.885645208965779e-05,
407
+ "loss": 0.8525303649902344,
408
+ "mean_token_accuracy": 0.7958442622423172,
409
+ "num_tokens": 5258088.0,
410
+ "step": 1000
411
+ },
412
+ {
413
+ "entropy": 0.9254711728263646,
414
+ "epoch": 0.6988239304584967,
415
+ "grad_norm": 0.06298828125,
416
+ "learning_rate": 4.419065319441306e-05,
417
+ "loss": 0.8452438354492188,
418
+ "mean_token_accuracy": 0.8007816936075688,
419
+ "num_tokens": 5389128.0,
420
+ "step": 1025
421
+ },
422
+ {
423
+ "entropy": 0.9583898686571046,
424
+ "epoch": 0.7158684165672405,
425
+ "grad_norm": 0.0615234375,
426
+ "learning_rate": 3.969506117606927e-05,
427
+ "loss": 0.910721435546875,
428
+ "mean_token_accuracy": 0.7937231123447418,
429
+ "num_tokens": 5518384.0,
430
+ "step": 1050
431
+ },
432
+ {
433
+ "entropy": 0.9213999844761566,
434
+ "epoch": 0.7329129026759843,
435
+ "grad_norm": 0.0625,
436
+ "learning_rate": 3.538338665338589e-05,
437
+ "loss": 0.8783349609375,
438
+ "mean_token_accuracy": 0.7985107507556677,
439
+ "num_tokens": 5649311.0,
440
+ "step": 1075
441
+ },
442
+ {
443
+ "entropy": 1.0327887642104179,
444
+ "epoch": 0.7499573887847282,
445
+ "grad_norm": 0.0810546875,
446
+ "learning_rate": 3.126877933508957e-05,
447
+ "loss": 0.9161809539794922,
448
+ "mean_token_accuracy": 0.7725442545861005,
449
+ "num_tokens": 5777733.0,
450
+ "step": 1100
451
+ },
452
+ {
453
+ "entropy": 1.0169112877128645,
454
+ "epoch": 0.7670018748934719,
455
+ "grad_norm": 0.0595703125,
456
+ "learning_rate": 2.7363787916003037e-05,
457
+ "loss": 0.9725022888183594,
458
+ "mean_token_accuracy": 0.777765890210867,
459
+ "num_tokens": 5909211.0,
460
+ "step": 1125
461
+ },
462
+ {
463
+ "entropy": 0.9282390323840082,
464
+ "epoch": 0.7840463610022158,
465
+ "grad_norm": 0.06298828125,
466
+ "learning_rate": 2.368032180614118e-05,
467
+ "loss": 0.8365528869628907,
468
+ "mean_token_accuracy": 0.7959657093882561,
469
+ "num_tokens": 6044115.0,
470
+ "step": 1150
471
+ },
472
+ {
473
+ "entropy": 0.9648981914808974,
474
+ "epoch": 0.8010908471109596,
475
+ "grad_norm": 0.05712890625,
476
+ "learning_rate": 2.0229614809492303e-05,
477
+ "loss": 0.8802178955078125,
478
+ "mean_token_accuracy": 0.7891545896232128,
479
+ "num_tokens": 6175533.0,
480
+ "step": 1175
481
+ },
482
+ {
483
+ "entropy": 0.8922164059896022,
484
+ "epoch": 0.8181353332197034,
485
+ "grad_norm": 0.05859375,
486
+ "learning_rate": 1.7022190863257183e-05,
487
+ "loss": 0.8290106201171875,
488
+ "mean_token_accuracy": 0.8064813084155321,
489
+ "num_tokens": 6310296.0,
490
+ "step": 1200
491
+ },
492
+ {
493
+ "entropy": 0.9672217888385057,
494
+ "epoch": 0.8351798193284472,
495
+ "grad_norm": 0.06884765625,
496
+ "learning_rate": 1.4067831942033904e-05,
497
+ "loss": 0.908281478881836,
498
+ "mean_token_accuracy": 0.7912823136150837,
499
+ "num_tokens": 6436503.0,
500
+ "step": 1225
501
+ },
502
+ {
503
+ "entropy": 1.0066828985884786,
504
+ "epoch": 0.8522243054371911,
505
+ "grad_norm": 0.06494140625,
506
+ "learning_rate": 1.137554822483381e-05,
507
+ "loss": 0.9817295074462891,
508
+ "mean_token_accuracy": 0.7799629791080952,
509
+ "num_tokens": 6572817.0,
510
+ "step": 1250
511
+ },
512
+ {
513
+ "entropy": 0.8913562398357316,
514
+ "epoch": 0.8692687915459348,
515
+ "grad_norm": 0.07421875,
516
+ "learning_rate": 8.953550615913397e-06,
517
+ "loss": 0.7918276977539063,
518
+ "mean_token_accuracy": 0.8021628592163325,
519
+ "num_tokens": 6701599.0,
520
+ "step": 1275
521
+ },
522
+ {
523
+ "entropy": 0.9468374169385061,
524
+ "epoch": 0.8863132776546787,
525
+ "grad_norm": 0.07958984375,
526
+ "learning_rate": 6.809225703227351e-06,
527
+ "loss": 0.8823848724365234,
528
+ "mean_token_accuracy": 0.7927402850985527,
529
+ "num_tokens": 6838746.0,
530
+ "step": 1300
531
+ },
532
+ {
533
+ "entropy": 0.9219346580654383,
534
+ "epoch": 0.9033577637634226,
535
+ "grad_norm": 0.0869140625,
536
+ "learning_rate": 4.949113230874847e-06,
537
+ "loss": 0.8668992614746094,
538
+ "mean_token_accuracy": 0.797563666626811,
539
+ "num_tokens": 6971712.0,
540
+ "step": 1325
541
+ },
542
+ {
543
+ "entropy": 0.984245891966857,
544
+ "epoch": 0.9204022498721663,
545
+ "grad_norm": 0.07666015625,
546
+ "learning_rate": 3.3788861542428553e-06,
547
+ "loss": 0.9503571319580079,
548
+ "mean_token_accuracy": 0.792408836260438,
549
+ "num_tokens": 7106279.0,
550
+ "step": 1350
551
+ },
552
+ {
553
+ "entropy": 0.913267534552142,
554
+ "epoch": 0.9374467359809102,
555
+ "grad_norm": 0.115234375,
556
+ "learning_rate": 2.1033333386744846e-06,
557
+ "loss": 0.8369984436035156,
558
+ "mean_token_accuracy": 0.803322741240263,
559
+ "num_tokens": 7238150.0,
560
+ "step": 1375
561
+ },
562
+ {
563
+ "entropy": 0.8992303860466927,
564
+ "epoch": 0.954491222089654,
565
+ "grad_norm": 0.064453125,
566
+ "learning_rate": 1.1263449544276938e-06,
567
+ "loss": 0.8289890289306641,
568
+ "mean_token_accuracy": 0.8079592730104923,
569
+ "num_tokens": 7374135.0,
570
+ "step": 1400
571
+ },
572
+ {
573
+ "entropy": 0.9052433096244932,
574
+ "epoch": 0.9715357081983979,
575
+ "grad_norm": 0.0498046875,
576
+ "learning_rate": 4.5090061246676475e-07,
577
+ "loss": 0.7991035461425782,
578
+ "mean_token_accuracy": 0.7997805786132812,
579
+ "num_tokens": 7508742.0,
580
+ "step": 1425
581
+ },
582
+ {
583
+ "entropy": 0.9894003225583583,
584
+ "epoch": 0.9885801943071416,
585
+ "grad_norm": 0.10595703125,
586
+ "learning_rate": 7.906027726981568e-08,
587
+ "loss": 0.9240727233886719,
588
+ "mean_token_accuracy": 0.786658907160163,
589
+ "num_tokens": 7649672.0,
590
+ "step": 1450
591
+ }
592
+ ],
593
+ "logging_steps": 25,
594
+ "max_steps": 1467,
595
+ "num_input_tokens_seen": 0,
596
+ "num_train_epochs": 1,
597
+ "save_steps": 500,
598
+ "stateful_callbacks": {
599
+ "TrainerControl": {
600
+ "args": {
601
+ "should_epoch_stop": false,
602
+ "should_evaluate": false,
603
+ "should_log": false,
604
+ "should_save": true,
605
+ "should_training_stop": true
606
+ },
607
+ "attributes": {}
608
+ }
609
+ },
610
+ "total_flos": 3.3015596632508314e+17,
611
+ "train_batch_size": 1,
612
+ "trial_name": null,
613
+ "trial_params": null
614
+ }
checkpoint-1467/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6fc4c6c929872f6609871e917db76edda2422f46a78f2141949ced04b85bfae0
3
+ size 5649
checkpoint-500/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-7B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-7B-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-7B-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
+ "up_proj",
34
+ "k_proj",
35
+ "v_proj",
36
+ "o_proj",
37
+ "down_proj",
38
+ "gate_proj",
39
+ "q_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:06721c2fb4160186ce083e9278cddbc244c7f60a9d4ee7388df624195755e770
3
+ size 80792880
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:84aabd0716823d3888c21eafc1875935c94cfe5c3a2f44608cfc87427847e1fc
3
+ size 161810747
checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05efcfe29e9807f5d160974c56b6343c99f71214e836d55d7f9b90e70eaeed5a
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f53d1b692311bdef454f3af4d3ee73e18ccd05572da38b773834e3dd52469d4
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,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "model_max_length": 131072,
25
+ "pad_token": "<|im_end|>",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null
29
+ }
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.34088972217487645,
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": 2.163015019595623,
14
+ "epoch": 0.01704448610874382,
15
+ "grad_norm": 0.050537109375,
16
+ "learning_rate": 0.00010666666666666667,
17
+ "loss": 2.4524998474121094,
18
+ "mean_token_accuracy": 0.5153323707729578,
19
+ "num_tokens": 132137.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 2.2185084584355352,
24
+ "epoch": 0.03408897221748764,
25
+ "grad_norm": 0.068359375,
26
+ "learning_rate": 0.000199996095299633,
27
+ "loss": 2.173491668701172,
28
+ "mean_token_accuracy": 0.5537562420964242,
29
+ "num_tokens": 261404.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.9352111649513244,
34
+ "epoch": 0.051133458326231465,
35
+ "grad_norm": 0.1376953125,
36
+ "learning_rate": 0.0001997948280489004,
37
+ "loss": 1.8705439758300781,
38
+ "mean_token_accuracy": 0.5959619037806988,
39
+ "num_tokens": 396323.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.76205413736403,
44
+ "epoch": 0.06817794443497528,
45
+ "grad_norm": 0.09423828125,
46
+ "learning_rate": 0.00019928920737019733,
47
+ "loss": 1.6511923217773437,
48
+ "mean_token_accuracy": 0.6337622724473476,
49
+ "num_tokens": 527358.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.4949746784381568,
54
+ "epoch": 0.08522243054371911,
55
+ "grad_norm": 0.0625,
56
+ "learning_rate": 0.00019848077530122083,
57
+ "loss": 1.3673600769042968,
58
+ "mean_token_accuracy": 0.6848376739770174,
59
+ "num_tokens": 655447.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.4837670608237385,
64
+ "epoch": 0.10226691665246293,
65
+ "grad_norm": 0.08837890625,
66
+ "learning_rate": 0.0001973719973913012,
67
+ "loss": 1.4141250610351563,
68
+ "mean_token_accuracy": 0.6836329951137304,
69
+ "num_tokens": 790490.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.3150090302992612,
74
+ "epoch": 0.11931140276120675,
75
+ "grad_norm": 0.091796875,
76
+ "learning_rate": 0.00019596625518199077,
77
+ "loss": 1.2282736968994141,
78
+ "mean_token_accuracy": 0.7172392677515745,
79
+ "num_tokens": 925069.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.3966816508676856,
84
+ "epoch": 0.13635588886995056,
85
+ "grad_norm": 0.0712890625,
86
+ "learning_rate": 0.00019426783589406642,
87
+ "loss": 1.3173268127441407,
88
+ "mean_token_accuracy": 0.7017394271492958,
89
+ "num_tokens": 1052891.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 1.2435051177628338,
94
+ "epoch": 0.15340037497869438,
95
+ "grad_norm": 0.042236328125,
96
+ "learning_rate": 0.00019228191935240007,
97
+ "loss": 1.115916519165039,
98
+ "mean_token_accuracy": 0.7378023877739907,
99
+ "num_tokens": 1184065.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 1.3924890440981834,
104
+ "epoch": 0.17044486108743823,
105
+ "grad_norm": 0.072265625,
106
+ "learning_rate": 0.00019001456218857208,
107
+ "loss": 1.288157958984375,
108
+ "mean_token_accuracy": 0.7004149560630322,
109
+ "num_tokens": 1313612.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 1.3593159637693315,
114
+ "epoch": 0.18748934719618204,
115
+ "grad_norm": 0.08740234375,
116
+ "learning_rate": 0.00018747267936940722,
117
+ "loss": 1.2840399169921874,
118
+ "mean_token_accuracy": 0.7129683202505112,
119
+ "num_tokens": 1444287.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 1.2371155321784317,
124
+ "epoch": 0.20453383330492586,
125
+ "grad_norm": 0.09130859375,
126
+ "learning_rate": 0.00018466402310776708,
127
+ "loss": 1.1687215423583985,
128
+ "mean_token_accuracy": 0.73335683144629,
129
+ "num_tokens": 1577307.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 1.2478438840154558,
134
+ "epoch": 0.22157831941366968,
135
+ "grad_norm": 0.06005859375,
136
+ "learning_rate": 0.00018159715921991612,
137
+ "loss": 1.20022216796875,
138
+ "mean_token_accuracy": 0.732666322439909,
139
+ "num_tokens": 1711348.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 1.1931916671898215,
144
+ "epoch": 0.2386228055224135,
145
+ "grad_norm": 0.103515625,
146
+ "learning_rate": 0.00017828144100156754,
147
+ "loss": 1.082593002319336,
148
+ "mean_token_accuracy": 0.7456949570775032,
149
+ "num_tokens": 1842011.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 1.1265690931119026,
154
+ "epoch": 0.2556672916311573,
155
+ "grad_norm": 0.0888671875,
156
+ "learning_rate": 0.00017472698070228047,
157
+ "loss": 1.0630721282958984,
158
+ "mean_token_accuracy": 0.7553409574180842,
159
+ "num_tokens": 1976056.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 1.1145534914545714,
164
+ "epoch": 0.27271177773990113,
165
+ "grad_norm": 0.06787109375,
166
+ "learning_rate": 0.00017094461868520622,
167
+ "loss": 1.0225981903076171,
168
+ "mean_token_accuracy": 0.7580388783663511,
169
+ "num_tokens": 2109389.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 1.25198206695728,
174
+ "epoch": 0.28975626384864495,
175
+ "grad_norm": 0.048828125,
176
+ "learning_rate": 0.00016694589036623988,
177
+ "loss": 1.194885482788086,
178
+ "mean_token_accuracy": 0.7303700438886881,
179
+ "num_tokens": 2240117.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 1.1865128787327557,
184
+ "epoch": 0.30680074995738876,
185
+ "grad_norm": 0.0556640625,
186
+ "learning_rate": 0.0001627429910334058,
187
+ "loss": 1.118544158935547,
188
+ "mean_token_accuracy": 0.7400260034948587,
189
+ "num_tokens": 2364080.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 1.274649427868426,
194
+ "epoch": 0.3238452360661326,
195
+ "grad_norm": 0.06591796875,
196
+ "learning_rate": 0.00015834873865377077,
197
+ "loss": 1.1928933715820313,
198
+ "mean_token_accuracy": 0.7288886807858944,
199
+ "num_tokens": 2497166.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 1.1076703028334305,
204
+ "epoch": 0.34088972217487645,
205
+ "grad_norm": 0.0693359375,
206
+ "learning_rate": 0.00015377653478131556,
207
+ "loss": 1.0115528869628907,
208
+ "mean_token_accuracy": 0.7560868422687054,
209
+ "num_tokens": 2632559.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 1467,
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": 1.1232059347325645e+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:6fc4c6c929872f6609871e917db76edda2422f46a78f2141949ced04b85bfae0
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": "<|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
+ "model_max_length": 131072,
25
+ "pad_token": "<|im_end|>",
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:6fc4c6c929872f6609871e917db76edda2422f46a78f2141949ced04b85bfae0
3
+ size 5649