chansung commited on
Commit
cd9c773
1 Parent(s): 711d9ac

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-gemini1.5flash-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/6tjy33fd)
20
+ # gemma7b-summarize-gemini1.5flash-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.2895
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.8678 | 0.9956 | 114 | 2.2895 |
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:5b5efbefe5ecdf4e4c499137fbf6a73833100c452fee84db26f0a48501b8a0d5
3
  size 50056096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d3bac2018fb39764f96cf64f3e1b1aa8334f137d5effe5453b4439958689932
3
  size 50056096
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9956331877729258,
3
+ "total_flos": 1.742915407875932e+17,
4
+ "train_loss": 5.99931854532476,
5
+ "train_runtime": 898.0288,
6
+ "train_samples": 30386,
7
+ "train_samples_per_second": 2.039,
8
+ "train_steps_per_second": 0.127
9
+ }
runs/May19_11-18-25_deep-diver-main-lucky-bat-1-0-0/events.out.tfevents.1716132059.deep-diver-main-lucky-bat-1-0-0.385.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d49632e1c5aeca5cf7d1dc4f8f3eeb2f3f83be0f3721c5c8eaa86fd738fc167b
3
- size 9971
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3e783394fb3d1cd74be49ffe8d46507f8ad4313d9e5a776e9e5aaf81306f3b9
3
+ size 10999
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9956331877729258,
3
+ "total_flos": 1.742915407875932e+17,
4
+ "train_loss": 5.99931854532476,
5
+ "train_runtime": 898.0288,
6
+ "train_samples": 30386,
7
+ "train_samples_per_second": 2.039,
8
+ "train_steps_per_second": 0.127
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9956331877729258,
5
+ "eval_steps": 500,
6
+ "global_step": 114,
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.008733624454148471,
13
+ "grad_norm": 648.0,
14
+ "learning_rate": 1.6666666666666667e-05,
15
+ "loss": 56.9969,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.043668122270742356,
20
+ "grad_norm": 394.0,
21
+ "learning_rate": 8.333333333333334e-05,
22
+ "loss": 51.7017,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.08733624454148471,
27
+ "grad_norm": 30.25,
28
+ "learning_rate": 0.0001666666666666667,
29
+ "loss": 22.1529,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.13100436681222707,
34
+ "grad_norm": 8.8125,
35
+ "learning_rate": 0.00019957341762950344,
36
+ "loss": 17.6564,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.17467248908296942,
41
+ "grad_norm": 23.0,
42
+ "learning_rate": 0.00019697969360350098,
43
+ "loss": 15.7963,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.2183406113537118,
48
+ "grad_norm": 108.5,
49
+ "learning_rate": 0.0001920905517944954,
50
+ "loss": 8.7143,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.26200873362445415,
55
+ "grad_norm": 7.9375,
56
+ "learning_rate": 0.00018502171357296144,
57
+ "loss": 2.0425,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.3056768558951965,
62
+ "grad_norm": 22.5,
63
+ "learning_rate": 0.00017594049166547073,
64
+ "loss": 1.6476,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.34934497816593885,
69
+ "grad_norm": 1.4765625,
70
+ "learning_rate": 0.0001650618300204242,
71
+ "loss": 1.3805,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.3930131004366812,
76
+ "grad_norm": 2.109375,
77
+ "learning_rate": 0.0001526432162877356,
78
+ "loss": 1.2737,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.4366812227074236,
83
+ "grad_norm": 3.0625,
84
+ "learning_rate": 0.00013897858732926793,
85
+ "loss": 1.2169,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.48034934497816595,
90
+ "grad_norm": 1.7734375,
91
+ "learning_rate": 0.00012439137201083773,
92
+ "loss": 1.1317,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.5240174672489083,
97
+ "grad_norm": 1.515625,
98
+ "learning_rate": 0.00010922683594633021,
99
+ "loss": 1.0869,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.5676855895196506,
104
+ "grad_norm": 1.7578125,
105
+ "learning_rate": 9.384390938660572e-05,
106
+ "loss": 1.0091,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.611353711790393,
111
+ "grad_norm": 2.5625,
112
+ "learning_rate": 7.860669167935028e-05,
113
+ "loss": 1.0185,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.6550218340611353,
118
+ "grad_norm": 1.28125,
119
+ "learning_rate": 6.387583338128471e-05,
120
+ "loss": 0.9505,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 0.6986899563318777,
125
+ "grad_norm": 1.6796875,
126
+ "learning_rate": 5.000000000000002e-05,
127
+ "loss": 0.9331,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 0.74235807860262,
132
+ "grad_norm": 1.7734375,
133
+ "learning_rate": 3.7307619410589376e-05,
134
+ "loss": 0.9083,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 0.7860262008733624,
139
+ "grad_norm": 0.9921875,
140
+ "learning_rate": 2.6099108277934103e-05,
141
+ "loss": 0.884,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 0.8296943231441049,
146
+ "grad_norm": 1.328125,
147
+ "learning_rate": 1.663976147788806e-05,
148
+ "loss": 0.9173,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 0.8733624454148472,
153
+ "grad_norm": 0.85546875,
154
+ "learning_rate": 9.153472818047625e-06,
155
+ "loss": 0.8598,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 0.9170305676855895,
160
+ "grad_norm": 0.69140625,
161
+ "learning_rate": 3.817435682718096e-06,
162
+ "loss": 0.8639,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 0.9606986899563319,
167
+ "grad_norm": 0.71875,
168
+ "learning_rate": 7.579490328064265e-07,
169
+ "loss": 0.8678,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 0.9956331877729258,
174
+ "eval_loss": 2.2895236015319824,
175
+ "eval_runtime": 1.0009,
176
+ "eval_samples_per_second": 4.996,
177
+ "eval_steps_per_second": 1.998,
178
+ "step": 114
179
+ },
180
+ {
181
+ "epoch": 0.9956331877729258,
182
+ "step": 114,
183
+ "total_flos": 1.742915407875932e+17,
184
+ "train_loss": 5.99931854532476,
185
+ "train_runtime": 898.0288,
186
+ "train_samples_per_second": 2.039,
187
+ "train_steps_per_second": 0.127
188
+ }
189
+ ],
190
+ "logging_steps": 5,
191
+ "max_steps": 114,
192
+ "num_input_tokens_seen": 0,
193
+ "num_train_epochs": 1,
194
+ "save_steps": 100,
195
+ "stateful_callbacks": {
196
+ "TrainerControl": {
197
+ "args": {
198
+ "should_epoch_stop": false,
199
+ "should_evaluate": false,
200
+ "should_log": false,
201
+ "should_save": true,
202
+ "should_training_stop": false
203
+ },
204
+ "attributes": {}
205
+ }
206
+ },
207
+ "total_flos": 1.742915407875932e+17,
208
+ "train_batch_size": 4,
209
+ "trial_name": null,
210
+ "trial_params": null
211
+ }