ajChakrarborty commited on
Commit
4578d6d
·
verified ·
1 Parent(s): 4ae4c27

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,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-14B-Instruct
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:Qwen/Qwen2.5-14B-Instruct
7
+ - lora
8
+ - transformers
9
+ ---
10
+
11
+ # Model Card for Model ID
12
+
13
+ <!-- Provide a quick summary of what the model is/does. -->
14
+
15
+
16
+
17
+ ## Model Details
18
+
19
+ ### Model Description
20
+
21
+ <!-- Provide a longer summary of what this model is. -->
22
+
23
+
24
+
25
+ - **Developed by:** [More Information Needed]
26
+ - **Funded by [optional]:** [More Information Needed]
27
+ - **Shared by [optional]:** [More Information Needed]
28
+ - **Model type:** [More Information Needed]
29
+ - **Language(s) (NLP):** [More Information Needed]
30
+ - **License:** [More Information Needed]
31
+ - **Finetuned from model [optional]:** [More Information Needed]
32
+
33
+ ### Model Sources [optional]
34
+
35
+ <!-- Provide the basic links for the model. -->
36
+
37
+ - **Repository:** [More Information Needed]
38
+ - **Paper [optional]:** [More Information Needed]
39
+ - **Demo [optional]:** [More Information Needed]
40
+
41
+ ## Uses
42
+
43
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
44
+
45
+ ### Direct Use
46
+
47
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
48
+
49
+ [More Information Needed]
50
+
51
+ ### Downstream Use [optional]
52
+
53
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
54
+
55
+ [More Information Needed]
56
+
57
+ ### Out-of-Scope Use
58
+
59
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
60
+
61
+ [More Information Needed]
62
+
63
+ ## Bias, Risks, and Limitations
64
+
65
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
66
+
67
+ [More Information Needed]
68
+
69
+ ### Recommendations
70
+
71
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
72
+
73
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
74
+
75
+ ## How to Get Started with the Model
76
+
77
+ Use the code below to get started with the model.
78
+
79
+ [More Information Needed]
80
+
81
+ ## Training Details
82
+
83
+ ### Training Data
84
+
85
+ <!-- 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. -->
86
+
87
+ [More Information Needed]
88
+
89
+ ### Training Procedure
90
+
91
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
92
+
93
+ #### Preprocessing [optional]
94
+
95
+ [More Information Needed]
96
+
97
+
98
+ #### Training Hyperparameters
99
+
100
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
101
+
102
+ #### Speeds, Sizes, Times [optional]
103
+
104
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
105
+
106
+ [More Information Needed]
107
+
108
+ ## Evaluation
109
+
110
+ <!-- This section describes the evaluation protocols and provides the results. -->
111
+
112
+ ### Testing Data, Factors & Metrics
113
+
114
+ #### Testing Data
115
+
116
+ <!-- This should link to a Dataset Card if possible. -->
117
+
118
+ [More Information Needed]
119
+
120
+ #### Factors
121
+
122
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
123
+
124
+ [More Information Needed]
125
+
126
+ #### Metrics
127
+
128
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
129
+
130
+ [More Information Needed]
131
+
132
+ ### Results
133
+
134
+ [More Information Needed]
135
+
136
+ #### Summary
137
+
138
+
139
+
140
+ ## Model Examination [optional]
141
+
142
+ <!-- Relevant interpretability work for the model goes here -->
143
+
144
+ [More Information Needed]
145
+
146
+ ## Environmental Impact
147
+
148
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
149
+
150
+ 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).
151
+
152
+ - **Hardware Type:** [More Information Needed]
153
+ - **Hours used:** [More Information Needed]
154
+ - **Cloud Provider:** [More Information Needed]
155
+ - **Compute Region:** [More Information Needed]
156
+ - **Carbon Emitted:** [More Information Needed]
157
+
158
+ ## Technical Specifications [optional]
159
+
160
+ ### Model Architecture and Objective
161
+
162
+ [More Information Needed]
163
+
164
+ ### Compute Infrastructure
165
+
166
+ [More Information Needed]
167
+
168
+ #### Hardware
169
+
170
+ [More Information Needed]
171
+
172
+ #### Software
173
+
174
+ [More Information Needed]
175
+
176
+ ## Citation [optional]
177
+
178
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
179
+
180
+ **BibTeX:**
181
+
182
+ [More Information Needed]
183
+
184
+ **APA:**
185
+
186
+ [More Information Needed]
187
+
188
+ ## Glossary [optional]
189
+
190
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
191
+
192
+ [More Information Needed]
193
+
194
+ ## More Information [optional]
195
+
196
+ [More Information Needed]
197
+
198
+ ## Model Card Authors [optional]
199
+
200
+ [More Information Needed]
201
+
202
+ ## Model Card Contact
203
+
204
+ [More Information Needed]
205
+ ### Framework versions
206
+
207
+ - PEFT 0.18.0
adapter_config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen2.5-14B-Instruct",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "megatron_config": null,
23
+ "megatron_core": "megatron.core",
24
+ "modules_to_save": null,
25
+ "peft_type": "LORA",
26
+ "peft_version": "0.18.0",
27
+ "qalora_group_size": 16,
28
+ "r": 16,
29
+ "rank_pattern": {},
30
+ "revision": null,
31
+ "target_modules": [
32
+ "down_proj",
33
+ "v_proj",
34
+ "q_proj",
35
+ "k_proj",
36
+ "up_proj",
37
+ "o_proj",
38
+ "gate_proj"
39
+ ],
40
+ "target_parameters": null,
41
+ "task_type": "CAUSAL_LM",
42
+ "trainable_token_indices": null,
43
+ "use_dora": false,
44
+ "use_qalora": false,
45
+ "use_rslora": false
46
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2879e227e5c053e1670774b72b0210d9e010977e47f10ff4e885bee9828a4e2d
3
+ size 6487665104
added_tokens.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<obs>": 151667,
4
+ "<response>": 151666,
5
+ "<think>": 151665,
6
+ "<tool_call>": 151657,
7
+ "<|box_end|>": 151649,
8
+ "<|box_start|>": 151648,
9
+ "<|endoftext|>": 151643,
10
+ "<|file_sep|>": 151664,
11
+ "<|fim_middle|>": 151660,
12
+ "<|fim_pad|>": 151662,
13
+ "<|fim_prefix|>": 151659,
14
+ "<|fim_suffix|>": 151661,
15
+ "<|im_end|>": 151645,
16
+ "<|im_start|>": 151644,
17
+ "<|image_pad|>": 151655,
18
+ "<|object_ref_end|>": 151647,
19
+ "<|object_ref_start|>": 151646,
20
+ "<|quad_end|>": 151651,
21
+ "<|quad_start|>": 151650,
22
+ "<|repo_name|>": 151663,
23
+ "<|video_pad|>": 151656,
24
+ "<|vision_end|>": 151653,
25
+ "<|vision_pad|>": 151654,
26
+ "<|vision_start|>": 151652
27
+ }
chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
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:63c2a387ce39511b174f3c686cc50ae7507dbef21addb167bbe454c9f0d8d7f7
3
+ size 551080387
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5f7f8e8008941b8a3e11610c8c74e2cba093cb067735d7b273a336eaaa09c0b
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a719675fab8cb1b9be2401d867a6bfb533aeaeadf3e62f393c5566ceb52ad9d6
3
+ size 1465
special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<think>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ },
10
+ {
11
+ "content": "<response>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ {
18
+ "content": "<obs>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ ],
25
+ "eos_token": {
26
+ "content": "<|im_end|>",
27
+ "lstrip": false,
28
+ "normalized": false,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "pad_token": {
33
+ "content": "<|endoftext|>",
34
+ "lstrip": false,
35
+ "normalized": false,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ }
39
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:063ac76c8e7790eabef1a7dba3a2ba571208518187f9bccef8b776490137d5e3
3
+ size 11422548
tokenizer_config.json ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<think>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "151666": {
190
+ "content": "<response>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ },
197
+ "151667": {
198
+ "content": "<obs>",
199
+ "lstrip": false,
200
+ "normalized": false,
201
+ "rstrip": false,
202
+ "single_word": false,
203
+ "special": true
204
+ }
205
+ },
206
+ "additional_special_tokens": [
207
+ "<think>",
208
+ "<response>",
209
+ "<obs>"
210
+ ],
211
+ "bos_token": null,
212
+ "clean_up_tokenization_spaces": false,
213
+ "eos_token": "<|im_end|>",
214
+ "errors": "replace",
215
+ "extra_special_tokens": {},
216
+ "model_max_length": 131072,
217
+ "pad_token": "<|endoftext|>",
218
+ "split_special_tokens": false,
219
+ "tokenizer_class": "Qwen2Tokenizer",
220
+ "unk_token": null
221
+ }
trainer_state.json ADDED
@@ -0,0 +1,566 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 200,
7
+ "global_step": 1900,
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.013157894736842105,
14
+ "grad_norm": 0.7272480130195618,
15
+ "learning_rate": 8.421052631578948e-05,
16
+ "loss": 1.9563,
17
+ "step": 25
18
+ },
19
+ {
20
+ "epoch": 0.02631578947368421,
21
+ "grad_norm": 0.3988882899284363,
22
+ "learning_rate": 0.00017192982456140353,
23
+ "loss": 0.78,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.039473684210526314,
28
+ "grad_norm": 0.23908574879169464,
29
+ "learning_rate": 0.00019995801573733038,
30
+ "loss": 0.5912,
31
+ "step": 75
32
+ },
33
+ {
34
+ "epoch": 0.05263157894736842,
35
+ "grad_norm": 0.22981883585453033,
36
+ "learning_rate": 0.00019974382771078473,
37
+ "loss": 0.5734,
38
+ "step": 100
39
+ },
40
+ {
41
+ "epoch": 0.06578947368421052,
42
+ "grad_norm": 0.22677601873874664,
43
+ "learning_rate": 0.00019934852677927834,
44
+ "loss": 0.5326,
45
+ "step": 125
46
+ },
47
+ {
48
+ "epoch": 0.07894736842105263,
49
+ "grad_norm": 0.23226918280124664,
50
+ "learning_rate": 0.00019877283072256436,
51
+ "loss": 0.4978,
52
+ "step": 150
53
+ },
54
+ {
55
+ "epoch": 0.09210526315789473,
56
+ "grad_norm": 0.265936017036438,
57
+ "learning_rate": 0.00019801778487836048,
58
+ "loss": 0.5083,
59
+ "step": 175
60
+ },
61
+ {
62
+ "epoch": 0.10526315789473684,
63
+ "grad_norm": 0.2562519609928131,
64
+ "learning_rate": 0.00019708476024424477,
65
+ "loss": 0.5017,
66
+ "step": 200
67
+ },
68
+ {
69
+ "epoch": 0.11842105263157894,
70
+ "grad_norm": 0.24657155573368073,
71
+ "learning_rate": 0.00019597545098822504,
72
+ "loss": 0.5355,
73
+ "step": 225
74
+ },
75
+ {
76
+ "epoch": 0.13157894736842105,
77
+ "grad_norm": 0.2717723548412323,
78
+ "learning_rate": 0.00019469187137250148,
79
+ "loss": 0.5057,
80
+ "step": 250
81
+ },
82
+ {
83
+ "epoch": 0.14473684210526316,
84
+ "grad_norm": 0.14394891262054443,
85
+ "learning_rate": 0.00019323635209600841,
86
+ "loss": 0.5435,
87
+ "step": 275
88
+ },
89
+ {
90
+ "epoch": 0.15789473684210525,
91
+ "grad_norm": 0.2538720369338989,
92
+ "learning_rate": 0.00019161153606237651,
93
+ "loss": 0.4619,
94
+ "step": 300
95
+ },
96
+ {
97
+ "epoch": 0.17105263157894737,
98
+ "grad_norm": 0.2302940934896469,
99
+ "learning_rate": 0.00018982037358099963,
100
+ "loss": 0.5144,
101
+ "step": 325
102
+ },
103
+ {
104
+ "epoch": 0.18421052631578946,
105
+ "grad_norm": 0.23402678966522217,
106
+ "learning_rate": 0.00018786611700992044,
107
+ "loss": 0.5385,
108
+ "step": 350
109
+ },
110
+ {
111
+ "epoch": 0.19736842105263158,
112
+ "grad_norm": 0.2835828363895416,
113
+ "learning_rate": 0.0001857523148502617,
114
+ "loss": 0.5324,
115
+ "step": 375
116
+ },
117
+ {
118
+ "epoch": 0.21052631578947367,
119
+ "grad_norm": 0.2346741110086441,
120
+ "learning_rate": 0.00018348280530292713,
121
+ "loss": 0.5538,
122
+ "step": 400
123
+ },
124
+ {
125
+ "epoch": 0.2236842105263158,
126
+ "grad_norm": 0.20240184664726257,
127
+ "learning_rate": 0.00018106170929927035,
128
+ "loss": 0.4757,
129
+ "step": 425
130
+ },
131
+ {
132
+ "epoch": 0.23684210526315788,
133
+ "grad_norm": 0.23748184740543365,
134
+ "learning_rate": 0.0001784934230183882,
135
+ "loss": 0.4722,
136
+ "step": 450
137
+ },
138
+ {
139
+ "epoch": 0.25,
140
+ "grad_norm": 0.24441654980182648,
141
+ "learning_rate": 0.00017578260990462372,
142
+ "loss": 0.4765,
143
+ "step": 475
144
+ },
145
+ {
146
+ "epoch": 0.2631578947368421,
147
+ "grad_norm": 0.21534137427806854,
148
+ "learning_rate": 0.00017293419219977486,
149
+ "loss": 0.511,
150
+ "step": 500
151
+ },
152
+ {
153
+ "epoch": 0.27631578947368424,
154
+ "grad_norm": 0.18411624431610107,
155
+ "learning_rate": 0.0001699533420053832,
156
+ "loss": 0.459,
157
+ "step": 525
158
+ },
159
+ {
160
+ "epoch": 0.2894736842105263,
161
+ "grad_norm": 0.22512228786945343,
162
+ "learning_rate": 0.0001668454718913325,
163
+ "loss": 0.4602,
164
+ "step": 550
165
+ },
166
+ {
167
+ "epoch": 0.3026315789473684,
168
+ "grad_norm": 0.3007086515426636,
169
+ "learning_rate": 0.00016361622506780944,
170
+ "loss": 0.4723,
171
+ "step": 575
172
+ },
173
+ {
174
+ "epoch": 0.3157894736842105,
175
+ "grad_norm": 0.24483013153076172,
176
+ "learning_rate": 0.0001602714651384722,
177
+ "loss": 0.4825,
178
+ "step": 600
179
+ },
180
+ {
181
+ "epoch": 0.32894736842105265,
182
+ "grad_norm": 0.19368383288383484,
183
+ "learning_rate": 0.0001568172654534328,
184
+ "loss": 0.5199,
185
+ "step": 625
186
+ },
187
+ {
188
+ "epoch": 0.34210526315789475,
189
+ "grad_norm": 0.27732446789741516,
190
+ "learning_rate": 0.0001532598980813858,
191
+ "loss": 0.4766,
192
+ "step": 650
193
+ },
194
+ {
195
+ "epoch": 0.35526315789473684,
196
+ "grad_norm": 0.2359321564435959,
197
+ "learning_rate": 0.0001496058224209082,
198
+ "loss": 0.4315,
199
+ "step": 675
200
+ },
201
+ {
202
+ "epoch": 0.3684210526315789,
203
+ "grad_norm": 0.25275617837905884,
204
+ "learning_rate": 0.00014586167347160846,
205
+ "loss": 0.4361,
206
+ "step": 700
207
+ },
208
+ {
209
+ "epoch": 0.3815789473684211,
210
+ "grad_norm": 0.1912153959274292,
211
+ "learning_rate": 0.00014203424978642337,
212
+ "loss": 0.4467,
213
+ "step": 725
214
+ },
215
+ {
216
+ "epoch": 0.39473684210526316,
217
+ "grad_norm": 0.23994949460029602,
218
+ "learning_rate": 0.00013813050112693778,
219
+ "loss": 0.4927,
220
+ "step": 750
221
+ },
222
+ {
223
+ "epoch": 0.40789473684210525,
224
+ "grad_norm": 0.23791591823101044,
225
+ "learning_rate": 0.00013415751584414215,
226
+ "loss": 0.4032,
227
+ "step": 775
228
+ },
229
+ {
230
+ "epoch": 0.42105263157894735,
231
+ "grad_norm": 0.2177554816007614,
232
+ "learning_rate": 0.00013012250800754284,
233
+ "loss": 0.5174,
234
+ "step": 800
235
+ },
236
+ {
237
+ "epoch": 0.4342105263157895,
238
+ "grad_norm": 0.2537310719490051,
239
+ "learning_rate": 0.0001260328043059947,
240
+ "loss": 0.5024,
241
+ "step": 825
242
+ },
243
+ {
244
+ "epoch": 0.4473684210526316,
245
+ "grad_norm": 0.3210338056087494,
246
+ "learning_rate": 0.00012189583074404174,
247
+ "loss": 0.4572,
248
+ "step": 850
249
+ },
250
+ {
251
+ "epoch": 0.4605263157894737,
252
+ "grad_norm": 0.1832045167684555,
253
+ "learning_rate": 0.0001177190991579223,
254
+ "loss": 0.4374,
255
+ "step": 875
256
+ },
257
+ {
258
+ "epoch": 0.47368421052631576,
259
+ "grad_norm": 0.21890908479690552,
260
+ "learning_rate": 0.00011351019357572274,
261
+ "loss": 0.446,
262
+ "step": 900
263
+ },
264
+ {
265
+ "epoch": 0.4868421052631579,
266
+ "grad_norm": 0.2524813115596771,
267
+ "learning_rate": 0.00010927675644644666,
268
+ "loss": 0.4316,
269
+ "step": 925
270
+ },
271
+ {
272
+ "epoch": 0.5,
273
+ "grad_norm": 0.2024998813867569,
274
+ "learning_rate": 0.0001050264747630043,
275
+ "loss": 0.4264,
276
+ "step": 950
277
+ },
278
+ {
279
+ "epoch": 0.5131578947368421,
280
+ "grad_norm": 0.23862822353839874,
281
+ "learning_rate": 0.00010076706610432009,
282
+ "loss": 0.4809,
283
+ "step": 975
284
+ },
285
+ {
286
+ "epoch": 0.5263157894736842,
287
+ "grad_norm": 0.21620877087116241,
288
+ "learning_rate": 9.650626462190294e-05,
289
+ "loss": 0.4528,
290
+ "step": 1000
291
+ },
292
+ {
293
+ "epoch": 0.5394736842105263,
294
+ "grad_norm": 0.2496652454137802,
295
+ "learning_rate": 9.2251806996324e-05,
296
+ "loss": 0.5165,
297
+ "step": 1025
298
+ },
299
+ {
300
+ "epoch": 0.5526315789473685,
301
+ "grad_norm": 0.18958808481693268,
302
+ "learning_rate": 8.801141838910238e-05,
303
+ "loss": 0.461,
304
+ "step": 1050
305
+ },
306
+ {
307
+ "epoch": 0.5657894736842105,
308
+ "grad_norm": 0.2566398084163666,
309
+ "learning_rate": 8.379279841550693e-05,
310
+ "loss": 0.4917,
311
+ "step": 1075
312
+ },
313
+ {
314
+ "epoch": 0.5789473684210527,
315
+ "grad_norm": 0.2727346122264862,
316
+ "learning_rate": 7.960360716374442e-05,
317
+ "loss": 0.4035,
318
+ "step": 1100
319
+ },
320
+ {
321
+ "epoch": 0.5921052631578947,
322
+ "grad_norm": 0.2812783718109131,
323
+ "learning_rate": 7.54514512859201e-05,
324
+ "loss": 0.4062,
325
+ "step": 1125
326
+ },
327
+ {
328
+ "epoch": 0.6052631578947368,
329
+ "grad_norm": 0.13381074368953705,
330
+ "learning_rate": 7.134387018602659e-05,
331
+ "loss": 0.4147,
332
+ "step": 1150
333
+ },
334
+ {
335
+ "epoch": 0.618421052631579,
336
+ "grad_norm": 0.24165485799312592,
337
+ "learning_rate": 6.728832233004054e-05,
338
+ "loss": 0.4694,
339
+ "step": 1175
340
+ },
341
+ {
342
+ "epoch": 0.631578947368421,
343
+ "grad_norm": 0.1850873976945877,
344
+ "learning_rate": 6.329217170298507e-05,
345
+ "loss": 0.5144,
346
+ "step": 1200
347
+ },
348
+ {
349
+ "epoch": 0.6447368421052632,
350
+ "grad_norm": 0.3044758439064026,
351
+ "learning_rate": 5.936267443754863e-05,
352
+ "loss": 0.448,
353
+ "step": 1225
354
+ },
355
+ {
356
+ "epoch": 0.6578947368421053,
357
+ "grad_norm": 0.25881174206733704,
358
+ "learning_rate": 5.550696563854032e-05,
359
+ "loss": 0.4331,
360
+ "step": 1250
361
+ },
362
+ {
363
+ "epoch": 0.6710526315789473,
364
+ "grad_norm": 0.1471320539712906,
365
+ "learning_rate": 5.173204642710514e-05,
366
+ "loss": 0.4162,
367
+ "step": 1275
368
+ },
369
+ {
370
+ "epoch": 0.6842105263157895,
371
+ "grad_norm": 0.23026077449321747,
372
+ "learning_rate": 4.804477122822432e-05,
373
+ "loss": 0.4321,
374
+ "step": 1300
375
+ },
376
+ {
377
+ "epoch": 0.6973684210526315,
378
+ "grad_norm": 0.2941257655620575,
379
+ "learning_rate": 4.4451835324583326e-05,
380
+ "loss": 0.4041,
381
+ "step": 1325
382
+ },
383
+ {
384
+ "epoch": 0.7105263157894737,
385
+ "grad_norm": 0.2662881016731262,
386
+ "learning_rate": 4.0959762699407766e-05,
387
+ "loss": 0.4282,
388
+ "step": 1350
389
+ },
390
+ {
391
+ "epoch": 0.7236842105263158,
392
+ "grad_norm": 0.27813515067100525,
393
+ "learning_rate": 3.7574894190341404e-05,
394
+ "loss": 0.4424,
395
+ "step": 1375
396
+ },
397
+ {
398
+ "epoch": 0.7368421052631579,
399
+ "grad_norm": 0.25936228036880493,
400
+ "learning_rate": 3.430337597587622e-05,
401
+ "loss": 0.4325,
402
+ "step": 1400
403
+ },
404
+ {
405
+ "epoch": 0.75,
406
+ "grad_norm": 0.2591690421104431,
407
+ "learning_rate": 3.1151148415241035e-05,
408
+ "loss": 0.4389,
409
+ "step": 1425
410
+ },
411
+ {
412
+ "epoch": 0.7631578947368421,
413
+ "grad_norm": 0.2798675298690796,
414
+ "learning_rate": 2.8123935262012447e-05,
415
+ "loss": 0.4832,
416
+ "step": 1450
417
+ },
418
+ {
419
+ "epoch": 0.7763157894736842,
420
+ "grad_norm": 0.28093063831329346,
421
+ "learning_rate": 2.5227233271034322e-05,
422
+ "loss": 0.4171,
423
+ "step": 1475
424
+ },
425
+ {
426
+ "epoch": 0.7894736842105263,
427
+ "grad_norm": 0.292204350233078,
428
+ "learning_rate": 2.2466302217517133e-05,
429
+ "loss": 0.4802,
430
+ "step": 1500
431
+ },
432
+ {
433
+ "epoch": 0.8026315789473685,
434
+ "grad_norm": 0.2873384654521942,
435
+ "learning_rate": 1.984615534644032e-05,
436
+ "loss": 0.4688,
437
+ "step": 1525
438
+ },
439
+ {
440
+ "epoch": 0.8157894736842105,
441
+ "grad_norm": 0.23933933675289154,
442
+ "learning_rate": 1.7371550269599323e-05,
443
+ "loss": 0.4687,
444
+ "step": 1550
445
+ },
446
+ {
447
+ "epoch": 0.8289473684210527,
448
+ "grad_norm": 0.27426981925964355,
449
+ "learning_rate": 1.50469803268267e-05,
450
+ "loss": 0.4475,
451
+ "step": 1575
452
+ },
453
+ {
454
+ "epoch": 0.8421052631578947,
455
+ "grad_norm": 0.2896619439125061,
456
+ "learning_rate": 1.2876666427072703e-05,
457
+ "loss": 0.4643,
458
+ "step": 1600
459
+ },
460
+ {
461
+ "epoch": 0.8552631578947368,
462
+ "grad_norm": 0.15856152772903442,
463
+ "learning_rate": 1.0864549384160927e-05,
464
+ "loss": 0.4614,
465
+ "step": 1625
466
+ },
467
+ {
468
+ "epoch": 0.868421052631579,
469
+ "grad_norm": 0.32572880387306213,
470
+ "learning_rate": 9.014282761135084e-06,
471
+ "loss": 0.3922,
472
+ "step": 1650
473
+ },
474
+ {
475
+ "epoch": 0.881578947368421,
476
+ "grad_norm": 0.2075156420469284,
477
+ "learning_rate": 7.329226236190201e-06,
478
+ "loss": 0.4834,
479
+ "step": 1675
480
+ },
481
+ {
482
+ "epoch": 0.8947368421052632,
483
+ "grad_norm": 0.2609516978263855,
484
+ "learning_rate": 5.81243950223419e-06,
485
+ "loss": 0.4424,
486
+ "step": 1700
487
+ },
488
+ {
489
+ "epoch": 0.9078947368421053,
490
+ "grad_norm": 0.27902549505233765,
491
+ "learning_rate": 4.4666767111569474e-06,
492
+ "loss": 0.4107,
493
+ "step": 1725
494
+ },
495
+ {
496
+ "epoch": 0.9210526315789473,
497
+ "grad_norm": 0.1807645708322525,
498
+ "learning_rate": 3.294381472894781e-06,
499
+ "loss": 0.4095,
500
+ "step": 1750
501
+ },
502
+ {
503
+ "epoch": 0.9342105263157895,
504
+ "grad_norm": 0.27969783544540405,
505
+ "learning_rate": 2.2976824183709835e-06,
506
+ "loss": 0.4665,
507
+ "step": 1775
508
+ },
509
+ {
510
+ "epoch": 0.9473684210526315,
511
+ "grad_norm": 0.27561429142951965,
512
+ "learning_rate": 1.4783893343691458e-06,
513
+ "loss": 0.4077,
514
+ "step": 1800
515
+ },
516
+ {
517
+ "epoch": 0.9605263157894737,
518
+ "grad_norm": 0.2988797426223755,
519
+ "learning_rate": 8.379898773574924e-07,
520
+ "loss": 0.4332,
521
+ "step": 1825
522
+ },
523
+ {
524
+ "epoch": 0.9736842105263158,
525
+ "grad_norm": 0.2036939263343811,
526
+ "learning_rate": 3.7764687223110773e-07,
527
+ "loss": 0.401,
528
+ "step": 1850
529
+ },
530
+ {
531
+ "epoch": 0.9868421052631579,
532
+ "grad_norm": 0.21864855289459229,
533
+ "learning_rate": 9.8196200877132e-08,
534
+ "loss": 0.4638,
535
+ "step": 1875
536
+ },
537
+ {
538
+ "epoch": 1.0,
539
+ "grad_norm": 0.2675096392631531,
540
+ "learning_rate": 1.452843966354145e-10,
541
+ "loss": 0.465,
542
+ "step": 1900
543
+ }
544
+ ],
545
+ "logging_steps": 25,
546
+ "max_steps": 1900,
547
+ "num_input_tokens_seen": 0,
548
+ "num_train_epochs": 1,
549
+ "save_steps": 200,
550
+ "stateful_callbacks": {
551
+ "TrainerControl": {
552
+ "args": {
553
+ "should_epoch_stop": false,
554
+ "should_evaluate": false,
555
+ "should_log": false,
556
+ "should_save": true,
557
+ "should_training_stop": true
558
+ },
559
+ "attributes": {}
560
+ }
561
+ },
562
+ "total_flos": 2.7343723267668173e+17,
563
+ "train_batch_size": 1,
564
+ "trial_name": null,
565
+ "trial_params": null
566
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83a2a85f387e0819a00ee9eabb4e3b84779e478f1a5521e197820e7529d9dad2
3
+ size 5841
vocab.json ADDED
The diff for this file is too large to render. See raw diff