maidacundo commited on
Commit
a93d8a9
·
verified ·
1 Parent(s): 8a3ac90

Initial commit

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,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Qwen3-8B-unsloth-bnb-4bit
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.15.2
adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/Qwen3-8B-unsloth-bnb-4bit",
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,
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
+ "o_proj",
28
+ "down_proj",
29
+ "k_proj",
30
+ "gate_proj",
31
+ "q_proj",
32
+ "v_proj",
33
+ "up_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:59f82436af12fc71af215ca7edbb16a0c46af8f63646f5aeb20fd06c0071b887
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,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 forward_message in messages %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- set message = messages[index] %}
21
+ {%- set tool_start = '<tool_response>' %}
22
+ {%- set tool_start_length = tool_start|length %}
23
+ {%- set start_of_message = message.content[:tool_start_length] %}
24
+ {%- set tool_end = '</tool_response>' %}
25
+ {%- set tool_end_length = tool_end|length %}
26
+ {%- set start_pos = (message.content|length) - tool_end_length %}
27
+ {%- if start_pos < 0 %}
28
+ {%- set start_pos = 0 %}
29
+ {%- endif %}
30
+ {%- set end_of_message = message.content[start_pos:] %}
31
+ {%- if ns.multi_step_tool and message.role == "user" and not(start_of_message == tool_start and end_of_message == tool_end) %}
32
+ {%- set ns.multi_step_tool = false %}
33
+ {%- set ns.last_query_index = index %}
34
+ {%- endif %}
35
+ {%- endfor %}
36
+ {%- for message in messages %}
37
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
38
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
39
+ {%- elif message.role == "assistant" %}
40
+ {%- set content = message.content %}
41
+ {%- set reasoning_content = '' %}
42
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
43
+ {%- set reasoning_content = message.reasoning_content %}
44
+ {%- else %}
45
+ {%- if '</think>' in message.content %}
46
+ {%- set content = (message.content.split('</think>')|last).lstrip('\n') %}
47
+ {%- set reasoning_content = (message.content.split('</think>')|first).rstrip('\n') %}
48
+ {%- set reasoning_content = (reasoning_content.split('<think>')|last).lstrip('\n') %}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- if loop.index0 > ns.last_query_index %}
52
+ {%- if loop.last or (not loop.last and reasoning_content) %}
53
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
54
+ {%- else %}
55
+ {{- '<|im_start|>' + message.role + '\n' + content }}
56
+ {%- endif %}
57
+ {%- else %}
58
+ {{- '<|im_start|>' + message.role + '\n' + content }}
59
+ {%- endif %}
60
+ {%- if message.tool_calls %}
61
+ {%- for tool_call in message.tool_calls %}
62
+ {%- if (loop.first and content) or (not loop.first) %}
63
+ {{- '\n' }}
64
+ {%- endif %}
65
+ {%- if tool_call.function %}
66
+ {%- set tool_call = tool_call.function %}
67
+ {%- endif %}
68
+ {{- '<tool_call>\n{"name": "' }}
69
+ {{- tool_call.name }}
70
+ {{- '", "arguments": ' }}
71
+ {%- if tool_call.arguments is string %}
72
+ {{- tool_call.arguments }}
73
+ {%- else %}
74
+ {{- tool_call.arguments | tojson }}
75
+ {%- endif %}
76
+ {{- '}\n</tool_call>' }}
77
+ {%- endfor %}
78
+ {%- endif %}
79
+ {{- '<|im_end|>\n' }}
80
+ {%- elif message.role == "tool" %}
81
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
82
+ {{- '<|im_start|>user' }}
83
+ {%- endif %}
84
+ {{- '\n<tool_response>\n' }}
85
+ {{- message.content }}
86
+ {{- '\n</tool_response>' }}
87
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
88
+ {{- '<|im_end|>\n' }}
89
+ {%- endif %}
90
+ {%- endif %}
91
+ {%- endfor %}
92
+ {%- if add_generation_prompt %}
93
+ {{- '<|im_start|>assistant\n' }}
94
+ {%- if enable_thinking is defined and enable_thinking is false %}
95
+ {{- '<think>\n\n</think>\n\n' }}
96
+ {%- endif %}
97
+ {%- 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": "<|vision_pad|>",
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,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": 40960,
235
+ "pad_token": "<|vision_pad|>",
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,459 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 5.0,
6
+ "eval_steps": 500,
7
+ "global_step": 55,
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.09090909090909091,
14
+ "grad_norm": 1.070624828338623,
15
+ "learning_rate": 0.0,
16
+ "loss": 0.7626,
17
+ "step": 1
18
+ },
19
+ {
20
+ "epoch": 0.18181818181818182,
21
+ "grad_norm": 0.9831520915031433,
22
+ "learning_rate": 4e-05,
23
+ "loss": 0.7242,
24
+ "step": 2
25
+ },
26
+ {
27
+ "epoch": 0.2727272727272727,
28
+ "grad_norm": 0.7829601764678955,
29
+ "learning_rate": 8e-05,
30
+ "loss": 0.5794,
31
+ "step": 3
32
+ },
33
+ {
34
+ "epoch": 0.36363636363636365,
35
+ "grad_norm": 0.31628650426864624,
36
+ "learning_rate": 0.00012,
37
+ "loss": 0.5154,
38
+ "step": 4
39
+ },
40
+ {
41
+ "epoch": 0.45454545454545453,
42
+ "grad_norm": 0.309953510761261,
43
+ "learning_rate": 0.00016,
44
+ "loss": 0.616,
45
+ "step": 5
46
+ },
47
+ {
48
+ "epoch": 0.5454545454545454,
49
+ "grad_norm": 0.1615966409444809,
50
+ "learning_rate": 0.0002,
51
+ "loss": 0.429,
52
+ "step": 6
53
+ },
54
+ {
55
+ "epoch": 0.6363636363636364,
56
+ "grad_norm": 0.1463690847158432,
57
+ "learning_rate": 0.0001980952380952381,
58
+ "loss": 0.461,
59
+ "step": 7
60
+ },
61
+ {
62
+ "epoch": 0.7272727272727273,
63
+ "grad_norm": 0.17461100220680237,
64
+ "learning_rate": 0.0001961904761904762,
65
+ "loss": 0.4891,
66
+ "step": 8
67
+ },
68
+ {
69
+ "epoch": 0.8181818181818182,
70
+ "grad_norm": 0.191355898976326,
71
+ "learning_rate": 0.0001942857142857143,
72
+ "loss": 0.5372,
73
+ "step": 9
74
+ },
75
+ {
76
+ "epoch": 0.9090909090909091,
77
+ "grad_norm": 0.13701273500919342,
78
+ "learning_rate": 0.0001923809523809524,
79
+ "loss": 0.451,
80
+ "step": 10
81
+ },
82
+ {
83
+ "epoch": 1.0,
84
+ "grad_norm": 0.1284806877374649,
85
+ "learning_rate": 0.00019047619047619048,
86
+ "loss": 0.4147,
87
+ "step": 11
88
+ },
89
+ {
90
+ "epoch": 1.0,
91
+ "eval_loss": 0.45880159735679626,
92
+ "eval_runtime": 39.2968,
93
+ "eval_samples_per_second": 0.254,
94
+ "eval_steps_per_second": 0.076,
95
+ "step": 11
96
+ },
97
+ {
98
+ "epoch": 1.0909090909090908,
99
+ "grad_norm": 0.09295688569545746,
100
+ "learning_rate": 0.00018857142857142857,
101
+ "loss": 0.4816,
102
+ "step": 12
103
+ },
104
+ {
105
+ "epoch": 1.1818181818181819,
106
+ "grad_norm": 0.08862733095884323,
107
+ "learning_rate": 0.0001866666666666667,
108
+ "loss": 0.3601,
109
+ "step": 13
110
+ },
111
+ {
112
+ "epoch": 1.2727272727272727,
113
+ "grad_norm": 0.10322526842355728,
114
+ "learning_rate": 0.00018476190476190478,
115
+ "loss": 0.4373,
116
+ "step": 14
117
+ },
118
+ {
119
+ "epoch": 1.3636363636363638,
120
+ "grad_norm": 0.13135984539985657,
121
+ "learning_rate": 0.00018285714285714286,
122
+ "loss": 0.5016,
123
+ "step": 15
124
+ },
125
+ {
126
+ "epoch": 1.4545454545454546,
127
+ "grad_norm": 0.07729604840278625,
128
+ "learning_rate": 0.00018095238095238095,
129
+ "loss": 0.3679,
130
+ "step": 16
131
+ },
132
+ {
133
+ "epoch": 1.5454545454545454,
134
+ "grad_norm": 0.07285865396261215,
135
+ "learning_rate": 0.00017904761904761907,
136
+ "loss": 0.4188,
137
+ "step": 17
138
+ },
139
+ {
140
+ "epoch": 1.6363636363636362,
141
+ "grad_norm": 0.07426489144563675,
142
+ "learning_rate": 0.00017714285714285713,
143
+ "loss": 0.3174,
144
+ "step": 18
145
+ },
146
+ {
147
+ "epoch": 1.7272727272727273,
148
+ "grad_norm": 0.09120316058397293,
149
+ "learning_rate": 0.00017523809523809525,
150
+ "loss": 0.4281,
151
+ "step": 19
152
+ },
153
+ {
154
+ "epoch": 1.8181818181818183,
155
+ "grad_norm": 0.09784834831953049,
156
+ "learning_rate": 0.00017333333333333334,
157
+ "loss": 0.4432,
158
+ "step": 20
159
+ },
160
+ {
161
+ "epoch": 1.9090909090909092,
162
+ "grad_norm": 0.11803670227527618,
163
+ "learning_rate": 0.00017142857142857143,
164
+ "loss": 0.3738,
165
+ "step": 21
166
+ },
167
+ {
168
+ "epoch": 2.0,
169
+ "grad_norm": 0.08695317804813385,
170
+ "learning_rate": 0.00016952380952380954,
171
+ "loss": 0.3316,
172
+ "step": 22
173
+ },
174
+ {
175
+ "epoch": 2.0,
176
+ "eval_loss": 0.40400582551956177,
177
+ "eval_runtime": 39.1622,
178
+ "eval_samples_per_second": 0.255,
179
+ "eval_steps_per_second": 0.077,
180
+ "step": 22
181
+ },
182
+ {
183
+ "epoch": 2.090909090909091,
184
+ "grad_norm": 0.09205956757068634,
185
+ "learning_rate": 0.00016761904761904763,
186
+ "loss": 0.3731,
187
+ "step": 23
188
+ },
189
+ {
190
+ "epoch": 2.1818181818181817,
191
+ "grad_norm": 0.10356198251247406,
192
+ "learning_rate": 0.00016571428571428575,
193
+ "loss": 0.3147,
194
+ "step": 24
195
+ },
196
+ {
197
+ "epoch": 2.2727272727272725,
198
+ "grad_norm": 0.08331657946109772,
199
+ "learning_rate": 0.0001638095238095238,
200
+ "loss": 0.3434,
201
+ "step": 25
202
+ },
203
+ {
204
+ "epoch": 2.3636363636363638,
205
+ "grad_norm": 0.07340829074382782,
206
+ "learning_rate": 0.00016190476190476192,
207
+ "loss": 0.2904,
208
+ "step": 26
209
+ },
210
+ {
211
+ "epoch": 2.4545454545454546,
212
+ "grad_norm": 0.08551250398159027,
213
+ "learning_rate": 0.00016,
214
+ "loss": 0.4841,
215
+ "step": 27
216
+ },
217
+ {
218
+ "epoch": 2.5454545454545454,
219
+ "grad_norm": 0.11655844002962112,
220
+ "learning_rate": 0.0001580952380952381,
221
+ "loss": 0.3607,
222
+ "step": 28
223
+ },
224
+ {
225
+ "epoch": 2.6363636363636362,
226
+ "grad_norm": 0.08382589370012283,
227
+ "learning_rate": 0.0001561904761904762,
228
+ "loss": 0.3447,
229
+ "step": 29
230
+ },
231
+ {
232
+ "epoch": 2.7272727272727275,
233
+ "grad_norm": 0.09444098174571991,
234
+ "learning_rate": 0.0001542857142857143,
235
+ "loss": 0.2912,
236
+ "step": 30
237
+ },
238
+ {
239
+ "epoch": 2.8181818181818183,
240
+ "grad_norm": 0.09116854518651962,
241
+ "learning_rate": 0.00015238095238095237,
242
+ "loss": 0.331,
243
+ "step": 31
244
+ },
245
+ {
246
+ "epoch": 2.909090909090909,
247
+ "grad_norm": 0.10487959533929825,
248
+ "learning_rate": 0.00015047619047619048,
249
+ "loss": 0.3332,
250
+ "step": 32
251
+ },
252
+ {
253
+ "epoch": 3.0,
254
+ "grad_norm": 0.11217343807220459,
255
+ "learning_rate": 0.00014857142857142857,
256
+ "loss": 0.3098,
257
+ "step": 33
258
+ },
259
+ {
260
+ "epoch": 3.0,
261
+ "eval_loss": 0.38739213347435,
262
+ "eval_runtime": 39.2674,
263
+ "eval_samples_per_second": 0.255,
264
+ "eval_steps_per_second": 0.076,
265
+ "step": 33
266
+ },
267
+ {
268
+ "epoch": 3.090909090909091,
269
+ "grad_norm": 0.09501893073320389,
270
+ "learning_rate": 0.00014666666666666666,
271
+ "loss": 0.2995,
272
+ "step": 34
273
+ },
274
+ {
275
+ "epoch": 3.1818181818181817,
276
+ "grad_norm": 0.08058986067771912,
277
+ "learning_rate": 0.00014476190476190475,
278
+ "loss": 0.2677,
279
+ "step": 35
280
+ },
281
+ {
282
+ "epoch": 3.2727272727272725,
283
+ "grad_norm": 0.10090593993663788,
284
+ "learning_rate": 0.00014285714285714287,
285
+ "loss": 0.2199,
286
+ "step": 36
287
+ },
288
+ {
289
+ "epoch": 3.3636363636363638,
290
+ "grad_norm": 0.10948203504085541,
291
+ "learning_rate": 0.00014095238095238096,
292
+ "loss": 0.3718,
293
+ "step": 37
294
+ },
295
+ {
296
+ "epoch": 3.4545454545454546,
297
+ "grad_norm": 0.13203826546669006,
298
+ "learning_rate": 0.00013904761904761905,
299
+ "loss": 0.3091,
300
+ "step": 38
301
+ },
302
+ {
303
+ "epoch": 3.5454545454545454,
304
+ "grad_norm": 0.09137402474880219,
305
+ "learning_rate": 0.00013714285714285716,
306
+ "loss": 0.2414,
307
+ "step": 39
308
+ },
309
+ {
310
+ "epoch": 3.6363636363636362,
311
+ "grad_norm": 0.11081562936306,
312
+ "learning_rate": 0.00013523809523809525,
313
+ "loss": 0.375,
314
+ "step": 40
315
+ },
316
+ {
317
+ "epoch": 3.7272727272727275,
318
+ "grad_norm": 0.10613719373941422,
319
+ "learning_rate": 0.00013333333333333334,
320
+ "loss": 0.3239,
321
+ "step": 41
322
+ },
323
+ {
324
+ "epoch": 3.8181818181818183,
325
+ "grad_norm": 0.10095342248678207,
326
+ "learning_rate": 0.00013142857142857143,
327
+ "loss": 0.2252,
328
+ "step": 42
329
+ },
330
+ {
331
+ "epoch": 3.909090909090909,
332
+ "grad_norm": 0.08914203196763992,
333
+ "learning_rate": 0.00012952380952380954,
334
+ "loss": 0.2993,
335
+ "step": 43
336
+ },
337
+ {
338
+ "epoch": 4.0,
339
+ "grad_norm": 0.12252973020076752,
340
+ "learning_rate": 0.0001276190476190476,
341
+ "loss": 0.3417,
342
+ "step": 44
343
+ },
344
+ {
345
+ "epoch": 4.0,
346
+ "eval_loss": 0.3836926817893982,
347
+ "eval_runtime": 39.1896,
348
+ "eval_samples_per_second": 0.255,
349
+ "eval_steps_per_second": 0.077,
350
+ "step": 44
351
+ },
352
+ {
353
+ "epoch": 4.090909090909091,
354
+ "grad_norm": 0.11980698257684708,
355
+ "learning_rate": 0.00012571428571428572,
356
+ "loss": 0.193,
357
+ "step": 45
358
+ },
359
+ {
360
+ "epoch": 4.181818181818182,
361
+ "grad_norm": 0.09869342297315598,
362
+ "learning_rate": 0.0001238095238095238,
363
+ "loss": 0.2565,
364
+ "step": 46
365
+ },
366
+ {
367
+ "epoch": 4.2727272727272725,
368
+ "grad_norm": 0.09479415416717529,
369
+ "learning_rate": 0.00012190476190476193,
370
+ "loss": 0.2994,
371
+ "step": 47
372
+ },
373
+ {
374
+ "epoch": 4.363636363636363,
375
+ "grad_norm": 0.10511503368616104,
376
+ "learning_rate": 0.00012,
377
+ "loss": 0.2292,
378
+ "step": 48
379
+ },
380
+ {
381
+ "epoch": 4.454545454545454,
382
+ "grad_norm": 0.13262790441513062,
383
+ "learning_rate": 0.0001180952380952381,
384
+ "loss": 0.2109,
385
+ "step": 49
386
+ },
387
+ {
388
+ "epoch": 4.545454545454545,
389
+ "grad_norm": 0.11008288711309433,
390
+ "learning_rate": 0.00011619047619047621,
391
+ "loss": 0.29,
392
+ "step": 50
393
+ },
394
+ {
395
+ "epoch": 4.636363636363637,
396
+ "grad_norm": 0.13060064613819122,
397
+ "learning_rate": 0.00011428571428571428,
398
+ "loss": 0.2829,
399
+ "step": 51
400
+ },
401
+ {
402
+ "epoch": 4.7272727272727275,
403
+ "grad_norm": 0.09791048616170883,
404
+ "learning_rate": 0.00011238095238095239,
405
+ "loss": 0.2563,
406
+ "step": 52
407
+ },
408
+ {
409
+ "epoch": 4.818181818181818,
410
+ "grad_norm": 0.12502214312553406,
411
+ "learning_rate": 0.00011047619047619049,
412
+ "loss": 0.2749,
413
+ "step": 53
414
+ },
415
+ {
416
+ "epoch": 4.909090909090909,
417
+ "grad_norm": 0.10169652104377747,
418
+ "learning_rate": 0.00010857142857142856,
419
+ "loss": 0.2413,
420
+ "step": 54
421
+ },
422
+ {
423
+ "epoch": 5.0,
424
+ "grad_norm": 0.15615105628967285,
425
+ "learning_rate": 0.00010666666666666667,
426
+ "loss": 0.2403,
427
+ "step": 55
428
+ },
429
+ {
430
+ "epoch": 5.0,
431
+ "eval_loss": 0.3874254822731018,
432
+ "eval_runtime": 39.3603,
433
+ "eval_samples_per_second": 0.254,
434
+ "eval_steps_per_second": 0.076,
435
+ "step": 55
436
+ }
437
+ ],
438
+ "logging_steps": 1,
439
+ "max_steps": 110,
440
+ "num_input_tokens_seen": 0,
441
+ "num_train_epochs": 10,
442
+ "save_steps": 500,
443
+ "stateful_callbacks": {
444
+ "TrainerControl": {
445
+ "args": {
446
+ "should_epoch_stop": false,
447
+ "should_evaluate": false,
448
+ "should_log": false,
449
+ "should_save": true,
450
+ "should_training_stop": false
451
+ },
452
+ "attributes": {}
453
+ }
454
+ },
455
+ "total_flos": 2.984168087767511e+17,
456
+ "train_batch_size": 4,
457
+ "trial_name": null,
458
+ "trial_params": null
459
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f96438a71b4c9161972c0637b65343a083dbf4e84d013f85b6f0a56eafa8a1b4
3
+ size 6161
vocab.json ADDED
The diff for this file is too large to render. See raw diff