PocketDoc commited on
Commit
af0b546
1 Parent(s): e915c02

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Description
2
+ This dataset is an instruct style dataset comprised of a scrape of the Yahoo! Answers website that was done in 2007. The dataset is comprised of 10 categories, each with 140,000 training samples and 6,000 testing samples. The categories are as follows:
3
+
4
+ 1. Society & Culture
5
+ 2. Science & Mathematics
6
+ 3. Health
7
+ 4. Education & Reference
8
+ 5. Computers & Internet
9
+ 6. Sports
10
+ 7. Business & Finance
11
+ 8. Entertainment & Music
12
+ 9. Family & Relationships
13
+ 10. Politics & Government
14
+
15
+ The subject line and body of the question have been combined into a single field and separated by a newline character.
16
+
17
+ I would caution against using this dataset for any serious application as it contains hilariously out of date information, offensive language, and frequent spelling and grammar errors. It is, however, a charming snapshot of the internet in 2007.
18
+
19
+ ### Original README
20
+ >Yahoo! Answers Topic Classification Dataset
21
+ >
22
+ >Version 2, Updated 09/09/2015
23
+ >
24
+ >
25
+ >ORIGIN
26
+ >
27
+ >The original Yahoo! Answers corpus can be obtained through the Yahoo! Research Alliance Webscope program. The dataset is to be used for approved non-commercial research purposes by recipients who have signed a Data Sharing Agreement with Yahoo!. The dataset is the Yahoo! Answers corpus as of 10/25/2007. It includes all the questions and their corresponding answers. The corpus contains 4483032 questions and their answers.
28
+ >
29
+ >The Yahoo! Answers topic classification dataset is constructed by Xiang Zhang (xiang.zhang@nyu.edu) from the above dataset. It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural Information Processing Systems 28 (NIPS 2015).
30
+ >
31
+ >
32
+ >DESCRIPTION
33
+ >
34
+ >The Yahoo! Answers topic classification dataset is constructed using 10 largest main categories. Each class contains 140,000 training samples and 6,000 testing samples. Therefore, the total number of training samples is 1,400,000 and testing samples 60,000 in this dataset. From all the answers and other meta-information, we only used the best answer content and the main category information.
35
+ >
36
+ >The file classes.txt contains a list of classes corresponding to each label.
37
+ >
38
+ >The files train.csv and test.csv contain all the training samples as comma-sparated values. There are 4 columns in them, corresponding to class index (1 to 10), question title, question content and best answer. The text fields are escaped using double quotes ("), and any internal double quote is escaped by 2 double quotes (""). New lines are escaped by a backslash followed with an "n" character, that is "\n".