LayerEight commited on
Commit
cd361b7
·
verified ·
1 Parent(s): bd21c53

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-779/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: IETF-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 IETF-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
+ "o_proj",
35
+ "up_proj",
36
+ "k_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:1f07e4aa865ed2eb9c53da6017d476a353596dca881c6e507ecf67f068fc03ed
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
+ "o_proj",
35
+ "up_proj",
36
+ "k_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:bbc6e60173182f44d0ce4a263ac4346744ae53e2cfde4a6ba2446dc105d055ba
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:7d0d3dc25596d0aaff74d53c7afe13e3eed1cfdca4aa3230775ca78c13c94da6
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:de56e1cbaa2429efc4a2abac15af6277c32725fe86465e79da895726eb9be095
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fc374eeeaeac9766e753de36badba3c05dafdf6623bd90d975f5cef05d4224d
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.6419515326592842,
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.769014136493206,
14
+ "epoch": 0.03209757663296421,
15
+ "grad_norm": 0.0654296875,
16
+ "learning_rate": 0.0002,
17
+ "loss": 1.927232666015625,
18
+ "mean_token_accuracy": 0.5845547493547201,
19
+ "num_tokens": 147388.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.5947067447006702,
24
+ "epoch": 0.06419515326592842,
25
+ "grad_norm": 0.0703125,
26
+ "learning_rate": 0.00019945941475610623,
27
+ "loss": 1.5756130981445313,
28
+ "mean_token_accuracy": 0.6429479970037937,
29
+ "num_tokens": 291902.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.4042670665308834,
34
+ "epoch": 0.09629272989889263,
35
+ "grad_norm": 0.083984375,
36
+ "learning_rate": 0.00019784350367254322,
37
+ "loss": 1.3896011352539062,
38
+ "mean_token_accuracy": 0.6840905399620533,
39
+ "num_tokens": 436739.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.2599401247128845,
44
+ "epoch": 0.12839030653185685,
45
+ "grad_norm": 0.07470703125,
46
+ "learning_rate": 0.00019516973750305532,
47
+ "loss": 1.247992630004883,
48
+ "mean_token_accuracy": 0.7115654723346233,
49
+ "num_tokens": 578709.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.1777591889351606,
54
+ "epoch": 0.16048788316482104,
55
+ "grad_norm": 0.0859375,
56
+ "learning_rate": 0.0001914670242183795,
57
+ "loss": 1.1679031372070312,
58
+ "mean_token_accuracy": 0.7358129184693099,
59
+ "num_tokens": 723238.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.0801194526255131,
64
+ "epoch": 0.19258545979778527,
65
+ "grad_norm": 0.1064453125,
66
+ "learning_rate": 0.00018677539646179707,
67
+ "loss": 1.0448343658447266,
68
+ "mean_token_accuracy": 0.7570553781092166,
69
+ "num_tokens": 866427.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.0227313496544956,
74
+ "epoch": 0.22468303643074947,
75
+ "grad_norm": 0.080078125,
76
+ "learning_rate": 0.00018114557872800905,
77
+ "loss": 1.023138198852539,
78
+ "mean_token_accuracy": 0.7729750864207745,
79
+ "num_tokens": 1012131.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.8637316187471151,
84
+ "epoch": 0.2567806130637137,
85
+ "grad_norm": 0.09033203125,
86
+ "learning_rate": 0.00017463843894486937,
87
+ "loss": 0.8490833282470703,
88
+ "mean_token_accuracy": 0.8087801007926464,
89
+ "num_tokens": 1157299.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8652995108067989,
94
+ "epoch": 0.2888781896966779,
95
+ "grad_norm": 0.07373046875,
96
+ "learning_rate": 0.00016732433038731242,
97
+ "loss": 0.8502191162109375,
98
+ "mean_token_accuracy": 0.8063283850252628,
99
+ "num_tokens": 1299656.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.7840015215892344,
104
+ "epoch": 0.3209757663296421,
105
+ "grad_norm": 0.087890625,
106
+ "learning_rate": 0.0001592823310385073,
107
+ "loss": 0.7785140228271484,
108
+ "mean_token_accuracy": 0.8246484726667405,
109
+ "num_tokens": 1441547.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8248297751229257,
114
+ "epoch": 0.35307334296260634,
115
+ "grad_norm": 0.1279296875,
116
+ "learning_rate": 0.00015059938862204127,
117
+ "loss": 0.8086457824707032,
118
+ "mean_token_accuracy": 0.8171890932321548,
119
+ "num_tokens": 1582972.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.770206793518737,
124
+ "epoch": 0.38517091959557054,
125
+ "grad_norm": 0.12890625,
126
+ "learning_rate": 0.00014136938054879283,
127
+ "loss": 0.7686289978027344,
128
+ "mean_token_accuracy": 0.8326107160747052,
129
+ "num_tokens": 1731903.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.8494727142900228,
134
+ "epoch": 0.41726849622853474,
135
+ "grad_norm": 0.072265625,
136
+ "learning_rate": 0.0001316920989420703,
137
+ "loss": 0.842440185546875,
138
+ "mean_token_accuracy": 0.812195960432291,
139
+ "num_tokens": 1877046.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.7691456920653582,
144
+ "epoch": 0.44936607286149893,
145
+ "grad_norm": 0.08984375,
146
+ "learning_rate": 0.00012167217171462566,
147
+ "loss": 0.7498253631591797,
148
+ "mean_token_accuracy": 0.8340029817819595,
149
+ "num_tokens": 2020060.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.6002831929549575,
154
+ "epoch": 0.4814636494944632,
155
+ "grad_norm": 0.09716796875,
156
+ "learning_rate": 0.00011141793136253986,
157
+ "loss": 0.574959716796875,
158
+ "mean_token_accuracy": 0.8719502376019954,
159
+ "num_tokens": 2163196.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.5365751892980188,
164
+ "epoch": 0.5135612261274274,
165
+ "grad_norm": 0.060546875,
166
+ "learning_rate": 0.00010104024370624644,
167
+ "loss": 0.5327357482910157,
168
+ "mean_token_accuracy": 0.8794836418330669,
169
+ "num_tokens": 2306310.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.6227946990681812,
174
+ "epoch": 0.5456588027603916,
175
+ "grad_norm": 0.08837890625,
176
+ "learning_rate": 9.065130924199998e-05,
177
+ "loss": 0.6111849975585938,
178
+ "mean_token_accuracy": 0.8625345961749553,
179
+ "num_tokens": 2451606.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.5804533056542277,
184
+ "epoch": 0.5777563793933558,
185
+ "grad_norm": 0.0654296875,
186
+ "learning_rate": 8.036345006322359e-05,
187
+ "loss": 0.5718699645996094,
188
+ "mean_token_accuracy": 0.8725813579559326,
189
+ "num_tokens": 2597270.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.6302943672612309,
194
+ "epoch": 0.60985395602632,
195
+ "grad_norm": 0.06884765625,
196
+ "learning_rate": 7.028789546718326e-05,
197
+ "loss": 0.6353359985351562,
198
+ "mean_token_accuracy": 0.8635560862720013,
199
+ "num_tokens": 2742612.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.5299606989277527,
204
+ "epoch": 0.6419515326592842,
205
+ "grad_norm": 0.08935546875,
206
+ "learning_rate": 6.053357937665237e-05,
207
+ "loss": 0.5236670303344727,
208
+ "mean_token_accuracy": 0.8828775423765183,
209
+ "num_tokens": 2887935.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 779,
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.2321644951250432e+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:98cced242d15386fcfcda9d5cf0ba061acaa74c8d4e02c76df9f6e2decffa709
3
+ size 5649
checkpoint-779/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-779/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
+ "o_proj",
35
+ "up_proj",
36
+ "k_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-779/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f07e4aa865ed2eb9c53da6017d476a353596dca881c6e507ecf67f068fc03ed
3
+ size 80792880
checkpoint-779/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-779/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19d8fa0e848d35445244cb0968db3be25ee19c5cd975c60717c89a666f6644f9
3
+ size 161810747
checkpoint-779/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f6d1bcbf11cec9fb7feef48add7a06444c6d21ecc16788aa83effaafd13df50
3
+ size 14645
checkpoint-779/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d998117d15fe9161bca7403a0a9cf4559bbd438812ecbbde90cae3266384afd9
3
+ size 1465
checkpoint-779/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-779/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-779/trainer_state.json ADDED
@@ -0,0 +1,344 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 779,
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.769014136493206,
14
+ "epoch": 0.03209757663296421,
15
+ "grad_norm": 0.0654296875,
16
+ "learning_rate": 0.0002,
17
+ "loss": 1.927232666015625,
18
+ "mean_token_accuracy": 0.5845547493547201,
19
+ "num_tokens": 147388.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.5947067447006702,
24
+ "epoch": 0.06419515326592842,
25
+ "grad_norm": 0.0703125,
26
+ "learning_rate": 0.00019945941475610623,
27
+ "loss": 1.5756130981445313,
28
+ "mean_token_accuracy": 0.6429479970037937,
29
+ "num_tokens": 291902.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.4042670665308834,
34
+ "epoch": 0.09629272989889263,
35
+ "grad_norm": 0.083984375,
36
+ "learning_rate": 0.00019784350367254322,
37
+ "loss": 1.3896011352539062,
38
+ "mean_token_accuracy": 0.6840905399620533,
39
+ "num_tokens": 436739.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.2599401247128845,
44
+ "epoch": 0.12839030653185685,
45
+ "grad_norm": 0.07470703125,
46
+ "learning_rate": 0.00019516973750305532,
47
+ "loss": 1.247992630004883,
48
+ "mean_token_accuracy": 0.7115654723346233,
49
+ "num_tokens": 578709.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.1777591889351606,
54
+ "epoch": 0.16048788316482104,
55
+ "grad_norm": 0.0859375,
56
+ "learning_rate": 0.0001914670242183795,
57
+ "loss": 1.1679031372070312,
58
+ "mean_token_accuracy": 0.7358129184693099,
59
+ "num_tokens": 723238.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.0801194526255131,
64
+ "epoch": 0.19258545979778527,
65
+ "grad_norm": 0.1064453125,
66
+ "learning_rate": 0.00018677539646179707,
67
+ "loss": 1.0448343658447266,
68
+ "mean_token_accuracy": 0.7570553781092166,
69
+ "num_tokens": 866427.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.0227313496544956,
74
+ "epoch": 0.22468303643074947,
75
+ "grad_norm": 0.080078125,
76
+ "learning_rate": 0.00018114557872800905,
77
+ "loss": 1.023138198852539,
78
+ "mean_token_accuracy": 0.7729750864207745,
79
+ "num_tokens": 1012131.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 0.8637316187471151,
84
+ "epoch": 0.2567806130637137,
85
+ "grad_norm": 0.09033203125,
86
+ "learning_rate": 0.00017463843894486937,
87
+ "loss": 0.8490833282470703,
88
+ "mean_token_accuracy": 0.8087801007926464,
89
+ "num_tokens": 1157299.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8652995108067989,
94
+ "epoch": 0.2888781896966779,
95
+ "grad_norm": 0.07373046875,
96
+ "learning_rate": 0.00016732433038731242,
97
+ "loss": 0.8502191162109375,
98
+ "mean_token_accuracy": 0.8063283850252628,
99
+ "num_tokens": 1299656.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.7840015215892344,
104
+ "epoch": 0.3209757663296421,
105
+ "grad_norm": 0.087890625,
106
+ "learning_rate": 0.0001592823310385073,
107
+ "loss": 0.7785140228271484,
108
+ "mean_token_accuracy": 0.8246484726667405,
109
+ "num_tokens": 1441547.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8248297751229257,
114
+ "epoch": 0.35307334296260634,
115
+ "grad_norm": 0.1279296875,
116
+ "learning_rate": 0.00015059938862204127,
117
+ "loss": 0.8086457824707032,
118
+ "mean_token_accuracy": 0.8171890932321548,
119
+ "num_tokens": 1582972.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.770206793518737,
124
+ "epoch": 0.38517091959557054,
125
+ "grad_norm": 0.12890625,
126
+ "learning_rate": 0.00014136938054879283,
127
+ "loss": 0.7686289978027344,
128
+ "mean_token_accuracy": 0.8326107160747052,
129
+ "num_tokens": 1731903.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.8494727142900228,
134
+ "epoch": 0.41726849622853474,
135
+ "grad_norm": 0.072265625,
136
+ "learning_rate": 0.0001316920989420703,
137
+ "loss": 0.842440185546875,
138
+ "mean_token_accuracy": 0.812195960432291,
139
+ "num_tokens": 1877046.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.7691456920653582,
144
+ "epoch": 0.44936607286149893,
145
+ "grad_norm": 0.08984375,
146
+ "learning_rate": 0.00012167217171462566,
147
+ "loss": 0.7498253631591797,
148
+ "mean_token_accuracy": 0.8340029817819595,
149
+ "num_tokens": 2020060.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.6002831929549575,
154
+ "epoch": 0.4814636494944632,
155
+ "grad_norm": 0.09716796875,
156
+ "learning_rate": 0.00011141793136253986,
157
+ "loss": 0.574959716796875,
158
+ "mean_token_accuracy": 0.8719502376019954,
159
+ "num_tokens": 2163196.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.5365751892980188,
164
+ "epoch": 0.5135612261274274,
165
+ "grad_norm": 0.060546875,
166
+ "learning_rate": 0.00010104024370624644,
167
+ "loss": 0.5327357482910157,
168
+ "mean_token_accuracy": 0.8794836418330669,
169
+ "num_tokens": 2306310.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.6227946990681812,
174
+ "epoch": 0.5456588027603916,
175
+ "grad_norm": 0.08837890625,
176
+ "learning_rate": 9.065130924199998e-05,
177
+ "loss": 0.6111849975585938,
178
+ "mean_token_accuracy": 0.8625345961749553,
179
+ "num_tokens": 2451606.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.5804533056542277,
184
+ "epoch": 0.5777563793933558,
185
+ "grad_norm": 0.0654296875,
186
+ "learning_rate": 8.036345006322359e-05,
187
+ "loss": 0.5718699645996094,
188
+ "mean_token_accuracy": 0.8725813579559326,
189
+ "num_tokens": 2597270.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.6302943672612309,
194
+ "epoch": 0.60985395602632,
195
+ "grad_norm": 0.06884765625,
196
+ "learning_rate": 7.028789546718326e-05,
197
+ "loss": 0.6353359985351562,
198
+ "mean_token_accuracy": 0.8635560862720013,
199
+ "num_tokens": 2742612.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.5299606989277527,
204
+ "epoch": 0.6419515326592842,
205
+ "grad_norm": 0.08935546875,
206
+ "learning_rate": 6.053357937665237e-05,
207
+ "loss": 0.5236670303344727,
208
+ "mean_token_accuracy": 0.8828775423765183,
209
+ "num_tokens": 2887935.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 0.6732268288638443,
214
+ "epoch": 0.6740491092922485,
215
+ "grad_norm": 0.056640625,
216
+ "learning_rate": 5.1205962578487155e-05,
217
+ "loss": 0.6722711181640625,
218
+ "mean_token_accuracy": 0.8543066729605198,
219
+ "num_tokens": 3035549.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 0.4612098385160789,
224
+ "epoch": 0.7061466859252127,
225
+ "grad_norm": 0.041748046875,
226
+ "learning_rate": 4.240589251272342e-05,
227
+ "loss": 0.4541243743896484,
228
+ "mean_token_accuracy": 0.9010929284989834,
229
+ "num_tokens": 3180083.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 0.5990941160498187,
234
+ "epoch": 0.7382442625581769,
235
+ "grad_norm": 0.08935546875,
236
+ "learning_rate": 3.422851293981676e-05,
237
+ "loss": 0.6069795989990234,
238
+ "mean_token_accuracy": 0.8644757103919983,
239
+ "num_tokens": 3325528.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 0.5454245122382417,
244
+ "epoch": 0.7703418391911411,
245
+ "grad_norm": 0.06787109375,
246
+ "learning_rate": 2.6762235274383772e-05,
247
+ "loss": 0.5289861679077148,
248
+ "mean_token_accuracy": 0.8816468404233455,
249
+ "num_tokens": 3469264.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 0.5093659822596237,
254
+ "epoch": 0.8024394158241053,
255
+ "grad_norm": 0.060302734375,
256
+ "learning_rate": 2.008778270707944e-05,
257
+ "loss": 0.503768424987793,
258
+ "mean_token_accuracy": 0.8897754719853401,
259
+ "num_tokens": 3614662.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.5269298075186089,
264
+ "epoch": 0.8345369924570695,
265
+ "grad_norm": 0.051025390625,
266
+ "learning_rate": 1.4277317449282834e-05,
267
+ "loss": 0.5159123229980469,
268
+ "mean_token_accuracy": 0.8846879424154759,
269
+ "num_tokens": 3757746.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 0.6054773937677964,
274
+ "epoch": 0.8666345690900337,
275
+ "grad_norm": 0.068359375,
276
+ "learning_rate": 9.393660536564408e-06,
277
+ "loss": 0.5959170532226562,
278
+ "mean_token_accuracy": 0.8715771237760782,
279
+ "num_tokens": 3904293.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.4945011454587802,
284
+ "epoch": 0.8987321457229979,
285
+ "grad_norm": 0.06787109375,
286
+ "learning_rate": 5.489612626189245e-06,
287
+ "loss": 0.4754390335083008,
288
+ "mean_token_accuracy": 0.8915398253500462,
289
+ "num_tokens": 4043791.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.5794008405366913,
294
+ "epoch": 0.9308297223559622,
295
+ "grad_norm": 0.0703125,
296
+ "learning_rate": 2.607383131993424e-06,
297
+ "loss": 0.5824679565429688,
298
+ "mean_token_accuracy": 0.8722238828241825,
299
+ "num_tokens": 4189274.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.5977670075232163,
304
+ "epoch": 0.9629272989889264,
305
+ "grad_norm": 0.053955078125,
306
+ "learning_rate": 7.781338686584927e-07,
307
+ "loss": 0.5879628372192383,
308
+ "mean_token_accuracy": 0.8674677063524723,
309
+ "num_tokens": 4333425.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.5161540248058736,
314
+ "epoch": 0.9950248756218906,
315
+ "grad_norm": 0.052978515625,
316
+ "learning_rate": 2.164213936770576e-08,
317
+ "loss": 0.497758674621582,
318
+ "mean_token_accuracy": 0.8871022827923298,
319
+ "num_tokens": 4479844.0,
320
+ "step": 775
321
+ }
322
+ ],
323
+ "logging_steps": 25,
324
+ "max_steps": 779,
325
+ "num_input_tokens_seen": 0,
326
+ "num_train_epochs": 1,
327
+ "save_steps": 500,
328
+ "stateful_callbacks": {
329
+ "TrainerControl": {
330
+ "args": {
331
+ "should_epoch_stop": false,
332
+ "should_evaluate": false,
333
+ "should_log": false,
334
+ "should_save": true,
335
+ "should_training_stop": true
336
+ },
337
+ "attributes": {}
338
+ }
339
+ },
340
+ "total_flos": 1.9211835200717107e+17,
341
+ "train_batch_size": 1,
342
+ "trial_name": null,
343
+ "trial_params": null
344
+ }
checkpoint-779/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98cced242d15386fcfcda9d5cf0ba061acaa74c8d4e02c76df9f6e2decffa709
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:98cced242d15386fcfcda9d5cf0ba061acaa74c8d4e02c76df9f6e2decffa709
3
+ size 5649