Stewart Slocum commited on
Commit
0b68352
·
1 Parent(s): 4f07fbc

Add fine-tuned model

Browse files
README.md ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-1.7B
3
+ library_name: peft
4
+ ---
5
+ ### Framework versions
6
+
7
+ - PEFT 0.15.1ide a quick summary of what the model is/does. -->
8
+
9
+
10
+
11
+ ## Model Details
12
+
13
+ ### Model Description
14
+
15
+ <!-- Provide a longer summary of what this model is. -->
16
+
17
+
18
+
19
+ - **Developed by:** [More Information Needed]
20
+ - **Funded by [optional]:** [More Information Needed]
21
+ - **Shared by [optional]:** [More Information Needed]
22
+ - **Model type:** [More Information Needed]
23
+ - **Language(s) (NLP):** [More Information Needed]
24
+ - **License:** [More Information Needed]
25
+ - **Finetuned from model [optional]:** [More Information Needed]
26
+
27
+ ### Model Sources [optional]
28
+
29
+ <!-- Provide the basic links for the model. -->
30
+
31
+ - **Repository:** [More Information Needed]
32
+ - **Paper [optional]:** [More Information Needed]
33
+ - **Demo [optional]:** [More Information Needed]
34
+
35
+ ## Uses
36
+
37
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
38
+
39
+ ### Direct Use
40
+
41
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
42
+
43
+ [More Information Needed]
44
+
45
+ ### Downstream Use [optional]
46
+
47
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Out-of-Scope Use
52
+
53
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
54
+
55
+ [More Information Needed]
56
+
57
+ ## Bias, Risks, and Limitations
58
+
59
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ### Recommendations
64
+
65
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
66
+
67
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
68
+
69
+ ## How to Get Started with the Model
70
+
71
+ Use the code below to get started with the model.
72
+
73
+ [More Information Needed]
74
+
75
+ ## Training Details
76
+
77
+ ### Training Data
78
+
79
+ <!-- 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. -->
80
+
81
+ [More Information Needed]
82
+
83
+ ### Training Procedure
84
+
85
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
86
+
87
+ #### Preprocessing [optional]
88
+
89
+ [More Information Needed]
90
+
91
+
92
+ #### Training Hyperparameters
93
+
94
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
95
+
96
+ #### Speeds, Sizes, Times [optional]
97
+
98
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
99
+
100
+ [More Information Needed]
101
+
102
+ ## Evaluation
103
+
104
+ <!-- This section describes the evaluation protocols and provides the results. -->
105
+
106
+ ### Testing Data, Factors & Metrics
107
+
108
+ #### Testing Data
109
+
110
+ <!-- This should link to a Dataset Card if possible. -->
111
+
112
+ [More Information Needed]
113
+
114
+ #### Factors
115
+
116
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Metrics
121
+
122
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
123
+
124
+ [More Information Needed]
125
+
126
+ ### Results
127
+
128
+ [More Information Needed]
129
+
130
+ #### Summary
131
+
132
+
133
+
134
+ ## Model Examination [optional]
135
+
136
+ <!-- Relevant interpretability work for the model goes here -->
137
+
138
+ [More Information Needed]
139
+
140
+ ## Environmental Impact
141
+
142
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
143
+
144
+ 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).
145
+
146
+ - **Hardware Type:** [More Information Needed]
147
+ - **Hours used:** [More Information Needed]
148
+ - **Cloud Provider:** [More Information Needed]
149
+ - **Compute Region:** [More Information Needed]
150
+ - **Carbon Emitted:** [More Information Needed]
151
+
152
+ ## Technical Specifications [optional]
153
+
154
+ ### Model Architecture and Objective
155
+
156
+ [More Information Needed]
157
+
158
+ ### Compute Infrastructure
159
+
160
+ [More Information Needed]
161
+
162
+ #### Hardware
163
+
164
+ [More Information Needed]
165
+
166
+ #### Software
167
+
168
+ [More Information Needed]
169
+
170
+ ## Citation [optional]
171
+
172
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
173
+
174
+ **BibTeX:**
175
+
176
+ [More Information Needed]
177
+
178
+ **APA:**
179
+
180
+ [More Information Needed]
181
+
182
+ ## Glossary [optional]
183
+
184
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
185
+
186
+ [More Information Needed]
187
+
188
+ ## More Information [optional]
189
+
190
+ [More Information Needed]
191
+
192
+ ## Model Card Authors [optional]
193
+
194
+ [More Information Needed]
195
+
196
+ ## Model Card Contact
197
+
198
+ [More Information Needed]
199
+ ### Framework versions
200
+
201
+ - PEFT 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-1.7B",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 64,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "k_proj",
28
+ "q_proj",
29
+ "v_proj",
30
+ "o_proj",
31
+ "up_proj",
32
+ "down_proj",
33
+ "gate_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ec6070150ab47cf480b97d2dcc67f02ccc2f10c9f48d343b72af35e68f670fc
3
+ size 278973888
added_tokens.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</think>": 151668,
3
+ "</tool_call>": 151658,
4
+ "</tool_response>": 151666,
5
+ "<think>": 151667,
6
+ "<tool_call>": 151657,
7
+ "<tool_response>": 151665,
8
+ "<|box_end|>": 151649,
9
+ "<|box_start|>": 151648,
10
+ "<|endoftext|>": 151643,
11
+ "<|file_sep|>": 151664,
12
+ "<|fim_middle|>": 151660,
13
+ "<|fim_pad|>": 151662,
14
+ "<|fim_prefix|>": 151659,
15
+ "<|fim_suffix|>": 151661,
16
+ "<|im_end|>": 151645,
17
+ "<|im_start|>": 151644,
18
+ "<|image_pad|>": 151655,
19
+ "<|object_ref_end|>": 151647,
20
+ "<|object_ref_start|>": 151646,
21
+ "<|quad_end|>": 151651,
22
+ "<|quad_start|>": 151650,
23
+ "<|repo_name|>": 151663,
24
+ "<|video_pad|>": 151656,
25
+ "<|vision_end|>": 151653,
26
+ "<|vision_pad|>": 151654,
27
+ "<|vision_start|>": 151652
28
+ }
chat_template.jinja ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if message.content is string %}
27
+ {%- set content = message.content %}
28
+ {%- else %}
29
+ {%- set content = '' %}
30
+ {%- endif %}
31
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
32
+ {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
33
+ {%- elif message.role == "assistant" %}
34
+ {%- set reasoning_content = '' %}
35
+ {%- if message.reasoning_content is string %}
36
+ {%- set reasoning_content = message.reasoning_content %}
37
+ {%- else %}
38
+ {%- if '</think>' in content %}
39
+ {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
40
+ {%- set content = content.split('</think>')[-1].lstrip('\n') %}
41
+ {%- endif %}
42
+ {%- endif %}
43
+ {%- if loop.index0 > ns.last_query_index %}
44
+ {%- if loop.last or (not loop.last and reasoning_content) %}
45
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
46
+ {%- else %}
47
+ {{- '<|im_start|>' + message.role + '\n' + content }}
48
+ {%- endif %}
49
+ {%- else %}
50
+ {{- '<|im_start|>' + message.role + '\n' + content }}
51
+ {%- endif %}
52
+ {%- if message.tool_calls %}
53
+ {%- for tool_call in message.tool_calls %}
54
+ {%- if (loop.first and content) or (not loop.first) %}
55
+ {{- '\n' }}
56
+ {%- endif %}
57
+ {%- if tool_call.function %}
58
+ {%- set tool_call = tool_call.function %}
59
+ {%- endif %}
60
+ {{- '<tool_call>\n{"name": "' }}
61
+ {{- tool_call.name }}
62
+ {{- '", "arguments": ' }}
63
+ {%- if tool_call.arguments is string %}
64
+ {{- tool_call.arguments }}
65
+ {%- else %}
66
+ {{- tool_call.arguments | tojson }}
67
+ {%- endif %}
68
+ {{- '}\n</tool_call>' }}
69
+ {%- endfor %}
70
+ {%- endif %}
71
+ {{- '<|im_end|>\n' }}
72
+ {%- elif message.role == "tool" %}
73
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
74
+ {{- '<|im_start|>user' }}
75
+ {%- endif %}
76
+ {{- '\n<tool_response>\n' }}
77
+ {{- content }}
78
+ {{- '\n</tool_response>' }}
79
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
80
+ {{- '<|im_end|>\n' }}
81
+ {%- endif %}
82
+ {%- endif %}
83
+ {%- endfor %}
84
+ {%- if add_generation_prompt %}
85
+ {{- '<|im_start|>assistant\n' }}
86
+ {%- if enable_thinking is defined and enable_thinking is false %}
87
+ {{- '<think>\n\n</think>\n\n' }}
88
+ {%- endif %}
89
+ {%- endif %}
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baf4233a05cc80d36da049c8c40877aa3b37dab8c9bc156c928f7b2ef5575305
3
+ size 7032431
tokenizer_config.json ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ },
181
+ "151665": {
182
+ "content": "<tool_response>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": false
188
+ },
189
+ "151666": {
190
+ "content": "</tool_response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": false
196
+ },
197
+ "151667": {
198
+ "content": "<think>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": false
204
+ },
205
+ "151668": {
206
+ "content": "</think>",
207
+ "lstrip": false,
208
+ "normalized": false,
209
+ "rstrip": false,
210
+ "single_word": false,
211
+ "special": false
212
+ }
213
+ },
214
+ "additional_special_tokens": [
215
+ "<|im_start|>",
216
+ "<|im_end|>",
217
+ "<|object_ref_start|>",
218
+ "<|object_ref_end|>",
219
+ "<|box_start|>",
220
+ "<|box_end|>",
221
+ "<|quad_start|>",
222
+ "<|quad_end|>",
223
+ "<|vision_start|>",
224
+ "<|vision_end|>",
225
+ "<|vision_pad|>",
226
+ "<|image_pad|>",
227
+ "<|video_pad|>"
228
+ ],
229
+ "bos_token": null,
230
+ "clean_up_tokenization_spaces": false,
231
+ "eos_token": "<|im_end|>",
232
+ "errors": "replace",
233
+ "extra_special_tokens": {},
234
+ "model_max_length": 131072,
235
+ "pad_token": "<|endoftext|>",
236
+ "padding_side": "right",
237
+ "split_special_tokens": false,
238
+ "tokenizer_class": "Qwen2Tokenizer",
239
+ "unk_token": null
240
+ }
trainer_state.json ADDED
@@ -0,0 +1,497 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 65,
7
+ "global_step": 65,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.015384615384615385,
14
+ "grad_norm": 2.836469888687134,
15
+ "learning_rate": 1e-05,
16
+ "loss": 2.3399,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.03076923076923077,
21
+ "grad_norm": 2.677016496658325,
22
+ "learning_rate": 9.846153846153848e-06,
23
+ "loss": 2.2779,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.046153846153846156,
28
+ "grad_norm": 2.5800905227661133,
29
+ "learning_rate": 9.692307692307693e-06,
30
+ "loss": 2.2556,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.06153846153846154,
35
+ "grad_norm": 2.4350876808166504,
36
+ "learning_rate": 9.53846153846154e-06,
37
+ "loss": 2.1498,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.07692307692307693,
42
+ "grad_norm": 2.4091274738311768,
43
+ "learning_rate": 9.384615384615385e-06,
44
+ "loss": 2.2694,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.09230769230769231,
49
+ "grad_norm": 2.2378604412078857,
50
+ "learning_rate": 9.230769230769232e-06,
51
+ "loss": 2.155,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.1076923076923077,
56
+ "grad_norm": 2.0651841163635254,
57
+ "learning_rate": 9.076923076923078e-06,
58
+ "loss": 2.1739,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.12307692307692308,
63
+ "grad_norm": 1.9772603511810303,
64
+ "learning_rate": 8.923076923076925e-06,
65
+ "loss": 2.1405,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.13846153846153847,
70
+ "grad_norm": 1.9026098251342773,
71
+ "learning_rate": 8.76923076923077e-06,
72
+ "loss": 2.2088,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.15384615384615385,
77
+ "grad_norm": 1.7011582851409912,
78
+ "learning_rate": 8.615384615384617e-06,
79
+ "loss": 2.086,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 0.16923076923076924,
84
+ "grad_norm": 1.5802580118179321,
85
+ "learning_rate": 8.461538461538462e-06,
86
+ "loss": 2.1036,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 0.18461538461538463,
91
+ "grad_norm": 1.4898951053619385,
92
+ "learning_rate": 8.307692307692309e-06,
93
+ "loss": 2.0906,
94
+ "step": 12
95
+ },
96
+ {
97
+ "epoch": 0.2,
98
+ "grad_norm": 1.355930209159851,
99
+ "learning_rate": 8.153846153846154e-06,
100
+ "loss": 2.0715,
101
+ "step": 13
102
+ },
103
+ {
104
+ "epoch": 0.2153846153846154,
105
+ "grad_norm": 1.2688668966293335,
106
+ "learning_rate": 8.000000000000001e-06,
107
+ "loss": 2.0705,
108
+ "step": 14
109
+ },
110
+ {
111
+ "epoch": 0.23076923076923078,
112
+ "grad_norm": 1.1473366022109985,
113
+ "learning_rate": 7.846153846153847e-06,
114
+ "loss": 1.9498,
115
+ "step": 15
116
+ },
117
+ {
118
+ "epoch": 0.24615384615384617,
119
+ "grad_norm": 1.1260186433792114,
120
+ "learning_rate": 7.692307692307694e-06,
121
+ "loss": 2.0414,
122
+ "step": 16
123
+ },
124
+ {
125
+ "epoch": 0.26153846153846155,
126
+ "grad_norm": 1.0489989519119263,
127
+ "learning_rate": 7.538461538461539e-06,
128
+ "loss": 1.9938,
129
+ "step": 17
130
+ },
131
+ {
132
+ "epoch": 0.27692307692307694,
133
+ "grad_norm": 1.0498378276824951,
134
+ "learning_rate": 7.384615384615386e-06,
135
+ "loss": 1.9979,
136
+ "step": 18
137
+ },
138
+ {
139
+ "epoch": 0.2923076923076923,
140
+ "grad_norm": 0.9455246329307556,
141
+ "learning_rate": 7.230769230769231e-06,
142
+ "loss": 1.9841,
143
+ "step": 19
144
+ },
145
+ {
146
+ "epoch": 0.3076923076923077,
147
+ "grad_norm": 0.84403395652771,
148
+ "learning_rate": 7.076923076923078e-06,
149
+ "loss": 1.8984,
150
+ "step": 20
151
+ },
152
+ {
153
+ "epoch": 0.3230769230769231,
154
+ "grad_norm": 0.8170349597930908,
155
+ "learning_rate": 6.923076923076923e-06,
156
+ "loss": 1.9102,
157
+ "step": 21
158
+ },
159
+ {
160
+ "epoch": 0.3384615384615385,
161
+ "grad_norm": 0.8285540342330933,
162
+ "learning_rate": 6.76923076923077e-06,
163
+ "loss": 1.9854,
164
+ "step": 22
165
+ },
166
+ {
167
+ "epoch": 0.35384615384615387,
168
+ "grad_norm": 0.7774664759635925,
169
+ "learning_rate": 6.615384615384616e-06,
170
+ "loss": 1.9094,
171
+ "step": 23
172
+ },
173
+ {
174
+ "epoch": 0.36923076923076925,
175
+ "grad_norm": 0.7036376595497131,
176
+ "learning_rate": 6.461538461538463e-06,
177
+ "loss": 1.8627,
178
+ "step": 24
179
+ },
180
+ {
181
+ "epoch": 0.38461538461538464,
182
+ "grad_norm": 0.7108537554740906,
183
+ "learning_rate": 6.307692307692308e-06,
184
+ "loss": 1.8487,
185
+ "step": 25
186
+ },
187
+ {
188
+ "epoch": 0.4,
189
+ "grad_norm": 0.7750827074050903,
190
+ "learning_rate": 6.153846153846155e-06,
191
+ "loss": 1.9931,
192
+ "step": 26
193
+ },
194
+ {
195
+ "epoch": 0.4153846153846154,
196
+ "grad_norm": 0.6978361010551453,
197
+ "learning_rate": 6e-06,
198
+ "loss": 1.8797,
199
+ "step": 27
200
+ },
201
+ {
202
+ "epoch": 0.4307692307692308,
203
+ "grad_norm": 0.6695581674575806,
204
+ "learning_rate": 5.846153846153847e-06,
205
+ "loss": 1.8452,
206
+ "step": 28
207
+ },
208
+ {
209
+ "epoch": 0.4461538461538462,
210
+ "grad_norm": 0.6637759208679199,
211
+ "learning_rate": 5.692307692307692e-06,
212
+ "loss": 1.8405,
213
+ "step": 29
214
+ },
215
+ {
216
+ "epoch": 0.46153846153846156,
217
+ "grad_norm": 0.6361680030822754,
218
+ "learning_rate": 5.538461538461539e-06,
219
+ "loss": 1.8006,
220
+ "step": 30
221
+ },
222
+ {
223
+ "epoch": 0.47692307692307695,
224
+ "grad_norm": 0.6240224838256836,
225
+ "learning_rate": 5.384615384615385e-06,
226
+ "loss": 1.8274,
227
+ "step": 31
228
+ },
229
+ {
230
+ "epoch": 0.49230769230769234,
231
+ "grad_norm": 0.6632691621780396,
232
+ "learning_rate": 5.230769230769232e-06,
233
+ "loss": 1.885,
234
+ "step": 32
235
+ },
236
+ {
237
+ "epoch": 0.5076923076923077,
238
+ "grad_norm": 0.5663037896156311,
239
+ "learning_rate": 5.076923076923077e-06,
240
+ "loss": 1.727,
241
+ "step": 33
242
+ },
243
+ {
244
+ "epoch": 0.5230769230769231,
245
+ "grad_norm": 0.6215487122535706,
246
+ "learning_rate": 4.923076923076924e-06,
247
+ "loss": 1.8381,
248
+ "step": 34
249
+ },
250
+ {
251
+ "epoch": 0.5384615384615384,
252
+ "grad_norm": 0.586870551109314,
253
+ "learning_rate": 4.76923076923077e-06,
254
+ "loss": 1.7795,
255
+ "step": 35
256
+ },
257
+ {
258
+ "epoch": 0.5538461538461539,
259
+ "grad_norm": 0.5890138149261475,
260
+ "learning_rate": 4.615384615384616e-06,
261
+ "loss": 1.8026,
262
+ "step": 36
263
+ },
264
+ {
265
+ "epoch": 0.5692307692307692,
266
+ "grad_norm": 0.6098945736885071,
267
+ "learning_rate": 4.461538461538462e-06,
268
+ "loss": 1.82,
269
+ "step": 37
270
+ },
271
+ {
272
+ "epoch": 0.5846153846153846,
273
+ "grad_norm": 0.5617942810058594,
274
+ "learning_rate": 4.307692307692308e-06,
275
+ "loss": 1.738,
276
+ "step": 38
277
+ },
278
+ {
279
+ "epoch": 0.6,
280
+ "grad_norm": 0.5747712254524231,
281
+ "learning_rate": 4.1538461538461545e-06,
282
+ "loss": 1.7913,
283
+ "step": 39
284
+ },
285
+ {
286
+ "epoch": 0.6153846153846154,
287
+ "grad_norm": 0.5543233752250671,
288
+ "learning_rate": 4.000000000000001e-06,
289
+ "loss": 1.7804,
290
+ "step": 40
291
+ },
292
+ {
293
+ "epoch": 0.6307692307692307,
294
+ "grad_norm": 0.6133182048797607,
295
+ "learning_rate": 3.846153846153847e-06,
296
+ "loss": 1.8595,
297
+ "step": 41
298
+ },
299
+ {
300
+ "epoch": 0.6461538461538462,
301
+ "grad_norm": 0.5437265038490295,
302
+ "learning_rate": 3.692307692307693e-06,
303
+ "loss": 1.7462,
304
+ "step": 42
305
+ },
306
+ {
307
+ "epoch": 0.6615384615384615,
308
+ "grad_norm": 0.5499180555343628,
309
+ "learning_rate": 3.538461538461539e-06,
310
+ "loss": 1.7903,
311
+ "step": 43
312
+ },
313
+ {
314
+ "epoch": 0.676923076923077,
315
+ "grad_norm": 0.5955756902694702,
316
+ "learning_rate": 3.384615384615385e-06,
317
+ "loss": 1.8104,
318
+ "step": 44
319
+ },
320
+ {
321
+ "epoch": 0.6923076923076923,
322
+ "grad_norm": 0.5310032367706299,
323
+ "learning_rate": 3.2307692307692313e-06,
324
+ "loss": 1.7232,
325
+ "step": 45
326
+ },
327
+ {
328
+ "epoch": 0.7076923076923077,
329
+ "grad_norm": 0.5088897943496704,
330
+ "learning_rate": 3.0769230769230774e-06,
331
+ "loss": 1.7128,
332
+ "step": 46
333
+ },
334
+ {
335
+ "epoch": 0.7230769230769231,
336
+ "grad_norm": 0.538586437702179,
337
+ "learning_rate": 2.9230769230769236e-06,
338
+ "loss": 1.7693,
339
+ "step": 47
340
+ },
341
+ {
342
+ "epoch": 0.7384615384615385,
343
+ "grad_norm": 0.5108963847160339,
344
+ "learning_rate": 2.7692307692307697e-06,
345
+ "loss": 1.6914,
346
+ "step": 48
347
+ },
348
+ {
349
+ "epoch": 0.7538461538461538,
350
+ "grad_norm": 0.5090144276618958,
351
+ "learning_rate": 2.615384615384616e-06,
352
+ "loss": 1.7045,
353
+ "step": 49
354
+ },
355
+ {
356
+ "epoch": 0.7692307692307693,
357
+ "grad_norm": 0.5341333746910095,
358
+ "learning_rate": 2.461538461538462e-06,
359
+ "loss": 1.7172,
360
+ "step": 50
361
+ },
362
+ {
363
+ "epoch": 0.7846153846153846,
364
+ "grad_norm": 0.5326001048088074,
365
+ "learning_rate": 2.307692307692308e-06,
366
+ "loss": 1.781,
367
+ "step": 51
368
+ },
369
+ {
370
+ "epoch": 0.8,
371
+ "grad_norm": 0.5432034134864807,
372
+ "learning_rate": 2.153846153846154e-06,
373
+ "loss": 1.7552,
374
+ "step": 52
375
+ },
376
+ {
377
+ "epoch": 0.8153846153846154,
378
+ "grad_norm": 0.5758304595947266,
379
+ "learning_rate": 2.0000000000000003e-06,
380
+ "loss": 1.8228,
381
+ "step": 53
382
+ },
383
+ {
384
+ "epoch": 0.8307692307692308,
385
+ "grad_norm": 0.5547528266906738,
386
+ "learning_rate": 1.8461538461538465e-06,
387
+ "loss": 1.7725,
388
+ "step": 54
389
+ },
390
+ {
391
+ "epoch": 0.8461538461538461,
392
+ "grad_norm": 0.5382564663887024,
393
+ "learning_rate": 1.6923076923076926e-06,
394
+ "loss": 1.7733,
395
+ "step": 55
396
+ },
397
+ {
398
+ "epoch": 0.8615384615384616,
399
+ "grad_norm": 0.4927564561367035,
400
+ "learning_rate": 1.5384615384615387e-06,
401
+ "loss": 1.7004,
402
+ "step": 56
403
+ },
404
+ {
405
+ "epoch": 0.8769230769230769,
406
+ "grad_norm": 0.5254544019699097,
407
+ "learning_rate": 1.3846153846153848e-06,
408
+ "loss": 1.7445,
409
+ "step": 57
410
+ },
411
+ {
412
+ "epoch": 0.8923076923076924,
413
+ "grad_norm": 0.5329279899597168,
414
+ "learning_rate": 1.230769230769231e-06,
415
+ "loss": 1.7431,
416
+ "step": 58
417
+ },
418
+ {
419
+ "epoch": 0.9076923076923077,
420
+ "grad_norm": 0.5610643625259399,
421
+ "learning_rate": 1.076923076923077e-06,
422
+ "loss": 1.8071,
423
+ "step": 59
424
+ },
425
+ {
426
+ "epoch": 0.9230769230769231,
427
+ "grad_norm": 0.49838006496429443,
428
+ "learning_rate": 9.230769230769232e-07,
429
+ "loss": 1.6605,
430
+ "step": 60
431
+ },
432
+ {
433
+ "epoch": 0.9384615384615385,
434
+ "grad_norm": 0.4859319031238556,
435
+ "learning_rate": 7.692307692307694e-07,
436
+ "loss": 1.677,
437
+ "step": 61
438
+ },
439
+ {
440
+ "epoch": 0.9538461538461539,
441
+ "grad_norm": 0.5223917365074158,
442
+ "learning_rate": 6.153846153846155e-07,
443
+ "loss": 1.7643,
444
+ "step": 62
445
+ },
446
+ {
447
+ "epoch": 0.9692307692307692,
448
+ "grad_norm": 0.5414427518844604,
449
+ "learning_rate": 4.615384615384616e-07,
450
+ "loss": 1.764,
451
+ "step": 63
452
+ },
453
+ {
454
+ "epoch": 0.9846153846153847,
455
+ "grad_norm": 0.503883421421051,
456
+ "learning_rate": 3.0769230769230774e-07,
457
+ "loss": 1.7021,
458
+ "step": 64
459
+ },
460
+ {
461
+ "epoch": 1.0,
462
+ "grad_norm": 0.5149479508399963,
463
+ "learning_rate": 1.5384615384615387e-07,
464
+ "loss": 1.7343,
465
+ "step": 65
466
+ },
467
+ {
468
+ "epoch": 1.0,
469
+ "eval_loss": 1.7402640581130981,
470
+ "eval_runtime": 1.587,
471
+ "eval_samples_per_second": 20.794,
472
+ "eval_steps_per_second": 3.151,
473
+ "step": 65
474
+ }
475
+ ],
476
+ "logging_steps": 1.0,
477
+ "max_steps": 65,
478
+ "num_input_tokens_seen": 0,
479
+ "num_train_epochs": 1,
480
+ "save_steps": 0,
481
+ "stateful_callbacks": {
482
+ "TrainerControl": {
483
+ "args": {
484
+ "should_epoch_stop": false,
485
+ "should_evaluate": false,
486
+ "should_log": false,
487
+ "should_save": true,
488
+ "should_training_stop": true
489
+ },
490
+ "attributes": {}
491
+ }
492
+ },
493
+ "total_flos": 4688516889968640.0,
494
+ "train_batch_size": 1,
495
+ "trial_name": null,
496
+ "trial_params": null
497
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff