yahoo_answers_topics

参考文献:

yahoo_answers_topics

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

ds = tfds.load('huggingface:yahoo_answers_topics/yahoo_answers_topics')
  • 説明
Yahoo! Answers Topic Classification is text classification dataset. The dataset is the Yahoo! Answers corpus as of 10/25/2007. The Yahoo! Answers topic classification dataset is constructed using 10 largest main categories. From all the answers and other meta-information, this dataset only used the best answer content and the main category information.
  • ライセンス: 既知のライセンスはありません
  • バージョン: 1.0.0
  • 分割:
スプリット
'test' 60000
'train' 1400000
  • 特徴
{
    "id": {
        "dtype": "int32",
        "id": null,
        "_type": "Value"
    },
    "topic": {
        "num_classes": 10,
        "names": [
            "Society & Culture",
            "Science & Mathematics",
            "Health",
            "Education & Reference",
            "Computers & Internet",
            "Sports",
            "Business & Finance",
            "Entertainment & Music",
            "Family & Relationships",
            "Politics & Government"
        ],
        "id": null,
        "_type": "ClassLabel"
    },
    "question_title": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "question_content": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    },
    "best_answer": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}