robertou2 commited on
Commit
e085cf3
·
verified ·
1 Parent(s): 1b566eb

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
3
  library_name: peft
4
  ---
5
 
@@ -199,4 +199,4 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
199
  [More Information Needed]
200
  ### Framework versions
201
 
202
- - PEFT 0.15.2
 
1
  ---
2
+ base_model: mistralai/Mistral-7B-Instruct-v0.3
3
  library_name: peft
4
  ---
5
 
 
199
  [More Information Needed]
200
  ### Framework versions
201
 
202
+ - PEFT 0.15.0
adapter_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
- "base_model_name_or_path": "mistralai/mistral-7b-instruct-v0.3",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
@@ -10,23 +10,26 @@
10
  "layers_pattern": null,
11
  "layers_to_transform": null,
12
  "loftq_config": {},
13
- "lora_alpha": 256,
14
- "lora_dropout": 0.2,
15
  "megatron_config": null,
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
19
- "r": 128,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "q_proj",
24
- "k_proj",
25
- "gate_proj",
26
  "up_proj",
 
 
27
  "down_proj",
 
 
28
  "o_proj",
29
- "v_proj"
 
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
1
  {
2
  "alpha_pattern": {},
3
  "auto_mapping": null,
4
+ "base_model_name_or_path": "mistralai/Mistral-7B-Instruct-v0.3",
5
  "bias": "none",
6
  "fan_in_fan_out": false,
7
  "inference_mode": true,
 
10
  "layers_pattern": null,
11
  "layers_to_transform": null,
12
  "loftq_config": {},
13
+ "lora_alpha": 32,
14
+ "lora_dropout": 0.05,
15
  "megatron_config": null,
16
  "megatron_core": "megatron.core",
17
  "modules_to_save": null,
18
  "peft_type": "LORA",
19
+ "r": 16,
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
+ "lm_head",
 
 
24
  "up_proj",
25
+ "v_proj",
26
+ "k_proj",
27
  "down_proj",
28
+ "fc1",
29
+ "fc2",
30
  "o_proj",
31
+ "gate_proj",
32
+ "q_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
35
  "use_dora": false,
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5688e3fecd65ac31fbe0f744b7374da6823663ec32ea1fddfe7fdbb2ff07eb61
3
- size 671150064
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96345905565c6c5c711ee6ad708b7466859bd150df9d1895668af8f39e0be019
3
+ size 438627360
special_tokens_map.json CHANGED
@@ -13,13 +13,7 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": {
17
- "content": "[control_768]",
18
- "lstrip": false,
19
- "normalized": false,
20
- "rstrip": false,
21
- "single_word": false
22
- },
23
  "unk_token": {
24
  "content": "<unk>",
25
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": "</s>",
 
 
 
 
 
 
17
  "unk_token": {
18
  "content": "<unk>",
19
  "lstrip": false,
trainer_state.json ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 13.132231404958677,
6
+ "eval_steps": 500,
7
+ "global_step": 400,
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.3305785123966942,
14
+ "grad_norm": 2.2538764476776123,
15
+ "learning_rate": 0.00027,
16
+ "loss": 1.9421,
17
+ "step": 10
18
+ },
19
+ {
20
+ "epoch": 0.6611570247933884,
21
+ "grad_norm": 2.071784019470215,
22
+ "learning_rate": 0.00029834218059022024,
23
+ "loss": 1.7991,
24
+ "step": 20
25
+ },
26
+ {
27
+ "epoch": 0.9917355371900827,
28
+ "grad_norm": 2.1005189418792725,
29
+ "learning_rate": 0.00029265847744427303,
30
+ "loss": 1.7063,
31
+ "step": 30
32
+ },
33
+ {
34
+ "epoch": 1.2975206611570247,
35
+ "grad_norm": 2.115266799926758,
36
+ "learning_rate": 0.00028308342291654174,
37
+ "loss": 1.1965,
38
+ "step": 40
39
+ },
40
+ {
41
+ "epoch": 1.6280991735537191,
42
+ "grad_norm": 2.5068259239196777,
43
+ "learning_rate": 0.00026987819953423867,
44
+ "loss": 1.0111,
45
+ "step": 50
46
+ },
47
+ {
48
+ "epoch": 1.9586776859504131,
49
+ "grad_norm": 2.9106173515319824,
50
+ "learning_rate": 0.00025340301136778483,
51
+ "loss": 1.0334,
52
+ "step": 60
53
+ },
54
+ {
55
+ "epoch": 2.2644628099173554,
56
+ "grad_norm": 2.115727424621582,
57
+ "learning_rate": 0.0002341072586027509,
58
+ "loss": 0.6771,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 2.5950413223140494,
63
+ "grad_norm": 2.2171154022216797,
64
+ "learning_rate": 0.00021251727907429355,
65
+ "loss": 0.4238,
66
+ "step": 80
67
+ },
68
+ {
69
+ "epoch": 2.925619834710744,
70
+ "grad_norm": 1.6520980596542358,
71
+ "learning_rate": 0.00018922199114307294,
72
+ "loss": 0.4043,
73
+ "step": 90
74
+ },
75
+ {
76
+ "epoch": 3.231404958677686,
77
+ "grad_norm": 2.3576242923736572,
78
+ "learning_rate": 0.00016485682953756942,
79
+ "loss": 0.2847,
80
+ "step": 100
81
+ },
82
+ {
83
+ "epoch": 3.56198347107438,
84
+ "grad_norm": 1.8273522853851318,
85
+ "learning_rate": 0.00014008641235114508,
86
+ "loss": 0.2007,
87
+ "step": 110
88
+ },
89
+ {
90
+ "epoch": 3.8925619834710745,
91
+ "grad_norm": 1.627296805381775,
92
+ "learning_rate": 0.00011558641199298727,
93
+ "loss": 0.138,
94
+ "step": 120
95
+ },
96
+ {
97
+ "epoch": 4.198347107438017,
98
+ "grad_norm": 1.7023773193359375,
99
+ "learning_rate": 9.202512460613219e-05,
100
+ "loss": 0.151,
101
+ "step": 130
102
+ },
103
+ {
104
+ "epoch": 4.528925619834711,
105
+ "grad_norm": 1.108082890510559,
106
+ "learning_rate": 7.004524069080096e-05,
107
+ "loss": 0.0575,
108
+ "step": 140
109
+ },
110
+ {
111
+ "epoch": 4.859504132231405,
112
+ "grad_norm": 0.7116100192070007,
113
+ "learning_rate": 5.024631418292274e-05,
114
+ "loss": 0.0528,
115
+ "step": 150
116
+ },
117
+ {
118
+ "epoch": 5.1652892561983474,
119
+ "grad_norm": 0.428362637758255,
120
+ "learning_rate": 3.316840818568315e-05,
121
+ "loss": 0.0432,
122
+ "step": 160
123
+ },
124
+ {
125
+ "epoch": 5.4958677685950414,
126
+ "grad_norm": 0.38093993067741394,
127
+ "learning_rate": 1.927736345590839e-05,
128
+ "loss": 0.0171,
129
+ "step": 170
130
+ },
131
+ {
132
+ "epoch": 5.8264462809917354,
133
+ "grad_norm": 0.5677882432937622,
134
+ "learning_rate": 8.952091482575824e-06,
135
+ "loss": 0.0179,
136
+ "step": 180
137
+ },
138
+ {
139
+ "epoch": 6.132231404958677,
140
+ "grad_norm": 0.27657485008239746,
141
+ "learning_rate": 2.4742387691426445e-06,
142
+ "loss": 0.0117,
143
+ "step": 190
144
+ },
145
+ {
146
+ "epoch": 6.462809917355372,
147
+ "grad_norm": 0.14065445959568024,
148
+ "learning_rate": 2.0504251129649374e-08,
149
+ "loss": 0.0109,
150
+ "step": 200
151
+ },
152
+ {
153
+ "epoch": 6.991735537190083,
154
+ "grad_norm": 0.25906819105148315,
155
+ "learning_rate": 0.00015124008823666873,
156
+ "loss": 0.0089,
157
+ "step": 210
158
+ },
159
+ {
160
+ "epoch": 7.330578512396694,
161
+ "grad_norm": 0.5590444207191467,
162
+ "learning_rate": 0.00013884937419991687,
163
+ "loss": 0.0148,
164
+ "step": 220
165
+ },
166
+ {
167
+ "epoch": 7.661157024793388,
168
+ "grad_norm": 0.36452558636665344,
169
+ "learning_rate": 0.00012653483024396533,
170
+ "loss": 0.0145,
171
+ "step": 230
172
+ },
173
+ {
174
+ "epoch": 7.991735537190083,
175
+ "grad_norm": 1.2531826496124268,
176
+ "learning_rate": 0.00011438057719081671,
177
+ "loss": 0.0174,
178
+ "step": 240
179
+ },
180
+ {
181
+ "epoch": 8.297520661157025,
182
+ "grad_norm": 0.6274934411048889,
183
+ "learning_rate": 0.00010246964091307433,
184
+ "loss": 0.0165,
185
+ "step": 250
186
+ },
187
+ {
188
+ "epoch": 8.62809917355372,
189
+ "grad_norm": 0.42108115553855896,
190
+ "learning_rate": 9.088338518304578e-05,
191
+ "loss": 0.0172,
192
+ "step": 260
193
+ },
194
+ {
195
+ "epoch": 8.958677685950413,
196
+ "grad_norm": 0.641461193561554,
197
+ "learning_rate": 7.970095587567578e-05,
198
+ "loss": 0.021,
199
+ "step": 270
200
+ },
201
+ {
202
+ "epoch": 9.264462809917354,
203
+ "grad_norm": 0.9046468138694763,
204
+ "learning_rate": 6.899874032196796e-05,
205
+ "loss": 0.0118,
206
+ "step": 280
207
+ },
208
+ {
209
+ "epoch": 9.59504132231405,
210
+ "grad_norm": 0.4416114091873169,
211
+ "learning_rate": 5.884984550605782e-05,
212
+ "loss": 0.0118,
213
+ "step": 290
214
+ },
215
+ {
216
+ "epoch": 9.925619834710744,
217
+ "grad_norm": 1.0179201364517212,
218
+ "learning_rate": 4.9323598670382096e-05,
219
+ "loss": 0.0123,
220
+ "step": 300
221
+ },
222
+ {
223
+ "epoch": 10.231404958677686,
224
+ "grad_norm": 0.34066879749298096,
225
+ "learning_rate": 4.0485073740315574e-05,
226
+ "loss": 0.0065,
227
+ "step": 310
228
+ },
229
+ {
230
+ "epoch": 10.561983471074381,
231
+ "grad_norm": 0.44902798533439636,
232
+ "learning_rate": 3.239464680327706e-05,
233
+ "loss": 0.0063,
234
+ "step": 320
235
+ },
236
+ {
237
+ "epoch": 10.892561983471074,
238
+ "grad_norm": 0.10280103981494904,
239
+ "learning_rate": 2.5107583678831445e-05,
240
+ "loss": 0.0058,
241
+ "step": 330
242
+ },
243
+ {
244
+ "epoch": 11.198347107438016,
245
+ "grad_norm": 0.036108873784542084,
246
+ "learning_rate": 1.8673662397103577e-05,
247
+ "loss": 0.0056,
248
+ "step": 340
249
+ },
250
+ {
251
+ "epoch": 11.52892561983471,
252
+ "grad_norm": 0.048432257026433945,
253
+ "learning_rate": 1.3136833164357929e-05,
254
+ "loss": 0.0022,
255
+ "step": 350
256
+ },
257
+ {
258
+ "epoch": 11.859504132231406,
259
+ "grad_norm": 0.04557422176003456,
260
+ "learning_rate": 8.53491813852521e-06,
261
+ "loss": 0.0025,
262
+ "step": 360
263
+ },
264
+ {
265
+ "epoch": 12.165289256198347,
266
+ "grad_norm": 0.03517599403858185,
267
+ "learning_rate": 4.899353065512262e-06,
268
+ "loss": 0.0018,
269
+ "step": 370
270
+ },
271
+ {
272
+ "epoch": 12.49586776859504,
273
+ "grad_norm": 0.07305194437503815,
274
+ "learning_rate": 2.2549725411822483e-06,
275
+ "loss": 0.002,
276
+ "step": 380
277
+ },
278
+ {
279
+ "epoch": 12.826446280991735,
280
+ "grad_norm": 0.03562126308679581,
281
+ "learning_rate": 6.198403658829232e-07,
282
+ "loss": 0.0021,
283
+ "step": 390
284
+ },
285
+ {
286
+ "epoch": 13.132231404958677,
287
+ "grad_norm": 0.046182479709386826,
288
+ "learning_rate": 5.1261503738131425e-09,
289
+ "loss": 0.0022,
290
+ "step": 400
291
+ }
292
+ ],
293
+ "logging_steps": 10,
294
+ "max_steps": 400,
295
+ "num_input_tokens_seen": 0,
296
+ "num_train_epochs": 14,
297
+ "save_steps": 500,
298
+ "stateful_callbacks": {
299
+ "TrainerControl": {
300
+ "args": {
301
+ "should_epoch_stop": false,
302
+ "should_evaluate": false,
303
+ "should_log": false,
304
+ "should_save": true,
305
+ "should_training_stop": true
306
+ },
307
+ "attributes": {}
308
+ }
309
+ },
310
+ "total_flos": 9.281442086756352e+16,
311
+ "train_batch_size": 1,
312
+ "trial_name": null,
313
+ "trial_params": null
314
+ }