PEFT
Safetensors
Transformers
lora
OnAnOrange commited on
Commit
0487fe1
·
verified ·
1 Parent(s): 1e55695

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,206 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Dream-org/Dream-v0-Instruct-7B
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:Dream-org/Dream-v0-Instruct-7B
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.17.1
adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "DreamModel",
5
+ "parent_library": "dllm.pipelines.dream.models.modeling_dream"
6
+ },
7
+ "base_model_name_or_path": "/mnt/lustrenew/mllm_aligned/shared/models/huggingface/Dream-org/Dream-v0-Instruct-7B",
8
+ "bias": "none",
9
+ "corda_config": null,
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": 64,
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
+ "qalora_group_size": 16,
27
+ "r": 32,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "down_proj",
32
+ "k_proj",
33
+ "up_proj",
34
+ "q_proj",
35
+ "o_proj",
36
+ "v_proj",
37
+ "gate_proj"
38
+ ],
39
+ "target_parameters": null,
40
+ "task_type": null,
41
+ "trainable_token_indices": null,
42
+ "use_dora": false,
43
+ "use_qalora": false,
44
+ "use_rslora": false
45
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f2fe4e497ba6c7bb986c6af72a245e8e3b609d26018260c645d56553b26c4db
3
+ size 161533584
added_tokens.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|beginoftext|>": 151665,
5
+ "<|box_end|>": 151649,
6
+ "<|box_start|>": 151648,
7
+ "<|endoftext|>": 151643,
8
+ "<|file_sep|>": 151664,
9
+ "<|fim_middle|>": 151660,
10
+ "<|fim_pad|>": 151662,
11
+ "<|fim_prefix|>": 151659,
12
+ "<|fim_suffix|>": 151661,
13
+ "<|im_end|>": 151645,
14
+ "<|im_start|>": 151644,
15
+ "<|image_pad|>": 151655,
16
+ "<|mask|>": 151666,
17
+ "<|object_ref_end|>": 151647,
18
+ "<|object_ref_start|>": 151646,
19
+ "<|quad_end|>": 151651,
20
+ "<|quad_start|>": 151650,
21
+ "<|repo_name|>": 151663,
22
+ "<|video_pad|>": 151656,
23
+ "<|vision_end|>": 151653,
24
+ "<|vision_pad|>": 151654,
25
+ "<|vision_start|>": 151652
26
+ }
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 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 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
 
special_tokens_map.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|beginoftext|>",
4
+ "<|mask|>"
5
+ ],
6
+ "bos_token": {
7
+ "content": "<|beginoftext|>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "eos_token": {
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "mask_token": {
21
+ "content": "<|mask|>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false
26
+ },
27
+ "pad_token": {
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,220 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|beginoftext|>",
183
+ "lstrip": false,
184
+ "normalized": false,
185
+ "rstrip": false,
186
+ "single_word": false,
187
+ "special": true
188
+ },
189
+ "151666": {
190
+ "content": "<|mask|>",
191
+ "lstrip": false,
192
+ "normalized": false,
193
+ "rstrip": false,
194
+ "single_word": false,
195
+ "special": true
196
+ }
197
+ },
198
+ "additional_special_tokens": [
199
+ "<|beginoftext|>",
200
+ "<|mask|>"
201
+ ],
202
+ "auto_map": {
203
+ "AutoTokenizer": [
204
+ "tokenization_dream.DreamTokenizer",
205
+ null
206
+ ]
207
+ },
208
+ "bos_token": "<|beginoftext|>",
209
+ "clean_up_tokenization_spaces": false,
210
+ "eos_token": "<|endoftext|>",
211
+ "errors": "replace",
212
+ "extra_special_tokens": {},
213
+ "mask_token": "<|mask|>",
214
+ "model_max_length": 131072,
215
+ "pad_token": "<|endoftext|>",
216
+ "padding_side": "right",
217
+ "split_special_tokens": false,
218
+ "tokenizer_class": "DreamTokenizer",
219
+ "unk_token": null
220
+ }
trainer_state.json ADDED
@@ -0,0 +1,594 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 25.0,
6
+ "eval_steps": 160,
7
+ "global_step": 800,
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.32,
14
+ "grad_norm": 0.10831180959939957,
15
+ "learning_rate": 5.625e-07,
16
+ "loss": 0.3009,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.64,
21
+ "grad_norm": 0.143693745136261,
22
+ "learning_rate": 1.1875e-06,
23
+ "loss": 0.4122,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.96,
28
+ "grad_norm": 0.2045338749885559,
29
+ "learning_rate": 1.8125e-06,
30
+ "loss": 0.2875,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 1.256,
35
+ "grad_norm": 0.13860946893692017,
36
+ "learning_rate": 2.4375e-06,
37
+ "loss": 0.2742,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 1.576,
42
+ "grad_norm": 0.2552267014980316,
43
+ "learning_rate": 3.0625000000000003e-06,
44
+ "loss": 0.2651,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 1.896,
49
+ "grad_norm": 0.11148632317781448,
50
+ "learning_rate": 3.6875000000000007e-06,
51
+ "loss": 0.3698,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 2.192,
56
+ "grad_norm": 0.11400508880615234,
57
+ "learning_rate": 4.312500000000001e-06,
58
+ "loss": 0.2309,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 2.512,
63
+ "grad_norm": 0.11201531440019608,
64
+ "learning_rate": 4.937500000000001e-06,
65
+ "loss": 0.3079,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 2.832,
70
+ "grad_norm": 0.1809084713459015,
71
+ "learning_rate": 5.5625000000000005e-06,
72
+ "loss": 0.3236,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 3.128,
77
+ "grad_norm": 0.074888214468956,
78
+ "learning_rate": 6.1875000000000005e-06,
79
+ "loss": 0.2506,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 3.448,
84
+ "grad_norm": 0.09450047463178635,
85
+ "learning_rate": 6.8125e-06,
86
+ "loss": 0.2735,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 3.768,
91
+ "grad_norm": 0.10290012508630753,
92
+ "learning_rate": 7.437500000000001e-06,
93
+ "loss": 0.2252,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 4.064,
98
+ "grad_norm": 0.14294326305389404,
99
+ "learning_rate": 8.062500000000001e-06,
100
+ "loss": 0.2159,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 4.384,
105
+ "grad_norm": 0.17784863710403442,
106
+ "learning_rate": 8.687500000000001e-06,
107
+ "loss": 0.2853,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 4.704,
112
+ "grad_norm": 0.12981906533241272,
113
+ "learning_rate": 9.312500000000001e-06,
114
+ "loss": 0.2709,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 5.0,
119
+ "grad_norm": 0.11478525400161743,
120
+ "learning_rate": 9.937500000000001e-06,
121
+ "loss": 0.2341,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 5.32,
126
+ "grad_norm": 0.09994978457689285,
127
+ "learning_rate": 9.999036202410324e-06,
128
+ "loss": 0.2332,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 5.64,
133
+ "grad_norm": 0.08091111481189728,
134
+ "learning_rate": 9.995705033448435e-06,
135
+ "loss": 0.2412,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 5.96,
140
+ "grad_norm": 0.17597270011901855,
141
+ "learning_rate": 9.9899961794571e-06,
142
+ "loss": 0.2629,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 6.256,
147
+ "grad_norm": 0.09343019872903824,
148
+ "learning_rate": 9.981912357541628e-06,
149
+ "loss": 0.2044,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 6.576,
154
+ "grad_norm": 0.12633207440376282,
155
+ "learning_rate": 9.971457415163435e-06,
156
+ "loss": 0.2328,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 6.896,
161
+ "grad_norm": 0.2602401077747345,
162
+ "learning_rate": 9.958636328308852e-06,
163
+ "loss": 0.2387,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 7.192,
168
+ "grad_norm": 0.19835928082466125,
169
+ "learning_rate": 9.943455199120836e-06,
170
+ "loss": 0.2517,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 7.5120000000000005,
175
+ "grad_norm": 0.09127706289291382,
176
+ "learning_rate": 9.925921252994677e-06,
177
+ "loss": 0.2206,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 7.832,
182
+ "grad_norm": 0.08452180027961731,
183
+ "learning_rate": 9.90604283513909e-06,
184
+ "loss": 0.2617,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 8.128,
189
+ "grad_norm": 0.13507255911827087,
190
+ "learning_rate": 9.883829406604363e-06,
191
+ "loss": 0.2002,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 8.448,
196
+ "grad_norm": 0.09941849857568741,
197
+ "learning_rate": 9.859291539779407e-06,
198
+ "loss": 0.2178,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 8.768,
203
+ "grad_norm": 0.1347104012966156,
204
+ "learning_rate": 9.83244091335986e-06,
205
+ "loss": 0.1977,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 9.064,
210
+ "grad_norm": 0.08426441252231598,
211
+ "learning_rate": 9.803290306789676e-06,
212
+ "loss": 0.238,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 9.384,
217
+ "grad_norm": 0.16955962777137756,
218
+ "learning_rate": 9.771853594178791e-06,
219
+ "loss": 0.226,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 9.704,
224
+ "grad_norm": 0.14687155187129974,
225
+ "learning_rate": 9.7381457376998e-06,
226
+ "loss": 0.2722,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 10.0,
231
+ "grad_norm": 0.23694726824760437,
232
+ "learning_rate": 9.702182780466775e-06,
233
+ "loss": 0.1848,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 10.32,
238
+ "grad_norm": 0.11405057460069656,
239
+ "learning_rate": 9.663981838899612e-06,
240
+ "loss": 0.2289,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 10.64,
245
+ "grad_norm": 0.06918840110301971,
246
+ "learning_rate": 9.623561094577541e-06,
247
+ "loss": 0.2197,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 10.96,
252
+ "grad_norm": 0.1575315296649933,
253
+ "learning_rate": 9.58093978558568e-06,
254
+ "loss": 0.1979,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 11.256,
259
+ "grad_norm": 0.11266372352838516,
260
+ "learning_rate": 9.536138197358747e-06,
261
+ "loss": 0.2036,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 11.576,
266
+ "grad_norm": 0.15609796345233917,
267
+ "learning_rate": 9.48917765302629e-06,
268
+ "loss": 0.2165,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 11.896,
273
+ "grad_norm": 0.15501129627227783,
274
+ "learning_rate": 9.440080503264038e-06,
275
+ "loss": 0.225,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 12.192,
280
+ "grad_norm": 0.14790061116218567,
281
+ "learning_rate": 9.388870115656185e-06,
282
+ "loss": 0.2071,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 12.512,
287
+ "grad_norm": 0.16440975666046143,
288
+ "learning_rate": 9.335570863573687e-06,
289
+ "loss": 0.2252,
290
+ "step": 400
291
+ },
292
+ {
293
+ "epoch": 12.832,
294
+ "grad_norm": 0.16543489694595337,
295
+ "learning_rate": 9.280208114573859e-06,
296
+ "loss": 0.2614,
297
+ "step": 410
298
+ },
299
+ {
300
+ "epoch": 13.128,
301
+ "grad_norm": 0.15220142900943756,
302
+ "learning_rate": 9.222808218326784e-06,
303
+ "loss": 0.1812,
304
+ "step": 420
305
+ },
306
+ {
307
+ "epoch": 13.448,
308
+ "grad_norm": 0.17462018132209778,
309
+ "learning_rate": 9.163398494074314e-06,
310
+ "loss": 0.237,
311
+ "step": 430
312
+ },
313
+ {
314
+ "epoch": 13.768,
315
+ "grad_norm": 0.21084660291671753,
316
+ "learning_rate": 9.102007217627568e-06,
317
+ "loss": 0.2378,
318
+ "step": 440
319
+ },
320
+ {
321
+ "epoch": 14.064,
322
+ "grad_norm": 0.1916162073612213,
323
+ "learning_rate": 9.038663607909198e-06,
324
+ "loss": 0.1792,
325
+ "step": 450
326
+ },
327
+ {
328
+ "epoch": 14.384,
329
+ "grad_norm": 0.21277697384357452,
330
+ "learning_rate": 8.97339781304675e-06,
331
+ "loss": 0.2217,
332
+ "step": 460
333
+ },
334
+ {
335
+ "epoch": 14.704,
336
+ "grad_norm": 0.12744972109794617,
337
+ "learning_rate": 8.906240896023794e-06,
338
+ "loss": 0.2342,
339
+ "step": 470
340
+ },
341
+ {
342
+ "epoch": 15.0,
343
+ "grad_norm": 0.19419269263744354,
344
+ "learning_rate": 8.837224819895627e-06,
345
+ "loss": 0.2181,
346
+ "step": 480
347
+ },
348
+ {
349
+ "epoch": 15.32,
350
+ "grad_norm": 0.1470198631286621,
351
+ "learning_rate": 8.766382432576589e-06,
352
+ "loss": 0.2157,
353
+ "step": 490
354
+ },
355
+ {
356
+ "epoch": 15.64,
357
+ "grad_norm": 0.1495155543088913,
358
+ "learning_rate": 8.693747451206231e-06,
359
+ "loss": 0.1932,
360
+ "step": 500
361
+ },
362
+ {
363
+ "epoch": 15.96,
364
+ "grad_norm": 0.2851159870624542,
365
+ "learning_rate": 8.61935444610179e-06,
366
+ "loss": 0.207,
367
+ "step": 510
368
+ },
369
+ {
370
+ "epoch": 16.256,
371
+ "grad_norm": 0.13762244582176208,
372
+ "learning_rate": 8.543238824304585e-06,
373
+ "loss": 0.2399,
374
+ "step": 520
375
+ },
376
+ {
377
+ "epoch": 16.576,
378
+ "grad_norm": 0.1461113542318344,
379
+ "learning_rate": 8.465436812728181e-06,
380
+ "loss": 0.216,
381
+ "step": 530
382
+ },
383
+ {
384
+ "epoch": 16.896,
385
+ "grad_norm": 0.10633894801139832,
386
+ "learning_rate": 8.385985440916344e-06,
387
+ "loss": 0.2253,
388
+ "step": 540
389
+ },
390
+ {
391
+ "epoch": 17.192,
392
+ "grad_norm": 0.23198412358760834,
393
+ "learning_rate": 8.304922523418988e-06,
394
+ "loss": 0.1824,
395
+ "step": 550
396
+ },
397
+ {
398
+ "epoch": 17.512,
399
+ "grad_norm": 0.1170201450586319,
400
+ "learning_rate": 8.222286641794488e-06,
401
+ "loss": 0.2284,
402
+ "step": 560
403
+ },
404
+ {
405
+ "epoch": 17.832,
406
+ "grad_norm": 0.12365196645259857,
407
+ "learning_rate": 8.138117126246951e-06,
408
+ "loss": 0.2293,
409
+ "step": 570
410
+ },
411
+ {
412
+ "epoch": 18.128,
413
+ "grad_norm": 0.10224795341491699,
414
+ "learning_rate": 8.052454036907174e-06,
415
+ "loss": 0.1917,
416
+ "step": 580
417
+ },
418
+ {
419
+ "epoch": 18.448,
420
+ "grad_norm": 0.15871191024780273,
421
+ "learning_rate": 7.965338144766186e-06,
422
+ "loss": 0.2351,
423
+ "step": 590
424
+ },
425
+ {
426
+ "epoch": 18.768,
427
+ "grad_norm": 0.16119912266731262,
428
+ "learning_rate": 7.876810912270462e-06,
429
+ "loss": 0.1998,
430
+ "step": 600
431
+ },
432
+ {
433
+ "epoch": 19.064,
434
+ "grad_norm": 0.15410035848617554,
435
+ "learning_rate": 7.786914473588057e-06,
436
+ "loss": 0.2056,
437
+ "step": 610
438
+ },
439
+ {
440
+ "epoch": 19.384,
441
+ "grad_norm": 0.06814954429864883,
442
+ "learning_rate": 7.695691614555002e-06,
443
+ "loss": 0.2218,
444
+ "step": 620
445
+ },
446
+ {
447
+ "epoch": 19.704,
448
+ "grad_norm": 0.11184962838888168,
449
+ "learning_rate": 7.603185752311587e-06,
450
+ "loss": 0.2361,
451
+ "step": 630
452
+ },
453
+ {
454
+ "epoch": 20.0,
455
+ "grad_norm": 1.6558356285095215,
456
+ "learning_rate": 7.50944091463814e-06,
457
+ "loss": 0.2012,
458
+ "step": 640
459
+ },
460
+ {
461
+ "epoch": 20.32,
462
+ "grad_norm": 0.13709917664527893,
463
+ "learning_rate": 7.414501719000187e-06,
464
+ "loss": 0.2123,
465
+ "step": 650
466
+ },
467
+ {
468
+ "epoch": 20.64,
469
+ "grad_norm": 0.1258680671453476,
470
+ "learning_rate": 7.318413351312965e-06,
471
+ "loss": 0.204,
472
+ "step": 660
473
+ },
474
+ {
475
+ "epoch": 20.96,
476
+ "grad_norm": 0.16226519644260406,
477
+ "learning_rate": 7.221221544435364e-06,
478
+ "loss": 0.2101,
479
+ "step": 670
480
+ },
481
+ {
482
+ "epoch": 21.256,
483
+ "grad_norm": 0.12673161923885345,
484
+ "learning_rate": 7.1229725564035665e-06,
485
+ "loss": 0.201,
486
+ "step": 680
487
+ },
488
+ {
489
+ "epoch": 21.576,
490
+ "grad_norm": 0.17159311473369598,
491
+ "learning_rate": 7.023713148414728e-06,
492
+ "loss": 0.1921,
493
+ "step": 690
494
+ },
495
+ {
496
+ "epoch": 21.896,
497
+ "grad_norm": 0.1495276689529419,
498
+ "learning_rate": 6.9234905625711816e-06,
499
+ "loss": 0.2538,
500
+ "step": 700
501
+ },
502
+ {
503
+ "epoch": 22.192,
504
+ "grad_norm": 0.15952152013778687,
505
+ "learning_rate": 6.822352499395751e-06,
506
+ "loss": 0.1912,
507
+ "step": 710
508
+ },
509
+ {
510
+ "epoch": 22.512,
511
+ "grad_norm": 0.1319791078567505,
512
+ "learning_rate": 6.720347095128884e-06,
513
+ "loss": 0.231,
514
+ "step": 720
515
+ },
516
+ {
517
+ "epoch": 22.832,
518
+ "grad_norm": 0.09241311997175217,
519
+ "learning_rate": 6.617522898818426e-06,
520
+ "loss": 0.2196,
521
+ "step": 730
522
+ },
523
+ {
524
+ "epoch": 23.128,
525
+ "grad_norm": 0.1970575898885727,
526
+ "learning_rate": 6.513928849212874e-06,
527
+ "loss": 0.1909,
528
+ "step": 740
529
+ },
530
+ {
531
+ "epoch": 23.448,
532
+ "grad_norm": 0.12065102159976959,
533
+ "learning_rate": 6.4096142514692085e-06,
534
+ "loss": 0.2503,
535
+ "step": 750
536
+ },
537
+ {
538
+ "epoch": 23.768,
539
+ "grad_norm": 0.12692612409591675,
540
+ "learning_rate": 6.304628753686295e-06,
541
+ "loss": 0.1812,
542
+ "step": 760
543
+ },
544
+ {
545
+ "epoch": 24.064,
546
+ "grad_norm": 0.12434836477041245,
547
+ "learning_rate": 6.199022323275083e-06,
548
+ "loss": 0.2124,
549
+ "step": 770
550
+ },
551
+ {
552
+ "epoch": 24.384,
553
+ "grad_norm": 0.17354550957679749,
554
+ "learning_rate": 6.092845223176823e-06,
555
+ "loss": 0.2023,
556
+ "step": 780
557
+ },
558
+ {
559
+ "epoch": 24.704,
560
+ "grad_norm": 0.2949866056442261,
561
+ "learning_rate": 5.986147987940632e-06,
562
+ "loss": 0.2236,
563
+ "step": 790
564
+ },
565
+ {
566
+ "epoch": 25.0,
567
+ "grad_norm": 0.2490314096212387,
568
+ "learning_rate": 5.878981399671774e-06,
569
+ "loss": 0.1977,
570
+ "step": 800
571
+ }
572
+ ],
573
+ "logging_steps": 10,
574
+ "max_steps": 1600,
575
+ "num_input_tokens_seen": 0,
576
+ "num_train_epochs": 50,
577
+ "save_steps": 160,
578
+ "stateful_callbacks": {
579
+ "TrainerControl": {
580
+ "args": {
581
+ "should_epoch_stop": false,
582
+ "should_evaluate": false,
583
+ "should_log": false,
584
+ "should_save": true,
585
+ "should_training_stop": false
586
+ },
587
+ "attributes": {}
588
+ }
589
+ },
590
+ "total_flos": 1.0189850507938365e+18,
591
+ "train_batch_size": 1,
592
+ "trial_name": null,
593
+ "trial_params": null
594
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:275d2961a45c654384dd950a725f53b30455e20f47a0c1ec5907cd7901034b74
3
+ size 6968
vocab.json ADDED
The diff for this file is too large to render. See raw diff