abdo-Mansour commited on
Commit
31355c4
·
verified ·
1 Parent(s): 1bfddb9

Upload folder using huggingface_hub

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,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen3-0.6B
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen3-0.6B
7
+ - llama-factory
8
+ - lora
9
+ - transformers
10
+ ---
11
+
12
+ # Model Card for Model ID
13
+
14
+ <!-- Provide a quick summary of what the model is/does. -->
15
+
16
+
17
+
18
+ ## Model Details
19
+
20
+ ### Model Description
21
+
22
+ <!-- Provide a longer summary of what this model is. -->
23
+
24
+
25
+
26
+ - **Developed by:** [More Information Needed]
27
+ - **Funded by [optional]:** [More Information Needed]
28
+ - **Shared by [optional]:** [More Information Needed]
29
+ - **Model type:** [More Information Needed]
30
+ - **Language(s) (NLP):** [More Information Needed]
31
+ - **License:** [More Information Needed]
32
+ - **Finetuned from model [optional]:** [More Information Needed]
33
+
34
+ ### Model Sources [optional]
35
+
36
+ <!-- Provide the basic links for the model. -->
37
+
38
+ - **Repository:** [More Information Needed]
39
+ - **Paper [optional]:** [More Information Needed]
40
+ - **Demo [optional]:** [More Information Needed]
41
+
42
+ ## Uses
43
+
44
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
45
+
46
+ ### Direct Use
47
+
48
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Downstream Use [optional]
53
+
54
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
55
+
56
+ [More Information Needed]
57
+
58
+ ### Out-of-Scope Use
59
+
60
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ## Bias, Risks, and Limitations
65
+
66
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
67
+
68
+ [More Information Needed]
69
+
70
+ ### Recommendations
71
+
72
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
73
+
74
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
75
+
76
+ ## How to Get Started with the Model
77
+
78
+ Use the code below to get started with the model.
79
+
80
+ [More Information Needed]
81
+
82
+ ## Training Details
83
+
84
+ ### Training Data
85
+
86
+ <!-- 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. -->
87
+
88
+ [More Information Needed]
89
+
90
+ ### Training Procedure
91
+
92
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
93
+
94
+ #### Preprocessing [optional]
95
+
96
+ [More Information Needed]
97
+
98
+
99
+ #### Training Hyperparameters
100
+
101
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
102
+
103
+ #### Speeds, Sizes, Times [optional]
104
+
105
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
106
+
107
+ [More Information Needed]
108
+
109
+ ## Evaluation
110
+
111
+ <!-- This section describes the evaluation protocols and provides the results. -->
112
+
113
+ ### Testing Data, Factors & Metrics
114
+
115
+ #### Testing Data
116
+
117
+ <!-- This should link to a Dataset Card if possible. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Factors
122
+
123
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
124
+
125
+ [More Information Needed]
126
+
127
+ #### Metrics
128
+
129
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
130
+
131
+ [More Information Needed]
132
+
133
+ ### Results
134
+
135
+ [More Information Needed]
136
+
137
+ #### Summary
138
+
139
+
140
+
141
+ ## Model Examination [optional]
142
+
143
+ <!-- Relevant interpretability work for the model goes here -->
144
+
145
+ [More Information Needed]
146
+
147
+ ## Environmental Impact
148
+
149
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
150
+
151
+ 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).
152
+
153
+ - **Hardware Type:** [More Information Needed]
154
+ - **Hours used:** [More Information Needed]
155
+ - **Cloud Provider:** [More Information Needed]
156
+ - **Compute Region:** [More Information Needed]
157
+ - **Carbon Emitted:** [More Information Needed]
158
+
159
+ ## Technical Specifications [optional]
160
+
161
+ ### Model Architecture and Objective
162
+
163
+ [More Information Needed]
164
+
165
+ ### Compute Infrastructure
166
+
167
+ [More Information Needed]
168
+
169
+ #### Hardware
170
+
171
+ [More Information Needed]
172
+
173
+ #### Software
174
+
175
+ [More Information Needed]
176
+
177
+ ## Citation [optional]
178
+
179
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
180
+
181
+ **BibTeX:**
182
+
183
+ [More Information Needed]
184
+
185
+ **APA:**
186
+
187
+ [More Information Needed]
188
+
189
+ ## Glossary [optional]
190
+
191
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
192
+
193
+ [More Information Needed]
194
+
195
+ ## More Information [optional]
196
+
197
+ [More Information Needed]
198
+
199
+ ## Model Card Authors [optional]
200
+
201
+ [More Information Needed]
202
+
203
+ ## Model Card Contact
204
+
205
+ [More Information Needed]
206
+ ### Framework versions
207
+
208
+ - PEFT 0.17.1
adapter_config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen3-0.6B",
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": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
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
+ "v_proj",
32
+ "o_proj",
33
+ "down_proj",
34
+ "q_proj"
35
+ ],
36
+ "target_parameters": null,
37
+ "task_type": "CAUSAL_LM",
38
+ "trainable_token_indices": null,
39
+ "use_dora": false,
40
+ "use_qalora": false,
41
+ "use_rslora": true
42
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f4bc71636aca18e206054b352704e8f3a7450395db6fb5d8215648186f43d04
3
+ size 161533160
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:88e6b753e419e9092dad768d0742a34ba2886ebb8e032d34561d57546688d295
3
+ size 323292202
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:594c9f8b4bafe4f8c7c0b5afd9191e5cb90e136ab2d808c146fa45308dbef310
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ff1061c5bdeb11c4c38e360f441dc47630b321d7a3cd172e05e907c6dc028ee
3
+ size 1064
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,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,428 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 150,
3
+ "best_metric": 0.09639734774827957,
4
+ "best_model_checkpoint": "/workspace/Paper/Llama-Factory-out-FINAL/checkpoint-150",
5
+ "epoch": 1.0,
6
+ "eval_steps": 50,
7
+ "global_step": 469,
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.021333333333333333,
14
+ "grad_norm": 6.965007305145264,
15
+ "learning_rate": 1.9148936170212767e-06,
16
+ "loss": 0.5826,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.042666666666666665,
21
+ "grad_norm": 8.343825340270996,
22
+ "learning_rate": 4.042553191489362e-06,
23
+ "loss": 0.221,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.064,
28
+ "grad_norm": 4.366076946258545,
29
+ "learning_rate": 6.170212765957447e-06,
30
+ "loss": 0.1193,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 0.08533333333333333,
35
+ "grad_norm": 6.206355571746826,
36
+ "learning_rate": 8.297872340425532e-06,
37
+ "loss": 0.0886,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 0.10666666666666667,
42
+ "grad_norm": 5.6667680740356445,
43
+ "learning_rate": 9.99944579961847e-06,
44
+ "loss": 0.0802,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 0.10666666666666667,
49
+ "eval_loss": 0.10694650560617447,
50
+ "eval_runtime": 97.3131,
51
+ "eval_samples_per_second": 10.276,
52
+ "eval_steps_per_second": 1.028,
53
+ "step": 50
54
+ },
55
+ {
56
+ "epoch": 0.128,
57
+ "grad_norm": 4.066320419311523,
58
+ "learning_rate": 9.980061683013594e-06,
59
+ "loss": 0.0673,
60
+ "step": 60
61
+ },
62
+ {
63
+ "epoch": 0.14933333333333335,
64
+ "grad_norm": 5.067573547363281,
65
+ "learning_rate": 9.93309028019428e-06,
66
+ "loss": 0.0708,
67
+ "step": 70
68
+ },
69
+ {
70
+ "epoch": 0.17066666666666666,
71
+ "grad_norm": 3.1410481929779053,
72
+ "learning_rate": 9.858791791458431e-06,
73
+ "loss": 0.048,
74
+ "step": 80
75
+ },
76
+ {
77
+ "epoch": 0.192,
78
+ "grad_norm": 3.2491090297698975,
79
+ "learning_rate": 9.757577796783268e-06,
80
+ "loss": 0.0558,
81
+ "step": 90
82
+ },
83
+ {
84
+ "epoch": 0.21333333333333335,
85
+ "grad_norm": 1.984602451324463,
86
+ "learning_rate": 9.630008975858667e-06,
87
+ "loss": 0.0405,
88
+ "step": 100
89
+ },
90
+ {
91
+ "epoch": 0.21333333333333335,
92
+ "eval_loss": 0.11375788599252701,
93
+ "eval_runtime": 96.5254,
94
+ "eval_samples_per_second": 10.36,
95
+ "eval_steps_per_second": 1.036,
96
+ "step": 100
97
+ },
98
+ {
99
+ "epoch": 0.23466666666666666,
100
+ "grad_norm": 4.064432621002197,
101
+ "learning_rate": 9.476792002175621e-06,
102
+ "loss": 0.0487,
103
+ "step": 110
104
+ },
105
+ {
106
+ "epoch": 0.256,
107
+ "grad_norm": 4.923866271972656,
108
+ "learning_rate": 9.29877562837515e-06,
109
+ "loss": 0.0341,
110
+ "step": 120
111
+ },
112
+ {
113
+ "epoch": 0.2773333333333333,
114
+ "grad_norm": 4.464139938354492,
115
+ "learning_rate": 9.096945984543082e-06,
116
+ "loss": 0.0377,
117
+ "step": 130
118
+ },
119
+ {
120
+ "epoch": 0.2986666666666667,
121
+ "grad_norm": 4.207685470581055,
122
+ "learning_rate": 8.872421115495996e-06,
123
+ "loss": 0.0301,
124
+ "step": 140
125
+ },
126
+ {
127
+ "epoch": 0.32,
128
+ "grad_norm": 3.483502149581909,
129
+ "learning_rate": 8.62644478731932e-06,
130
+ "loss": 0.0456,
131
+ "step": 150
132
+ },
133
+ {
134
+ "epoch": 0.32,
135
+ "eval_loss": 0.09639734774827957,
136
+ "eval_runtime": 96.7578,
137
+ "eval_samples_per_second": 10.335,
138
+ "eval_steps_per_second": 1.034,
139
+ "step": 150
140
+ },
141
+ {
142
+ "epoch": 0.3413333333333333,
143
+ "grad_norm": 2.220848321914673,
144
+ "learning_rate": 8.360379597466519e-06,
145
+ "loss": 0.0333,
146
+ "step": 160
147
+ },
148
+ {
149
+ "epoch": 0.3626666666666667,
150
+ "grad_norm": 0.7694166302680969,
151
+ "learning_rate": 8.075699426586345e-06,
152
+ "loss": 0.0356,
153
+ "step": 170
154
+ },
155
+ {
156
+ "epoch": 0.384,
157
+ "grad_norm": 0.7014467120170593,
158
+ "learning_rate": 7.773981273891563e-06,
159
+ "loss": 0.0296,
160
+ "step": 180
161
+ },
162
+ {
163
+ "epoch": 0.4053333333333333,
164
+ "grad_norm": 11.522379875183105,
165
+ "learning_rate": 7.456896521297554e-06,
166
+ "loss": 0.0287,
167
+ "step": 190
168
+ },
169
+ {
170
+ "epoch": 0.4266666666666667,
171
+ "grad_norm": 3.0580711364746094,
172
+ "learning_rate": 7.126201674723493e-06,
173
+ "loss": 0.0441,
174
+ "step": 200
175
+ },
176
+ {
177
+ "epoch": 0.4266666666666667,
178
+ "eval_loss": 0.10796768218278885,
179
+ "eval_runtime": 93.5705,
180
+ "eval_samples_per_second": 10.687,
181
+ "eval_steps_per_second": 1.069,
182
+ "step": 200
183
+ },
184
+ {
185
+ "epoch": 0.448,
186
+ "grad_norm": 1.6532104015350342,
187
+ "learning_rate": 6.783728633845076e-06,
188
+ "loss": 0.0355,
189
+ "step": 210
190
+ },
191
+ {
192
+ "epoch": 0.4693333333333333,
193
+ "grad_norm": 4.158193111419678,
194
+ "learning_rate": 6.431374544200013e-06,
195
+ "loss": 0.0393,
196
+ "step": 220
197
+ },
198
+ {
199
+ "epoch": 0.49066666666666664,
200
+ "grad_norm": 0.9233776926994324,
201
+ "learning_rate": 6.071091287860973e-06,
202
+ "loss": 0.0383,
203
+ "step": 230
204
+ },
205
+ {
206
+ "epoch": 0.512,
207
+ "grad_norm": 0.443118155002594,
208
+ "learning_rate": 5.7048746708929295e-06,
209
+ "loss": 0.0338,
210
+ "step": 240
211
+ },
212
+ {
213
+ "epoch": 0.5333333333333333,
214
+ "grad_norm": 0.7420737147331238,
215
+ "learning_rate": 5.33475336749147e-06,
216
+ "loss": 0.0268,
217
+ "step": 250
218
+ },
219
+ {
220
+ "epoch": 0.5333333333333333,
221
+ "eval_loss": 0.1099962517619133,
222
+ "eval_runtime": 94.2519,
223
+ "eval_samples_per_second": 10.61,
224
+ "eval_steps_per_second": 1.061,
225
+ "step": 250
226
+ },
227
+ {
228
+ "epoch": 0.5546666666666666,
229
+ "grad_norm": 6.573488235473633,
230
+ "learning_rate": 4.962777682046565e-06,
231
+ "loss": 0.0306,
232
+ "step": 260
233
+ },
234
+ {
235
+ "epoch": 0.576,
236
+ "grad_norm": 0.7128705382347107,
237
+ "learning_rate": 4.591008191384839e-06,
238
+ "loss": 0.033,
239
+ "step": 270
240
+ },
241
+ {
242
+ "epoch": 0.5973333333333334,
243
+ "grad_norm": 3.958656072616577,
244
+ "learning_rate": 4.221504330107204e-06,
245
+ "loss": 0.0334,
246
+ "step": 280
247
+ },
248
+ {
249
+ "epoch": 0.6186666666666667,
250
+ "grad_norm": 1.2071937322616577,
251
+ "learning_rate": 3.856312982253909e-06,
252
+ "loss": 0.0374,
253
+ "step": 290
254
+ },
255
+ {
256
+ "epoch": 0.64,
257
+ "grad_norm": 1.0882517099380493,
258
+ "learning_rate": 3.4974571424940008e-06,
259
+ "loss": 0.0352,
260
+ "step": 300
261
+ },
262
+ {
263
+ "epoch": 0.64,
264
+ "eval_loss": 0.11102046072483063,
265
+ "eval_runtime": 96.6838,
266
+ "eval_samples_per_second": 10.343,
267
+ "eval_steps_per_second": 1.034,
268
+ "step": 300
269
+ },
270
+ {
271
+ "epoch": 0.6613333333333333,
272
+ "grad_norm": 1.3209381103515625,
273
+ "learning_rate": 3.1469247096510893e-06,
274
+ "loss": 0.0344,
275
+ "step": 310
276
+ },
277
+ {
278
+ "epoch": 0.6826666666666666,
279
+ "grad_norm": 1.4569178819656372,
280
+ "learning_rate": 2.8066574746442044e-06,
281
+ "loss": 0.0298,
282
+ "step": 320
283
+ },
284
+ {
285
+ "epoch": 0.704,
286
+ "grad_norm": 1.3207861185073853,
287
+ "learning_rate": 2.4785403638455537e-06,
288
+ "loss": 0.0262,
289
+ "step": 330
290
+ },
291
+ {
292
+ "epoch": 0.7253333333333334,
293
+ "grad_norm": 1.223027229309082,
294
+ "learning_rate": 2.1643909974421167e-06,
295
+ "loss": 0.0366,
296
+ "step": 340
297
+ },
298
+ {
299
+ "epoch": 0.7466666666666667,
300
+ "grad_norm": 10.417492866516113,
301
+ "learning_rate": 1.8659496206430306e-06,
302
+ "loss": 0.0466,
303
+ "step": 350
304
+ },
305
+ {
306
+ "epoch": 0.7466666666666667,
307
+ "eval_loss": 0.11615587025880814,
308
+ "eval_runtime": 95.1488,
309
+ "eval_samples_per_second": 10.51,
310
+ "eval_steps_per_second": 1.051,
311
+ "step": 350
312
+ },
313
+ {
314
+ "epoch": 0.768,
315
+ "grad_norm": 0.6926187872886658,
316
+ "learning_rate": 1.58486946350929e-06,
317
+ "loss": 0.0332,
318
+ "step": 360
319
+ },
320
+ {
321
+ "epoch": 0.7893333333333333,
322
+ "grad_norm": 0.1623552292585373,
323
+ "learning_rate": 1.3227075828079833e-06,
324
+ "loss": 0.021,
325
+ "step": 370
326
+ },
327
+ {
328
+ "epoch": 0.8106666666666666,
329
+ "grad_norm": 1.2165261507034302,
330
+ "learning_rate": 1.0809162366229996e-06,
331
+ "loss": 0.0295,
332
+ "step": 380
333
+ },
334
+ {
335
+ "epoch": 0.832,
336
+ "grad_norm": 6.5908918380737305,
337
+ "learning_rate": 8.608348395029859e-07,
338
+ "loss": 0.0351,
339
+ "step": 390
340
+ },
341
+ {
342
+ "epoch": 0.8533333333333334,
343
+ "grad_norm": 0.6747581958770752,
344
+ "learning_rate": 6.636825427113719e-07,
345
+ "loss": 0.0308,
346
+ "step": 400
347
+ },
348
+ {
349
+ "epoch": 0.8533333333333334,
350
+ "eval_loss": 0.11269181966781616,
351
+ "eval_runtime": 95.2731,
352
+ "eval_samples_per_second": 10.496,
353
+ "eval_steps_per_second": 1.05,
354
+ "step": 400
355
+ },
356
+ {
357
+ "epoch": 0.8746666666666667,
358
+ "grad_norm": 1.3703091144561768,
359
+ "learning_rate": 4.905514806805456e-07,
360
+ "loss": 0.0304,
361
+ "step": 410
362
+ },
363
+ {
364
+ "epoch": 0.896,
365
+ "grad_norm": 0.5667533278465271,
366
+ "learning_rate": 3.424007210817248e-07,
367
+ "loss": 0.0307,
368
+ "step": 420
369
+ },
370
+ {
371
+ "epoch": 0.9173333333333333,
372
+ "grad_norm": 1.5054301023483276,
373
+ "learning_rate": 2.200509520244326e-07,
374
+ "loss": 0.0154,
375
+ "step": 430
376
+ },
377
+ {
378
+ "epoch": 0.9386666666666666,
379
+ "grad_norm": 2.8148467540740967,
380
+ "learning_rate": 1.2417993581606446e-07,
381
+ "loss": 0.0331,
382
+ "step": 440
383
+ },
384
+ {
385
+ "epoch": 0.96,
386
+ "grad_norm": 1.3720769882202148,
387
+ "learning_rate": 5.5318754465671366e-08,
388
+ "loss": 0.0315,
389
+ "step": 450
390
+ },
391
+ {
392
+ "epoch": 0.96,
393
+ "eval_loss": 0.1133466511964798,
394
+ "eval_runtime": 96.6743,
395
+ "eval_samples_per_second": 10.344,
396
+ "eval_steps_per_second": 1.034,
397
+ "step": 450
398
+ },
399
+ {
400
+ "epoch": 0.9813333333333333,
401
+ "grad_norm": 0.2468981146812439,
402
+ "learning_rate": 1.3848867730158477e-08,
403
+ "loss": 0.0265,
404
+ "step": 460
405
+ }
406
+ ],
407
+ "logging_steps": 10,
408
+ "max_steps": 469,
409
+ "num_input_tokens_seen": 0,
410
+ "num_train_epochs": 1,
411
+ "save_steps": 50,
412
+ "stateful_callbacks": {
413
+ "TrainerControl": {
414
+ "args": {
415
+ "should_epoch_stop": false,
416
+ "should_evaluate": false,
417
+ "should_log": false,
418
+ "should_save": true,
419
+ "should_training_stop": true
420
+ },
421
+ "attributes": {}
422
+ }
423
+ },
424
+ "total_flos": 1.6387352710191514e+17,
425
+ "train_batch_size": 8,
426
+ "trial_name": null,
427
+ "trial_params": null
428
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:baa9112fa51e361b8981fc3ea29debcf69c95f4e2cf1ba970726c766a3717fe6
3
+ size 6008
vocab.json ADDED
The diff for this file is too large to render. See raw diff