File size: 3,262 Bytes
14e17c9
154ae39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14e17c9
99eed19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
annotations_creators:
- crowdsourced
language_creators:
- crowdsourced
language:
- pt
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- 10K<n<100K
source_datasets:
- original
task_categories:
- text-classification
task_ids: []
paperswithcode_id: told-br
pretty_name: ToLD-Br
language_bcp47:
- pt-BR
tags:
- hate-speech-detection
dataset_info:
- config_name: multilabel
  features:
  - name: text
    dtype: string
  - name: homophobia
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  - name: obscene
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  - name: insult
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  - name: racism
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  - name: misogyny
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  - name: xenophobia
    dtype:
      class_label:
        names:
          '0': zero_votes
          '1': one_vote
          '2': two_votes
          '3': three_votes
  splits:
  - name: train
    num_bytes: 2978006
    num_examples: 21000
  download_size: 2430416
  dataset_size: 2978006
- config_name: binary
  features:
  - name: text
    dtype: string
  - name: label
    dtype:
      class_label:
        names:
          '0': not-toxic
          '1': toxic
  splits:
  - name: train
    num_bytes: 1709560
    num_examples: 16800
  - name: test
    num_bytes: 216297
    num_examples: 2100
  - name: validation
    num_bytes: 212153
    num_examples: 2100
  download_size: 853322
  dataset_size: 2138010
---

# Portuguese Hate Speech Dataset (TuPy)

The Portuguese hate speech dataset (TuPy) is an annotated corpus designed to facilitate the development of advanced hate speech detection models using machine learning (ML) and natural language processing (NLP) techniques. TuPy is formed by 10000 thousand unpublished annotated tweets collected in 2023.

This repository is organized as follows:

```sh
root.
    ├── annotations   : classification given by annotators
    ├── raw corpus    : dataset before being split between annotators
    ├── tupy datasets : combined result of annotations
    └── README.md
```
## Voting process
To generate the binary matrices, we employed a straightforward voting process. Three distinct evaluations were assigned to each document. In cases where a document received two or more identical classifications, the adopted value is set to 1; otherwise, it is marked as 0.

## Acknowledge
The TuPy project is the result of the development of Felipe Oliveira's thesis and the work of several collaborators. This project is financed by the Federal University of Rio de Janeiro ([UFRJ](https://ufrj.br/)) and the Alberto Luiz Coimbra Institute for Postgraduate Studies and Research in Engineering ([COPPE](https://coppe.ufrj.br/)).