kinnews_kirnews

Referências:

kinnews_raw

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

ds = tfds.load('huggingface:kinnews_kirnews/kinnews_raw')
  • Descrição :
Kinyarwanda and Kirundi news classification datasets
  • Licença : Licença MIT
  • Versão : 0.0.0
  • Divisões :
Dividir Exemplos
'test' 4254
'train' 17014
  • Características :
{
    "label": {
        "num_classes": 14,
        "names": [
            "politics",
            "sport",
            "economy",
            "health",
            "entertainment",
            "history",
            "technology",
            "tourism",
            "culture",
            "fashion",
            "religion",
            "environment",
            "education",
            "relationship"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "kin_label": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "en_label": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "content": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

kinnews_cleaned

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

ds = tfds.load('huggingface:kinnews_kirnews/kinnews_cleaned')
  • Descrição :
Kinyarwanda and Kirundi news classification datasets
  • Licença : Licença MIT
  • Versão : 0.0.0
  • Divisões :
Dividir Exemplos
'test' 4254
'train' 17014
  • Características :
{
    "label": {
        "num_classes": 14,
        "names": [
            "politics",
            "sport",
            "economy",
            "health",
            "entertainment",
            "history",
            "technology",
            "tourism",
            "culture",
            "fashion",
            "religion",
            "environment",
            "education",
            "relationship"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "content": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

kirnews_raw

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

ds = tfds.load('huggingface:kinnews_kirnews/kirnews_raw')
  • Descrição :
Kinyarwanda and Kirundi news classification datasets
  • Licença : Licença MIT
  • Versão : 0.0.0
  • Divisões :
Dividir Exemplos
'test' 923
'train' 3689
  • Características :
{
    "label": {
        "num_classes": 14,
        "names": [
            "politics",
            "sport",
            "economy",
            "health",
            "entertainment",
            "history",
            "technology",
            "tourism",
            "culture",
            "fashion",
            "religion",
            "environment",
            "education",
            "relationship"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "kir_label": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "en_label": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "url": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "content": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}

kirnews_cleaned

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

ds = tfds.load('huggingface:kinnews_kirnews/kirnews_cleaned')
  • Descrição :
Kinyarwanda and Kirundi news classification datasets
  • Licença : Licença MIT
  • Versão : 0.0.0
  • Divisões :
Dividir Exemplos
'test' 923
'train' 3689
  • Características :
{
    "label": {
        "num_classes": 14,
        "names": [
            "politics",
            "sport",
            "economy",
            "health",
            "entertainment",
            "history",
            "technology",
            "tourism",
            "culture",
            "fashion",
            "religion",
            "environment",
            "education",
            "relationship"
        ],
        "names_file": null,
        "id": null,
        "_type": "ClassLabel"
    },
    "title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "content": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}