jigsaw_toxicity_pred

Referências:

Use o seguinte comando para carregar este conjunto de dados no TFDS:

ds = tfds.load('huggingface:jigsaw_toxicity_pred')
  • Descrição :
This dataset consists of a large number of Wikipedia comments which have been labeled by human raters for toxic behavior.
  • Licença : O conjunto de dados "Toxic Comment Classification" é lançado sob CC0, com o texto do comentário subjacente sendo regido pelo CC-SA-3.0 da Wikipedia.
  • Versão : 1.1.0
  • Divisões :
Dividir Exemplos
'test' 63978
'train' 159571
  • Características :
{
    "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"
    }
}