LayerEight commited on
Commit
906a1e8
·
verified ·
1 Parent(s): a139adc

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ 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-500/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-740/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ 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: Wireless-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 Wireless-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
+ "v_proj",
34
+ "down_proj",
35
+ "k_proj",
36
+ "q_proj",
37
+ "o_proj",
38
+ "gate_proj",
39
+ "up_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:cfb71a7a980c85a2b5dbab6ef5eb8f5235dc88280370a018a6fbde42f4f2246b
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-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
+ "v_proj",
34
+ "down_proj",
35
+ "k_proj",
36
+ "q_proj",
37
+ "o_proj",
38
+ "gate_proj",
39
+ "up_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:ec5c6fa0e162bfd0b7048a94b29f51fbb6a0bfb415fe8fbbfe5fc1b477b7fd6e
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:b1443ccbdf86836a1a57b06a58098a98cefdadeaee3daec4c8c9538cb1916dca
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:b64825d10071b6e360fbd75b7733befa195070ae1cd13f207dd9f680acf703fc
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46acd56dbda9f929a00cf625ec4805fd02f41c8c682e52d50a8718cf98d26cfd
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.6763611768684478,
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": 1.810372607409954,
14
+ "epoch": 0.033818058843422386,
15
+ "grad_norm": 0.03564453125,
16
+ "learning_rate": 0.00019999904008949706,
17
+ "loss": 1.961472625732422,
18
+ "mean_token_accuracy": 0.5825667985156179,
19
+ "num_tokens": 156162.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.630317051112652,
24
+ "epoch": 0.06763611768684477,
25
+ "grad_norm": 0.06396484375,
26
+ "learning_rate": 0.00019935180094484163,
27
+ "loss": 1.5934637451171876,
28
+ "mean_token_accuracy": 0.6405555133521557,
29
+ "num_tokens": 314902.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.4665888720750808,
34
+ "epoch": 0.10145417653026716,
35
+ "grad_norm": 0.1220703125,
36
+ "learning_rate": 0.00019751364095427692,
37
+ "loss": 1.430908203125,
38
+ "mean_token_accuracy": 0.6695231589674949,
39
+ "num_tokens": 466632.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.392833354473114,
44
+ "epoch": 0.13527223537368954,
45
+ "grad_norm": 0.134765625,
46
+ "learning_rate": 0.00019450659397154355,
47
+ "loss": 1.3299276733398437,
48
+ "mean_token_accuracy": 0.6912748428061605,
49
+ "num_tokens": 624850.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.1405542536824942,
54
+ "epoch": 0.16909029421711194,
55
+ "grad_norm": 0.1318359375,
56
+ "learning_rate": 0.00019036670519061188,
57
+ "loss": 1.0945913696289062,
58
+ "mean_token_accuracy": 0.7419995337724685,
59
+ "num_tokens": 781370.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.0725987593457103,
64
+ "epoch": 0.2029083530605343,
65
+ "grad_norm": 0.09619140625,
66
+ "learning_rate": 0.0001851435990752769,
67
+ "loss": 1.0093214416503906,
68
+ "mean_token_accuracy": 0.7651712036132813,
69
+ "num_tokens": 938626.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 0.9529129752889276,
74
+ "epoch": 0.2367264119039567,
75
+ "grad_norm": 0.08349609375,
76
+ "learning_rate": 0.0001788998845153021,
77
+ "loss": 0.8964275360107422,
78
+ "mean_token_accuracy": 0.7902284222841263,
79
+ "num_tokens": 1094352.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.862411651480943,
84
+ "epoch": 0.2705444707473791,
85
+ "grad_norm": 0.09033203125,
86
+ "learning_rate": 0.00017171040433945005,
87
+ "loss": 0.8004817199707032,
88
+ "mean_token_accuracy": 0.8113848954439163,
89
+ "num_tokens": 1251490.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.7631507751531899,
94
+ "epoch": 0.3043625295908015,
95
+ "grad_norm": 0.09228515625,
96
+ "learning_rate": 0.00016366133818141893,
97
+ "loss": 0.7039064025878906,
98
+ "mean_token_accuracy": 0.8357413372397423,
99
+ "num_tokens": 1406770.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.7098334492836148,
104
+ "epoch": 0.3381805884342239,
105
+ "grad_norm": 0.0732421875,
106
+ "learning_rate": 0.0001548491694525464,
107
+ "loss": 0.6646959686279297,
108
+ "mean_token_accuracy": 0.8501214118301869,
109
+ "num_tokens": 1561213.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.7675167324021459,
114
+ "epoch": 0.37199864727764625,
115
+ "grad_norm": 0.1044921875,
116
+ "learning_rate": 0.00014537952880408473,
117
+ "loss": 0.71765869140625,
118
+ "mean_token_accuracy": 0.835702428817749,
119
+ "num_tokens": 1724371.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.6311481145210565,
124
+ "epoch": 0.4058167061210686,
125
+ "grad_norm": 0.08203125,
126
+ "learning_rate": 0.00013536592794235696,
127
+ "loss": 0.5955865478515625,
128
+ "mean_token_accuracy": 0.8682514359802007,
129
+ "num_tokens": 1885062.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.7570231725927442,
134
+ "epoch": 0.43963476496449105,
135
+ "grad_norm": 0.10693359375,
136
+ "learning_rate": 0.00012492839897443553,
137
+ "loss": 0.7146268463134766,
138
+ "mean_token_accuracy": 0.8396708873659372,
139
+ "num_tokens": 2043297.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.5249405995476991,
144
+ "epoch": 0.4734528238079134,
145
+ "grad_norm": 0.078125,
146
+ "learning_rate": 0.00011419205559437998,
147
+ "loss": 0.49004329681396486,
148
+ "mean_token_accuracy": 0.8892295673489571,
149
+ "num_tokens": 2196510.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.6064728916622698,
154
+ "epoch": 0.5072708826513358,
155
+ "grad_norm": 0.07470703125,
156
+ "learning_rate": 0.00010328559335696188,
157
+ "loss": 0.5641261291503906,
158
+ "mean_token_accuracy": 0.8721542170643807,
159
+ "num_tokens": 2354986.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.5784782155323773,
164
+ "epoch": 0.5410889414947582,
165
+ "grad_norm": 0.07958984375,
166
+ "learning_rate": 9.233974701595655e-05,
167
+ "loss": 0.5496908950805665,
168
+ "mean_token_accuracy": 0.8779391979053617,
169
+ "num_tokens": 2515773.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.5494727499317378,
174
+ "epoch": 0.5749070003381805,
175
+ "grad_norm": 0.053466796875,
176
+ "learning_rate": 8.14857234187453e-05,
177
+ "loss": 0.5182221984863281,
178
+ "mean_token_accuracy": 0.8837397874891758,
179
+ "num_tokens": 2674952.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.5801290932204575,
184
+ "epoch": 0.608725059181603,
185
+ "grad_norm": 0.091796875,
186
+ "learning_rate": 7.08536287419749e-05,
187
+ "loss": 0.5686647033691407,
188
+ "mean_token_accuracy": 0.8799975875392556,
189
+ "num_tokens": 2830234.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.48558603684417906,
194
+ "epoch": 0.6425431180250254,
195
+ "grad_norm": 0.050537109375,
196
+ "learning_rate": 6.0570908920855706e-05,
197
+ "loss": 0.42860363006591795,
198
+ "mean_token_accuracy": 0.9008280988037586,
199
+ "num_tokens": 2989837.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.4568167580384761,
204
+ "epoch": 0.6763611768684478,
205
+ "grad_norm": 0.095703125,
206
+ "learning_rate": 5.076082196652754e-05,
207
+ "loss": 0.45085529327392576,
208
+ "mean_token_accuracy": 0.9038965445756912,
209
+ "num_tokens": 3143012.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 740,
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.3409954843692646e+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:d91d0617bbc00237ab4e5b0661f2b8c1a40a7c5da784b1ce1cf8063d9f5960de
3
+ size 5649
checkpoint-740/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-740/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
+ "v_proj",
34
+ "down_proj",
35
+ "k_proj",
36
+ "q_proj",
37
+ "o_proj",
38
+ "gate_proj",
39
+ "up_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-740/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfb71a7a980c85a2b5dbab6ef5eb8f5235dc88280370a018a6fbde42f4f2246b
3
+ size 80792880
checkpoint-740/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-740/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:218212761efeefb4f33b1fe7a73d1e6cd71f8e93a5f24e5720885a2d872a5bf8
3
+ size 161810747
checkpoint-740/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e774cacc1f67054be341f8ea74fa8fc9188b80c72365e3515cafbda108c0b338
3
+ size 14645
checkpoint-740/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5eb91e8b0947350fc0ab8199f236dd65adf237c65bdad561c4c8e85ffb027deb
3
+ size 1465
checkpoint-740/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-740/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-740/trainer_state.json ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 740,
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.810372607409954,
14
+ "epoch": 0.033818058843422386,
15
+ "grad_norm": 0.03564453125,
16
+ "learning_rate": 0.00019999904008949706,
17
+ "loss": 1.961472625732422,
18
+ "mean_token_accuracy": 0.5825667985156179,
19
+ "num_tokens": 156162.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.630317051112652,
24
+ "epoch": 0.06763611768684477,
25
+ "grad_norm": 0.06396484375,
26
+ "learning_rate": 0.00019935180094484163,
27
+ "loss": 1.5934637451171876,
28
+ "mean_token_accuracy": 0.6405555133521557,
29
+ "num_tokens": 314902.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.4665888720750808,
34
+ "epoch": 0.10145417653026716,
35
+ "grad_norm": 0.1220703125,
36
+ "learning_rate": 0.00019751364095427692,
37
+ "loss": 1.430908203125,
38
+ "mean_token_accuracy": 0.6695231589674949,
39
+ "num_tokens": 466632.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.392833354473114,
44
+ "epoch": 0.13527223537368954,
45
+ "grad_norm": 0.134765625,
46
+ "learning_rate": 0.00019450659397154355,
47
+ "loss": 1.3299276733398437,
48
+ "mean_token_accuracy": 0.6912748428061605,
49
+ "num_tokens": 624850.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.1405542536824942,
54
+ "epoch": 0.16909029421711194,
55
+ "grad_norm": 0.1318359375,
56
+ "learning_rate": 0.00019036670519061188,
57
+ "loss": 1.0945913696289062,
58
+ "mean_token_accuracy": 0.7419995337724685,
59
+ "num_tokens": 781370.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.0725987593457103,
64
+ "epoch": 0.2029083530605343,
65
+ "grad_norm": 0.09619140625,
66
+ "learning_rate": 0.0001851435990752769,
67
+ "loss": 1.0093214416503906,
68
+ "mean_token_accuracy": 0.7651712036132813,
69
+ "num_tokens": 938626.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 0.9529129752889276,
74
+ "epoch": 0.2367264119039567,
75
+ "grad_norm": 0.08349609375,
76
+ "learning_rate": 0.0001788998845153021,
77
+ "loss": 0.8964275360107422,
78
+ "mean_token_accuracy": 0.7902284222841263,
79
+ "num_tokens": 1094352.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.862411651480943,
84
+ "epoch": 0.2705444707473791,
85
+ "grad_norm": 0.09033203125,
86
+ "learning_rate": 0.00017171040433945005,
87
+ "loss": 0.8004817199707032,
88
+ "mean_token_accuracy": 0.8113848954439163,
89
+ "num_tokens": 1251490.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.7631507751531899,
94
+ "epoch": 0.3043625295908015,
95
+ "grad_norm": 0.09228515625,
96
+ "learning_rate": 0.00016366133818141893,
97
+ "loss": 0.7039064025878906,
98
+ "mean_token_accuracy": 0.8357413372397423,
99
+ "num_tokens": 1406770.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.7098334492836148,
104
+ "epoch": 0.3381805884342239,
105
+ "grad_norm": 0.0732421875,
106
+ "learning_rate": 0.0001548491694525464,
107
+ "loss": 0.6646959686279297,
108
+ "mean_token_accuracy": 0.8501214118301869,
109
+ "num_tokens": 1561213.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.7675167324021459,
114
+ "epoch": 0.37199864727764625,
115
+ "grad_norm": 0.1044921875,
116
+ "learning_rate": 0.00014537952880408473,
117
+ "loss": 0.71765869140625,
118
+ "mean_token_accuracy": 0.835702428817749,
119
+ "num_tokens": 1724371.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.6311481145210565,
124
+ "epoch": 0.4058167061210686,
125
+ "grad_norm": 0.08203125,
126
+ "learning_rate": 0.00013536592794235696,
127
+ "loss": 0.5955865478515625,
128
+ "mean_token_accuracy": 0.8682514359802007,
129
+ "num_tokens": 1885062.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.7570231725927442,
134
+ "epoch": 0.43963476496449105,
135
+ "grad_norm": 0.10693359375,
136
+ "learning_rate": 0.00012492839897443553,
137
+ "loss": 0.7146268463134766,
138
+ "mean_token_accuracy": 0.8396708873659372,
139
+ "num_tokens": 2043297.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.5249405995476991,
144
+ "epoch": 0.4734528238079134,
145
+ "grad_norm": 0.078125,
146
+ "learning_rate": 0.00011419205559437998,
147
+ "loss": 0.49004329681396486,
148
+ "mean_token_accuracy": 0.8892295673489571,
149
+ "num_tokens": 2196510.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.6064728916622698,
154
+ "epoch": 0.5072708826513358,
155
+ "grad_norm": 0.07470703125,
156
+ "learning_rate": 0.00010328559335696188,
157
+ "loss": 0.5641261291503906,
158
+ "mean_token_accuracy": 0.8721542170643807,
159
+ "num_tokens": 2354986.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.5784782155323773,
164
+ "epoch": 0.5410889414947582,
165
+ "grad_norm": 0.07958984375,
166
+ "learning_rate": 9.233974701595655e-05,
167
+ "loss": 0.5496908950805665,
168
+ "mean_token_accuracy": 0.8779391979053617,
169
+ "num_tokens": 2515773.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.5494727499317378,
174
+ "epoch": 0.5749070003381805,
175
+ "grad_norm": 0.053466796875,
176
+ "learning_rate": 8.14857234187453e-05,
177
+ "loss": 0.5182221984863281,
178
+ "mean_token_accuracy": 0.8837397874891758,
179
+ "num_tokens": 2674952.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.5801290932204575,
184
+ "epoch": 0.608725059181603,
185
+ "grad_norm": 0.091796875,
186
+ "learning_rate": 7.08536287419749e-05,
187
+ "loss": 0.5686647033691407,
188
+ "mean_token_accuracy": 0.8799975875392556,
189
+ "num_tokens": 2830234.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.48558603684417906,
194
+ "epoch": 0.6425431180250254,
195
+ "grad_norm": 0.050537109375,
196
+ "learning_rate": 6.0570908920855706e-05,
197
+ "loss": 0.42860363006591795,
198
+ "mean_token_accuracy": 0.9008280988037586,
199
+ "num_tokens": 2989837.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.4568167580384761,
204
+ "epoch": 0.6763611768684478,
205
+ "grad_norm": 0.095703125,
206
+ "learning_rate": 5.076082196652754e-05,
207
+ "loss": 0.45085529327392576,
208
+ "mean_token_accuracy": 0.9038965445756912,
209
+ "num_tokens": 3143012.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 0.44007344283163546,
214
+ "epoch": 0.7101792357118701,
215
+ "grad_norm": 0.058837890625,
216
+ "learning_rate": 4.15409604836838e-05,
217
+ "loss": 0.41196117401123045,
218
+ "mean_token_accuracy": 0.9095691731572151,
219
+ "num_tokens": 3300477.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 0.4962937253713608,
224
+ "epoch": 0.7439972945552925,
225
+ "grad_norm": 0.0537109375,
226
+ "learning_rate": 3.3021842098898934e-05,
227
+ "loss": 0.4741514205932617,
228
+ "mean_token_accuracy": 0.896233549118042,
229
+ "num_tokens": 3454477.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 0.45510641247965394,
234
+ "epoch": 0.7778153533987149,
235
+ "grad_norm": 0.06298828125,
236
+ "learning_rate": 2.530558469606351e-05,
237
+ "loss": 0.4256900787353516,
238
+ "mean_token_accuracy": 0.9090374359488487,
239
+ "num_tokens": 3614381.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 0.4509261836577207,
244
+ "epoch": 0.8116334122421373,
245
+ "grad_norm": 0.060791015625,
246
+ "learning_rate": 1.8484682338758152e-05,
247
+ "loss": 0.4140806198120117,
248
+ "mean_token_accuracy": 0.9066468042135238,
249
+ "num_tokens": 3770302.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 0.48186022156849506,
254
+ "epoch": 0.8454514710855597,
255
+ "grad_norm": 0.060302734375,
256
+ "learning_rate": 1.2640896552470794e-05,
257
+ "loss": 0.4636331939697266,
258
+ "mean_token_accuracy": 0.9016842505335808,
259
+ "num_tokens": 3929478.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.45708779353648427,
264
+ "epoch": 0.8792695299289821,
265
+ "grad_norm": 0.0125732421875,
266
+ "learning_rate": 7.844276256755346e-06,
267
+ "loss": 0.45078208923339846,
268
+ "mean_token_accuracy": 0.9030292834341526,
269
+ "num_tokens": 4084974.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 0.5012604260630905,
274
+ "epoch": 0.9130875887724045,
275
+ "grad_norm": 0.072265625,
276
+ "learning_rate": 4.152318095313778e-06,
277
+ "loss": 0.47621334075927735,
278
+ "mean_token_accuracy": 0.8943454670906067,
279
+ "num_tokens": 4246619.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.41868842981755733,
284
+ "epoch": 0.9469056476158269,
285
+ "grad_norm": 0.0341796875,
286
+ "learning_rate": 1.609277229047801e-06,
287
+ "loss": 0.38456172943115235,
288
+ "mean_token_accuracy": 0.9145496153831482,
289
+ "num_tokens": 4405485.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.4935927293263376,
294
+ "epoch": 0.9807237064592492,
295
+ "grad_norm": 0.0732421875,
296
+ "learning_rate": 2.4563685353949925e-07,
297
+ "loss": 0.47506561279296877,
298
+ "mean_token_accuracy": 0.8976721769571304,
299
+ "num_tokens": 4564678.0,
300
+ "step": 725
301
+ }
302
+ ],
303
+ "logging_steps": 25,
304
+ "max_steps": 740,
305
+ "num_input_tokens_seen": 0,
306
+ "num_train_epochs": 1,
307
+ "save_steps": 500,
308
+ "stateful_callbacks": {
309
+ "TrainerControl": {
310
+ "args": {
311
+ "should_epoch_stop": false,
312
+ "should_evaluate": false,
313
+ "should_log": false,
314
+ "should_save": true,
315
+ "should_training_stop": true
316
+ },
317
+ "attributes": {}
318
+ }
319
+ },
320
+ "total_flos": 1.9858744653595546e+17,
321
+ "train_batch_size": 1,
322
+ "trial_name": null,
323
+ "trial_params": null
324
+ }
checkpoint-740/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d91d0617bbc00237ab4e5b0661f2b8c1a40a7c5da784b1ce1cf8063d9f5960de
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:d91d0617bbc00237ab4e5b0661f2b8c1a40a7c5da784b1ce1cf8063d9f5960de
3
+ size 5649