antypasd commited on
Commit
d1acc9c
1 Parent(s): 1d20829

Upload RobertaForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +649 -31
  2. model.safetensors +1 -1
config.json CHANGED
@@ -1,50 +1,668 @@
1
  {
2
- "_name_or_path": "/media/dimos/dimos/super-tweeteval/best_models/troberta-base-tweet-ner7/best_model",
3
  "architectures": [
4
  "RobertaForTokenClassification"
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": 768,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5",
20
- "6": "LABEL_6",
21
- "7": "LABEL_7",
22
- "8": "LABEL_8",
23
- "9": "LABEL_9",
24
- "10": "LABEL_10",
25
- "11": "LABEL_11",
26
- "12": "LABEL_12",
27
- "13": "LABEL_13",
28
- "14": "LABEL_14"
29
  },
30
  "initializer_range": 0.02,
31
  "intermediate_size": 3072,
32
  "label2id": {
33
- "LABEL_0": 0,
34
- "LABEL_1": 1,
35
- "LABEL_10": 10,
36
- "LABEL_11": 11,
37
- "LABEL_12": 12,
38
- "LABEL_13": 13,
39
- "LABEL_14": 14,
40
- "LABEL_2": 2,
41
- "LABEL_3": 3,
42
- "LABEL_4": 4,
43
- "LABEL_5": 5,
44
- "LABEL_6": 6,
45
- "LABEL_7": 7,
46
- "LABEL_8": 8,
47
- "LABEL_9": 9
48
  },
49
  "layer_norm_eps": 1e-05,
50
  "max_position_embeddings": 514,
 
1
  {
2
+ "_name_or_path": "tner/roberta-base-tweetner7-all",
3
  "architectures": [
4
  "RobertaForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "bos_token_id": 0,
8
  "classifier_dropout": null,
9
+ "crf_state_dict": {
10
+ "_constraint_mask": [
11
+ [
12
+ 1.0,
13
+ 1.0,
14
+ 1.0,
15
+ 1.0,
16
+ 1.0,
17
+ 1.0,
18
+ 1.0,
19
+ 1.0,
20
+ 0.0,
21
+ 0.0,
22
+ 0.0,
23
+ 0.0,
24
+ 0.0,
25
+ 0.0,
26
+ 1.0,
27
+ 0.0,
28
+ 1.0
29
+ ],
30
+ [
31
+ 1.0,
32
+ 1.0,
33
+ 1.0,
34
+ 1.0,
35
+ 1.0,
36
+ 1.0,
37
+ 1.0,
38
+ 0.0,
39
+ 1.0,
40
+ 0.0,
41
+ 0.0,
42
+ 0.0,
43
+ 0.0,
44
+ 0.0,
45
+ 1.0,
46
+ 0.0,
47
+ 1.0
48
+ ],
49
+ [
50
+ 1.0,
51
+ 1.0,
52
+ 1.0,
53
+ 1.0,
54
+ 1.0,
55
+ 1.0,
56
+ 1.0,
57
+ 0.0,
58
+ 0.0,
59
+ 1.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ 0.0,
64
+ 1.0,
65
+ 0.0,
66
+ 1.0
67
+ ],
68
+ [
69
+ 1.0,
70
+ 1.0,
71
+ 1.0,
72
+ 1.0,
73
+ 1.0,
74
+ 1.0,
75
+ 1.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ 1.0,
80
+ 0.0,
81
+ 0.0,
82
+ 0.0,
83
+ 1.0,
84
+ 0.0,
85
+ 1.0
86
+ ],
87
+ [
88
+ 1.0,
89
+ 1.0,
90
+ 1.0,
91
+ 1.0,
92
+ 1.0,
93
+ 1.0,
94
+ 1.0,
95
+ 0.0,
96
+ 0.0,
97
+ 0.0,
98
+ 0.0,
99
+ 1.0,
100
+ 0.0,
101
+ 0.0,
102
+ 1.0,
103
+ 0.0,
104
+ 1.0
105
+ ],
106
+ [
107
+ 1.0,
108
+ 1.0,
109
+ 1.0,
110
+ 1.0,
111
+ 1.0,
112
+ 1.0,
113
+ 1.0,
114
+ 0.0,
115
+ 0.0,
116
+ 0.0,
117
+ 0.0,
118
+ 0.0,
119
+ 1.0,
120
+ 0.0,
121
+ 1.0,
122
+ 0.0,
123
+ 1.0
124
+ ],
125
+ [
126
+ 1.0,
127
+ 1.0,
128
+ 1.0,
129
+ 1.0,
130
+ 1.0,
131
+ 1.0,
132
+ 1.0,
133
+ 0.0,
134
+ 0.0,
135
+ 0.0,
136
+ 0.0,
137
+ 0.0,
138
+ 0.0,
139
+ 1.0,
140
+ 1.0,
141
+ 0.0,
142
+ 1.0
143
+ ],
144
+ [
145
+ 1.0,
146
+ 1.0,
147
+ 1.0,
148
+ 1.0,
149
+ 1.0,
150
+ 1.0,
151
+ 1.0,
152
+ 1.0,
153
+ 0.0,
154
+ 0.0,
155
+ 0.0,
156
+ 0.0,
157
+ 0.0,
158
+ 0.0,
159
+ 1.0,
160
+ 0.0,
161
+ 1.0
162
+ ],
163
+ [
164
+ 1.0,
165
+ 1.0,
166
+ 1.0,
167
+ 1.0,
168
+ 1.0,
169
+ 1.0,
170
+ 1.0,
171
+ 0.0,
172
+ 1.0,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ 0.0,
178
+ 1.0,
179
+ 0.0,
180
+ 1.0
181
+ ],
182
+ [
183
+ 1.0,
184
+ 1.0,
185
+ 1.0,
186
+ 1.0,
187
+ 1.0,
188
+ 1.0,
189
+ 1.0,
190
+ 0.0,
191
+ 0.0,
192
+ 1.0,
193
+ 0.0,
194
+ 0.0,
195
+ 0.0,
196
+ 0.0,
197
+ 1.0,
198
+ 0.0,
199
+ 1.0
200
+ ],
201
+ [
202
+ 1.0,
203
+ 1.0,
204
+ 1.0,
205
+ 1.0,
206
+ 1.0,
207
+ 1.0,
208
+ 1.0,
209
+ 0.0,
210
+ 0.0,
211
+ 0.0,
212
+ 1.0,
213
+ 0.0,
214
+ 0.0,
215
+ 0.0,
216
+ 1.0,
217
+ 0.0,
218
+ 1.0
219
+ ],
220
+ [
221
+ 1.0,
222
+ 1.0,
223
+ 1.0,
224
+ 1.0,
225
+ 1.0,
226
+ 1.0,
227
+ 1.0,
228
+ 0.0,
229
+ 0.0,
230
+ 0.0,
231
+ 0.0,
232
+ 1.0,
233
+ 0.0,
234
+ 0.0,
235
+ 1.0,
236
+ 0.0,
237
+ 1.0
238
+ ],
239
+ [
240
+ 1.0,
241
+ 1.0,
242
+ 1.0,
243
+ 1.0,
244
+ 1.0,
245
+ 1.0,
246
+ 1.0,
247
+ 0.0,
248
+ 0.0,
249
+ 0.0,
250
+ 0.0,
251
+ 0.0,
252
+ 1.0,
253
+ 0.0,
254
+ 1.0,
255
+ 0.0,
256
+ 1.0
257
+ ],
258
+ [
259
+ 1.0,
260
+ 1.0,
261
+ 1.0,
262
+ 1.0,
263
+ 1.0,
264
+ 1.0,
265
+ 1.0,
266
+ 0.0,
267
+ 0.0,
268
+ 0.0,
269
+ 0.0,
270
+ 0.0,
271
+ 0.0,
272
+ 1.0,
273
+ 1.0,
274
+ 0.0,
275
+ 1.0
276
+ ],
277
+ [
278
+ 1.0,
279
+ 1.0,
280
+ 1.0,
281
+ 1.0,
282
+ 1.0,
283
+ 1.0,
284
+ 1.0,
285
+ 0.0,
286
+ 0.0,
287
+ 0.0,
288
+ 0.0,
289
+ 0.0,
290
+ 0.0,
291
+ 0.0,
292
+ 1.0,
293
+ 0.0,
294
+ 1.0
295
+ ],
296
+ [
297
+ 1.0,
298
+ 1.0,
299
+ 1.0,
300
+ 1.0,
301
+ 1.0,
302
+ 1.0,
303
+ 1.0,
304
+ 0.0,
305
+ 0.0,
306
+ 0.0,
307
+ 0.0,
308
+ 0.0,
309
+ 0.0,
310
+ 0.0,
311
+ 1.0,
312
+ 0.0,
313
+ 0.0
314
+ ],
315
+ [
316
+ 0.0,
317
+ 0.0,
318
+ 0.0,
319
+ 0.0,
320
+ 0.0,
321
+ 0.0,
322
+ 0.0,
323
+ 0.0,
324
+ 0.0,
325
+ 0.0,
326
+ 0.0,
327
+ 0.0,
328
+ 0.0,
329
+ 0.0,
330
+ 0.0,
331
+ 0.0,
332
+ 0.0
333
+ ]
334
+ ],
335
+ "end_transitions": [
336
+ 0.40813568234443665,
337
+ -0.9656944870948792,
338
+ -0.23096604645252228,
339
+ -0.7424056529998779,
340
+ 0.06271817535161972,
341
+ -0.08851249516010284,
342
+ 0.427242636680603,
343
+ 0.8107076287269592,
344
+ 0.75925213098526,
345
+ 0.046232301741838455,
346
+ -0.9167554378509521,
347
+ 0.290357381105423,
348
+ 1.037453055381775,
349
+ 0.4241470694541931,
350
+ -0.20250964164733887
351
+ ],
352
+ "start_transitions": [
353
+ -0.19599823653697968,
354
+ -0.09508302807807922,
355
+ -0.2742212116718292,
356
+ 1.655328631401062,
357
+ 0.2364160120487213,
358
+ -0.18163415789604187,
359
+ -0.5102927088737488,
360
+ 2.0175106525421143,
361
+ 0.8966974020004272,
362
+ -1.3882125616073608,
363
+ -0.12662316858768463,
364
+ 1.786523699760437,
365
+ -0.6999648213386536,
366
+ -0.7579379677772522,
367
+ -1.5308568477630615
368
+ ],
369
+ "transitions": [
370
+ [
371
+ -0.355110764503479,
372
+ -0.2056400328874588,
373
+ 0.15599896013736725,
374
+ -0.18394044041633606,
375
+ -0.0003968794480897486,
376
+ 0.10536038875579834,
377
+ 0.463561475276947,
378
+ -0.0618780180811882,
379
+ 0.013926028273999691,
380
+ -0.3195348381996155,
381
+ 0.09985961019992828,
382
+ -0.02738342434167862,
383
+ 0.33145588636398315,
384
+ 0.27501580119132996,
385
+ -0.19393549859523773
386
+ ],
387
+ [
388
+ 0.024281613528728485,
389
+ -0.1727910190820694,
390
+ 0.012486646883189678,
391
+ 0.12692007422447205,
392
+ 0.3267900049686432,
393
+ 0.17165137827396393,
394
+ 0.43007922172546387,
395
+ -0.04601696506142616,
396
+ -0.08021749556064606,
397
+ -0.11490590125322342,
398
+ -0.3332799971103668,
399
+ 0.03123163990676403,
400
+ -0.1380016803741455,
401
+ 0.30161723494529724,
402
+ -0.1864267885684967
403
+ ],
404
+ [
405
+ -0.06675279885530472,
406
+ -0.1385592520236969,
407
+ 0.2339944690465927,
408
+ -0.010947855189442635,
409
+ -0.26166200637817383,
410
+ -0.014474852941930294,
411
+ -0.43208983540534973,
412
+ 0.3126372694969177,
413
+ 0.06294334679841995,
414
+ -0.6153910756111145,
415
+ -0.018000507727265358,
416
+ -0.17603769898414612,
417
+ -0.3979818522930145,
418
+ 0.1724555790424347,
419
+ 0.09848079085350037
420
+ ],
421
+ [
422
+ 0.08595029264688492,
423
+ -0.09957896918058395,
424
+ -0.21321150660514832,
425
+ -0.10036883503198624,
426
+ -0.2448240965604782,
427
+ 0.11451995372772217,
428
+ 0.005236147437244654,
429
+ -0.3689935803413391,
430
+ 0.05055497586727142,
431
+ 0.07847447693347931,
432
+ -0.036021389067173004,
433
+ -0.19114325940608978,
434
+ 0.26740312576293945,
435
+ 0.09406544268131256,
436
+ -0.1619744449853897
437
+ ],
438
+ [
439
+ -0.34500449895858765,
440
+ 0.17636552453041077,
441
+ 0.3426302969455719,
442
+ 0.3570649325847626,
443
+ -0.033118460327386856,
444
+ 0.25352025032043457,
445
+ 0.2820196747779846,
446
+ -0.2842826247215271,
447
+ -0.0757998451590538,
448
+ -0.20751041173934937,
449
+ 0.08382812887430191,
450
+ -0.05385832116007805,
451
+ -0.6202051639556885,
452
+ 0.26277902722358704,
453
+ -0.19061028957366943
454
+ ],
455
+ [
456
+ -0.15309004485607147,
457
+ -0.03818637877702713,
458
+ -0.3205626308917999,
459
+ -0.007152817212045193,
460
+ -0.23848870396614075,
461
+ -0.4665132462978363,
462
+ 0.29147228598594666,
463
+ 0.016402531415224075,
464
+ -0.24547792971134186,
465
+ -0.011487615294754505,
466
+ -0.052587736397981644,
467
+ 0.019970647990703583,
468
+ -0.2511771619319916,
469
+ 0.04204389080405235,
470
+ 0.25347983837127686
471
+ ],
472
+ [
473
+ -0.18473607301712036,
474
+ 0.49087584018707275,
475
+ -0.1454090178012848,
476
+ 0.060093726962804794,
477
+ -0.11222531646490097,
478
+ -0.009585360065102577,
479
+ 0.14939837157726288,
480
+ 0.04477058723568916,
481
+ -0.22784698009490967,
482
+ -0.23066850006580353,
483
+ 0.035520922392606735,
484
+ 0.3430928885936737,
485
+ 0.013369472697377205,
486
+ -0.3202819526195526,
487
+ -0.2682534158229828
488
+ ],
489
+ [
490
+ -0.08595593273639679,
491
+ 0.16982443630695343,
492
+ -0.24643993377685547,
493
+ 0.21543455123901367,
494
+ 0.2005544751882553,
495
+ -0.07169633358716965,
496
+ 0.26921454071998596,
497
+ 0.03557285666465759,
498
+ -0.3000183403491974,
499
+ -0.12360482662916183,
500
+ -0.2618837058544159,
501
+ -0.05183147266507149,
502
+ 0.164887472987175,
503
+ -0.3959388732910156,
504
+ -0.4992673993110657
505
+ ],
506
+ [
507
+ 0.5432504415512085,
508
+ 0.27023521065711975,
509
+ 0.23970918357372284,
510
+ -0.07022026181221008,
511
+ 0.7626280784606934,
512
+ -0.18624334037303925,
513
+ -0.551729142665863,
514
+ 0.15499942004680634,
515
+ -0.059867601841688156,
516
+ 0.19733677804470062,
517
+ 0.13143454492092133,
518
+ 0.20088809728622437,
519
+ 0.23395177721977234,
520
+ 0.10379340499639511,
521
+ -0.07547645270824432
522
+ ],
523
+ [
524
+ 0.3556808829307556,
525
+ 0.17868858575820923,
526
+ -0.0783262699842453,
527
+ 0.3939509987831116,
528
+ -0.24936209619045258,
529
+ -0.0723569318652153,
530
+ 0.34536612033843994,
531
+ 0.07597124576568604,
532
+ -0.46351075172424316,
533
+ 0.30960139632225037,
534
+ 0.16907134652137756,
535
+ 0.18229074776172638,
536
+ 0.0846860334277153,
537
+ -0.09902326762676239,
538
+ -0.01117414515465498
539
+ ],
540
+ [
541
+ 0.11290524154901505,
542
+ -0.3695250451564789,
543
+ 0.17961908876895905,
544
+ 0.2828933298587799,
545
+ 0.01695784367620945,
546
+ -0.053896352648735046,
547
+ 0.3965355455875397,
548
+ -0.182089701294899,
549
+ -0.015261529013514519,
550
+ -0.4007752239704132,
551
+ 0.02188030816614628,
552
+ 0.15352727472782135,
553
+ -0.08320505172014236,
554
+ 0.29708775877952576,
555
+ 0.26168277859687805
556
+ ],
557
+ [
558
+ -0.15201331675052643,
559
+ -0.02467992715537548,
560
+ 0.0368831492960453,
561
+ -0.29199400544166565,
562
+ 0.07536514103412628,
563
+ 0.1266368180513382,
564
+ -0.043436527252197266,
565
+ 0.24213790893554688,
566
+ -0.20409177243709564,
567
+ -0.4188157916069031,
568
+ -0.22468942403793335,
569
+ -0.7173008322715759,
570
+ 0.04286476597189903,
571
+ 0.018884999677538872,
572
+ 0.0638054609298706
573
+ ],
574
+ [
575
+ -0.3171590268611908,
576
+ -0.03850363567471504,
577
+ 0.32614806294441223,
578
+ 0.14585517346858978,
579
+ 0.25313910841941833,
580
+ 0.09943120926618576,
581
+ -0.08848121762275696,
582
+ -0.14669257402420044,
583
+ -0.17915785312652588,
584
+ -0.2008930891752243,
585
+ 0.2775852382183075,
586
+ 0.02613728679716587,
587
+ -0.04968656972050667,
588
+ 0.5244881510734558,
589
+ -0.010464445687830448
590
+ ],
591
+ [
592
+ -0.2951357364654541,
593
+ 0.14690770208835602,
594
+ -0.528136670589447,
595
+ -0.16182759404182434,
596
+ -0.18725460767745972,
597
+ 0.04632202535867691,
598
+ 0.504802942276001,
599
+ 0.1270989626646042,
600
+ 0.027206480503082275,
601
+ 0.029595883563160896,
602
+ 0.4417790174484253,
603
+ -0.10742947459220886,
604
+ 0.06234097108244896,
605
+ 0.48277929425239563,
606
+ -0.12036901712417603
607
+ ],
608
+ [
609
+ 0.2361898571252823,
610
+ -0.008896274492144585,
611
+ -0.7292954921722412,
612
+ 0.1873794049024582,
613
+ -0.07346121966838837,
614
+ 0.22039586305618286,
615
+ 0.10992086678743362,
616
+ 0.04667862504720688,
617
+ -0.3448407053947449,
618
+ -0.2950391471385956,
619
+ 0.0212259478867054,
620
+ 0.16021989285945892,
621
+ -0.3255569636821747,
622
+ 0.004677820950746536,
623
+ -0.1370781809091568
624
+ ]
625
+ ]
626
+ },
627
  "eos_token_id": 2,
628
  "hidden_act": "gelu",
629
  "hidden_dropout_prob": 0.1,
630
  "hidden_size": 768,
631
  "id2label": {
632
+ "0": "B-corporation",
633
+ "1": "B-creative_work",
634
+ "2": "B-event",
635
+ "3": "B-group",
636
+ "4": "B-location",
637
+ "5": "B-person",
638
+ "6": "B-product",
639
+ "7": "I-corporation",
640
+ "8": "I-creative_work",
641
+ "9": "I-event",
642
+ "10": "I-group",
643
+ "11": "I-location",
644
+ "12": "I-person",
645
+ "13": "I-product",
646
+ "14": "O"
647
  },
648
  "initializer_range": 0.02,
649
  "intermediate_size": 3072,
650
  "label2id": {
651
+ "B-corporation": 0,
652
+ "B-creative_work": 1,
653
+ "B-event": 2,
654
+ "B-group": 3,
655
+ "B-location": 4,
656
+ "B-person": 5,
657
+ "B-product": 6,
658
+ "I-corporation": 7,
659
+ "I-creative_work": 8,
660
+ "I-event": 9,
661
+ "I-group": 10,
662
+ "I-location": 11,
663
+ "I-person": 12,
664
+ "I-product": 13,
665
+ "O": 14
666
  },
667
  "layer_norm_eps": 1e-05,
668
  "max_position_embeddings": 514,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a8cd1d2d1779083e6da0f7ff5668802d1511a42327a03528c03da61f892eee67
3
  size 496290228
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9dc4d0380df211f7fe54ba372bab0ded9e973a9326e25b92729d0bb55c3c559
3
  size 496290228