Ссылки:
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"
}
}