kinnews_kirnews

参考文献:

キンニュース_生

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:kinnews_kirnews/kinnews_raw')
  • 説明
Kinyarwanda and Kirundi news classification datasets
  • ライセンス: MITライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'test' 4254
'train' 17014
  • 特徴
{
    "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

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:kinnews_kirnews/kinnews_cleaned')
  • 説明
Kinyarwanda and Kirundi news classification datasets
  • ライセンス: MITライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'test' 4254
'train' 17014
  • 特徴
{
    "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"
    }
}

キルニュース_生

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:kinnews_kirnews/kirnews_raw')
  • 説明
Kinyarwanda and Kirundi news classification datasets
  • ライセンス: MITライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'test' 923
'train' 3689
  • 特徴
{
    "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

次のコマンドを使用して、このデータセットを TFDS にロードします。

ds = tfds.load('huggingface:kinnews_kirnews/kirnews_cleaned')
  • 説明
Kinyarwanda and Kirundi news classification datasets
  • ライセンス: MITライセンス
  • バージョン: 0.0.0
  • 分割:
スプリット
'test' 923
'train' 3689
  • 特徴
{
    "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"
    }
}