andrewbai commited on
Commit
f4cab46
1 Parent(s): 70fa826

Model save

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: tinyllama-sft-vicuna-sub-large-user-length
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # tinyllama-sft-vicuna-sub-large-user-length
17
+
18
+ This model is a fine-tuned version of [TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T](https://huggingface.co/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8082
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 2e-05
40
+ - train_batch_size: 16
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - distributed_type: multi-GPU
44
+ - num_devices: 4
45
+ - gradient_accumulation_steps: 2
46
+ - total_train_batch_size: 128
47
+ - total_eval_batch_size: 32
48
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
49
+ - lr_scheduler_type: cosine
50
+ - lr_scheduler_warmup_ratio: 0.1
51
+ - num_epochs: 1
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss |
56
+ |:-------------:|:------:|:----:|:---------------:|
57
+ | 0.7371 | 0.9979 | 234 | 0.8082 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.40.2
63
+ - Pytorch 2.3.0+cu121
64
+ - Datasets 2.19.1
65
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.997867803837953,
3
+ "total_flos": 33774549073920.0,
4
+ "train_loss": 0.10635672063909025,
5
+ "train_runtime": 571.525,
6
+ "train_samples": 30000,
7
+ "train_samples_per_second": 52.491,
8
+ "train_steps_per_second": 0.409
9
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 1,
3
+ "eos_token_id": 2,
4
+ "max_length": 2048,
5
+ "pad_token_id": 0,
6
+ "transformers_version": "4.40.2"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e72dccca6fa814cd76baa86868e6ee6401b79e5a98d67597c2106e9bdb5b63bd
3
  size 2200128056
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fa86ffeb1d247312afbfa6cf635a3f0dfae2d3f1a61bd819a7ddc4b231d2cac
3
  size 2200128056
runs/May28_14-19-13_illidan.cs.ucla.edu/events.out.tfevents.1716931351.illidan.cs.ucla.edu.1332035.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fb3fdc48e9a4498659362a8836c1fde76fb12a90b07ce470f403b9f1feb86aa8
3
- size 13557
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec4a97df3adcc249904677216a644544b27ceae87b4dad773d34d15aaf5174c7
3
+ size 14823
runs/May28_17-12-50_illidan.cs.ucla.edu/events.out.tfevents.1716941773.illidan.cs.ucla.edu.1366945.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dcbb08d21737498efc85144f05c4a74393830ab810fc262ffced68c89646644
3
+ size 6276
runs/May28_17-52-35_illidan.cs.ucla.edu/events.out.tfevents.1716944161.illidan.cs.ucla.edu.1370963.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c6dc27d41ae520f9f580588192fadb79e057659e84462f0de0664fa3c5e595
3
+ size 6901
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.997867803837953,
3
+ "total_flos": 33774549073920.0,
4
+ "train_loss": 0.10635672063909025,
5
+ "train_runtime": 571.525,
6
+ "train_samples": 30000,
7
+ "train_samples_per_second": 52.491,
8
+ "train_steps_per_second": 0.409
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.997867803837953,
5
+ "eval_steps": 500,
6
+ "global_step": 234,
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.0042643923240938165,
13
+ "grad_norm": 13.164892633164182,
14
+ "learning_rate": 8.333333333333333e-07,
15
+ "loss": 1.2838,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.021321961620469083,
20
+ "grad_norm": 13.029711373453647,
21
+ "learning_rate": 4.166666666666667e-06,
22
+ "loss": 1.2526,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.042643923240938165,
27
+ "grad_norm": 3.5199617069158804,
28
+ "learning_rate": 8.333333333333334e-06,
29
+ "loss": 1.0605,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.06396588486140725,
34
+ "grad_norm": 1.2776560944344613,
35
+ "learning_rate": 1.25e-05,
36
+ "loss": 0.9123,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.08528784648187633,
41
+ "grad_norm": 0.8246714856851984,
42
+ "learning_rate": 1.6666666666666667e-05,
43
+ "loss": 0.8532,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.10660980810234541,
48
+ "grad_norm": 0.7374629021484648,
49
+ "learning_rate": 1.9998881018102735e-05,
50
+ "loss": 0.8593,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.1279317697228145,
55
+ "grad_norm": 0.7107522845433699,
56
+ "learning_rate": 1.9959742939952393e-05,
57
+ "loss": 0.831,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.14925373134328357,
62
+ "grad_norm": 0.6801911731580033,
63
+ "learning_rate": 1.9864905939235215e-05,
64
+ "loss": 0.8091,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.17057569296375266,
69
+ "grad_norm": 0.6722594515036292,
70
+ "learning_rate": 1.9714900382928674e-05,
71
+ "loss": 0.8082,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.19189765458422176,
76
+ "grad_norm": 0.7086508757812415,
77
+ "learning_rate": 1.9510565162951538e-05,
78
+ "loss": 0.7721,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.21321961620469082,
83
+ "grad_norm": 0.6938808747188856,
84
+ "learning_rate": 1.9253043004739967e-05,
85
+ "loss": 0.7891,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.2345415778251599,
90
+ "grad_norm": 0.6827952547206133,
91
+ "learning_rate": 1.8943774076663372e-05,
92
+ "loss": 0.7839,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.255863539445629,
97
+ "grad_norm": 0.684615563560688,
98
+ "learning_rate": 1.8584487936018663e-05,
99
+ "loss": 0.7652,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.2771855010660981,
104
+ "grad_norm": 0.7280058924197303,
105
+ "learning_rate": 1.8177193856644315e-05,
106
+ "loss": 0.7944,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.29850746268656714,
111
+ "grad_norm": 0.6699981012677432,
112
+ "learning_rate": 1.7724169592245996e-05,
113
+ "loss": 0.7975,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.31982942430703626,
118
+ "grad_norm": 0.6588823343752745,
119
+ "learning_rate": 1.7227948638273918e-05,
120
+ "loss": 0.7341,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 0.3411513859275053,
125
+ "grad_norm": 0.6800591707914998,
126
+ "learning_rate": 1.6691306063588583e-05,
127
+ "loss": 0.7687,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 0.3624733475479744,
132
+ "grad_norm": 0.7300767152467426,
133
+ "learning_rate": 1.6117242991150064e-05,
134
+ "loss": 0.7607,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 0.3837953091684435,
139
+ "grad_norm": 0.6705302157505296,
140
+ "learning_rate": 1.5508969814521026e-05,
141
+ "loss": 0.7897,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 0.4051172707889126,
146
+ "grad_norm": 0.6951439660005515,
147
+ "learning_rate": 1.4869888244043674e-05,
148
+ "loss": 0.7535,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 0.42643923240938164,
153
+ "grad_norm": 0.6846075174693704,
154
+ "learning_rate": 1.4203572283095657e-05,
155
+ "loss": 0.7678,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 0.44776119402985076,
160
+ "grad_norm": 0.6585701842637474,
161
+ "learning_rate": 1.3513748240813429e-05,
162
+ "loss": 0.7525,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 0.4690831556503198,
167
+ "grad_norm": 0.7211401440531015,
168
+ "learning_rate": 1.2804273893060028e-05,
169
+ "loss": 0.7424,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 0.4904051172707889,
174
+ "grad_norm": 0.6870611840328074,
175
+ "learning_rate": 1.2079116908177592e-05,
176
+ "loss": 0.7711,
177
+ "step": 115
178
+ },
179
+ {
180
+ "epoch": 0.511727078891258,
181
+ "grad_norm": 0.6338815690410836,
182
+ "learning_rate": 1.1342332658176556e-05,
183
+ "loss": 0.7356,
184
+ "step": 120
185
+ },
186
+ {
187
+ "epoch": 0.5330490405117271,
188
+ "grad_norm": 0.628195657516242,
189
+ "learning_rate": 1.0598041539450344e-05,
190
+ "loss": 0.7168,
191
+ "step": 125
192
+ },
193
+ {
194
+ "epoch": 0.5543710021321961,
195
+ "grad_norm": 0.6711724525095714,
196
+ "learning_rate": 9.850405929847367e-06,
197
+ "loss": 0.7445,
198
+ "step": 130
199
+ },
200
+ {
201
+ "epoch": 0.5756929637526652,
202
+ "grad_norm": 0.6984524411519915,
203
+ "learning_rate": 9.103606910965666e-06,
204
+ "loss": 0.7783,
205
+ "step": 135
206
+ },
207
+ {
208
+ "epoch": 0.5970149253731343,
209
+ "grad_norm": 0.649642511023887,
210
+ "learning_rate": 8.361820885848623e-06,
211
+ "loss": 0.7354,
212
+ "step": 140
213
+ },
214
+ {
215
+ "epoch": 0.6183368869936035,
216
+ "grad_norm": 0.6521697494650107,
217
+ "learning_rate": 7.629196222845027e-06,
218
+ "loss": 0.7228,
219
+ "step": 145
220
+ },
221
+ {
222
+ "epoch": 0.6396588486140725,
223
+ "grad_norm": 0.656726721576637,
224
+ "learning_rate": 6.909830056250527e-06,
225
+ "loss": 0.747,
226
+ "step": 150
227
+ },
228
+ {
229
+ "epoch": 0.6609808102345416,
230
+ "grad_norm": 0.6578315858420589,
231
+ "learning_rate": 6.207745373470717e-06,
232
+ "loss": 0.7272,
233
+ "step": 155
234
+ },
235
+ {
236
+ "epoch": 0.6823027718550106,
237
+ "grad_norm": 0.656996754461004,
238
+ "learning_rate": 5.526868516843673e-06,
239
+ "loss": 0.7439,
240
+ "step": 160
241
+ },
242
+ {
243
+ "epoch": 0.7036247334754797,
244
+ "grad_norm": 0.6693850015532866,
245
+ "learning_rate": 4.87100722594094e-06,
246
+ "loss": 0.7347,
247
+ "step": 165
248
+ },
249
+ {
250
+ "epoch": 0.7249466950959488,
251
+ "grad_norm": 0.6765008677512011,
252
+ "learning_rate": 4.2438293431432665e-06,
253
+ "loss": 0.7324,
254
+ "step": 170
255
+ },
256
+ {
257
+ "epoch": 0.746268656716418,
258
+ "grad_norm": 0.6114867479530466,
259
+ "learning_rate": 3.6488423015782128e-06,
260
+ "loss": 0.7459,
261
+ "step": 175
262
+ },
263
+ {
264
+ "epoch": 0.767590618336887,
265
+ "grad_norm": 0.6195342974114637,
266
+ "learning_rate": 3.089373510131354e-06,
267
+ "loss": 0.7286,
268
+ "step": 180
269
+ },
270
+ {
271
+ "epoch": 0.7889125799573561,
272
+ "grad_norm": 0.6675783046459663,
273
+ "learning_rate": 2.5685517452260566e-06,
274
+ "loss": 0.7227,
275
+ "step": 185
276
+ },
277
+ {
278
+ "epoch": 0.8102345415778252,
279
+ "grad_norm": 0.6190369577895048,
280
+ "learning_rate": 2.08928965343659e-06,
281
+ "loss": 0.7218,
282
+ "step": 190
283
+ },
284
+ {
285
+ "epoch": 0.8315565031982942,
286
+ "grad_norm": 0.6525827306828497,
287
+ "learning_rate": 1.6542674627869738e-06,
288
+ "loss": 0.7234,
289
+ "step": 195
290
+ },
291
+ {
292
+ "epoch": 0.8528784648187633,
293
+ "grad_norm": 0.6419699978132826,
294
+ "learning_rate": 1.2659179938287035e-06,
295
+ "loss": 0.7289,
296
+ "step": 200
297
+ },
298
+ {
299
+ "epoch": 0.8742004264392325,
300
+ "grad_norm": 0.6649952150232479,
301
+ "learning_rate": 9.264130543213512e-07,
302
+ "loss": 0.7376,
303
+ "step": 205
304
+ },
305
+ {
306
+ "epoch": 0.8955223880597015,
307
+ "grad_norm": 0.6750907974087639,
308
+ "learning_rate": 6.37651293602628e-07,
309
+ "loss": 0.7386,
310
+ "step": 210
311
+ },
312
+ {
313
+ "epoch": 0.9168443496801706,
314
+ "grad_norm": 0.6851406465183166,
315
+ "learning_rate": 4.012475845711106e-07,
316
+ "loss": 0.7617,
317
+ "step": 215
318
+ },
319
+ {
320
+ "epoch": 0.9381663113006397,
321
+ "grad_norm": 0.6824828927280917,
322
+ "learning_rate": 2.1852399266194312e-07,
323
+ "loss": 0.7308,
324
+ "step": 220
325
+ },
326
+ {
327
+ "epoch": 0.9594882729211087,
328
+ "grad_norm": 0.6503758882585686,
329
+ "learning_rate": 9.0502382320653e-08,
330
+ "loss": 0.7134,
331
+ "step": 225
332
+ },
333
+ {
334
+ "epoch": 0.9808102345415778,
335
+ "grad_norm": 0.8072821198755136,
336
+ "learning_rate": 1.7898702322648453e-08,
337
+ "loss": 0.7371,
338
+ "step": 230
339
+ },
340
+ {
341
+ "epoch": 0.997867803837953,
342
+ "eval_loss": 0.8081588745117188,
343
+ "eval_runtime": 280.7935,
344
+ "eval_samples_per_second": 1.781,
345
+ "eval_steps_per_second": 0.057,
346
+ "step": 234
347
+ },
348
+ {
349
+ "epoch": 0.997867803837953,
350
+ "step": 234,
351
+ "total_flos": 33774549073920.0,
352
+ "train_loss": 0.10635672063909025,
353
+ "train_runtime": 571.525,
354
+ "train_samples_per_second": 52.491,
355
+ "train_steps_per_second": 0.409
356
+ }
357
+ ],
358
+ "logging_steps": 5,
359
+ "max_steps": 234,
360
+ "num_input_tokens_seen": 0,
361
+ "num_train_epochs": 1,
362
+ "save_steps": 100,
363
+ "total_flos": 33774549073920.0,
364
+ "train_batch_size": 16,
365
+ "trial_name": null,
366
+ "trial_params": null
367
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fccb843c6d2b8af5e611ebeca7e5e5e39d5bb0251a106fa980644db01ec89d37
3
  size 6328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4beb4140e10ce13d124c4a09e4a2670048750076ec7a079fff05f74c15144deb
3
  size 6328