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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
596203a
 
 
 
 
 
 
 
 
 
 
 
 
 
ba83ed7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
---
language:
- pt
pretty_name: Portuguese Benchmark
dataset_info:
- config_name: HateBR_offensive_binary
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': non-offensive
          '1': offensive
  splits:
  - name: train
    num_bytes: 416208
    num_examples: 4480
  - name: validation
    num_bytes: 94237
    num_examples: 1120
  - name: test
    num_bytes: 116658
    num_examples: 1400
  download_size: 411947
  dataset_size: 627103
- config_name: HateBR_offensive_level
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': non-offensive
          '1': slightly
          '2': moderately
          '3': highly
  splits:
  - name: train
    num_bytes: 416208
    num_examples: 4480
  - name: validation
    num_bytes: 94237
    num_examples: 1120
  - name: test
    num_bytes: 116658
    num_examples: 1400
  download_size: 413064
  dataset_size: 627103
- config_name: LeNER-Br
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-ORGANIZACAO
          '2': I-ORGANIZACAO
          '3': B-PESSOA
          '4': I-PESSOA
          '5': B-TEMPO
          '6': I-TEMPO
          '7': B-LOCAL
          '8': I-LOCAL
          '9': B-LEGISLACAO
          '10': I-LEGISLACAO
          '11': B-JURISPRUDENCIA
          '12': I-JURISPRUDENCIA
  splits:
  - name: train
    num_bytes: 3953896
    num_examples: 7825
  - name: validation
    num_bytes: 715819
    num_examples: 1177
  - name: test
    num_bytes: 819242
    num_examples: 1390
  download_size: 1049906
  dataset_size: 5488957
- config_name: Portuguese_Hate_Speech_binary
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': no-hate
          '1': hate
  splits:
  - name: train
    num_bytes: 473248
    num_examples: 3969
  - name: validation
    num_bytes: 101358
    num_examples: 850
  - name: test
    num_bytes: 101242
    num_examples: 851
  download_size: 482467
  dataset_size: 675848
- config_name: UlyssesNER-Br-C-coarse
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-DATA
          '2': I-DATA
          '3': B-EVENTO
          '4': I-EVENTO
          '5': B-FUNDAMENTO
          '6': I-FUNDAMENTO
          '7': B-LOCAL
          '8': I-LOCAL
          '9': B-ORGANIZACAO
          '10': I-ORGANIZACAO
          '11': B-PESSOA
          '12': I-PESSOA
          '13': B-PRODUTODELEI
          '14': I-PRODUTODELEI
  splits:
  - name: train
    num_bytes: 1051410
    num_examples: 679
  - name: validation
    num_bytes: 225883
    num_examples: 146
  - name: test
    num_bytes: 226764
    num_examples: 147
  download_size: 301821
  dataset_size: 1504057
- config_name: UlyssesNER-Br-C-fine
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-DATA
          '2': I-DATA
          '3': B-EVENTO
          '4': I-EVENTO
          '5': B-FUNDapelido
          '6': I-FUNDapelido
          '7': B-FUNDlei
          '8': I-FUNDlei
          '9': B-FUNDprojetodelei
          '10': I-FUNDprojetodelei
          '11': B-LOCALconcreto
          '12': I-LOCALconcreto
          '13': B-LOCALvirtual
          '14': I-LOCALvirtual
          '15': B-ORGgovernamental
          '16': I-ORGgovernamental
          '17': B-ORGnaogovernamental
          '18': I-ORGnaogovernamental
          '19': B-ORGpartido
          '20': I-ORGpartido
          '21': B-PESSOAcargo
          '22': I-PESSOAcargo
          '23': B-PESSOAgrupocargo
          '24': I-PESSOAgrupocargo
          '25': B-PESSOAgrupoind
          '26': I-PESSOAgrupoind
          '27': B-PESSOAindividual
          '28': I-PESSOAindividual
          '29': B-PRODUTOoutros
          '30': I-PRODUTOoutros
          '31': B-PRODUTOprograma
          '32': I-PRODUTOprograma
          '33': B-PRODUTOsistema
          '34': I-PRODUTOsistema
  splits:
  - name: train
    num_bytes: 1051410
    num_examples: 679
  - name: validation
    num_bytes: 225883
    num_examples: 146
  - name: test
    num_bytes: 226764
    num_examples: 147
  download_size: 305985
  dataset_size: 1504057
- config_name: UlyssesNER-Br-PL-coarse
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-DATA
          '2': I-DATA
          '3': B-EVENTO
          '4': I-EVENTO
          '5': B-FUNDAMENTO
          '6': I-FUNDAMENTO
          '7': B-LOCAL
          '8': I-LOCAL
          '9': B-ORGANIZACAO
          '10': I-ORGANIZACAO
          '11': B-PESSOA
          '12': I-PESSOA
          '13': B-PRODUTODELEI
          '14': I-PRODUTODELEI
  splits:
  - name: train
    num_bytes: 1511905
    num_examples: 2271
  - name: validation
    num_bytes: 305472
    num_examples: 489
  - name: test
    num_bytes: 363207
    num_examples: 524
  download_size: 431964
  dataset_size: 2180584
- config_name: UlyssesNER-Br-PL-fine
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-DATA
          '2': I-DATA
          '3': B-EVENTO
          '4': I-EVENTO
          '5': B-FUNDapelido
          '6': I-FUNDapelido
          '7': B-FUNDlei
          '8': I-FUNDlei
          '9': B-FUNDprojetodelei
          '10': I-FUNDprojetodelei
          '11': B-LOCALconcreto
          '12': I-LOCALconcreto
          '13': B-LOCALvirtual
          '14': I-LOCALvirtual
          '15': B-ORGgovernamental
          '16': I-ORGgovernamental
          '17': B-ORGnaogovernamental
          '18': I-ORGnaogovernamental
          '19': B-ORGpartido
          '20': I-ORGpartido
          '21': B-PESSOAcargo
          '22': I-PESSOAcargo
          '23': B-PESSOAgrupocargo
          '24': I-PESSOAgrupocargo
          '25': B-PESSOAindividual
          '26': I-PESSOAindividual
          '27': B-PRODUTOoutros
          '28': I-PRODUTOoutros
          '29': B-PRODUTOprograma
          '30': I-PRODUTOprograma
          '31': B-PRODUTOsistema
          '32': I-PRODUTOsistema
  splits:
  - name: train
    num_bytes: 1511905
    num_examples: 2271
  - name: validation
    num_bytes: 305472
    num_examples: 489
  - name: test
    num_bytes: 363207
    num_examples: 524
  download_size: 437232
  dataset_size: 2180584
- config_name: assin2-rte
  features:
  - name: idx
    dtype: int32
  - name: sentence1
    dtype: string
  - name: sentence2
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': NONE
          '1': ENTAILMENT
  splits:
  - name: train
    num_bytes: 811995
    num_examples: 6500
  - name: validation
    num_bytes: 62824
    num_examples: 500
  - name: test
    num_bytes: 319682
    num_examples: 2448
  download_size: 551190
  dataset_size: 1194501
- config_name: assin2-sts
  features:
  - name: idx
    dtype: int32
  - name: sentence1
    dtype: string
  - name: sentence2
    dtype: string
  - name: label
    dtype: float32
  splits:
  - name: train
    num_bytes: 785995
    num_examples: 6500
  - name: validation
    num_bytes: 60824
    num_examples: 500
  - name: test
    num_bytes: 309890
    num_examples: 2448
  download_size: 560263
  dataset_size: 1156709
- config_name: brazilian_court_decisions_judgment
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': 'no'
          '1': partial
          '2': 'yes'
  splits:
  - name: train
    num_bytes: 2779679
    num_examples: 3234
  - name: validation
    num_bytes: 351504
    num_examples: 404
  - name: test
    num_bytes: 346499
    num_examples: 405
  download_size: 1956183
  dataset_size: 3477682
- config_name: brazilian_court_decisions_unanimity
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': unanimity
          '1': not-unanimity
  splits:
  - name: train
    num_bytes: 1564695
    num_examples: 1715
  - name: validation
    num_bytes: 197865
    num_examples: 211
  - name: test
    num_bytes: 193928
    num_examples: 204
  download_size: 1069780
  dataset_size: 1956488
- config_name: harem-default
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-PESSOA
          '2': I-PESSOA
          '3': B-ORGANIZACAO
          '4': I-ORGANIZACAO
          '5': B-LOCAL
          '6': I-LOCAL
          '7': B-TEMPO
          '8': I-TEMPO
          '9': B-VALOR
          '10': I-VALOR
          '11': B-ABSTRACCAO
          '12': I-ABSTRACCAO
          '13': B-ACONTECIMENTO
          '14': I-ACONTECIMENTO
          '15': B-COISA
          '16': I-COISA
          '17': B-OBRA
          '18': I-OBRA
          '19': B-OUTRO
          '20': I-OUTRO
  splits:
  - name: train
    num_bytes: 1504542
    num_examples: 121
  - name: validation
    num_bytes: 51182
    num_examples: 8
  - name: test
    num_bytes: 1060778
    num_examples: 128
  download_size: 540547
  dataset_size: 2616502
- config_name: harem-selective
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-PESSOA
          '2': I-PESSOA
          '3': B-ORGANIZACAO
          '4': I-ORGANIZACAO
          '5': B-LOCAL
          '6': I-LOCAL
          '7': B-TEMPO
          '8': I-TEMPO
          '9': B-VALOR
          '10': I-VALOR
  splits:
  - name: train
    num_bytes: 1504542
    num_examples: 121
  - name: validation
    num_bytes: 51182
    num_examples: 8
  - name: test
    num_bytes: 1060778
    num_examples: 128
  download_size: 531807
  dataset_size: 2616502
- config_name: mapa_pt_coarse
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-ADDRESS
          '2': I-ADDRESS
          '3': B-AMOUNT
          '4': I-AMOUNT
          '5': B-DATE
          '6': I-DATE
          '7': B-ORGANISATION
          '8': I-ORGANISATION
          '9': B-PERSON
          '10': I-PERSON
          '11': B-TIME
          '12': I-TIME
  splits:
  - name: train
    num_bytes: 974822
    num_examples: 1086
  - name: validation
    num_bytes: 119702
    num_examples: 105
  - name: test
    num_bytes: 337141
    num_examples: 390
  download_size: 229263
  dataset_size: 1431665
- config_name: mapa_pt_fine
  features:
  - name: idx
    dtype: int32
  - name: tokens
    sequence: string
  - name: ner_tags
    sequence:
      class_label:
        names:
          '0': O
          '1': B-AGE
          '2': I-AGE
          '3': B-BUILDING
          '4': I-BUILDING
          '5': B-CITY
          '6': I-CITY
          '7': B-COUNTRY
          '8': I-COUNTRY
          '9': B-DAY
          '10': I-DAY
          '11': B-ETHNIC CATEGORY
          '12': I-ETHNIC CATEGORY
          '13': B-FAMILY NAME
          '14': I-FAMILY NAME
          '15': B-INITIAL NAME
          '16': I-INITIAL NAME
          '17': B-MARITAL STATUS
          '18': I-MARITAL STATUS
          '19': B-MONTH
          '20': I-MONTH
          '21': B-NATIONALITY
          '22': I-NATIONALITY
          '23': B-PLACE
          '24': I-PLACE
          '25': B-PROFESSION
          '26': I-PROFESSION
          '27': B-ROLE
          '28': I-ROLE
          '29': B-STANDARD ABBREVIATION
          '30': I-STANDARD ABBREVIATION
          '31': B-TERRITORY
          '32': I-TERRITORY
          '33': B-TITLE
          '34': I-TITLE
          '35': B-TYPE
          '36': I-TYPE
          '37': B-UNIT
          '38': I-UNIT
          '39': B-URL
          '40': I-URL
          '41': B-VALUE
          '42': I-VALUE
          '43': B-YEAR
          '44': I-YEAR
  splits:
  - name: train
    num_bytes: 974822
    num_examples: 1086
  - name: validation
    num_bytes: 119702
    num_examples: 105
  - name: test
    num_bytes: 337141
    num_examples: 390
  download_size: 231886
  dataset_size: 1431665
- config_name: multi_eurlex_pt
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: labels
    sequence:
      class_label:
        names:
          '0': '100149'
          '1': '100160'
          '2': '100148'
          '3': '100147'
          '4': '100152'
          '5': '100143'
          '6': '100156'
          '7': '100158'
          '8': '100154'
          '9': '100153'
          '10': '100142'
          '11': '100145'
          '12': '100150'
          '13': '100162'
          '14': '100159'
          '15': '100144'
          '16': '100151'
          '17': '100157'
          '18': '100161'
          '19': '100146'
          '20': '100155'
  splits:
  - name: train
    num_bytes: 0
    num_examples: 0
  - name: validation
    num_bytes: 0
    num_examples: 0
  - name: test
    num_bytes: 0
    num_examples: 0
  download_size: 4770
  dataset_size: 0
- config_name: rrip
  features:
  - name: idx
    dtype: int32
  - name: sentence
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': '1'
          '1': '2'
          '2': '3'
          '3': '4'
          '4': '5'
          '5': '6'
          '6': '7'
          '7': '8'
  splits:
  - name: train
    num_bytes: 1174840
    num_examples: 8257
  - name: validation
    num_bytes: 184668
    num_examples: 1053
  - name: test
    num_bytes: 235217
    num_examples: 1474
  download_size: 929466
  dataset_size: 1594725
configs:
- config_name: HateBR_offensive_binary
  data_files:
  - split: train
    path: HateBR_offensive_binary/train-*
  - split: validation
    path: HateBR_offensive_binary/validation-*
  - split: test
    path: HateBR_offensive_binary/test-*
- config_name: HateBR_offensive_level
  data_files:
  - split: train
    path: HateBR_offensive_level/train-*
  - split: validation
    path: HateBR_offensive_level/validation-*
  - split: test
    path: HateBR_offensive_level/test-*
- config_name: LeNER-Br
  data_files:
  - split: train
    path: LeNER-Br/train-*
  - split: validation
    path: LeNER-Br/validation-*
  - split: test
    path: LeNER-Br/test-*
- config_name: Portuguese_Hate_Speech_binary
  data_files:
  - split: train
    path: Portuguese_Hate_Speech_binary/train-*
  - split: validation
    path: Portuguese_Hate_Speech_binary/validation-*
  - split: test
    path: Portuguese_Hate_Speech_binary/test-*
- config_name: UlyssesNER-Br-C-coarse
  data_files:
  - split: train
    path: UlyssesNER-Br-C-coarse/train-*
  - split: validation
    path: UlyssesNER-Br-C-coarse/validation-*
  - split: test
    path: UlyssesNER-Br-C-coarse/test-*
- config_name: UlyssesNER-Br-C-fine
  data_files:
  - split: train
    path: UlyssesNER-Br-C-fine/train-*
  - split: validation
    path: UlyssesNER-Br-C-fine/validation-*
  - split: test
    path: UlyssesNER-Br-C-fine/test-*
- config_name: UlyssesNER-Br-PL-coarse
  data_files:
  - split: train
    path: UlyssesNER-Br-PL-coarse/train-*
  - split: validation
    path: UlyssesNER-Br-PL-coarse/validation-*
  - split: test
    path: UlyssesNER-Br-PL-coarse/test-*
- config_name: UlyssesNER-Br-PL-fine
  data_files:
  - split: train
    path: UlyssesNER-Br-PL-fine/train-*
  - split: validation
    path: UlyssesNER-Br-PL-fine/validation-*
  - split: test
    path: UlyssesNER-Br-PL-fine/test-*
- config_name: assin2-rte
  data_files:
  - split: train
    path: assin2-rte/train-*
  - split: validation
    path: assin2-rte/validation-*
  - split: test
    path: assin2-rte/test-*
- config_name: assin2-sts
  data_files:
  - split: train
    path: assin2-sts/train-*
  - split: validation
    path: assin2-sts/validation-*
  - split: test
    path: assin2-sts/test-*
- config_name: brazilian_court_decisions_judgment
  data_files:
  - split: train
    path: brazilian_court_decisions_judgment/train-*
  - split: validation
    path: brazilian_court_decisions_judgment/validation-*
  - split: test
    path: brazilian_court_decisions_judgment/test-*
- config_name: brazilian_court_decisions_unanimity
  data_files:
  - split: train
    path: brazilian_court_decisions_unanimity/train-*
  - split: validation
    path: brazilian_court_decisions_unanimity/validation-*
  - split: test
    path: brazilian_court_decisions_unanimity/test-*
- config_name: harem-default
  data_files:
  - split: train
    path: harem-default/train-*
  - split: validation
    path: harem-default/validation-*
  - split: test
    path: harem-default/test-*
- config_name: harem-selective
  data_files:
  - split: train
    path: harem-selective/train-*
  - split: validation
    path: harem-selective/validation-*
  - split: test
    path: harem-selective/test-*
- config_name: mapa_pt_coarse
  data_files:
  - split: train
    path: mapa_pt_coarse/train-*
  - split: validation
    path: mapa_pt_coarse/validation-*
  - split: test
    path: mapa_pt_coarse/test-*
- config_name: mapa_pt_fine
  data_files:
  - split: train
    path: mapa_pt_fine/train-*
  - split: validation
    path: mapa_pt_fine/validation-*
  - split: test
    path: mapa_pt_fine/test-*
- config_name: multi_eurlex_pt
  data_files:
  - split: train
    path: multi_eurlex_pt/train-*
  - split: validation
    path: multi_eurlex_pt/validation-*
  - split: test
    path: multi_eurlex_pt/test-*
- config_name: rrip
  data_files:
  - split: train
    path: rrip/train-*
  - split: validation
    path: rrip/validation-*
  - split: test
    path: rrip/test-*
---

# Portuguese Benchmark

This a collection of datasets in Portuguese initially meant to train and evaluate supervised language models such as BERT, RoBERTa, etc...
It contains 10 datasets and 18 Tasks for Classification (CLS), NLI, Semantic Similarity Scoring (STS) and Named-Entity Recognition (NER).

| NER | Classification | NLI | STS |
|---|---|---|---|
| [LeNER-Br](https://teodecampos.github.io/LeNER-Br/) | [HateBR_offensive_binary](https://github.com/franciellevargas/HateBR) | [assin2-rte](https://sites.google.com/view/assin2) | [assin2-sts](https://sites.google.com/view/assin2) |
| [UlyssesNER-Br-PL-coarse](https://github.com/ulysses-camara/ulysses-ner-br) | [HateBR_offensive_level](https://github.com/franciellevargas/HateBR) |  |  |
| [UlyssesNER-Br-C-coarse](https://github.com/ulysses-camara/ulysses-ner-br) | [brazilian_court_decisions_judgment](https://github.com/lagefreitas/predicting-brazilian-court-decisions) |  |  |
| [UlyssesNER-Br-PL-fine](https://github.com/ulysses-camara/ulysses-ner-br) | [brazilian_court_decisions_unanimity](https://github.com/lagefreitas/predicting-brazilian-court-decisions) |  |  |
| [UlyssesNER-Br-C-fine](https://github.com/ulysses-camara/ulysses-ner-br) | [multi_eurlex_pt](https://github.com/nlpaueb/MultiEURLEX/) |  |  |
| [harem-default](https://www.linguateca.pt/primeiroHAREM/harem_coleccaodourada_en.html) | [Portuguese_Hate_Speech_binary](https://github.com/paulafortuna/Portuguese-Hate-Speech-Dataset) |  |  |
| [harem-selective](https://www.linguateca.pt/primeiroHAREM/harem_coleccaodourada_en.html) |  |  |  |
| [mapa_pt_coarse](https://huggingface.co/datasets/joelniklaus/mapa) |  |  |  |
| [mapa_pt_fine](https://huggingface.co/datasets/joelniklaus/mapa) |  |  |  |
| [rrip](https://bit.ly/rhetoricalrole) |  |  |  |

## Datasets Descriptions

**LeNER-Br** (NER) [\[Link\]](https://teodecampos.github.io/LeNER-Br/)

LeNER-Br is a Portuguese language dataset for named entity recognition applied to legal documents. 
LeNER-Br consists entirely of manually annotated legislation and legal cases texts and contains tags 
for persons, locations, time entities, organizations, legislation and legal cases. To compose the dataset, 
66 legal documents from several Brazilian Courts were collected. Courts of superior and state levels were considered, 
such as Supremo Tribunal Federal, Superior Tribunal de Justiça, Tribunal de Justiça de Minas Gerais and Tribunal de Contas da União. 
In addition, four legislation documents were collected, such as "Lei Maria da Penha", giving a total of 70 documents.

**assin2-rte** and **assin2-sts** (NLI/STS) [\[Link\]](https://sites.google.com/view/assin2)

The ASSIN 2 corpus is composed of rather simple sentences. Following the procedures of SemEval 2014 Task 1.
The training and validation data are composed, respectively, of 6,500 and 500 sentence pairs in Brazilian Portuguese,
annotated for entailment and semantic similarity. Semantic similarity values range from 1 to 5, and text entailment
classes are either entailment or none. The test data are composed of approximately 3,000 sentence pairs with the same
annotation. All data were manually annotated.


**HateBR_offensive_binary** and **HateBR_offensive_level** (CLS) [\[Link\]](https://github.com/franciellevargas/HateBR)

HateBR is the first large-scale expert annotated dataset of Brazilian Instagram comments for abusive language detection 
on the web and social media. The HateBR was collected from Brazilian Instagram comments of politicians and manually annotated 
by specialists. It is composed of 7,000 documents annotated according to three different layers: a binary classification (offensive 
versus non-offensive comments), offensiveness-level (highly, moderately, and slightly offensive messages), and nine hate speech 
groups (xenophobia, racism, homophobia, sexism, religious intolerance, partyism, apology for the dictatorship, antisemitism, 
and fatphobia). Each comment was annotated by three different annotators and achieved high inter-annotator agreement. Furthermore, 
baseline experiments were implemented reaching 85% of F1-score outperforming the current literature dataset baselines for 
the Portuguese language. We hope that the proposed expert annotated dataset may foster research on hate speech detection in the 
Natural Language Processing area.

**UlyssesNER-Br-\*** (NER) [\[Link\]](https://github.com/ulysses-camara/ulysses-ner-br)

UlyssesNER-Br is a corpus of Brazilian Legislative Documents for NER with quality baselines. 
The presented corpus consists of bills and legislative consultations from Brazilian Chamber of Deputies.
UlyssesNER-Br has seven semantic classes or categories. Based on HAREM,
we defined five typical categories: person, location, organization, event and date.
In addition, we defined two specific semantic classes for the legislative domain:
law foundation and law product. The law foundation category makes reference to
entities related to laws, resolutions, decrees, as well as to domain-specific entities
such as bills, which are law proposals being discussed by the parliament, and legislative consultations, 
also known as job requests made by the parliamentarians.
The law product entity refers to systems, programs, and other products created
from legislation.

**brazilian_court_decisions_judgment** and **brazilian_court_decisions_unanimity** (CLS) [\[Link\]](https://github.com/lagefreitas/predicting-brazilian-court-decisions)

The dataset is a collection of 4043 Ementa (summary) court decisions and their metadata from the Tribunal de 
Justiça de Alagoas (TJAL, the State Supreme Court of Alagoas (Brazil). The court decisions are labeled according 
to 7 categories and whether the decisions were unanimous on the part of the judges or not. The dataset 
supports the task of Legal Judgment Prediction.

**harem-default** and **harem-selective** (NER) [\[Link\]](https://www.linguateca.pt/primeiroHAREM/harem_coleccaodourada_en.html)

The HAREM is a Portuguese language corpus commonly used for Named Entity Recognition tasks. It includes about 93k words, from 129 different texts,
from several genres, and language varieties. The split of this dataset version follows the division made by [1], where 7% HAREM
documents are the validation set and the miniHAREM corpus (with about 65k words) is the test set. There are two versions of the dataset set,
a version that has a total of 10 different named entity classes (Person, Organization, Location, Value, Date, Title, Thing, Event,
Abstraction, and Other) and a "selective" version with only 5 classes (Person, Organization, Location, Value, and Date).
It's important to note that the original version of the HAREM dataset has 2 levels of NER details, namely "Category" and "Sub-type".
The dataset version processed here ONLY USE the "Category" level of the original dataset.
[1] Souza, Fábio, Rodrigo Nogueira, and Roberto Lotufo. "BERTimbau: Pretrained BERT Models for Brazilian Portuguese."
Brazilian Conference on Intelligent Systems. Springer, Cham, 2020.

**multi_eurlex_pt** (Multilabel CLS) [\[Link\]](https://github.com/nlpaueb/MultiEURLEX/)

MultiEURLEX comprises 65k EU laws in 23 official EU languages. 
Each EU law has been annotated with EUROVOC concepts (labels) by the Publication Office of EU. 
Each EUROVOC label ID is associated with a label descriptor, e.g., [60, agri-foodstuffs], 
[6006, plant product], [1115, fruit]. The descriptors are also available in the 23 languages. 
Chalkidis et al. (2019) published a monolingual (English) version of this dataset, called EUR-LEX, 
comprising 57k EU laws with the originally assigned gold labels.

**mapa_pt_coarse** and **mapa_pt_fine** (NER) [\[Link\]](https://huggingface.co/datasets/joelniklaus/mapa)

The dataset consists of 12 documents (9 for Spanish due to parsing errors) taken from EUR-Lex, 
a multilingual corpus of court decisions and legal dispositions in the 24 official languages 
of the European Union. The documents have been annotated for named entities following the 
guidelines of the MAPA project which foresees two annotation level, a general and a more 
fine-grained one. The annotated corpus can be used for named entity recognition/classification.

**Portuguese_Hate_Speech_binary** (CLS) [\[Link\]](https://github.com/paulafortuna/Portuguese-Hate-Speech-Dataset)

The dataset is composed of 5,668 tweets. For its annotation, we defined two different schemes used by
annotators with different levels of expertise. Firstly, non-experts annotated the tweets with binary
labels (‘hate’ vs. ‘no-hate’). Secondly, expert annotators classified the tweets following a fine-grained
hierarchical multiple label scheme with 81 hate speech categories in total. The inter-annotator agreement
varied from category to category, which reflects the insight that some types of hate speech are more subtle
than others and that their detection depends on personal perception. This hierarchical annotation scheme is
the main contribution of the presented work, as it facilitates the identification of different types of
hate speech and their intersections.

**rrip** (CLS) [\[Link\]](https://bit.ly/rhetoricalrole)

Rhetorical role identification (RRI) is an NLP task that consists of labeling the sentences of a document according 
to a given set of semantic functions (rhetorical roles). This task is useful to applications like document summarization, 
semantic search, document analysis, among others.  
In this corpus, we propose to segment petitions into eight rhetorical roles by mainly considering the analytic needs of 
judge's' offices in Brazil. We present a corpus of 70 petitions comprising more than 10 thousand sentences manually labeled 
with the proposed rhetorical roles. These petitions were taken from civil lawsuits filed in the court of the Brazilian state 
of Mato Grosso do Sul (TJMS).
       


## Citations

Citation for each one of the Tasks:

```bibtext
# LeNER-Br
@InProceedings{luz_etal_propor2018,
    author = {Pedro H. {Luz de Araujo} and Te'{o}filo E. {de Campos} and
            Renato R. R. {de Oliveira} and Matheus Stauffer and
            Samuel Couto and Paulo Bermejo},
    title = {{LeNER-Br}: a Dataset for Named Entity Recognition in {Brazilian} Legal Text},
    booktitle = {International Conference on the Computational Processing of Portuguese ({PROPOR})},
    publisher = {Springer},
    series = {Lecture Notes on Computer Science ({LNCS})},
    pages = {313--323},
    year = {2018},
    month = {September 24-26},
    address = {Canela, RS, Brazil},	  
    doi = {10.1007/978-3-319-99722-3_32},
    url = {https://teodecampos.github.io/LeNER-Br/},
}

# assin2-rte, assin2-sts
@inproceedings{real2020assin,
    title={The assin 2 shared task: a quick overview},
    author={Real, Livy and Fonseca, Erick and Oliveira, Hugo Goncalo},
    booktitle={International Conference on Computational Processing of the Portuguese Language},
    pages={406--412},
    year={2020},
    organization={Springer}
}

# HateBR_offensive_binary, HateBR_offensive_level
@inproceedings{vargas2022hatebr,
    title={HateBR: A Large Expert Annotated Corpus of Brazilian Instagram Comments for Offensive Language and Hate Speech Detection},
    author={Vargas, Francielle and Carvalho, Isabelle and de G{'o}es, Fabiana Rodrigues and Pardo, Thiago and Benevenuto, Fabr{'\i}cio},
    booktitle={Proceedings of the Thirteenth Language Resources and Evaluation Conference},
    pages={7174--7183},
    year={2022}
}

# UlyssesNER-Br-PL-coarse, UlyssesNER-Br-C-coarse, UlyssesNER-Br-PL-fine, UlyssesNER-Br-C-fine
@InProceedings{10.1007/978-3-030-98305-5_1,
    author="Albuquerque, Hidelberg O.
    and Costa, Rosimeire
    and Silvestre, Gabriel
    and Souza, Ellen
    and da Silva, N{'a}dia F. F.
    and Vit{'o}rio, Douglas
    and Moriyama, Gyovana
    and Martins, Lucas
    and Soezima, Luiza
    and Nunes, Augusto
    and Siqueira, Felipe
    and Tarrega, Jo{\~a}o P.
    and Beinotti, Joao V.
    and Dias, Marcio
    and Silva, Matheus
    and Gardini, Miguel
    and Silva, Vinicius
    and de Carvalho, Andr{'e} C. P. L. F.
    and Oliveira, Adriano L. I.",
    editor="Pinheiro, Vl{'a}dia
    and Gamallo, Pablo
    and Amaro, Raquel
    and Scarton, Carolina
    and Batista, Fernando
    and Silva, Diego
    and Magro, Catarina
    and Pinto, Hugo",
    title="UlyssesNER-Br: A Corpus of Brazilian Legislative Documents for Named Entity Recognition",
    booktitle="Computational Processing of the Portuguese Language",
    year="2022",
    publisher="Springer International Publishing",
    address="Cham",
    pages="3--14",
    isbn="978-3-030-98305-5"
}
@InProceedings{10.1007/978-3-031-16474-3_62,
    author="Costa, Rosimeire
    and Albuquerque, Hidelberg Oliveira
    and Silvestre, Gabriel
    and Silva, N{'a}dia F{'e}lix F.
    and Souza, Ellen
    and Vit{'o}rio, Douglas
    and Nunes, Augusto
    and Siqueira, Felipe
    and Pedro Tarrega, Jo{\~a}o
    and Vitor Beinotti, Jo{\~a}o
    and de Souza Dias, M{'a}rcio
    and Pereira, Fab{'i}ola S. F.
    and Silva, Matheus
    and Gardini, Miguel
    and Silva, Vinicius
    and de Carvalho, Andr{'e} C. P. L. F.
    and Oliveira, Adriano L. I.",
    editor="Marreiros, Goreti
    and Martins, Bruno
    and Paiva, Ana
    and Ribeiro, Bernardete
    and Sardinha, Alberto",
    title="Expanding UlyssesNER-Br Named Entity Recognition Corpus with Informal User-Generated Text",
    booktitle="Progress in Artificial Intelligence",
    year="2022",
    publisher="Springer International Publishing",
    address="Cham",
    pages="767--779",
    isbn="978-3-031-16474-3"
}

# brazilian_court_decisions_judgment, brazilian_court_decisions_unanimity
@article{Lage-Freitas2022,
  author = {Lage-Freitas, Andr{'{e}} and Allende-Cid, H{'{e}}ctor and Santana, Orivaldo and Oliveira-Lage, L{'{i}}via},
  doi = {10.7717/peerj-cs.904},
  issn = {2376-5992},
  journal = {PeerJ. Computer science},
  keywords = {Artificial intelligence,Jurimetrics,Law,Legal,Legal NLP,Legal informatics,Legal outcome forecast,Litigation prediction,Machine learning,NLP,Portuguese,Predictive algorithms,judgement prediction},
  language = {eng},
  month = {mar},
  pages = {e904--e904},
  publisher = {PeerJ Inc.},
  title = {{Predicting Brazilian Court Decisions}},
  url = {https://pubmed.ncbi.nlm.nih.gov/35494851 https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9044329/},
  volume = {8},
  year = {2022}
}

# harem-default, harem-selective
@inproceedings{santos2006harem,
    title={Harem: An advanced ner evaluation contest for portuguese},
    author={Santos, Diana and Seco, Nuno and Cardoso, Nuno and Vilela, Rui},
    booktitle={quot; In Nicoletta Calzolari; Khalid Choukri; Aldo Gangemi; Bente Maegaard; Joseph Mariani; Jan Odjik; Daniel Tapias (ed) Proceedings of the 5 th International Conference on Language Resources and Evaluation (LREC'2006)(Genoa Italy 22-28 May 2006)},
    year={2006}
}

# multi_eurlex_pt
@InProceedings{chalkidis-etal-2021-multieurlex,
  author = {Chalkidis, Ilias  
                and Fergadiotis, Manos
                and Androutsopoulos, Ion},
  title = {MultiEURLEX -- A multi-lingual and multi-label legal document 
               classification dataset for zero-shot cross-lingual transfer},
  booktitle = {Proceedings of the 2021 Conference on Empirical Methods
               in Natural Language Processing},
  year = {2021},
  publisher = {Association for Computational Linguistics},
  location = {Punta Cana, Dominican Republic},
  url = {https://arxiv.org/abs/2109.00904}
}

# mapa_pt_coarse, mapa_pt_fine
@article{DeGibertBonet2022,
    author = {{de Gibert Bonet}, Ona and {Garc{'{i}}a Pablos}, Aitor and Cuadros, Montse and Melero, Maite},
    journal = {Proceedings of the Language Resources and Evaluation Conference},
    number = {June},
    pages = {3751--3760},
    title = {{Spanish Datasets for Sensitive Entity Detection in the Legal Domain}},
    url = {https://aclanthology.org/2022.lrec-1.400},
    year = {2022}
}

# Portuguese_Hate_Speech_binary
@inproceedings{fortuna-etal-2019-hierarchically,
    title = "A Hierarchically-Labeled {P}ortuguese Hate Speech Dataset",
    author = "Fortuna, Paula  and
    Rocha da Silva, Jo{\~a}o  and
    Soler-Company, Juan  and
    Wanner, Leo  and
    Nunes, S{'e}rgio",
    editor = "Roberts, Sarah T.  and
    Tetreault, Joel  and
    Prabhakaran, Vinodkumar  and
    Waseem, Zeerak",
    booktitle = "Proceedings of the Third Workshop on Abusive Language Online",
    month = aug,
    year = "2019",
    address = "Florence, Italy",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/W19-3510",
    doi = "10.18653/v1/W19-3510",
    pages = "94--104"
}

#rrip
@inproceedings{aragy_rhetorical_2021,
    series = {Lecture {Notes} in {Computer} {Science}},
    title = {Rhetorical {Role} {Identification} for {Portuguese} {Legal} {Documents}},
    isbn = {978-3-030-91699-2},
    doi = {10.1007/978-3-030-91699-2_38},
    booktitle = {Intelligent {Systems}},
    publisher = {Springer International Publishing},
    author = {Aragy, Roberto and Fernandes, Eraldo Rezende and Caceres, Edson Norberto},
    editor = {Britto, André and Valdivia Delgado, Karina},
    year = {2021},
    pages = {557--571},
}
```