weiweiyang commited on
Commit
49d94a8
1 Parent(s): 16f0e7f

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,3 +1,220 @@
1
  ---
2
- license: apache-2.0
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: peft
3
+ base_model: mistralai/Mistral-7B-v0.1
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
+
201
+
202
+ ## Training procedure
203
+
204
+
205
+ The following `bitsandbytes` quantization config was used during training:
206
+ - quant_method: bitsandbytes
207
+ - load_in_8bit: False
208
+ - load_in_4bit: True
209
+ - llm_int8_threshold: 6.0
210
+ - llm_int8_skip_modules: None
211
+ - llm_int8_enable_fp32_cpu_offload: False
212
+ - llm_int8_has_fp16_weight: False
213
+ - bnb_4bit_quant_type: nf4
214
+ - bnb_4bit_use_double_quant: True
215
+ - bnb_4bit_compute_dtype: bfloat16
216
+
217
+ ### Framework versions
218
+
219
+
220
+ - PEFT 0.6.3.dev0
adapter_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-v0.1",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "lora_alpha": 32,
12
+ "lora_dropout": 0.05,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 8,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "o_proj",
20
+ "q_proj",
21
+ "up_proj",
22
+ "down_proj",
23
+ "k_proj",
24
+ "v_proj",
25
+ "lm_head",
26
+ "gate_proj"
27
+ ],
28
+ "task_type": "CAUSAL_LM"
29
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4c9908eaf5b57e25f51feb62dce86a0ca6495fd6cffe0db54f46a8d0e35c2ee
3
+ size 85100592
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49b0f3b68162daa429f96d6924f555c99d0a088ac6eff7504061c06826bdc554
3
+ size 43127132
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ffed6d4f513eefea1bbd2e6d94b0c2ee7dba23cd38e7ff8e5de5c5fa5fdae612
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eedfec4bc6f5a00a07b48568793720af057cf404e35f584cd69e8f806039a34d
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.8560727661851257,
5
+ "eval_steps": 20,
6
+ "global_step": 400,
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.04,
13
+ "learning_rate": 1.9325842696629215e-05,
14
+ "loss": 1.8283,
15
+ "step": 20
16
+ },
17
+ {
18
+ "epoch": 0.04,
19
+ "eval_loss": 1.7597882747650146,
20
+ "eval_runtime": 167.9254,
21
+ "eval_samples_per_second": 2.65,
22
+ "eval_steps_per_second": 0.268,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.09,
27
+ "learning_rate": 1.8426966292134835e-05,
28
+ "loss": 1.7181,
29
+ "step": 40
30
+ },
31
+ {
32
+ "epoch": 0.09,
33
+ "eval_loss": 1.7029485702514648,
34
+ "eval_runtime": 168.0408,
35
+ "eval_samples_per_second": 2.648,
36
+ "eval_steps_per_second": 0.268,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.13,
41
+ "learning_rate": 1.752808988764045e-05,
42
+ "loss": 1.6777,
43
+ "step": 60
44
+ },
45
+ {
46
+ "epoch": 0.13,
47
+ "eval_loss": 1.6699800491333008,
48
+ "eval_runtime": 167.9993,
49
+ "eval_samples_per_second": 2.649,
50
+ "eval_steps_per_second": 0.268,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.17,
55
+ "learning_rate": 1.662921348314607e-05,
56
+ "loss": 1.6555,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.17,
61
+ "eval_loss": 1.6510975360870361,
62
+ "eval_runtime": 168.0236,
63
+ "eval_samples_per_second": 2.648,
64
+ "eval_steps_per_second": 0.268,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.21,
69
+ "learning_rate": 1.5730337078651687e-05,
70
+ "loss": 1.6371,
71
+ "step": 100
72
+ },
73
+ {
74
+ "epoch": 0.21,
75
+ "eval_loss": 1.6391140222549438,
76
+ "eval_runtime": 167.9874,
77
+ "eval_samples_per_second": 2.649,
78
+ "eval_steps_per_second": 0.268,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.26,
83
+ "learning_rate": 1.4831460674157305e-05,
84
+ "loss": 1.638,
85
+ "step": 120
86
+ },
87
+ {
88
+ "epoch": 0.26,
89
+ "eval_loss": 1.6307817697525024,
90
+ "eval_runtime": 167.9676,
91
+ "eval_samples_per_second": 2.649,
92
+ "eval_steps_per_second": 0.268,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.3,
97
+ "learning_rate": 1.3932584269662923e-05,
98
+ "loss": 1.6334,
99
+ "step": 140
100
+ },
101
+ {
102
+ "epoch": 0.3,
103
+ "eval_loss": 1.6237455606460571,
104
+ "eval_runtime": 167.9795,
105
+ "eval_samples_per_second": 2.649,
106
+ "eval_steps_per_second": 0.268,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.34,
111
+ "learning_rate": 1.303370786516854e-05,
112
+ "loss": 1.6568,
113
+ "step": 160
114
+ },
115
+ {
116
+ "epoch": 0.34,
117
+ "eval_loss": 1.6185747385025024,
118
+ "eval_runtime": 167.9491,
119
+ "eval_samples_per_second": 2.65,
120
+ "eval_steps_per_second": 0.268,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.39,
125
+ "learning_rate": 1.213483146067416e-05,
126
+ "loss": 1.6095,
127
+ "step": 180
128
+ },
129
+ {
130
+ "epoch": 0.39,
131
+ "eval_loss": 1.6145987510681152,
132
+ "eval_runtime": 167.8883,
133
+ "eval_samples_per_second": 2.651,
134
+ "eval_steps_per_second": 0.268,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 0.43,
139
+ "learning_rate": 1.1235955056179778e-05,
140
+ "loss": 1.6347,
141
+ "step": 200
142
+ },
143
+ {
144
+ "epoch": 0.43,
145
+ "eval_loss": 1.6116222143173218,
146
+ "eval_runtime": 167.9012,
147
+ "eval_samples_per_second": 2.65,
148
+ "eval_steps_per_second": 0.268,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 0.47,
153
+ "learning_rate": 1.0337078651685396e-05,
154
+ "loss": 1.6201,
155
+ "step": 220
156
+ },
157
+ {
158
+ "epoch": 0.47,
159
+ "eval_loss": 1.608642339706421,
160
+ "eval_runtime": 168.0086,
161
+ "eval_samples_per_second": 2.649,
162
+ "eval_steps_per_second": 0.268,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 0.51,
167
+ "learning_rate": 9.438202247191012e-06,
168
+ "loss": 1.5781,
169
+ "step": 240
170
+ },
171
+ {
172
+ "epoch": 0.51,
173
+ "eval_loss": 1.6063767671585083,
174
+ "eval_runtime": 167.9056,
175
+ "eval_samples_per_second": 2.65,
176
+ "eval_steps_per_second": 0.268,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 0.56,
181
+ "learning_rate": 8.53932584269663e-06,
182
+ "loss": 1.6158,
183
+ "step": 260
184
+ },
185
+ {
186
+ "epoch": 0.56,
187
+ "eval_loss": 1.6039100885391235,
188
+ "eval_runtime": 286.9359,
189
+ "eval_samples_per_second": 1.551,
190
+ "eval_steps_per_second": 0.157,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 0.6,
195
+ "learning_rate": 7.640449438202247e-06,
196
+ "loss": 1.6098,
197
+ "step": 280
198
+ },
199
+ {
200
+ "epoch": 0.6,
201
+ "eval_loss": 1.602189540863037,
202
+ "eval_runtime": 336.0332,
203
+ "eval_samples_per_second": 1.324,
204
+ "eval_steps_per_second": 0.134,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 0.64,
209
+ "learning_rate": 6.741573033707865e-06,
210
+ "loss": 1.6083,
211
+ "step": 300
212
+ },
213
+ {
214
+ "epoch": 0.64,
215
+ "eval_loss": 1.6008193492889404,
216
+ "eval_runtime": 333.4484,
217
+ "eval_samples_per_second": 1.335,
218
+ "eval_steps_per_second": 0.135,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 0.68,
223
+ "learning_rate": 5.842696629213483e-06,
224
+ "loss": 1.596,
225
+ "step": 320
226
+ },
227
+ {
228
+ "epoch": 0.68,
229
+ "eval_loss": 1.5991967916488647,
230
+ "eval_runtime": 333.495,
231
+ "eval_samples_per_second": 1.334,
232
+ "eval_steps_per_second": 0.135,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 0.73,
237
+ "learning_rate": 4.943820224719101e-06,
238
+ "loss": 1.6007,
239
+ "step": 340
240
+ },
241
+ {
242
+ "epoch": 0.73,
243
+ "eval_loss": 1.598080039024353,
244
+ "eval_runtime": 333.0437,
245
+ "eval_samples_per_second": 1.336,
246
+ "eval_steps_per_second": 0.135,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 0.77,
251
+ "learning_rate": 4.04494382022472e-06,
252
+ "loss": 1.6234,
253
+ "step": 360
254
+ },
255
+ {
256
+ "epoch": 0.77,
257
+ "eval_loss": 1.5969579219818115,
258
+ "eval_runtime": 336.627,
259
+ "eval_samples_per_second": 1.322,
260
+ "eval_steps_per_second": 0.134,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 0.81,
265
+ "learning_rate": 3.146067415730337e-06,
266
+ "loss": 1.6078,
267
+ "step": 380
268
+ },
269
+ {
270
+ "epoch": 0.81,
271
+ "eval_loss": 1.5960769653320312,
272
+ "eval_runtime": 333.84,
273
+ "eval_samples_per_second": 1.333,
274
+ "eval_steps_per_second": 0.135,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 0.86,
279
+ "learning_rate": 2.2471910112359554e-06,
280
+ "loss": 1.5983,
281
+ "step": 400
282
+ },
283
+ {
284
+ "epoch": 0.86,
285
+ "eval_loss": 1.5955034494400024,
286
+ "eval_runtime": 335.6186,
287
+ "eval_samples_per_second": 1.326,
288
+ "eval_steps_per_second": 0.134,
289
+ "step": 400
290
+ }
291
+ ],
292
+ "logging_steps": 20,
293
+ "max_steps": 450,
294
+ "num_input_tokens_seen": 0,
295
+ "num_train_epochs": 1,
296
+ "save_steps": 20,
297
+ "total_flos": 2.804385205714944e+17,
298
+ "trial_name": null,
299
+ "trial_params": null
300
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75dba7c5f891acdcd82aeb8bc8677541948c16cf3e42df5cb5a12220cc740514
3
+ size 4664