Referências:
yahoo_answers_topics
Use o seguinte comando para carregar esse conjunto de dados no TFDS:
ds = tfds.load('huggingface:yahoo_answers_topics/yahoo_answers_topics')
- Descrição :
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.
- Licença : Nenhuma licença conhecida
- Versão : 1.0.0
- Divisões :
Dividir | Exemplos |
---|---|
'test' | 60.000 |
'train' | 1400000 |
- Características :
{
"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"
}
}