chansung commited on
Commit
153b8f8
1 Parent(s): 960dcb3

Model save

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ base_model: google/gemma-7b
9
+ datasets:
10
+ - generator
11
+ model-index:
12
+ - name: gemma7b-summarize-gpt4o-30k
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
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/chansung18/huggingface/runs/gg6giqaz)
20
+ # gemma7b-summarize-gpt4o-30k
21
+
22
+ This model is a fine-tuned version of [google/gemma-7b](https://huggingface.co/google/gemma-7b) on the generator dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 2.3412
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 0.0002
44
+ - train_batch_size: 4
45
+ - eval_batch_size: 2
46
+ - seed: 42
47
+ - distributed_type: multi-GPU
48
+ - num_devices: 2
49
+ - gradient_accumulation_steps: 2
50
+ - total_train_batch_size: 16
51
+ - total_eval_batch_size: 4
52
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
53
+ - lr_scheduler_type: cosine
54
+ - lr_scheduler_warmup_ratio: 0.1
55
+ - num_epochs: 1
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss |
60
+ |:-------------:|:-----:|:----:|:---------------:|
61
+ | 0.961 | 1.0 | 137 | 2.3412 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - PEFT 0.11.1
67
+ - Transformers 4.41.0
68
+ - Pytorch 2.3.0+cu121
69
+ - Datasets 2.19.1
70
+ - Tokenizers 0.19.1
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bd38beb3ffbff71ebf3f93e33aed23232cc49677921d989fb1fc39ef1714df2
3
  size 50056096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09c71d1be1d34ef40bb5c08e53b5d585b78e655f4d873e5feadd72be79da5d91
3
  size 50056096
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 2.0945562398778982e+17,
4
+ "train_loss": 4.772963228887015,
5
+ "train_runtime": 1080.9502,
6
+ "train_samples": 29787,
7
+ "train_samples_per_second": 2.028,
8
+ "train_steps_per_second": 0.127
9
+ }
runs/May19_11-20-43_deep-diver-main-calm-penguin-1-0-0/events.out.tfevents.1716132176.deep-diver-main-calm-penguin-1-0-0.385.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cc7e11e5527ac78680f1f532c61e9e4c7b16772ef5bef6a23071fdf94681359b
3
- size 9938
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:725e83dc410b5b2a076b6dec45bebefed30ae8b5565849f1ac64cd9ce56340a8
3
+ size 12020
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 2.0945562398778982e+17,
4
+ "train_loss": 4.772963228887015,
5
+ "train_runtime": 1080.9502,
6
+ "train_samples": 29787,
7
+ "train_samples_per_second": 2.028,
8
+ "train_steps_per_second": 0.127
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,246 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 137,
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.0072992700729927005,
13
+ "grad_norm": 708.0,
14
+ "learning_rate": 1.4285714285714285e-05,
15
+ "loss": 56.8346,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0364963503649635,
20
+ "grad_norm": 368.0,
21
+ "learning_rate": 7.142857142857143e-05,
22
+ "loss": 45.8547,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.072992700729927,
27
+ "grad_norm": 30.875,
28
+ "learning_rate": 0.00014285714285714287,
29
+ "loss": 19.792,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.10948905109489052,
34
+ "grad_norm": 6.875,
35
+ "learning_rate": 0.00019996738360808565,
36
+ "loss": 15.0745,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.145985401459854,
41
+ "grad_norm": 17.75,
42
+ "learning_rate": 0.00019882804237803488,
43
+ "loss": 13.3169,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.18248175182481752,
48
+ "grad_norm": 117.0,
49
+ "learning_rate": 0.00019607909582962477,
50
+ "loss": 8.4463,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.21897810218978103,
55
+ "grad_norm": 5.09375,
56
+ "learning_rate": 0.0001917653158603628,
57
+ "loss": 2.1599,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.25547445255474455,
62
+ "grad_norm": 3.921875,
63
+ "learning_rate": 0.00018595696069872013,
64
+ "loss": 1.6643,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.291970802919708,
69
+ "grad_norm": 2.21875,
70
+ "learning_rate": 0.00017874863061334657,
71
+ "loss": 1.4899,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.3284671532846715,
76
+ "grad_norm": 2.1875,
77
+ "learning_rate": 0.00017025772716520323,
78
+ "loss": 1.3695,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.36496350364963503,
83
+ "grad_norm": 2.0,
84
+ "learning_rate": 0.0001606225410966638,
85
+ "loss": 1.2794,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.40145985401459855,
90
+ "grad_norm": 0.953125,
91
+ "learning_rate": 0.00015000000000000001,
92
+ "loss": 1.2388,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.43795620437956206,
97
+ "grad_norm": 3.53125,
98
+ "learning_rate": 0.0001385631124488136,
99
+ "loss": 1.2269,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.4744525547445255,
104
+ "grad_norm": 1.453125,
105
+ "learning_rate": 0.0001264981502196662,
106
+ "loss": 1.1434,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.5109489051094891,
111
+ "grad_norm": 0.921875,
112
+ "learning_rate": 0.00011400161449686293,
113
+ "loss": 1.1033,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.5474452554744526,
118
+ "grad_norm": 1.5703125,
119
+ "learning_rate": 0.00010127703547159739,
120
+ "loss": 1.0812,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 0.583941605839416,
125
+ "grad_norm": 2.828125,
126
+ "learning_rate": 8.853165746015997e-05,
127
+ "loss": 1.061,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 0.6204379562043796,
132
+ "grad_norm": 7.4375,
133
+ "learning_rate": 7.597306353045393e-05,
134
+ "loss": 1.0362,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 0.656934306569343,
139
+ "grad_norm": 0.734375,
140
+ "learning_rate": 6.380579461128819e-05,
141
+ "loss": 1.0233,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 0.6934306569343066,
146
+ "grad_norm": 1.296875,
147
+ "learning_rate": 5.222801814877369e-05,
148
+ "loss": 1.0499,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 0.7299270072992701,
153
+ "grad_norm": 1.3125,
154
+ "learning_rate": 4.142830056718052e-05,
155
+ "loss": 0.995,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 0.7664233576642335,
160
+ "grad_norm": 1.015625,
161
+ "learning_rate": 3.158253610095697e-05,
162
+ "loss": 0.9839,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 0.8029197080291971,
167
+ "grad_norm": 0.765625,
168
+ "learning_rate": 2.2851082017805703e-05,
169
+ "loss": 0.9762,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 0.8394160583941606,
174
+ "grad_norm": 0.63671875,
175
+ "learning_rate": 1.5376146891235598e-05,
176
+ "loss": 0.9773,
177
+ "step": 115
178
+ },
179
+ {
180
+ "epoch": 0.8759124087591241,
181
+ "grad_norm": 0.62890625,
182
+ "learning_rate": 9.279474459608805e-06,
183
+ "loss": 0.9756,
184
+ "step": 120
185
+ },
186
+ {
187
+ "epoch": 0.9124087591240876,
188
+ "grad_norm": 0.80859375,
189
+ "learning_rate": 4.660360794506946e-06,
190
+ "loss": 0.9625,
191
+ "step": 125
192
+ },
193
+ {
194
+ "epoch": 0.948905109489051,
195
+ "grad_norm": 0.57421875,
196
+ "learning_rate": 1.5940370726542863e-06,
197
+ "loss": 0.9625,
198
+ "step": 130
199
+ },
200
+ {
201
+ "epoch": 0.9854014598540146,
202
+ "grad_norm": 0.5625,
203
+ "learning_rate": 1.3044429107700318e-07,
204
+ "loss": 0.961,
205
+ "step": 135
206
+ },
207
+ {
208
+ "epoch": 1.0,
209
+ "eval_loss": 2.341205358505249,
210
+ "eval_runtime": 1.0018,
211
+ "eval_samples_per_second": 4.991,
212
+ "eval_steps_per_second": 1.996,
213
+ "step": 137
214
+ },
215
+ {
216
+ "epoch": 1.0,
217
+ "step": 137,
218
+ "total_flos": 2.0945562398778982e+17,
219
+ "train_loss": 4.772963228887015,
220
+ "train_runtime": 1080.9502,
221
+ "train_samples_per_second": 2.028,
222
+ "train_steps_per_second": 0.127
223
+ }
224
+ ],
225
+ "logging_steps": 5,
226
+ "max_steps": 137,
227
+ "num_input_tokens_seen": 0,
228
+ "num_train_epochs": 1,
229
+ "save_steps": 100,
230
+ "stateful_callbacks": {
231
+ "TrainerControl": {
232
+ "args": {
233
+ "should_epoch_stop": false,
234
+ "should_evaluate": false,
235
+ "should_log": false,
236
+ "should_save": true,
237
+ "should_training_stop": false
238
+ },
239
+ "attributes": {}
240
+ }
241
+ },
242
+ "total_flos": 2.0945562398778982e+17,
243
+ "train_batch_size": 4,
244
+ "trial_name": null,
245
+ "trial_params": null
246
+ }