Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-class-classification
Languages:
English
Size:
1K<n<10K
License:
Update files from the datasets library (from 1.3.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.3.0
README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
---
|
| 3 |
+
|
| 4 |
+
# Dataset Card for "trec"
|
| 5 |
+
|
| 6 |
+
## Table of Contents
|
| 7 |
+
- [Dataset Description](#dataset-description)
|
| 8 |
+
- [Dataset Summary](#dataset-summary)
|
| 9 |
+
- [Supported Tasks](#supported-tasks)
|
| 10 |
+
- [Languages](#languages)
|
| 11 |
+
- [Dataset Structure](#dataset-structure)
|
| 12 |
+
- [Data Instances](#data-instances)
|
| 13 |
+
- [Data Fields](#data-fields)
|
| 14 |
+
- [Data Splits Sample Size](#data-splits-sample-size)
|
| 15 |
+
- [Dataset Creation](#dataset-creation)
|
| 16 |
+
- [Curation Rationale](#curation-rationale)
|
| 17 |
+
- [Source Data](#source-data)
|
| 18 |
+
- [Annotations](#annotations)
|
| 19 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 20 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 21 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 22 |
+
- [Discussion of Biases](#discussion-of-biases)
|
| 23 |
+
- [Other Known Limitations](#other-known-limitations)
|
| 24 |
+
- [Additional Information](#additional-information)
|
| 25 |
+
- [Dataset Curators](#dataset-curators)
|
| 26 |
+
- [Licensing Information](#licensing-information)
|
| 27 |
+
- [Citation Information](#citation-information)
|
| 28 |
+
- [Contributions](#contributions)
|
| 29 |
+
|
| 30 |
+
## [Dataset Description](#dataset-description)
|
| 31 |
+
|
| 32 |
+
- **Homepage:** [https://cogcomp.seas.upenn.edu/Data/QA/QC/](https://cogcomp.seas.upenn.edu/Data/QA/QC/)
|
| 33 |
+
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 34 |
+
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 35 |
+
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 36 |
+
- **Size of downloaded dataset files:** 0.34 MB
|
| 37 |
+
- **Size of the generated dataset:** 0.39 MB
|
| 38 |
+
- **Total amount of disk used:** 0.74 MB
|
| 39 |
+
|
| 40 |
+
### [Dataset Summary](#dataset-summary)
|
| 41 |
+
|
| 42 |
+
The Text REtrieval Conference (TREC) Question Classification dataset contains 5500 labeled questions in training set and another 500 for test set. The dataset has 6 labels, 47 level-2 labels. Average length of each sentence is 10, vocabulary size of 8700.
|
| 43 |
+
|
| 44 |
+
Data are collected from four sources: 4,500 English questions published by USC (Hovy et al., 2001), about 500 manually constructed questions for a few rare classes, 894 TREC 8 and TREC 9 questions, and also 500 questions from TREC 10 which serves as the test set.
|
| 45 |
+
|
| 46 |
+
### [Supported Tasks](#supported-tasks)
|
| 47 |
+
|
| 48 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 49 |
+
|
| 50 |
+
### [Languages](#languages)
|
| 51 |
+
|
| 52 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 53 |
+
|
| 54 |
+
## [Dataset Structure](#dataset-structure)
|
| 55 |
+
|
| 56 |
+
We show detailed information for up to 5 configurations of the dataset.
|
| 57 |
+
|
| 58 |
+
### [Data Instances](#data-instances)
|
| 59 |
+
|
| 60 |
+
#### default
|
| 61 |
+
|
| 62 |
+
- **Size of downloaded dataset files:** 0.34 MB
|
| 63 |
+
- **Size of the generated dataset:** 0.39 MB
|
| 64 |
+
- **Total amount of disk used:** 0.74 MB
|
| 65 |
+
|
| 66 |
+
An example of 'train' looks as follows.
|
| 67 |
+
```
|
| 68 |
+
{
|
| 69 |
+
"label-coarse": 1,
|
| 70 |
+
"label-fine": 2,
|
| 71 |
+
"text": "What fowl grabs the spotlight after the Chinese Year of the Monkey ?"
|
| 72 |
+
}
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### [Data Fields](#data-fields)
|
| 76 |
+
|
| 77 |
+
The data fields are the same among all splits.
|
| 78 |
+
|
| 79 |
+
#### default
|
| 80 |
+
- `label-coarse`: a classification label, with possible values including `DESC` (0), `ENTY` (1), `ABBR` (2), `HUM` (3), `NUM` (4).
|
| 81 |
+
- `label-fine`: a classification label, with possible values including `manner` (0), `cremat` (1), `animal` (2), `exp` (3), `ind` (4).
|
| 82 |
+
- `text`: a `string` feature.
|
| 83 |
+
|
| 84 |
+
### [Data Splits Sample Size](#data-splits-sample-size)
|
| 85 |
+
|
| 86 |
+
| name |train|test|
|
| 87 |
+
|-------|----:|---:|
|
| 88 |
+
|default| 5452| 500|
|
| 89 |
+
|
| 90 |
+
## [Dataset Creation](#dataset-creation)
|
| 91 |
+
|
| 92 |
+
### [Curation Rationale](#curation-rationale)
|
| 93 |
+
|
| 94 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 95 |
+
|
| 96 |
+
### [Source Data](#source-data)
|
| 97 |
+
|
| 98 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 99 |
+
|
| 100 |
+
### [Annotations](#annotations)
|
| 101 |
+
|
| 102 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 103 |
+
|
| 104 |
+
### [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 105 |
+
|
| 106 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 107 |
+
|
| 108 |
+
## [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 109 |
+
|
| 110 |
+
### [Social Impact of Dataset](#social-impact-of-dataset)
|
| 111 |
+
|
| 112 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 113 |
+
|
| 114 |
+
### [Discussion of Biases](#discussion-of-biases)
|
| 115 |
+
|
| 116 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 117 |
+
|
| 118 |
+
### [Other Known Limitations](#other-known-limitations)
|
| 119 |
+
|
| 120 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 121 |
+
|
| 122 |
+
## [Additional Information](#additional-information)
|
| 123 |
+
|
| 124 |
+
### [Dataset Curators](#dataset-curators)
|
| 125 |
+
|
| 126 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 127 |
+
|
| 128 |
+
### [Licensing Information](#licensing-information)
|
| 129 |
+
|
| 130 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 131 |
+
|
| 132 |
+
### [Citation Information](#citation-information)
|
| 133 |
+
|
| 134 |
+
```
|
| 135 |
+
@inproceedings{li-roth-2002-learning,
|
| 136 |
+
title = "Learning Question Classifiers",
|
| 137 |
+
author = "Li, Xin and
|
| 138 |
+
Roth, Dan",
|
| 139 |
+
booktitle = "{COLING} 2002: The 19th International Conference on Computational Linguistics",
|
| 140 |
+
year = "2002",
|
| 141 |
+
url = "https://www.aclweb.org/anthology/C02-1150",
|
| 142 |
+
}
|
| 143 |
+
@inproceedings{hovy-etal-2001-toward,
|
| 144 |
+
title = "Toward Semantics-Based Answer Pinpointing",
|
| 145 |
+
author = "Hovy, Eduard and
|
| 146 |
+
Gerber, Laurie and
|
| 147 |
+
Hermjakob, Ulf and
|
| 148 |
+
Lin, Chin-Yew and
|
| 149 |
+
Ravichandran, Deepak",
|
| 150 |
+
booktitle = "Proceedings of the First International Conference on Human Language Technology Research",
|
| 151 |
+
year = "2001",
|
| 152 |
+
url = "https://www.aclweb.org/anthology/H01-1069",
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
```
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
### Contributions
|
| 159 |
+
|
| 160 |
+
Thanks to [@lhoestq](https://github.com/lhoestq), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|