อ้างอิง:
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"
}
}