chansung commited on
Commit
5624c44
1 Parent(s): 943eb0c

Model save

Browse files
Files changed (4) hide show
  1. README.md +69 -0
  2. all_results.json +9 -0
  3. train_results.json +9 -0
  4. trainer_state.json +260 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: llama3
4
+ base_model: meta-llama/Meta-Llama-3-8B
5
+ tags:
6
+ - trl
7
+ - sft
8
+ - generated_from_trainer
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: llama3-8b-pissa-summarization-11-v1
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # llama3-8b-pissa-summarization-11-v1
20
+
21
+ This model is a fine-tuned version of [meta-llama/Meta-Llama-3-8B](https://huggingface.co/meta-llama/Meta-Llama-3-8B) on the generator dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 2.3924
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 0.0002
43
+ - train_batch_size: 12
44
+ - eval_batch_size: 12
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 8
48
+ - gradient_accumulation_steps: 2
49
+ - total_train_batch_size: 192
50
+ - total_eval_batch_size: 96
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: cosine
53
+ - lr_scheduler_warmup_ratio: 0.1
54
+ - num_epochs: 1
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss |
59
+ |:-------------:|:------:|:----:|:---------------:|
60
+ | 1.632 | 0.9966 | 148 | 2.3924 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - PEFT 0.13.2
66
+ - Transformers 4.46.3
67
+ - Pytorch 2.3.1+cu121
68
+ - Datasets 3.1.0
69
+ - Tokenizers 0.20.3
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9966329966329966,
3
+ "total_flos": 6.55432743055786e+17,
4
+ "train_loss": 1.752148318935085,
5
+ "train_runtime": 587.2689,
6
+ "train_samples": 129221,
7
+ "train_samples_per_second": 48.443,
8
+ "train_steps_per_second": 0.252
9
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9966329966329966,
3
+ "total_flos": 6.55432743055786e+17,
4
+ "train_loss": 1.752148318935085,
5
+ "train_runtime": 587.2689,
6
+ "train_samples": 129221,
7
+ "train_samples_per_second": 48.443,
8
+ "train_steps_per_second": 0.252
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9966329966329966,
5
+ "eval_steps": 500,
6
+ "global_step": 148,
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.006734006734006734,
13
+ "grad_norm": 74.241455078125,
14
+ "learning_rate": 1.3333333333333333e-05,
15
+ "loss": 2.5135,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.03367003367003367,
20
+ "grad_norm": 3.1438040733337402,
21
+ "learning_rate": 6.666666666666667e-05,
22
+ "loss": 2.4726,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.06734006734006734,
27
+ "grad_norm": 1.2921487092971802,
28
+ "learning_rate": 0.00013333333333333334,
29
+ "loss": 2.3003,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.10101010101010101,
34
+ "grad_norm": 1.0113569498062134,
35
+ "learning_rate": 0.0002,
36
+ "loss": 2.1321,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.13468013468013468,
41
+ "grad_norm": 2.183227777481079,
42
+ "learning_rate": 0.00019930337092856243,
43
+ "loss": 1.9945,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.16835016835016836,
48
+ "grad_norm": 0.47641709446907043,
49
+ "learning_rate": 0.00019722318955551306,
50
+ "loss": 1.8885,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.20202020202020202,
55
+ "grad_norm": 0.7186397910118103,
56
+ "learning_rate": 0.00019378843817721854,
57
+ "loss": 1.8266,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.2356902356902357,
62
+ "grad_norm": 0.37949636578559875,
63
+ "learning_rate": 0.00018904697174694447,
64
+ "loss": 1.7831,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.26936026936026936,
69
+ "grad_norm": 0.5123534202575684,
70
+ "learning_rate": 0.0001830648511318223,
71
+ "loss": 1.7567,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.30303030303030304,
76
+ "grad_norm": 0.5447937250137329,
77
+ "learning_rate": 0.00017592542271443887,
78
+ "loss": 1.7298,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.3367003367003367,
83
+ "grad_norm": 0.202178493142128,
84
+ "learning_rate": 0.00016772815716257412,
85
+ "loss": 1.7114,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.37037037037037035,
90
+ "grad_norm": 0.3912014663219452,
91
+ "learning_rate": 0.00015858726354602248,
92
+ "loss": 1.7067,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.40404040404040403,
97
+ "grad_norm": 0.2787935137748718,
98
+ "learning_rate": 0.00014863009810942815,
99
+ "loss": 1.6797,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.4377104377104377,
104
+ "grad_norm": 0.1719539761543274,
105
+ "learning_rate": 0.000137995389871036,
106
+ "loss": 1.6721,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.4713804713804714,
111
+ "grad_norm": 0.2619878053665161,
112
+ "learning_rate": 0.0001268313077693485,
113
+ "loss": 1.6664,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.5050505050505051,
118
+ "grad_norm": 0.268819659948349,
119
+ "learning_rate": 0.0001152933962873246,
120
+ "loss": 1.6685,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 0.5387205387205387,
125
+ "grad_norm": 0.1786731630563736,
126
+ "learning_rate": 0.00010354240831620541,
127
+ "loss": 1.6523,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 0.5723905723905723,
132
+ "grad_norm": 0.1858537644147873,
133
+ "learning_rate": 9.174206545276677e-05,
134
+ "loss": 1.6465,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 0.6060606060606061,
139
+ "grad_norm": 0.25154948234558105,
140
+ "learning_rate": 8.005677693484077e-05,
141
+ "loss": 1.6344,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 0.6397306397306397,
146
+ "grad_norm": 0.1697424203157425,
147
+ "learning_rate": 6.864934899622191e-05,
148
+ "loss": 1.6472,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 0.6734006734006734,
153
+ "grad_norm": 0.1832387000322342,
154
+ "learning_rate": 5.767871655555751e-05,
155
+ "loss": 1.6354,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 0.7070707070707071,
160
+ "grad_norm": 0.1768219918012619,
161
+ "learning_rate": 4.729772884265212e-05,
162
+ "loss": 1.6274,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 0.7407407407407407,
167
+ "grad_norm": 0.17322488129138947,
168
+ "learning_rate": 3.7651019814126654e-05,
169
+ "loss": 1.6235,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 0.7744107744107744,
174
+ "grad_norm": 0.1708805114030838,
175
+ "learning_rate": 2.8872993029040508e-05,
176
+ "loss": 1.6349,
177
+ "step": 115
178
+ },
179
+ {
180
+ "epoch": 0.8080808080808081,
181
+ "grad_norm": 0.1731610745191574,
182
+ "learning_rate": 2.1085949060360654e-05,
183
+ "loss": 1.6322,
184
+ "step": 120
185
+ },
186
+ {
187
+ "epoch": 0.8417508417508418,
188
+ "grad_norm": 0.1952390819787979,
189
+ "learning_rate": 1.439838153227e-05,
190
+ "loss": 1.6391,
191
+ "step": 125
192
+ },
193
+ {
194
+ "epoch": 0.8754208754208754,
195
+ "grad_norm": 0.1885603815317154,
196
+ "learning_rate": 8.903465523913957e-06,
197
+ "loss": 1.6368,
198
+ "step": 130
199
+ },
200
+ {
201
+ "epoch": 0.9090909090909091,
202
+ "grad_norm": 0.19654668867588043,
203
+ "learning_rate": 4.6777594000230855e-06,
204
+ "loss": 1.6307,
205
+ "step": 135
206
+ },
207
+ {
208
+ "epoch": 0.9427609427609428,
209
+ "grad_norm": 0.17118915915489197,
210
+ "learning_rate": 1.7801381552624563e-06,
211
+ "loss": 1.6287,
212
+ "step": 140
213
+ },
214
+ {
215
+ "epoch": 0.9764309764309764,
216
+ "grad_norm": 0.17712068557739258,
217
+ "learning_rate": 2.509731335744281e-07,
218
+ "loss": 1.632,
219
+ "step": 145
220
+ },
221
+ {
222
+ "epoch": 0.9966329966329966,
223
+ "eval_loss": 2.3924484252929688,
224
+ "eval_runtime": 0.6217,
225
+ "eval_samples_per_second": 33.78,
226
+ "eval_steps_per_second": 1.609,
227
+ "step": 148
228
+ },
229
+ {
230
+ "epoch": 0.9966329966329966,
231
+ "step": 148,
232
+ "total_flos": 6.55432743055786e+17,
233
+ "train_loss": 1.752148318935085,
234
+ "train_runtime": 587.2689,
235
+ "train_samples_per_second": 48.443,
236
+ "train_steps_per_second": 0.252
237
+ }
238
+ ],
239
+ "logging_steps": 5,
240
+ "max_steps": 148,
241
+ "num_input_tokens_seen": 0,
242
+ "num_train_epochs": 1,
243
+ "save_steps": 100,
244
+ "stateful_callbacks": {
245
+ "TrainerControl": {
246
+ "args": {
247
+ "should_epoch_stop": false,
248
+ "should_evaluate": false,
249
+ "should_log": false,
250
+ "should_save": true,
251
+ "should_training_stop": true
252
+ },
253
+ "attributes": {}
254
+ }
255
+ },
256
+ "total_flos": 6.55432743055786e+17,
257
+ "train_batch_size": 12,
258
+ "trial_name": null,
259
+ "trial_params": null
260
+ }