nijji commited on
Commit
3f56db3
·
verified ·
1 Parent(s): 3604ad1

Model save

Browse files
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ model_name: double_train_1-1_down
4
+ tags:
5
+ - generated_from_trainer
6
+ - trl
7
+ - sft
8
+ licence: license
9
+ ---
10
+
11
+ # Model Card for double_train_1-1_down
12
+
13
+ This model is a fine-tuned version of [None](https://huggingface.co/None).
14
+ It has been trained using [TRL](https://github.com/huggingface/trl).
15
+
16
+ ## Quick start
17
+
18
+ ```python
19
+ from transformers import pipeline
20
+
21
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
22
+ generator = pipeline("text-generation", model="nijji/double_train_1-1_down", device="cuda")
23
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
24
+ print(output["generated_text"])
25
+ ```
26
+
27
+ ## Training procedure
28
+
29
+
30
+
31
+ This model was trained with SFT.
32
+
33
+ ### Framework versions
34
+
35
+ - TRL: 0.12.1
36
+ - Transformers: 4.46.3
37
+ - Pytorch: 2.5.1
38
+ - Datasets: 3.1.0
39
+ - Tokenizers: 0.20.3
40
+
41
+ ## Citations
42
+
43
+
44
+
45
+ Cite TRL as:
46
+
47
+ ```bibtex
48
+ @misc{vonwerra2022trl,
49
+ title = {{TRL: Transformer Reinforcement Learning}},
50
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
51
+ year = 2020,
52
+ journal = {GitHub repository},
53
+ publisher = {GitHub},
54
+ howpublished = {\url{https://github.com/huggingface/trl}}
55
+ }
56
+ ```
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddc085bfeef3ade5b0f0f160f458b49a4cf6433fdb799f260bce8aeae8954303
3
  size 2341522936
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed7784759803741aa1655eff3936e90268b33ac796d763adef64d4c1a5f1fba5
3
  size 2341522936
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_flos": 1.7639393329152e+16,
4
+ "train_loss": 0.24209010950724283,
5
+ "train_runtime": 903.6834,
6
+ "train_samples": 106,
7
+ "train_samples_per_second": 0.415,
8
+ "train_steps_per_second": 0.415
9
+ }
runs/Feb21_17-21-17_autodl-container-1b3442a671-84b9ecdf/events.out.tfevents.1740129689.autodl-container-1b3442a671-84b9ecdf.63014.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:08d7ea5a604b248bc32eb74cea3d876d8cd95f83e951ccf572286c517654d6b2
3
- size 12373
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a20e666ea8d80f8a27705e49cf3c496ee719c36e9ef9beb40d5180bc4ee313ff
3
+ size 14204
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_flos": 1.7639393329152e+16,
4
+ "train_loss": 0.24209010950724283,
5
+ "train_runtime": 903.6834,
6
+ "train_samples": 106,
7
+ "train_samples_per_second": 0.415,
8
+ "train_steps_per_second": 0.415
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,301 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 5.0,
5
+ "eval_steps": 500,
6
+ "global_step": 375,
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.13333333333333333,
13
+ "grad_norm": 6.505666255950928,
14
+ "learning_rate": 1e-05,
15
+ "loss": 0.9381,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.26666666666666666,
20
+ "grad_norm": 11.050951957702637,
21
+ "learning_rate": 1e-05,
22
+ "loss": 0.8876,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.4,
27
+ "grad_norm": 4.7279372215271,
28
+ "learning_rate": 1e-05,
29
+ "loss": 0.7756,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.5333333333333333,
34
+ "grad_norm": 6.32816743850708,
35
+ "learning_rate": 1e-05,
36
+ "loss": 0.6711,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.6666666666666666,
41
+ "grad_norm": 4.042453765869141,
42
+ "learning_rate": 1e-05,
43
+ "loss": 0.5652,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.8,
48
+ "grad_norm": 3.4663736820220947,
49
+ "learning_rate": 1e-05,
50
+ "loss": 0.4867,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.9333333333333333,
55
+ "grad_norm": 3.2002265453338623,
56
+ "learning_rate": 1e-05,
57
+ "loss": 0.362,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 1.0666666666666667,
62
+ "grad_norm": 3.3230040073394775,
63
+ "learning_rate": 1e-05,
64
+ "loss": 0.3476,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 1.2,
69
+ "grad_norm": 1.9953352212905884,
70
+ "learning_rate": 1e-05,
71
+ "loss": 0.2338,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.3333333333333333,
76
+ "grad_norm": 1.7286195755004883,
77
+ "learning_rate": 1e-05,
78
+ "loss": 0.1643,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 1.4666666666666668,
83
+ "grad_norm": 1.5366934537887573,
84
+ "learning_rate": 1e-05,
85
+ "loss": 0.2192,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 1.6,
90
+ "grad_norm": 1.9483023881912231,
91
+ "learning_rate": 1e-05,
92
+ "loss": 0.1741,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 1.7333333333333334,
97
+ "grad_norm": 2.4931719303131104,
98
+ "learning_rate": 1e-05,
99
+ "loss": 0.1204,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 1.8666666666666667,
104
+ "grad_norm": 2.0894625186920166,
105
+ "learning_rate": 1e-05,
106
+ "loss": 0.1849,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 2.0,
111
+ "grad_norm": 2.3106706142425537,
112
+ "learning_rate": 1e-05,
113
+ "loss": 0.1583,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 2.1333333333333333,
118
+ "grad_norm": 2.315725803375244,
119
+ "learning_rate": 1e-05,
120
+ "loss": 0.1814,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 2.2666666666666666,
125
+ "grad_norm": 1.4159507751464844,
126
+ "learning_rate": 1e-05,
127
+ "loss": 0.1314,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 2.4,
132
+ "grad_norm": 2.2906599044799805,
133
+ "learning_rate": 1e-05,
134
+ "loss": 0.1364,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 2.533333333333333,
139
+ "grad_norm": 2.7275636196136475,
140
+ "learning_rate": 1e-05,
141
+ "loss": 0.1572,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 2.6666666666666665,
146
+ "grad_norm": 1.793707013130188,
147
+ "learning_rate": 1e-05,
148
+ "loss": 0.1272,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 2.8,
153
+ "grad_norm": 2.650312900543213,
154
+ "learning_rate": 1e-05,
155
+ "loss": 0.1225,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 2.9333333333333336,
160
+ "grad_norm": 1.925577163696289,
161
+ "learning_rate": 1e-05,
162
+ "loss": 0.1022,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 3.066666666666667,
167
+ "grad_norm": 1.8806871175765991,
168
+ "learning_rate": 1e-05,
169
+ "loss": 0.1671,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 3.2,
174
+ "grad_norm": 2.2901535034179688,
175
+ "learning_rate": 1e-05,
176
+ "loss": 0.1346,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 3.3333333333333335,
181
+ "grad_norm": 2.187326431274414,
182
+ "learning_rate": 1e-05,
183
+ "loss": 0.1497,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 3.466666666666667,
188
+ "grad_norm": 1.8143903017044067,
189
+ "learning_rate": 1e-05,
190
+ "loss": 0.1025,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 3.6,
195
+ "grad_norm": 1.7334603071212769,
196
+ "learning_rate": 1e-05,
197
+ "loss": 0.1105,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 3.7333333333333334,
202
+ "grad_norm": 1.70522141456604,
203
+ "learning_rate": 1e-05,
204
+ "loss": 0.1242,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 3.8666666666666667,
209
+ "grad_norm": 1.2355444431304932,
210
+ "learning_rate": 1e-05,
211
+ "loss": 0.0826,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 4.0,
216
+ "grad_norm": 1.6104403734207153,
217
+ "learning_rate": 1e-05,
218
+ "loss": 0.1302,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 4.133333333333334,
223
+ "grad_norm": 1.4280835390090942,
224
+ "learning_rate": 1e-05,
225
+ "loss": 0.0951,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 4.266666666666667,
230
+ "grad_norm": 1.7377476692199707,
231
+ "learning_rate": 1e-05,
232
+ "loss": 0.0922,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 4.4,
237
+ "grad_norm": 1.8996360301971436,
238
+ "learning_rate": 1e-05,
239
+ "loss": 0.152,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 4.533333333333333,
244
+ "grad_norm": 1.5604692697525024,
245
+ "learning_rate": 1e-05,
246
+ "loss": 0.1184,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 4.666666666666667,
251
+ "grad_norm": 1.5387630462646484,
252
+ "learning_rate": 1e-05,
253
+ "loss": 0.1138,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 4.8,
258
+ "grad_norm": 1.6977715492248535,
259
+ "learning_rate": 1e-05,
260
+ "loss": 0.0892,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 4.933333333333334,
265
+ "grad_norm": 1.4408897161483765,
266
+ "learning_rate": 1e-05,
267
+ "loss": 0.1192,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 5.0,
272
+ "step": 375,
273
+ "total_flos": 1.7639393329152e+16,
274
+ "train_loss": 0.24209010950724283,
275
+ "train_runtime": 903.6834,
276
+ "train_samples_per_second": 0.415,
277
+ "train_steps_per_second": 0.415
278
+ }
279
+ ],
280
+ "logging_steps": 10,
281
+ "max_steps": 375,
282
+ "num_input_tokens_seen": 0,
283
+ "num_train_epochs": 5,
284
+ "save_steps": 500,
285
+ "stateful_callbacks": {
286
+ "TrainerControl": {
287
+ "args": {
288
+ "should_epoch_stop": false,
289
+ "should_evaluate": false,
290
+ "should_log": false,
291
+ "should_save": true,
292
+ "should_training_stop": true
293
+ },
294
+ "attributes": {}
295
+ }
296
+ },
297
+ "total_flos": 1.7639393329152e+16,
298
+ "train_batch_size": 1,
299
+ "trial_name": null,
300
+ "trial_params": null
301
+ }