sci-m-wang commited on
Commit
c79080c
·
verified ·
1 Parent(s): d5a7fc3

Upload 14 files

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: Qwen/Qwen2.5-7B-Instruct
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.11.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-7B-Instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 8,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "up_proj",
24
+ "v_proj",
25
+ "o_proj",
26
+ "k_proj",
27
+ "down_proj",
28
+ "q_proj",
29
+ "gate_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f215e14db03147c741af6e43ad3b669756f9aeafe4a800a6f322b8c80969e1d
3
+ size 80792096
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
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:11abc68256c62b7826f0e5c17199705dd4d25946e72602226e0370f59403417e
3
+ size 161810282
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b3ee827a7a00012c0a116546df467feee35e70376d81a7a85b1a70eb90414d3
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48e3955ad18010c39c711814732331b4e50b2a9232cb031dc53f75478f622e65
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:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0]['role'] == 'system' %}\n {{- messages[0]['content'] }}\n {%- else %}\n {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}\n {%- endif %}\n {{- \"\\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>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\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\" }}\n{%- else %}\n {%- if messages[0]['role'] == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0]['content'] + '<|im_end|>\\n' }}\n {%- else %}\n {{- '<|im_start|>system\\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- for message in messages %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) or (message.role == \"assistant\" and not message.tool_calls) %}\n {{- '<|im_start|>' + message.role + '\\n' + message.content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {{- '<|im_start|>' + message.role }}\n {%- if message.content %}\n {{- '\\n' + message.content }}\n {%- endif %}\n {%- for tool_call in message.tool_calls %}\n {%- if tool_call.function is defined %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '\\n<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- message.content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n{%- endif %}\n",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|im_end|>",
201
+ "errors": "replace",
202
+ "model_max_length": 131072,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
trainer_state.json ADDED
@@ -0,0 +1,614 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 4.980568011958146,
5
+ "eval_steps": 500,
6
+ "global_step": 415,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.059790732436472344,
13
+ "grad_norm": 1.2978590726852417,
14
+ "learning_rate": 4.998209387040829e-05,
15
+ "loss": 1.1088,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.11958146487294469,
20
+ "grad_norm": 0.4979011118412018,
21
+ "learning_rate": 4.9928401131991305e-05,
22
+ "loss": 0.8028,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.17937219730941703,
27
+ "grad_norm": 0.48205411434173584,
28
+ "learning_rate": 4.9838998699079625e-05,
29
+ "loss": 0.6741,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.23916292974588937,
34
+ "grad_norm": 0.48612523078918457,
35
+ "learning_rate": 4.971401463979721e-05,
36
+ "loss": 0.6049,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.29895366218236175,
41
+ "grad_norm": 0.38566604256629944,
42
+ "learning_rate": 4.9553627992605066e-05,
43
+ "loss": 0.6004,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.35874439461883406,
48
+ "grad_norm": 0.5367271900177002,
49
+ "learning_rate": 4.9358068509830334e-05,
50
+ "loss": 0.4998,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.41853512705530643,
55
+ "grad_norm": 0.4608819782733917,
56
+ "learning_rate": 4.912761632854833e-05,
57
+ "loss": 0.5288,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.47832585949177875,
62
+ "grad_norm": 0.4309336543083191,
63
+ "learning_rate": 4.886260156928888e-05,
64
+ "loss": 0.4841,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.5381165919282511,
69
+ "grad_norm": 0.41779792308807373,
70
+ "learning_rate": 4.856340386314182e-05,
71
+ "loss": 0.521,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.5979073243647235,
76
+ "grad_norm": 0.42198920249938965,
77
+ "learning_rate": 4.8230451807939135e-05,
78
+ "loss": 0.5161,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.6576980568011959,
83
+ "grad_norm": 0.43890777230262756,
84
+ "learning_rate": 4.786422235429269e-05,
85
+ "loss": 0.4975,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.7174887892376681,
90
+ "grad_norm": 0.40360623598098755,
91
+ "learning_rate": 4.746524012236706e-05,
92
+ "loss": 0.4515,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.7772795216741405,
97
+ "grad_norm": 0.4691283106803894,
98
+ "learning_rate": 4.703407665036622e-05,
99
+ "loss": 0.4842,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.8370702541106129,
104
+ "grad_norm": 0.5005263090133667,
105
+ "learning_rate": 4.657134957581057e-05,
106
+ "loss": 0.5417,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.8968609865470852,
111
+ "grad_norm": 0.5099341869354248,
112
+ "learning_rate": 4.607772175077711e-05,
113
+ "loss": 0.4756,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.9566517189835575,
118
+ "grad_norm": 0.5432000160217285,
119
+ "learning_rate": 4.555390029237026e-05,
120
+ "loss": 0.4343,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 1.0209267563527653,
125
+ "grad_norm": 0.571912407875061,
126
+ "learning_rate": 4.500063556978337e-05,
127
+ "loss": 0.6003,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 1.0807174887892377,
132
+ "grad_norm": 0.4976639151573181,
133
+ "learning_rate": 4.441872012940214e-05,
134
+ "loss": 0.425,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 1.14050822122571,
139
+ "grad_norm": 0.4636209309101105,
140
+ "learning_rate": 4.380898755948953e-05,
141
+ "loss": 0.4477,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 1.2002989536621824,
146
+ "grad_norm": 0.45289313793182373,
147
+ "learning_rate": 4.3172311296078595e-05,
148
+ "loss": 0.4374,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 1.2600896860986546,
153
+ "grad_norm": 0.5313855409622192,
154
+ "learning_rate": 4.250960337178377e-05,
155
+ "loss": 0.4453,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 1.319880418535127,
160
+ "grad_norm": 0.5582486987113953,
161
+ "learning_rate": 4.1821813109322974e-05,
162
+ "loss": 0.4482,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 1.3796711509715993,
167
+ "grad_norm": 0.529606819152832,
168
+ "learning_rate": 4.1109925761621925e-05,
169
+ "loss": 0.4403,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 1.4394618834080717,
174
+ "grad_norm": 0.5741641521453857,
175
+ "learning_rate": 4.037496110044884e-05,
176
+ "loss": 0.4462,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 1.499252615844544,
181
+ "grad_norm": 0.47668057680130005,
182
+ "learning_rate": 3.961797195560118e-05,
183
+ "loss": 0.4522,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 1.5590433482810164,
188
+ "grad_norm": 0.5119588971138,
189
+ "learning_rate": 3.8840042706737114e-05,
190
+ "loss": 0.4266,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 1.6188340807174888,
195
+ "grad_norm": 0.7544881701469421,
196
+ "learning_rate": 3.804228773001212e-05,
197
+ "loss": 0.4448,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 1.6786248131539612,
202
+ "grad_norm": 0.5197708606719971,
203
+ "learning_rate": 3.7225849801745835e-05,
204
+ "loss": 0.4406,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 1.7384155455904335,
209
+ "grad_norm": 0.5973308682441711,
210
+ "learning_rate": 3.639189846140604e-05,
211
+ "loss": 0.4646,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 1.798206278026906,
216
+ "grad_norm": 0.5432918071746826,
217
+ "learning_rate": 3.55416283362546e-05,
218
+ "loss": 0.391,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 1.8579970104633783,
223
+ "grad_norm": 0.7063805460929871,
224
+ "learning_rate": 3.4676257430055434e-05,
225
+ "loss": 0.4536,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 1.9177877428998507,
230
+ "grad_norm": 0.5936899185180664,
231
+ "learning_rate": 3.379702537829583e-05,
232
+ "loss": 0.4474,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 1.977578475336323,
237
+ "grad_norm": 0.6480870842933655,
238
+ "learning_rate": 3.29051916724206e-05,
239
+ "loss": 0.393,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 2.0418535127055306,
244
+ "grad_norm": 0.6020011305809021,
245
+ "learning_rate": 3.200203385562268e-05,
246
+ "loss": 0.4697,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 2.101644245142003,
251
+ "grad_norm": 0.5606960654258728,
252
+ "learning_rate": 3.10888456927748e-05,
253
+ "loss": 0.4015,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 2.1614349775784754,
258
+ "grad_norm": 0.5238797664642334,
259
+ "learning_rate": 3.0166935317123823e-05,
260
+ "loss": 0.3844,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 2.2212257100149477,
265
+ "grad_norm": 0.5262567400932312,
266
+ "learning_rate": 2.923762335640242e-05,
267
+ "loss": 0.4319,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 2.28101644245142,
272
+ "grad_norm": 0.6023457050323486,
273
+ "learning_rate": 2.8302241041042565e-05,
274
+ "loss": 0.3913,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 2.3408071748878925,
279
+ "grad_norm": 0.6637177467346191,
280
+ "learning_rate": 2.7362128297200785e-05,
281
+ "loss": 0.4117,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 2.400597907324365,
286
+ "grad_norm": 0.6618629693984985,
287
+ "learning_rate": 2.6418631827326857e-05,
288
+ "loss": 0.4395,
289
+ "step": 200
290
+ },
291
+ {
292
+ "epoch": 2.460388639760837,
293
+ "grad_norm": 0.6563321948051453,
294
+ "learning_rate": 2.5473103181025476e-05,
295
+ "loss": 0.4085,
296
+ "step": 205
297
+ },
298
+ {
299
+ "epoch": 2.520179372197309,
300
+ "grad_norm": 0.6196507215499878,
301
+ "learning_rate": 2.4526896818974533e-05,
302
+ "loss": 0.4174,
303
+ "step": 210
304
+ },
305
+ {
306
+ "epoch": 2.579970104633782,
307
+ "grad_norm": 0.6244773268699646,
308
+ "learning_rate": 2.3581368172673152e-05,
309
+ "loss": 0.409,
310
+ "step": 215
311
+ },
312
+ {
313
+ "epoch": 2.639760837070254,
314
+ "grad_norm": 0.6863143444061279,
315
+ "learning_rate": 2.263787170279922e-05,
316
+ "loss": 0.372,
317
+ "step": 220
318
+ },
319
+ {
320
+ "epoch": 2.6995515695067267,
321
+ "grad_norm": 0.6396352648735046,
322
+ "learning_rate": 2.1697758958957448e-05,
323
+ "loss": 0.3904,
324
+ "step": 225
325
+ },
326
+ {
327
+ "epoch": 2.7593423019431986,
328
+ "grad_norm": 0.6815731525421143,
329
+ "learning_rate": 2.0762376643597582e-05,
330
+ "loss": 0.4039,
331
+ "step": 230
332
+ },
333
+ {
334
+ "epoch": 2.819133034379671,
335
+ "grad_norm": 0.6671094298362732,
336
+ "learning_rate": 1.9833064682876176e-05,
337
+ "loss": 0.4058,
338
+ "step": 235
339
+ },
340
+ {
341
+ "epoch": 2.8789237668161434,
342
+ "grad_norm": 0.6419411301612854,
343
+ "learning_rate": 1.8911154307225203e-05,
344
+ "loss": 0.37,
345
+ "step": 240
346
+ },
347
+ {
348
+ "epoch": 2.9387144992526157,
349
+ "grad_norm": 0.741301417350769,
350
+ "learning_rate": 1.7997966144377325e-05,
351
+ "loss": 0.3926,
352
+ "step": 245
353
+ },
354
+ {
355
+ "epoch": 3.0029895366218238,
356
+ "grad_norm": 1.5108810663223267,
357
+ "learning_rate": 1.70948083275794e-05,
358
+ "loss": 0.4486,
359
+ "step": 250
360
+ },
361
+ {
362
+ "epoch": 3.062780269058296,
363
+ "grad_norm": 0.5916804075241089,
364
+ "learning_rate": 1.6202974621704175e-05,
365
+ "loss": 0.3531,
366
+ "step": 255
367
+ },
368
+ {
369
+ "epoch": 3.1225710014947685,
370
+ "grad_norm": 0.6299751996994019,
371
+ "learning_rate": 1.5323742569944572e-05,
372
+ "loss": 0.3961,
373
+ "step": 260
374
+ },
375
+ {
376
+ "epoch": 3.1823617339312404,
377
+ "grad_norm": 0.6683854460716248,
378
+ "learning_rate": 1.4458371663745401e-05,
379
+ "loss": 0.3722,
380
+ "step": 265
381
+ },
382
+ {
383
+ "epoch": 3.242152466367713,
384
+ "grad_norm": 0.6670008301734924,
385
+ "learning_rate": 1.3608101538593965e-05,
386
+ "loss": 0.3879,
387
+ "step": 270
388
+ },
389
+ {
390
+ "epoch": 3.301943198804185,
391
+ "grad_norm": 0.6568167209625244,
392
+ "learning_rate": 1.277415019825417e-05,
393
+ "loss": 0.409,
394
+ "step": 275
395
+ },
396
+ {
397
+ "epoch": 3.3617339312406576,
398
+ "grad_norm": 0.6944593191146851,
399
+ "learning_rate": 1.195771226998789e-05,
400
+ "loss": 0.3804,
401
+ "step": 280
402
+ },
403
+ {
404
+ "epoch": 3.42152466367713,
405
+ "grad_norm": 0.6333041191101074,
406
+ "learning_rate": 1.1159957293262888e-05,
407
+ "loss": 0.3679,
408
+ "step": 285
409
+ },
410
+ {
411
+ "epoch": 3.4813153961136023,
412
+ "grad_norm": 0.7222440838813782,
413
+ "learning_rate": 1.0382028044398822e-05,
414
+ "loss": 0.3877,
415
+ "step": 290
416
+ },
417
+ {
418
+ "epoch": 3.5411061285500747,
419
+ "grad_norm": 0.7552939653396606,
420
+ "learning_rate": 9.625038899551161e-06,
421
+ "loss": 0.4043,
422
+ "step": 295
423
+ },
424
+ {
425
+ "epoch": 3.600896860986547,
426
+ "grad_norm": 0.6875253319740295,
427
+ "learning_rate": 8.890074238378074e-06,
428
+ "loss": 0.3741,
429
+ "step": 300
430
+ },
431
+ {
432
+ "epoch": 3.6606875934230194,
433
+ "grad_norm": 0.7575701475143433,
434
+ "learning_rate": 8.178186890677029e-06,
435
+ "loss": 0.3729,
436
+ "step": 305
437
+ },
438
+ {
439
+ "epoch": 3.720478325859492,
440
+ "grad_norm": 0.7950400114059448,
441
+ "learning_rate": 7.490396628216237e-06,
442
+ "loss": 0.3847,
443
+ "step": 310
444
+ },
445
+ {
446
+ "epoch": 3.780269058295964,
447
+ "grad_norm": 0.7573489546775818,
448
+ "learning_rate": 6.827688703921406e-06,
449
+ "loss": 0.3447,
450
+ "step": 315
451
+ },
452
+ {
453
+ "epoch": 3.8400597907324365,
454
+ "grad_norm": 0.6731217503547668,
455
+ "learning_rate": 6.1910124405104686e-06,
456
+ "loss": 0.3898,
457
+ "step": 320
458
+ },
459
+ {
460
+ "epoch": 3.899850523168909,
461
+ "grad_norm": 0.7151201367378235,
462
+ "learning_rate": 5.581279870597867e-06,
463
+ "loss": 0.4087,
464
+ "step": 325
465
+ },
466
+ {
467
+ "epoch": 3.9596412556053813,
468
+ "grad_norm": 0.7048860788345337,
469
+ "learning_rate": 4.999364430216638e-06,
470
+ "loss": 0.351,
471
+ "step": 330
472
+ },
473
+ {
474
+ "epoch": 4.023916292974589,
475
+ "grad_norm": 0.6912049651145935,
476
+ "learning_rate": 4.44609970762975e-06,
477
+ "loss": 0.3908,
478
+ "step": 335
479
+ },
480
+ {
481
+ "epoch": 4.083707025411061,
482
+ "grad_norm": 0.657899796962738,
483
+ "learning_rate": 3.922278249222894e-06,
484
+ "loss": 0.3535,
485
+ "step": 340
486
+ },
487
+ {
488
+ "epoch": 4.143497757847534,
489
+ "grad_norm": 0.7527613043785095,
490
+ "learning_rate": 3.428650424189428e-06,
491
+ "loss": 0.3652,
492
+ "step": 345
493
+ },
494
+ {
495
+ "epoch": 4.203288490284006,
496
+ "grad_norm": 0.6919234991073608,
497
+ "learning_rate": 2.9659233496337786e-06,
498
+ "loss": 0.3521,
499
+ "step": 350
500
+ },
501
+ {
502
+ "epoch": 4.263079222720478,
503
+ "grad_norm": 0.7383163571357727,
504
+ "learning_rate": 2.53475987763295e-06,
505
+ "loss": 0.4015,
506
+ "step": 355
507
+ },
508
+ {
509
+ "epoch": 4.322869955156951,
510
+ "grad_norm": 0.7887938022613525,
511
+ "learning_rate": 2.135777645707318e-06,
512
+ "loss": 0.3534,
513
+ "step": 360
514
+ },
515
+ {
516
+ "epoch": 4.382660687593423,
517
+ "grad_norm": 0.670879602432251,
518
+ "learning_rate": 1.7695481920608715e-06,
519
+ "loss": 0.3773,
520
+ "step": 365
521
+ },
522
+ {
523
+ "epoch": 4.4424514200298955,
524
+ "grad_norm": 0.7601534128189087,
525
+ "learning_rate": 1.4365961368581842e-06,
526
+ "loss": 0.3672,
527
+ "step": 370
528
+ },
529
+ {
530
+ "epoch": 4.502242152466367,
531
+ "grad_norm": 0.7183623909950256,
532
+ "learning_rate": 1.137398430711123e-06,
533
+ "loss": 0.3576,
534
+ "step": 375
535
+ },
536
+ {
537
+ "epoch": 4.56203288490284,
538
+ "grad_norm": 0.6791078448295593,
539
+ "learning_rate": 8.723836714516681e-07,
540
+ "loss": 0.3762,
541
+ "step": 380
542
+ },
543
+ {
544
+ "epoch": 4.621823617339312,
545
+ "grad_norm": 0.6709511876106262,
546
+ "learning_rate": 6.419314901696671e-07,
547
+ "loss": 0.3529,
548
+ "step": 385
549
+ },
550
+ {
551
+ "epoch": 4.681614349775785,
552
+ "grad_norm": 0.6895151138305664,
553
+ "learning_rate": 4.463720073949351e-07,
554
+ "loss": 0.367,
555
+ "step": 390
556
+ },
557
+ {
558
+ "epoch": 4.741405082212257,
559
+ "grad_norm": 0.6979352831840515,
560
+ "learning_rate": 2.8598536020278677e-07,
561
+ "loss": 0.3853,
562
+ "step": 395
563
+ },
564
+ {
565
+ "epoch": 4.80119581464873,
566
+ "grad_norm": 0.6628928184509277,
567
+ "learning_rate": 1.6100130092037703e-07,
568
+ "loss": 0.3594,
569
+ "step": 400
570
+ },
571
+ {
572
+ "epoch": 4.860986547085202,
573
+ "grad_norm": 0.7289102673530579,
574
+ "learning_rate": 7.159886800869875e-08,
575
+ "loss": 0.3892,
576
+ "step": 405
577
+ },
578
+ {
579
+ "epoch": 4.920777279521674,
580
+ "grad_norm": 0.6815170645713806,
581
+ "learning_rate": 1.790612959171323e-08,
582
+ "loss": 0.3511,
583
+ "step": 410
584
+ },
585
+ {
586
+ "epoch": 4.980568011958146,
587
+ "grad_norm": 0.6885178685188293,
588
+ "learning_rate": 0.0,
589
+ "loss": 0.3585,
590
+ "step": 415
591
+ }
592
+ ],
593
+ "logging_steps": 5,
594
+ "max_steps": 415,
595
+ "num_input_tokens_seen": 0,
596
+ "num_train_epochs": 5,
597
+ "save_steps": 100,
598
+ "stateful_callbacks": {
599
+ "TrainerControl": {
600
+ "args": {
601
+ "should_epoch_stop": false,
602
+ "should_evaluate": false,
603
+ "should_log": false,
604
+ "should_save": true,
605
+ "should_training_stop": true
606
+ },
607
+ "attributes": {}
608
+ }
609
+ },
610
+ "total_flos": 1.0010831439303475e+17,
611
+ "train_batch_size": 2,
612
+ "trial_name": null,
613
+ "trial_params": null
614
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75f220c63ddf4767614efac998531bf106f268e374a677d9f9224c253def95a3
3
+ size 5432
vocab.json ADDED
The diff for this file is too large to render. See raw diff