Références :
Utilisez la commande suivante pour charger cet ensemble de données dans TFDS :
ds = tfds.load('huggingface:hate_offensive')
- Description :
This dataset contains annotated tweets for automated hate-speech recognition
- Licence : Aucune licence connue
- Version : 1.1.0
- Divisions :
Diviser | Exemples |
---|---|
'train' | 24783 |
- Caractéristiques :
{
"total_annotation_count": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"hate_speech_annotations": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"offensive_language_annotations": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"neither_annotations": {
"dtype": "int32",
"id": null,
"_type": "Value"
},
"label": {
"num_classes": 3,
"names": [
"hate-speech",
"offensive-language",
"neither"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"tweet": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}