참고자료:
다중 라벨
TFDS에 이 데이터세트를 로드하려면 다음 명령어를 사용하세요.
ds = tfds.load('huggingface:told-br/multilabel')
- 설명 :
ToLD-Br is the biggest dataset for toxic tweets in Brazilian Portuguese, crowdsourced
by 42 annotators selected from a pool of 129 volunteers. Annotators were selected aiming
to create a plural group in terms of demographics (ethnicity, sexual orientation, age, gender).
Each tweet was labeled by three annotators in 6 possible categories:
LGBTQ+phobia,Xenophobia, Obscene, Insult, Misogyny and Racism.
- 라이센스 : https://github.com/JAugusto97/ToLD-Br/blob/main/LICENSE_ToLD-Br.txt
- 버전 : 1.0.0
- 분할 :
나뉘다 | 예 |
---|---|
'train' | 21000 |
- 특징 :
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"homophobia": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"obscene": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"insult": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"racism": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"misogyny": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"xenophobia": {
"num_classes": 4,
"names": [
"zero_votes",
"one_vote",
"two_votes",
"three_votes"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
}
}
바이너리
TFDS에 이 데이터세트를 로드하려면 다음 명령어를 사용하세요.
ds = tfds.load('huggingface:told-br/binary')
- 설명 :
ToLD-Br is the biggest dataset for toxic tweets in Brazilian Portuguese, crowdsourced
by 42 annotators selected from a pool of 129 volunteers. Annotators were selected aiming
to create a plural group in terms of demographics (ethnicity, sexual orientation, age, gender).
Each tweet was labeled by three annotators in 6 possible categories:
LGBTQ+phobia,Xenophobia, Obscene, Insult, Misogyny and Racism.
- 라이센스 : https://github.com/JAugusto97/ToLD-Br/blob/main/LICENSE_ToLD-Br.txt
- 버전 : 1.0.0
- 분할 :
나뉘다 | 예 |
---|---|
'test' | 2100 |
'train' | 16800 |
'validation' | 2100 |
- 특징 :
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"label": {
"num_classes": 2,
"names": [
"not-toxic",
"toxic"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
}
}