LayerEight commited on
Commit
a5b4e02
·
verified ·
1 Parent(s): 9ec4bfd

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-908/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: Security-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 Security-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
+ "k_proj",
34
+ "up_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "o_proj",
39
+ "down_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:2bea2c800c592d6376322f86370cef343b9cad30631813bbf4eb8327edb738c2
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
+ "k_proj",
34
+ "up_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "o_proj",
39
+ "down_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:597db42c60b86460d97ee250a73557dcac9636efdfcd154946f65431bc22924c
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:9e370ae572370dcca4dfd69bd08b290fe38dfae6a8c96387dccec49e8c5af948
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:bf8ea3f8c297a16df54f9515887b4d44118d846f841e964221c77afb21f2a85f
3
+ size 14645
checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93be60ba4e3413a9396f9537d4fc4af61213a760ae92cf3bbe8bd93f16406daa
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.5511919525974921,
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.9013997074961662,
14
+ "epoch": 0.027559597629874606,
15
+ "grad_norm": 0.04541015625,
16
+ "learning_rate": 0.00017142857142857143,
17
+ "loss": 2.106939239501953,
18
+ "mean_token_accuracy": 0.5557776354253292,
19
+ "num_tokens": 140963.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.7775965774059295,
24
+ "epoch": 0.05511919525974921,
25
+ "grad_norm": 0.06103515625,
26
+ "learning_rate": 0.0001997191078685512,
27
+ "loss": 1.7464599609375,
28
+ "mean_token_accuracy": 0.6121900254487991,
29
+ "num_tokens": 284944.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.6929514452815055,
34
+ "epoch": 0.0826787928896238,
35
+ "grad_norm": 0.091796875,
36
+ "learning_rate": 0.00019865462348631944,
37
+ "loss": 1.6511944580078124,
38
+ "mean_token_accuracy": 0.6266605603694916,
39
+ "num_tokens": 425136.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.5028782638907432,
44
+ "epoch": 0.11023839051949842,
45
+ "grad_norm": 0.10595703125,
46
+ "learning_rate": 0.00019680482470453816,
47
+ "loss": 1.4662600708007814,
48
+ "mean_token_accuracy": 0.659810485392809,
49
+ "num_tokens": 567966.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.4264089419692754,
54
+ "epoch": 0.13779798814937302,
55
+ "grad_norm": 0.1103515625,
56
+ "learning_rate": 0.00019418443636395248,
57
+ "loss": 1.4101972961425782,
58
+ "mean_token_accuracy": 0.6815375398099422,
59
+ "num_tokens": 706204.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.1659171215072275,
64
+ "epoch": 0.1653575857792476,
65
+ "grad_norm": 0.09912109375,
66
+ "learning_rate": 0.00019081431738250814,
67
+ "loss": 1.1057415008544922,
68
+ "mean_token_accuracy": 0.7461765056848526,
69
+ "num_tokens": 851807.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.1612900688499213,
74
+ "epoch": 0.19291718340912223,
75
+ "grad_norm": 0.1044921875,
76
+ "learning_rate": 0.00018672129471337568,
77
+ "loss": 1.1313108062744142,
78
+ "mean_token_accuracy": 0.7447272512316704,
79
+ "num_tokens": 998421.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.0649858928844333,
84
+ "epoch": 0.22047678103899684,
85
+ "grad_norm": 0.11328125,
86
+ "learning_rate": 0.00018193794979598656,
87
+ "loss": 1.0393009185791016,
88
+ "mean_token_accuracy": 0.763860610127449,
89
+ "num_tokens": 1141761.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8765474074520171,
94
+ "epoch": 0.24803637866887143,
95
+ "grad_norm": 0.10205078125,
96
+ "learning_rate": 0.00017650235919998232,
97
+ "loss": 0.8135224914550782,
98
+ "mean_token_accuracy": 0.807485072016716,
99
+ "num_tokens": 1286611.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.8536889077164233,
104
+ "epoch": 0.27559597629874605,
105
+ "grad_norm": 0.083984375,
106
+ "learning_rate": 0.00017045779152661297,
107
+ "loss": 0.8201860809326171,
108
+ "mean_token_accuracy": 0.8146287898719311,
109
+ "num_tokens": 1428015.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8703145318105817,
114
+ "epoch": 0.30315557392862064,
115
+ "grad_norm": 0.09765625,
116
+ "learning_rate": 0.00016385236298032183,
117
+ "loss": 0.815809326171875,
118
+ "mean_token_accuracy": 0.8103299827873707,
119
+ "num_tokens": 1574815.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.8991702864505351,
124
+ "epoch": 0.3307151715584952,
125
+ "grad_norm": 0.091796875,
126
+ "learning_rate": 0.00015673865435224962,
127
+ "loss": 0.8489224243164063,
128
+ "mean_token_accuracy": 0.8056490634381771,
129
+ "num_tokens": 1717330.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.7706374152004719,
134
+ "epoch": 0.35827476918836987,
135
+ "grad_norm": 0.0732421875,
136
+ "learning_rate": 0.0001491732924645604,
137
+ "loss": 0.7274211883544922,
138
+ "mean_token_accuracy": 0.8297103045880795,
139
+ "num_tokens": 1859716.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.7342993662878871,
144
+ "epoch": 0.38583436681824446,
145
+ "grad_norm": 0.0791015625,
146
+ "learning_rate": 0.00014121649940739301,
147
+ "loss": 0.7029119110107422,
148
+ "mean_token_accuracy": 0.8427872517704964,
149
+ "num_tokens": 2005201.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.7452906335704028,
154
+ "epoch": 0.41339396444811904,
155
+ "grad_norm": 0.1279296875,
156
+ "learning_rate": 0.00013293161315661931,
157
+ "loss": 0.7123774719238282,
158
+ "mean_token_accuracy": 0.8400052092969418,
159
+ "num_tokens": 2143419.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.6938006362970919,
164
+ "epoch": 0.4409535620779937,
165
+ "grad_norm": 0.1181640625,
166
+ "learning_rate": 0.00012438458338840706,
167
+ "loss": 0.6549488830566407,
168
+ "mean_token_accuracy": 0.8493785254657269,
169
+ "num_tokens": 2288125.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.7443565137218684,
174
+ "epoch": 0.4685131597078683,
175
+ "grad_norm": 0.08203125,
176
+ "learning_rate": 0.0001156434465040231,
177
+ "loss": 0.6924254608154297,
178
+ "mean_token_accuracy": 0.8412553237378597,
179
+ "num_tokens": 2431404.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.645295873908326,
184
+ "epoch": 0.49607275733774286,
185
+ "grad_norm": 0.055419921875,
186
+ "learning_rate": 0.00010677778404380643,
187
+ "loss": 0.6191695022583008,
188
+ "mean_token_accuracy": 0.8578527195751667,
189
+ "num_tokens": 2571370.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.6608448463864625,
194
+ "epoch": 0.5236323549676175,
195
+ "grad_norm": 0.053955078125,
196
+ "learning_rate": 9.78581688014642e-05,
197
+ "loss": 0.6262045669555664,
198
+ "mean_token_accuracy": 0.856816074848175,
199
+ "num_tokens": 2714312.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.5949629322066903,
204
+ "epoch": 0.5511919525974921,
205
+ "grad_norm": 0.08251953125,
206
+ "learning_rate": 8.895560304775387e-05,
207
+ "loss": 0.54037109375,
208
+ "mean_token_accuracy": 0.8706019401550293,
209
+ "num_tokens": 2850910.0,
210
+ "step": 500
211
+ }
212
+ ],
213
+ "logging_steps": 25,
214
+ "max_steps": 908,
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.2163674323684352e+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:76f4507cae4004563bb50348f5e858baf28582cc170d5db69d774cd7b166a1b0
3
+ size 5649
checkpoint-908/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-908/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
+ "k_proj",
34
+ "up_proj",
35
+ "q_proj",
36
+ "v_proj",
37
+ "gate_proj",
38
+ "o_proj",
39
+ "down_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-908/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bea2c800c592d6376322f86370cef343b9cad30631813bbf4eb8327edb738c2
3
+ size 80792880
checkpoint-908/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-908/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03dc8e79786197923f0d097ac3b2d05eaa055d1c96041a0b7cb60ed9f25be64a
3
+ size 161810747
checkpoint-908/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c675c79de694bb285f5145c400612438508f782f22756b1b88a92170c41b88
3
+ size 14645
checkpoint-908/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9240945f0542e7d051938efc4a9ce0ef4b230fe6b6bc75718db3891c74982214
3
+ size 1465
checkpoint-908/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fd169731d2cbde95e10bf356d66d5997fd885dd8dbb6fb4684da3f23b2585d8
3
+ size 11421892
checkpoint-908/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-908/trainer_state.json ADDED
@@ -0,0 +1,394 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 908,
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.9013997074961662,
14
+ "epoch": 0.027559597629874606,
15
+ "grad_norm": 0.04541015625,
16
+ "learning_rate": 0.00017142857142857143,
17
+ "loss": 2.106939239501953,
18
+ "mean_token_accuracy": 0.5557776354253292,
19
+ "num_tokens": 140963.0,
20
+ "step": 25
21
+ },
22
+ {
23
+ "entropy": 1.7775965774059295,
24
+ "epoch": 0.05511919525974921,
25
+ "grad_norm": 0.06103515625,
26
+ "learning_rate": 0.0001997191078685512,
27
+ "loss": 1.7464599609375,
28
+ "mean_token_accuracy": 0.6121900254487991,
29
+ "num_tokens": 284944.0,
30
+ "step": 50
31
+ },
32
+ {
33
+ "entropy": 1.6929514452815055,
34
+ "epoch": 0.0826787928896238,
35
+ "grad_norm": 0.091796875,
36
+ "learning_rate": 0.00019865462348631944,
37
+ "loss": 1.6511944580078124,
38
+ "mean_token_accuracy": 0.6266605603694916,
39
+ "num_tokens": 425136.0,
40
+ "step": 75
41
+ },
42
+ {
43
+ "entropy": 1.5028782638907432,
44
+ "epoch": 0.11023839051949842,
45
+ "grad_norm": 0.10595703125,
46
+ "learning_rate": 0.00019680482470453816,
47
+ "loss": 1.4662600708007814,
48
+ "mean_token_accuracy": 0.659810485392809,
49
+ "num_tokens": 567966.0,
50
+ "step": 100
51
+ },
52
+ {
53
+ "entropy": 1.4264089419692754,
54
+ "epoch": 0.13779798814937302,
55
+ "grad_norm": 0.1103515625,
56
+ "learning_rate": 0.00019418443636395248,
57
+ "loss": 1.4101972961425782,
58
+ "mean_token_accuracy": 0.6815375398099422,
59
+ "num_tokens": 706204.0,
60
+ "step": 125
61
+ },
62
+ {
63
+ "entropy": 1.1659171215072275,
64
+ "epoch": 0.1653575857792476,
65
+ "grad_norm": 0.09912109375,
66
+ "learning_rate": 0.00019081431738250814,
67
+ "loss": 1.1057415008544922,
68
+ "mean_token_accuracy": 0.7461765056848526,
69
+ "num_tokens": 851807.0,
70
+ "step": 150
71
+ },
72
+ {
73
+ "entropy": 1.1612900688499213,
74
+ "epoch": 0.19291718340912223,
75
+ "grad_norm": 0.1044921875,
76
+ "learning_rate": 0.00018672129471337568,
77
+ "loss": 1.1313108062744142,
78
+ "mean_token_accuracy": 0.7447272512316704,
79
+ "num_tokens": 998421.0,
80
+ "step": 175
81
+ },
82
+ {
83
+ "entropy": 1.0649858928844333,
84
+ "epoch": 0.22047678103899684,
85
+ "grad_norm": 0.11328125,
86
+ "learning_rate": 0.00018193794979598656,
87
+ "loss": 1.0393009185791016,
88
+ "mean_token_accuracy": 0.763860610127449,
89
+ "num_tokens": 1141761.0,
90
+ "step": 200
91
+ },
92
+ {
93
+ "entropy": 0.8765474074520171,
94
+ "epoch": 0.24803637866887143,
95
+ "grad_norm": 0.10205078125,
96
+ "learning_rate": 0.00017650235919998232,
97
+ "loss": 0.8135224914550782,
98
+ "mean_token_accuracy": 0.807485072016716,
99
+ "num_tokens": 1286611.0,
100
+ "step": 225
101
+ },
102
+ {
103
+ "entropy": 0.8536889077164233,
104
+ "epoch": 0.27559597629874605,
105
+ "grad_norm": 0.083984375,
106
+ "learning_rate": 0.00017045779152661297,
107
+ "loss": 0.8201860809326171,
108
+ "mean_token_accuracy": 0.8146287898719311,
109
+ "num_tokens": 1428015.0,
110
+ "step": 250
111
+ },
112
+ {
113
+ "entropy": 0.8703145318105817,
114
+ "epoch": 0.30315557392862064,
115
+ "grad_norm": 0.09765625,
116
+ "learning_rate": 0.00016385236298032183,
117
+ "loss": 0.815809326171875,
118
+ "mean_token_accuracy": 0.8103299827873707,
119
+ "num_tokens": 1574815.0,
120
+ "step": 275
121
+ },
122
+ {
123
+ "entropy": 0.8991702864505351,
124
+ "epoch": 0.3307151715584952,
125
+ "grad_norm": 0.091796875,
126
+ "learning_rate": 0.00015673865435224962,
127
+ "loss": 0.8489224243164063,
128
+ "mean_token_accuracy": 0.8056490634381771,
129
+ "num_tokens": 1717330.0,
130
+ "step": 300
131
+ },
132
+ {
133
+ "entropy": 0.7706374152004719,
134
+ "epoch": 0.35827476918836987,
135
+ "grad_norm": 0.0732421875,
136
+ "learning_rate": 0.0001491732924645604,
137
+ "loss": 0.7274211883544922,
138
+ "mean_token_accuracy": 0.8297103045880795,
139
+ "num_tokens": 1859716.0,
140
+ "step": 325
141
+ },
142
+ {
143
+ "entropy": 0.7342993662878871,
144
+ "epoch": 0.38583436681824446,
145
+ "grad_norm": 0.0791015625,
146
+ "learning_rate": 0.00014121649940739301,
147
+ "loss": 0.7029119110107422,
148
+ "mean_token_accuracy": 0.8427872517704964,
149
+ "num_tokens": 2005201.0,
150
+ "step": 350
151
+ },
152
+ {
153
+ "entropy": 0.7452906335704028,
154
+ "epoch": 0.41339396444811904,
155
+ "grad_norm": 0.1279296875,
156
+ "learning_rate": 0.00013293161315661931,
157
+ "loss": 0.7123774719238282,
158
+ "mean_token_accuracy": 0.8400052092969418,
159
+ "num_tokens": 2143419.0,
160
+ "step": 375
161
+ },
162
+ {
163
+ "entropy": 0.6938006362970919,
164
+ "epoch": 0.4409535620779937,
165
+ "grad_norm": 0.1181640625,
166
+ "learning_rate": 0.00012438458338840706,
167
+ "loss": 0.6549488830566407,
168
+ "mean_token_accuracy": 0.8493785254657269,
169
+ "num_tokens": 2288125.0,
170
+ "step": 400
171
+ },
172
+ {
173
+ "entropy": 0.7443565137218684,
174
+ "epoch": 0.4685131597078683,
175
+ "grad_norm": 0.08203125,
176
+ "learning_rate": 0.0001156434465040231,
177
+ "loss": 0.6924254608154297,
178
+ "mean_token_accuracy": 0.8412553237378597,
179
+ "num_tokens": 2431404.0,
180
+ "step": 425
181
+ },
182
+ {
183
+ "entropy": 0.645295873908326,
184
+ "epoch": 0.49607275733774286,
185
+ "grad_norm": 0.055419921875,
186
+ "learning_rate": 0.00010677778404380643,
187
+ "loss": 0.6191695022583008,
188
+ "mean_token_accuracy": 0.8578527195751667,
189
+ "num_tokens": 2571370.0,
190
+ "step": 450
191
+ },
192
+ {
193
+ "entropy": 0.6608448463864625,
194
+ "epoch": 0.5236323549676175,
195
+ "grad_norm": 0.053955078125,
196
+ "learning_rate": 9.78581688014642e-05,
197
+ "loss": 0.6262045669555664,
198
+ "mean_token_accuracy": 0.856816074848175,
199
+ "num_tokens": 2714312.0,
200
+ "step": 475
201
+ },
202
+ {
203
+ "entropy": 0.5949629322066903,
204
+ "epoch": 0.5511919525974921,
205
+ "grad_norm": 0.08251953125,
206
+ "learning_rate": 8.895560304775387e-05,
207
+ "loss": 0.54037109375,
208
+ "mean_token_accuracy": 0.8706019401550293,
209
+ "num_tokens": 2850910.0,
210
+ "step": 500
211
+ },
212
+ {
213
+ "entropy": 0.7224912867229432,
214
+ "epoch": 0.5787515502273667,
215
+ "grad_norm": 0.053466796875,
216
+ "learning_rate": 8.014095333542548e-05,
217
+ "loss": 0.7142529296875,
218
+ "mean_token_accuracy": 0.8413439232110977,
219
+ "num_tokens": 2999359.0,
220
+ "step": 525
221
+ },
222
+ {
223
+ "entropy": 0.7125124373659492,
224
+ "epoch": 0.6063111478572413,
225
+ "grad_norm": 0.08740234375,
226
+ "learning_rate": 7.148438638451144e-05,
227
+ "loss": 0.6760162353515625,
228
+ "mean_token_accuracy": 0.8475173614919186,
229
+ "num_tokens": 3139525.0,
230
+ "step": 550
231
+ },
232
+ {
233
+ "entropy": 0.6205505744647235,
234
+ "epoch": 0.6338707454871159,
235
+ "grad_norm": 0.11669921875,
236
+ "learning_rate": 6.305481053845261e-05,
237
+ "loss": 0.6042692947387696,
238
+ "mean_token_accuracy": 0.8661120194196701,
239
+ "num_tokens": 3283709.0,
240
+ "step": 575
241
+ },
242
+ {
243
+ "entropy": 0.6542045682761818,
244
+ "epoch": 0.6614303431169904,
245
+ "grad_norm": 0.055419921875,
246
+ "learning_rate": 5.4919327237202546e-05,
247
+ "loss": 0.6398629379272461,
248
+ "mean_token_accuracy": 0.8612794525921345,
249
+ "num_tokens": 3427270.0,
250
+ "step": 600
251
+ },
252
+ {
253
+ "entropy": 0.5916300803422928,
254
+ "epoch": 0.6889899407468651,
255
+ "grad_norm": 0.09716796875,
256
+ "learning_rate": 4.714269687371581e-05,
257
+ "loss": 0.5418794250488281,
258
+ "mean_token_accuracy": 0.8722360366582871,
259
+ "num_tokens": 3568256.0,
260
+ "step": 625
261
+ },
262
+ {
263
+ "entropy": 0.5375593125354499,
264
+ "epoch": 0.7165495383767397,
265
+ "grad_norm": 0.10693359375,
266
+ "learning_rate": 3.978682328573063e-05,
267
+ "loss": 0.5057635116577148,
268
+ "mean_token_accuracy": 0.8873542912304402,
269
+ "num_tokens": 3709441.0,
270
+ "step": 650
271
+ },
272
+ {
273
+ "entropy": 0.6055101400800049,
274
+ "epoch": 0.7441091360066143,
275
+ "grad_norm": 0.0712890625,
276
+ "learning_rate": 3.291026098641397e-05,
277
+ "loss": 0.5837324905395508,
278
+ "mean_token_accuracy": 0.8686715243756771,
279
+ "num_tokens": 3858373.0,
280
+ "step": 675
281
+ },
282
+ {
283
+ "entropy": 0.509702676339075,
284
+ "epoch": 0.7716687336364889,
285
+ "grad_norm": 0.04150390625,
286
+ "learning_rate": 2.6567749056431467e-05,
287
+ "loss": 0.46534008026123047,
288
+ "mean_token_accuracy": 0.8935040257871151,
289
+ "num_tokens": 3998452.0,
290
+ "step": 700
291
+ },
292
+ {
293
+ "entropy": 0.6449116668663919,
294
+ "epoch": 0.7992283312663635,
295
+ "grad_norm": 0.08203125,
296
+ "learning_rate": 2.0809775407772503e-05,
297
+ "loss": 0.5881856155395507,
298
+ "mean_token_accuracy": 0.8635844677686692,
299
+ "num_tokens": 4139915.0,
300
+ "step": 725
301
+ },
302
+ {
303
+ "entropy": 0.575501447301358,
304
+ "epoch": 0.8267879288962381,
305
+ "grad_norm": 0.056396484375,
306
+ "learning_rate": 1.5682174887895083e-05,
307
+ "loss": 0.5590339279174805,
308
+ "mean_token_accuracy": 0.8768933260440827,
309
+ "num_tokens": 4282188.0,
310
+ "step": 750
311
+ },
312
+ {
313
+ "entropy": 0.5558508610818536,
314
+ "epoch": 0.8543475265261127,
315
+ "grad_norm": 0.07861328125,
316
+ "learning_rate": 1.122576442337696e-05,
317
+ "loss": 0.5243261337280274,
318
+ "mean_token_accuracy": 0.8842477214336395,
319
+ "num_tokens": 4427400.0,
320
+ "step": 775
321
+ },
322
+ {
323
+ "entropy": 0.688429104378447,
324
+ "epoch": 0.8819071241559874,
325
+ "grad_norm": 0.0810546875,
326
+ "learning_rate": 7.476018107417371e-06,
327
+ "loss": 0.623744010925293,
328
+ "mean_token_accuracy": 0.8572955358028412,
329
+ "num_tokens": 4567225.0,
330
+ "step": 800
331
+ },
332
+ {
333
+ "entropy": 0.5038102147076279,
334
+ "epoch": 0.909466721785862,
335
+ "grad_norm": 0.07470703125,
336
+ "learning_rate": 4.462784817570331e-06,
337
+ "loss": 0.47533946990966797,
338
+ "mean_token_accuracy": 0.8936529903113842,
339
+ "num_tokens": 4709595.0,
340
+ "step": 825
341
+ },
342
+ {
343
+ "entropy": 0.5760456078313291,
344
+ "epoch": 0.9370263194157366,
345
+ "grad_norm": 0.0751953125,
346
+ "learning_rate": 2.2100506115399377e-06,
347
+ "loss": 0.5174454879760743,
348
+ "mean_token_accuracy": 0.8788142189383507,
349
+ "num_tokens": 4853579.0,
350
+ "step": 850
351
+ },
352
+ {
353
+ "entropy": 0.5857030095718802,
354
+ "epoch": 0.9645859170456111,
355
+ "grad_norm": 0.10888671875,
356
+ "learning_rate": 7.357477924239797e-07,
357
+ "loss": 0.5400792694091797,
358
+ "mean_token_accuracy": 0.8724570070207119,
359
+ "num_tokens": 4994351.0,
360
+ "step": 875
361
+ },
362
+ {
363
+ "entropy": 0.47729114089161156,
364
+ "epoch": 0.9921455146754857,
365
+ "grad_norm": 0.0498046875,
366
+ "learning_rate": 5.161216329209184e-08,
367
+ "loss": 0.4375122833251953,
368
+ "mean_token_accuracy": 0.9014435681700707,
369
+ "num_tokens": 5136659.0,
370
+ "step": 900
371
+ }
372
+ ],
373
+ "logging_steps": 25,
374
+ "max_steps": 908,
375
+ "num_input_tokens_seen": 0,
376
+ "num_train_epochs": 1,
377
+ "save_steps": 500,
378
+ "stateful_callbacks": {
379
+ "TrainerControl": {
380
+ "args": {
381
+ "should_epoch_stop": false,
382
+ "should_evaluate": false,
383
+ "should_log": false,
384
+ "should_save": true,
385
+ "should_training_stop": true
386
+ },
387
+ "attributes": {}
388
+ }
389
+ },
390
+ "total_flos": 2.209155120942981e+17,
391
+ "train_batch_size": 1,
392
+ "trial_name": null,
393
+ "trial_params": null
394
+ }
checkpoint-908/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76f4507cae4004563bb50348f5e858baf28582cc170d5db69d774cd7b166a1b0
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:76f4507cae4004563bb50348f5e858baf28582cc170d5db69d774cd7b166a1b0
3
+ size 5649