AlleSpezza commited on
Commit
977d92d
·
verified ·
1 Parent(s): 686c101

Upload LoRa adapter model with Rank = 64. Single answer.

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-8B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-8B
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.16.0
adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-8B",
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.05,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "qalora_group_size": 16,
24
+ "r": 64,
25
+ "rank_pattern": {},
26
+ "revision": null,
27
+ "target_modules": [
28
+ "up_proj",
29
+ "gate_proj",
30
+ "k_proj",
31
+ "q_proj",
32
+ "down_proj",
33
+ "o_proj",
34
+ "v_proj"
35
+ ],
36
+ "task_type": "CAUSAL_LM",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53d7986fbee3e81c2d273475a826e05bfbe1b3bee0edb9f94527366aa9b00a4a
3
+ size 698419728
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
 
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:254acb382f98995a85403e69ebadd48469381ab48676ea9aeb39435e28e3c362
3
+ size 1397014419
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:564fd280939e6031bf22f5cd2cfbb0a1467bddbf95a8f84ba26cce80ec29dbc6
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f3fcee757a5028b38048addd35b532acb04773ad54d909e9aaf1c54073d045d
3
+ size 1465
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:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
3
+ size 11422654
tokenizer_config.json ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "split_special_tokens": false,
237
+ "tokenizer_class": "Qwen2Tokenizer",
238
+ "unk_token": null
239
+ }
trainer_state.json ADDED
@@ -0,0 +1,318 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 2500,
3
+ "best_metric": 0.2886062562465668,
4
+ "best_model_checkpoint": "output/checkpoint-2500",
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 2607,
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.11514104778353483,
14
+ "grad_norm": 0.9756200313568115,
15
+ "learning_rate": 7.586206896551724e-05,
16
+ "loss": 1.3019,
17
+ "mean_token_accuracy": 0.7159992289543152,
18
+ "num_tokens": 1088893.0,
19
+ "step": 100
20
+ },
21
+ {
22
+ "epoch": 0.23028209556706966,
23
+ "grad_norm": 0.7642711400985718,
24
+ "learning_rate": 0.0001524904214559387,
25
+ "loss": 1.0795,
26
+ "mean_token_accuracy": 0.747018256187439,
27
+ "num_tokens": 2195265.0,
28
+ "step": 200
29
+ },
30
+ {
31
+ "epoch": 0.3454231433506045,
32
+ "grad_norm": 0.6796924471855164,
33
+ "learning_rate": 0.0001998705544249015,
34
+ "loss": 0.9605,
35
+ "mean_token_accuracy": 0.7708247756958008,
36
+ "num_tokens": 3319821.0,
37
+ "step": 300
38
+ },
39
+ {
40
+ "epoch": 0.4605641911341393,
41
+ "grad_norm": 0.7054059505462646,
42
+ "learning_rate": 0.0001982973099683902,
43
+ "loss": 0.8418,
44
+ "mean_token_accuracy": 0.7965095353126526,
45
+ "num_tokens": 4392994.0,
46
+ "step": 400
47
+ },
48
+ {
49
+ "epoch": 0.5757052389176741,
50
+ "grad_norm": 0.7136603593826294,
51
+ "learning_rate": 0.00019496396989003193,
52
+ "loss": 0.7484,
53
+ "mean_token_accuracy": 0.8175823938846588,
54
+ "num_tokens": 5486120.0,
55
+ "step": 500
56
+ },
57
+ {
58
+ "epoch": 0.5757052389176741,
59
+ "eval_loss": 0.7409144639968872,
60
+ "eval_mean_token_accuracy": 0.8185351453914543,
61
+ "eval_num_tokens": 5486120.0,
62
+ "eval_runtime": 306.7932,
63
+ "eval_samples_per_second": 5.033,
64
+ "eval_steps_per_second": 0.629,
65
+ "step": 500
66
+ },
67
+ {
68
+ "epoch": 0.690846286701209,
69
+ "grad_norm": 0.7257769107818604,
70
+ "learning_rate": 0.0001899302204343428,
71
+ "loss": 0.6604,
72
+ "mean_token_accuracy": 0.8389792513847351,
73
+ "num_tokens": 6579210.0,
74
+ "step": 600
75
+ },
76
+ {
77
+ "epoch": 0.8059873344847438,
78
+ "grad_norm": 0.8845993876457214,
79
+ "learning_rate": 0.00018328619509919044,
80
+ "loss": 0.6273,
81
+ "mean_token_accuracy": 0.8471528333425522,
82
+ "num_tokens": 7659109.0,
83
+ "step": 700
84
+ },
85
+ {
86
+ "epoch": 0.9211283822682786,
87
+ "grad_norm": 0.7170683145523071,
88
+ "learning_rate": 0.00017515086072006204,
89
+ "loss": 0.5686,
90
+ "mean_token_accuracy": 0.8607457420229911,
91
+ "num_tokens": 8744615.0,
92
+ "step": 800
93
+ },
94
+ {
95
+ "epoch": 1.035693724812896,
96
+ "grad_norm": 0.5326582193374634,
97
+ "learning_rate": 0.00016566988726928513,
98
+ "loss": 0.4839,
99
+ "mean_token_accuracy": 0.8808494515754469,
100
+ "num_tokens": 9970557.0,
101
+ "step": 900
102
+ },
103
+ {
104
+ "epoch": 1.1508347725964305,
105
+ "grad_norm": 0.4671792984008789,
106
+ "learning_rate": 0.00015501303951322943,
107
+ "loss": 0.3661,
108
+ "mean_token_accuracy": 0.9074703624844551,
109
+ "num_tokens": 11066568.0,
110
+ "step": 1000
111
+ },
112
+ {
113
+ "epoch": 1.1508347725964305,
114
+ "eval_loss": 0.45590558648109436,
115
+ "eval_mean_token_accuracy": 0.8906251050030012,
116
+ "eval_num_tokens": 11066568.0,
117
+ "eval_runtime": 306.8528,
118
+ "eval_samples_per_second": 5.032,
119
+ "eval_steps_per_second": 0.629,
120
+ "step": 1000
121
+ },
122
+ {
123
+ "epoch": 1.2659758203799654,
124
+ "grad_norm": 0.4611320495605469,
125
+ "learning_rate": 0.00014337113723205126,
126
+ "loss": 0.3388,
127
+ "mean_token_accuracy": 0.9147270813584327,
128
+ "num_tokens": 12176252.0,
129
+ "step": 1100
130
+ },
131
+ {
132
+ "epoch": 1.3811168681635002,
133
+ "grad_norm": 0.42069104313850403,
134
+ "learning_rate": 0.00013095263843179028,
135
+ "loss": 0.344,
136
+ "mean_token_accuracy": 0.9144212803244591,
137
+ "num_tokens": 13271083.0,
138
+ "step": 1200
139
+ },
140
+ {
141
+ "epoch": 1.496257915947035,
142
+ "grad_norm": 0.43885448575019836,
143
+ "learning_rate": 0.00011797990672926652,
144
+ "loss": 0.3113,
145
+ "mean_token_accuracy": 0.9220940816402435,
146
+ "num_tokens": 14373197.0,
147
+ "step": 1300
148
+ },
149
+ {
150
+ "epoch": 1.61139896373057,
151
+ "grad_norm": 0.5047752261161804,
152
+ "learning_rate": 0.00010468522974537567,
153
+ "loss": 0.2908,
154
+ "mean_token_accuracy": 0.9272545880079269,
155
+ "num_tokens": 15460103.0,
156
+ "step": 1400
157
+ },
158
+ {
159
+ "epoch": 1.7265400115141047,
160
+ "grad_norm": 0.3801999092102051,
161
+ "learning_rate": 9.130665980078394e-05,
162
+ "loss": 0.2823,
163
+ "mean_token_accuracy": 0.9301936921477317,
164
+ "num_tokens": 16540203.0,
165
+ "step": 1500
166
+ },
167
+ {
168
+ "epoch": 1.7265400115141047,
169
+ "eval_loss": 0.3469921350479126,
170
+ "eval_mean_token_accuracy": 0.9182450598385667,
171
+ "eval_num_tokens": 16540203.0,
172
+ "eval_runtime": 310.1365,
173
+ "eval_samples_per_second": 4.978,
174
+ "eval_steps_per_second": 0.622,
175
+ "step": 1500
176
+ },
177
+ {
178
+ "epoch": 1.8416810592976396,
179
+ "grad_norm": 0.41168808937072754,
180
+ "learning_rate": 7.808375138984745e-05,
181
+ "loss": 0.2729,
182
+ "mean_token_accuracy": 0.9327569490671158,
183
+ "num_tokens": 17625604.0,
184
+ "step": 1600
185
+ },
186
+ {
187
+ "epoch": 1.9568221070811744,
188
+ "grad_norm": 0.4168139696121216,
189
+ "learning_rate": 6.525327175685459e-05,
190
+ "loss": 0.2591,
191
+ "mean_token_accuracy": 0.9357017540931701,
192
+ "num_tokens": 18719464.0,
193
+ "step": 1700
194
+ },
195
+ {
196
+ "epoch": 2.071387449625792,
197
+ "grad_norm": 0.22495295107364655,
198
+ "learning_rate": 5.304496138031373e-05,
199
+ "loss": 0.1956,
200
+ "mean_token_accuracy": 0.9510172521648694,
201
+ "num_tokens": 19754485.0,
202
+ "step": 1800
203
+ },
204
+ {
205
+ "epoch": 2.186528497409326,
206
+ "grad_norm": 0.2736496925354004,
207
+ "learning_rate": 4.167742027736482e-05,
208
+ "loss": 0.135,
209
+ "mean_token_accuracy": 0.965629848241806,
210
+ "num_tokens": 20878454.0,
211
+ "step": 1900
212
+ },
213
+ {
214
+ "epoch": 2.301669545192861,
215
+ "grad_norm": 0.34078171849250793,
216
+ "learning_rate": 3.135419378747742e-05,
217
+ "loss": 0.143,
218
+ "mean_token_accuracy": 0.9637280520796776,
219
+ "num_tokens": 21951661.0,
220
+ "step": 2000
221
+ },
222
+ {
223
+ "epoch": 2.301669545192861,
224
+ "eval_loss": 0.3021264672279358,
225
+ "eval_mean_token_accuracy": 0.9326782566278092,
226
+ "eval_num_tokens": 21951661.0,
227
+ "eval_runtime": 312.4848,
228
+ "eval_samples_per_second": 4.941,
229
+ "eval_steps_per_second": 0.618,
230
+ "step": 2000
231
+ },
232
+ {
233
+ "epoch": 2.416810592976396,
234
+ "grad_norm": 0.14779242873191833,
235
+ "learning_rate": 2.226012792275538e-05,
236
+ "loss": 0.1299,
237
+ "mean_token_accuracy": 0.9666420239210128,
238
+ "num_tokens": 23058399.0,
239
+ "step": 2100
240
+ },
241
+ {
242
+ "epoch": 2.5319516407599307,
243
+ "grad_norm": 0.3154066205024719,
244
+ "learning_rate": 1.4558059545351143e-05,
245
+ "loss": 0.1277,
246
+ "mean_token_accuracy": 0.9673530218005181,
247
+ "num_tokens": 24145106.0,
248
+ "step": 2200
249
+ },
250
+ {
251
+ "epoch": 2.6470926885434656,
252
+ "grad_norm": 0.08525609970092773,
253
+ "learning_rate": 8.385900637134792e-06,
254
+ "loss": 0.1217,
255
+ "mean_token_accuracy": 0.9690280255675315,
256
+ "num_tokens": 25236643.0,
257
+ "step": 2300
258
+ },
259
+ {
260
+ "epoch": 2.7622337363270004,
261
+ "grad_norm": 0.19921287894248962,
262
+ "learning_rate": 3.85416887020934e-06,
263
+ "loss": 0.1231,
264
+ "mean_token_accuracy": 0.968916532099247,
265
+ "num_tokens": 26325767.0,
266
+ "step": 2400
267
+ },
268
+ {
269
+ "epoch": 2.8773747841105353,
270
+ "grad_norm": 0.20387212932109833,
271
+ "learning_rate": 1.0440086954749517e-06,
272
+ "loss": 0.126,
273
+ "mean_token_accuracy": 0.9682393565773963,
274
+ "num_tokens": 27420027.0,
275
+ "step": 2500
276
+ },
277
+ {
278
+ "epoch": 2.8773747841105353,
279
+ "eval_loss": 0.2886062562465668,
280
+ "eval_mean_token_accuracy": 0.9371568486480515,
281
+ "eval_num_tokens": 27420027.0,
282
+ "eval_runtime": 316.1812,
283
+ "eval_samples_per_second": 4.883,
284
+ "eval_steps_per_second": 0.61,
285
+ "step": 2500
286
+ },
287
+ {
288
+ "epoch": 2.99251583189407,
289
+ "grad_norm": 0.4021274745464325,
290
+ "learning_rate": 5.738383307818396e-09,
291
+ "loss": 0.1217,
292
+ "mean_token_accuracy": 0.968946205675602,
293
+ "num_tokens": 28489936.0,
294
+ "step": 2600
295
+ }
296
+ ],
297
+ "logging_steps": 100,
298
+ "max_steps": 2607,
299
+ "num_input_tokens_seen": 0,
300
+ "num_train_epochs": 3,
301
+ "save_steps": 500,
302
+ "stateful_callbacks": {
303
+ "TrainerControl": {
304
+ "args": {
305
+ "should_epoch_stop": false,
306
+ "should_evaluate": false,
307
+ "should_log": false,
308
+ "should_save": true,
309
+ "should_training_stop": true
310
+ },
311
+ "attributes": {}
312
+ }
313
+ },
314
+ "total_flos": 1.3334371241058632e+18,
315
+ "train_batch_size": 8,
316
+ "trial_name": null,
317
+ "trial_params": null
318
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87d1453f82e2f2b552eda9ec3872b8912717e378a5cbdacc5b4554cd4d830892
3
+ size 6097
vocab.json ADDED
The diff for this file is too large to render. See raw diff