Références :
Utilisez la commande suivante pour charger cet ensemble de données dans TFDS :
ds = tfds.load('huggingface:jigsaw_toxicity_pred')
- Description :
This dataset consists of a large number of Wikipedia comments which have been labeled by human raters for toxic behavior.
- Licence : L'ensemble de données « Toxic Comment Classification » est publié sous CC0, le texte du commentaire sous-jacent étant régi par le CC-SA-3.0 de Wikipédia.
- Version : 1.1.0
- Divisions :
Diviser | Exemples |
---|---|
'test' | 63978 |
'train' | 159571 |
- Caractéristiques :
{
"comment_text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"toxic": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"severe_toxic": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"obscene": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"threat": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"insult": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"identity_hate": {
"num_classes": 2,
"names": [
"false",
"true"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
}
}