KoseiUemura commited on
Commit
a966a5c
·
verified ·
1 Parent(s): 0202d89

Add checkpoint checkpoint-5000

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
colbert_linear.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf920cbcd5fff1e26737b298e6736fd9a39979c6f3d1f07e662150f124d07cf1
3
+ size 4200349
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/mila/u/uemurak/scratch/hf_cache/hub/models--intfloat--multilingual-e5-large-instruct/snapshots/274baa43b0e13e37fafa6428dbc7938e62e5c439",
3
+ "architectures": [
4
+ "XLMRobertaModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.46.2",
25
+ "type_vocab_size": 1,
26
+ "use_cache": true,
27
+ "vocab_size": 250002
28
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d0c2157bbf6da25784a393927864740e1286b428f4e8acf4356351943297df6
3
+ size 2239607176
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7010798705c7af2da89fc46f163e7a27c3340cbb58de7aeee3c52202ca125c6
3
+ size 4479470178
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66b828711f6275c1fb5c8a7e665344607c002df80651eedbdb814435815a0e8d
3
+ size 14645
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf10fcc00ed3305c79f3603198ec0cc4095f3e760a66b10105be48049fca5610
3
+ size 1465
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
sparse_linear.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c33a60503ce10d7b0d7ddd4db2f68994b1d1c4a85dff1a8ab0f2f9f37af11af
3
+ size 5973
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8373f9cd3d27591e1924426bcc1c8799bc5a9affc4fc857982c5d66668dd1f41
3
+ size 17082832
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "additional_special_tokens": [],
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 512,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
trainer_state.json ADDED
@@ -0,0 +1,383 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.6862475981334065,
5
+ "eval_steps": 500,
6
+ "global_step": 5000,
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.01372495196266813,
13
+ "grad_norm": 23.43617820739746,
14
+ "learning_rate": 6.378600823045268e-07,
15
+ "loss": 3.6307,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.02744990392533626,
20
+ "grad_norm": 27.224123001098633,
21
+ "learning_rate": 1.3237311385459534e-06,
22
+ "loss": 0.8845,
23
+ "step": 200
24
+ },
25
+ {
26
+ "epoch": 0.04117485588800439,
27
+ "grad_norm": 22.287761688232422,
28
+ "learning_rate": 2.00960219478738e-06,
29
+ "loss": 0.5517,
30
+ "step": 300
31
+ },
32
+ {
33
+ "epoch": 0.05489980785067252,
34
+ "grad_norm": 14.750782012939453,
35
+ "learning_rate": 2.6954732510288067e-06,
36
+ "loss": 0.3488,
37
+ "step": 400
38
+ },
39
+ {
40
+ "epoch": 0.06862475981334065,
41
+ "grad_norm": 51.949310302734375,
42
+ "learning_rate": 3.3813443072702336e-06,
43
+ "loss": 0.3129,
44
+ "step": 500
45
+ },
46
+ {
47
+ "epoch": 0.08234971177600878,
48
+ "grad_norm": 10.03300666809082,
49
+ "learning_rate": 4.06721536351166e-06,
50
+ "loss": 0.2679,
51
+ "step": 600
52
+ },
53
+ {
54
+ "epoch": 0.09607466373867692,
55
+ "grad_norm": 26.423612594604492,
56
+ "learning_rate": 4.753086419753087e-06,
57
+ "loss": 0.2911,
58
+ "step": 700
59
+ },
60
+ {
61
+ "epoch": 0.10979961570134504,
62
+ "grad_norm": 3.058533191680908,
63
+ "learning_rate": 5.438957475994513e-06,
64
+ "loss": 0.2801,
65
+ "step": 800
66
+ },
67
+ {
68
+ "epoch": 0.12352456766401318,
69
+ "grad_norm": 18.2351016998291,
70
+ "learning_rate": 6.12482853223594e-06,
71
+ "loss": 0.2771,
72
+ "step": 900
73
+ },
74
+ {
75
+ "epoch": 0.1372495196266813,
76
+ "grad_norm": 7.775646686553955,
77
+ "learning_rate": 6.810699588477366e-06,
78
+ "loss": 0.2446,
79
+ "step": 1000
80
+ },
81
+ {
82
+ "epoch": 0.15097447158934943,
83
+ "grad_norm": 10.91329574584961,
84
+ "learning_rate": 7.496570644718793e-06,
85
+ "loss": 0.2736,
86
+ "step": 1100
87
+ },
88
+ {
89
+ "epoch": 0.16469942355201755,
90
+ "grad_norm": 32.206260681152344,
91
+ "learning_rate": 8.18244170096022e-06,
92
+ "loss": 0.2983,
93
+ "step": 1200
94
+ },
95
+ {
96
+ "epoch": 0.1784243755146857,
97
+ "grad_norm": 30.968856811523438,
98
+ "learning_rate": 8.868312757201646e-06,
99
+ "loss": 0.2933,
100
+ "step": 1300
101
+ },
102
+ {
103
+ "epoch": 0.19214932747735383,
104
+ "grad_norm": 31.030960083007812,
105
+ "learning_rate": 9.554183813443072e-06,
106
+ "loss": 0.2826,
107
+ "step": 1400
108
+ },
109
+ {
110
+ "epoch": 0.20587427944002196,
111
+ "grad_norm": 17.41258430480957,
112
+ "learning_rate": 9.97331096538051e-06,
113
+ "loss": 0.2527,
114
+ "step": 1500
115
+ },
116
+ {
117
+ "epoch": 0.21959923140269008,
118
+ "grad_norm": 4.282568454742432,
119
+ "learning_rate": 9.897056580753394e-06,
120
+ "loss": 0.2468,
121
+ "step": 1600
122
+ },
123
+ {
124
+ "epoch": 0.23332418336535823,
125
+ "grad_norm": 14.256071090698242,
126
+ "learning_rate": 9.820802196126277e-06,
127
+ "loss": 0.2618,
128
+ "step": 1700
129
+ },
130
+ {
131
+ "epoch": 0.24704913532802636,
132
+ "grad_norm": 32.6270866394043,
133
+ "learning_rate": 9.744547811499163e-06,
134
+ "loss": 0.2557,
135
+ "step": 1800
136
+ },
137
+ {
138
+ "epoch": 0.26077408729069446,
139
+ "grad_norm": 5.828367710113525,
140
+ "learning_rate": 9.668293426872047e-06,
141
+ "loss": 0.2713,
142
+ "step": 1900
143
+ },
144
+ {
145
+ "epoch": 0.2744990392533626,
146
+ "grad_norm": 19.892574310302734,
147
+ "learning_rate": 9.592039042244929e-06,
148
+ "loss": 0.2482,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.28822399121603076,
153
+ "grad_norm": 20.713647842407227,
154
+ "learning_rate": 9.515784657617814e-06,
155
+ "loss": 0.2102,
156
+ "step": 2100
157
+ },
158
+ {
159
+ "epoch": 0.30194894317869886,
160
+ "grad_norm": 20.811189651489258,
161
+ "learning_rate": 9.439530272990698e-06,
162
+ "loss": 0.2071,
163
+ "step": 2200
164
+ },
165
+ {
166
+ "epoch": 0.315673895141367,
167
+ "grad_norm": 0.3585197925567627,
168
+ "learning_rate": 9.363275888363582e-06,
169
+ "loss": 0.2159,
170
+ "step": 2300
171
+ },
172
+ {
173
+ "epoch": 0.3293988471040351,
174
+ "grad_norm": 28.223173141479492,
175
+ "learning_rate": 9.287021503736465e-06,
176
+ "loss": 0.2876,
177
+ "step": 2400
178
+ },
179
+ {
180
+ "epoch": 0.34312379906670326,
181
+ "grad_norm": 3.1307175159454346,
182
+ "learning_rate": 9.21076711910935e-06,
183
+ "loss": 0.2182,
184
+ "step": 2500
185
+ },
186
+ {
187
+ "epoch": 0.3568487510293714,
188
+ "grad_norm": 16.897327423095703,
189
+ "learning_rate": 9.134512734482233e-06,
190
+ "loss": 0.2483,
191
+ "step": 2600
192
+ },
193
+ {
194
+ "epoch": 0.3705737029920395,
195
+ "grad_norm": 3.389308214187622,
196
+ "learning_rate": 9.058258349855117e-06,
197
+ "loss": 0.1956,
198
+ "step": 2700
199
+ },
200
+ {
201
+ "epoch": 0.38429865495470766,
202
+ "grad_norm": 14.658860206604004,
203
+ "learning_rate": 8.982003965228e-06,
204
+ "loss": 0.2176,
205
+ "step": 2800
206
+ },
207
+ {
208
+ "epoch": 0.3980236069173758,
209
+ "grad_norm": 15.268556594848633,
210
+ "learning_rate": 8.905749580600886e-06,
211
+ "loss": 0.2009,
212
+ "step": 2900
213
+ },
214
+ {
215
+ "epoch": 0.4117485588800439,
216
+ "grad_norm": 23.204755783081055,
217
+ "learning_rate": 8.82949519597377e-06,
218
+ "loss": 0.2218,
219
+ "step": 3000
220
+ },
221
+ {
222
+ "epoch": 0.42547351084271207,
223
+ "grad_norm": 7.059377670288086,
224
+ "learning_rate": 8.753240811346654e-06,
225
+ "loss": 0.2085,
226
+ "step": 3100
227
+ },
228
+ {
229
+ "epoch": 0.43919846280538016,
230
+ "grad_norm": 3.764357328414917,
231
+ "learning_rate": 8.676986426719537e-06,
232
+ "loss": 0.2096,
233
+ "step": 3200
234
+ },
235
+ {
236
+ "epoch": 0.4529234147680483,
237
+ "grad_norm": 13.846981048583984,
238
+ "learning_rate": 8.600732042092421e-06,
239
+ "loss": 0.2364,
240
+ "step": 3300
241
+ },
242
+ {
243
+ "epoch": 0.46664836673071647,
244
+ "grad_norm": 9.728800773620605,
245
+ "learning_rate": 8.524477657465305e-06,
246
+ "loss": 0.2173,
247
+ "step": 3400
248
+ },
249
+ {
250
+ "epoch": 0.48037331869338457,
251
+ "grad_norm": 7.5195841789245605,
252
+ "learning_rate": 8.448223272838189e-06,
253
+ "loss": 0.202,
254
+ "step": 3500
255
+ },
256
+ {
257
+ "epoch": 0.4940982706560527,
258
+ "grad_norm": 4.6686224937438965,
259
+ "learning_rate": 8.371968888211072e-06,
260
+ "loss": 0.1921,
261
+ "step": 3600
262
+ },
263
+ {
264
+ "epoch": 0.5078232226187208,
265
+ "grad_norm": 18.52180290222168,
266
+ "learning_rate": 8.295714503583956e-06,
267
+ "loss": 0.2086,
268
+ "step": 3700
269
+ },
270
+ {
271
+ "epoch": 0.5215481745813889,
272
+ "grad_norm": 2.1525790691375732,
273
+ "learning_rate": 8.21946011895684e-06,
274
+ "loss": 0.1939,
275
+ "step": 3800
276
+ },
277
+ {
278
+ "epoch": 0.5352731265440571,
279
+ "grad_norm": 18.92357635498047,
280
+ "learning_rate": 8.143205734329724e-06,
281
+ "loss": 0.1995,
282
+ "step": 3900
283
+ },
284
+ {
285
+ "epoch": 0.5489980785067252,
286
+ "grad_norm": 2.638871192932129,
287
+ "learning_rate": 8.06695134970261e-06,
288
+ "loss": 0.1913,
289
+ "step": 4000
290
+ },
291
+ {
292
+ "epoch": 0.5627230304693933,
293
+ "grad_norm": 15.569317817687988,
294
+ "learning_rate": 7.990696965075493e-06,
295
+ "loss": 0.186,
296
+ "step": 4100
297
+ },
298
+ {
299
+ "epoch": 0.5764479824320615,
300
+ "grad_norm": 8.418330192565918,
301
+ "learning_rate": 7.914442580448377e-06,
302
+ "loss": 0.1761,
303
+ "step": 4200
304
+ },
305
+ {
306
+ "epoch": 0.5901729343947296,
307
+ "grad_norm": 37.495304107666016,
308
+ "learning_rate": 7.83818819582126e-06,
309
+ "loss": 0.205,
310
+ "step": 4300
311
+ },
312
+ {
313
+ "epoch": 0.6038978863573977,
314
+ "grad_norm": 16.499755859375,
315
+ "learning_rate": 7.761933811194144e-06,
316
+ "loss": 0.1875,
317
+ "step": 4400
318
+ },
319
+ {
320
+ "epoch": 0.6176228383200659,
321
+ "grad_norm": 2.1567940711975098,
322
+ "learning_rate": 7.685679426567028e-06,
323
+ "loss": 0.1995,
324
+ "step": 4500
325
+ },
326
+ {
327
+ "epoch": 0.631347790282734,
328
+ "grad_norm": 3.6063127517700195,
329
+ "learning_rate": 7.609425041939912e-06,
330
+ "loss": 0.1703,
331
+ "step": 4600
332
+ },
333
+ {
334
+ "epoch": 0.6450727422454021,
335
+ "grad_norm": 10.337509155273438,
336
+ "learning_rate": 7.5331706573127965e-06,
337
+ "loss": 0.1889,
338
+ "step": 4700
339
+ },
340
+ {
341
+ "epoch": 0.6587976942080702,
342
+ "grad_norm": 5.367345333099365,
343
+ "learning_rate": 7.45691627268568e-06,
344
+ "loss": 0.1731,
345
+ "step": 4800
346
+ },
347
+ {
348
+ "epoch": 0.6725226461707384,
349
+ "grad_norm": 10.134766578674316,
350
+ "learning_rate": 7.380661888058563e-06,
351
+ "loss": 0.1984,
352
+ "step": 4900
353
+ },
354
+ {
355
+ "epoch": 0.6862475981334065,
356
+ "grad_norm": 9.244234085083008,
357
+ "learning_rate": 7.304407503431448e-06,
358
+ "loss": 0.1799,
359
+ "step": 5000
360
+ }
361
+ ],
362
+ "logging_steps": 100,
363
+ "max_steps": 14572,
364
+ "num_input_tokens_seen": 0,
365
+ "num_train_epochs": 2,
366
+ "save_steps": 100,
367
+ "stateful_callbacks": {
368
+ "TrainerControl": {
369
+ "args": {
370
+ "should_epoch_stop": false,
371
+ "should_evaluate": false,
372
+ "should_log": false,
373
+ "should_save": true,
374
+ "should_training_stop": false
375
+ },
376
+ "attributes": {}
377
+ }
378
+ },
379
+ "total_flos": 0.0,
380
+ "train_batch_size": 1,
381
+ "trial_name": null,
382
+ "trial_params": null
383
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da2e11e29bb8ed02d32b7e47ef55d93abc00bce7e31cc52df79b7b099c62dec8
3
+ size 6225