Yahoo! Answers topic classification, 10 categories (CSV)
The 1.46 million questions and best answers from the Yahoo! Answers topic classification dataset. They come from the platform's 10 largest main categories, with 140,000 training and 6,000 test questions per category. Each row has the category number, the question title, the question content and the best answer. This copy is the CSV that Acharki Yassir uploaded to Kaggle and Hugging Face, crediting Xiang Zhang as co-author.
Cite this dataset at
yahoo-answers-topic-classification-10-categories.echo.directory
Analytics
Topic 0
Topic 1
Topic 2
Topic 3
Topic 4
Topic 5
Topic 6
Topic 7
Topic 8
Topic 9
Computed over the full corpus.
Record
- Catalog key
yahoo-answers-topic-classification-10-categories- Authors
- Xiang Zhang; Acharki Yassir
- Year
- 2024
- Source paper
- Yahoo Answers 10 categories for NLP
- DOI / arXiv
- 10.34740/kaggle/dsv/5339321
- License
- license: apache-2.0 (Apache-2.0)
- Contents
- 1,399,999 qa train rows (extra table)
59,999 qa test rows (extra table)
10 classes (extra table)
Rows of the data package, version 1.0.0. - Analysis
- 3,695,629 documents analysed
What ECHO's analysis counted, which can differ from the package rows (text with content, repeated links merged). - Languages
- en
- Collected
- 2007-10 (2000s)
Provenance
- Originally published at
- https://huggingface.co/datasets/yassiracharki/Yahoo_Answers_10_categories_for_NLP unverified
- Original files as received
- The source files, unconverted, kept for reference: mirrored on echo.directory on 2026-11-13, 742.0 MB across 5 files. Checksums in MANIFEST.json. For use, start with the data package below.
- Data package
- Version 1.0.0 of this dataset as an ECHO Data Package: x_qa_train (1,399,999 rows), x_qa_test (59,999 rows), x_classes (10 rows).
How to cite
BibTeX
@misc{echo2026,
title = {ECHO: Exploratory Compendium of Humanity Online},
author = {Switzer, Braden and Zafarani, Reza},
year = {2026},
url = {https://echo.directory},
note = {Syracuse University}
}
@misc{xiang_zhang_acharki_yassir_2023,
title = {Yahoo Answers 10 categories for NLP CSV},
url = {https://www.kaggle.com/dsv/5339321},
doi = {10.34740/KAGGLE/DSV/5339321},
publisher = {Kaggle},
author = {Xiang Zhang and Acharki Yassir},
year = {2023}
} APA
Switzer, B., & Zafarani, R. (2026). ECHO: Exploratory Compendium of Humanity Online [Data repository]. Syracuse University. https://echo.directory
Xiang Zhang, & Acharki Yassir (2024). Yahoo! Answers topic classification, 10 categories (CSV) [Data set]. https://doi.org/10.34740/kaggle/dsv/5339321
MLA
Switzer, Braden, and Reza Zafarani. ECHO: Exploratory Compendium of Humanity Online. Syracuse University, 2026, echo.directory.
Xiang Zhang, and Acharki Yassir. Yahoo! Answers topic classification, 10 categories (CSV). 2024, doi.org/10.34740/kaggle/dsv/5339321.
