Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-class-classification
Languages:
English
Size:
100K<n<1M
ArXiv:
Tags:
relation extraction
License:
Update README.md
Browse files
README.md
CHANGED
@@ -52,8 +52,8 @@ task_ids:
|
|
52 |
- **Paper:** [Position-aware Attention and Supervised Data Improve Slot Filling](https://aclanthology.org/D17-1004/)
|
53 |
- **Point of Contact:** See [https://nlp.stanford.edu/projects/tacred/](https://nlp.stanford.edu/projects/tacred/)
|
54 |
- **Size of downloaded dataset files:** 62.3 MB
|
55 |
-
- **Size of the generated dataset:**
|
56 |
-
- **Total amount of disk used:**
|
57 |
### Dataset Summary
|
58 |
The TAC Relation Extraction Dataset (TACRED) is a large-scale relation extraction dataset with 106,264 examples built over newswire and web text from the corpus used in the yearly TAC Knowledge
|
59 |
Base Population (TAC KBP) challenges. Examples in TACRED cover 41 relation types as used in the TAC KBP challenges (e.g., per:schools_attended
|
@@ -67,14 +67,13 @@ published at ACL 2020.
|
|
67 |
### Supported Tasks and Leaderboards
|
68 |
- **Tasks:** Relation Classification
|
69 |
- **Leaderboards:** [https://paperswithcode.com/sota/relation-extraction-on-tacred](https://paperswithcode.com/sota/relation-extraction-on-tacred)
|
70 |
-
|
71 |
### Languages
|
72 |
The language in the dataset is English.
|
73 |
## Dataset Structure
|
74 |
### Data Instances
|
75 |
- **Size of downloaded dataset files:** 62.3 MB
|
76 |
-
- **Size of the generated dataset:**
|
77 |
-
- **Total amount of disk used:**
|
78 |
|
79 |
An example of 'train' looks as follows:
|
80 |
```json
|
@@ -98,20 +97,20 @@ An example of 'train' looks as follows:
|
|
98 |
### Data Fields
|
99 |
The data fields are the same among all splits.
|
100 |
|
101 |
-
- `id`: the instance id of this sentence
|
102 |
-
- `docid`: the TAC KBP document id of this sentence
|
103 |
-
- `tokens`: the list of tokens of this sentence, obtained with the StanfordNLP toolkit.
|
104 |
-
- `relation`: the relation label of this instance.
|
105 |
-
- `subj_start`: the 0-based index of the start token of the relation subject mention.
|
106 |
-
- `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive.
|
107 |
-
- `subj_type`: the NER type of the subject mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html).
|
108 |
-
- `obj_start`: the 0-based index of the start token of the relation object mention.
|
109 |
-
- `obj_end`: the 0-based index of the end token of the relation object mention, exclusive.
|
110 |
-
- `obj_type`: the NER type of the object mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html).
|
111 |
-
- `pos_tags`: the part-of-speech tag per token. the NER type of the subject mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html).
|
112 |
-
- `ner_tags`: the NER tags of tokens (IO-Scheme), among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html).
|
113 |
-
- `stanford_deprel`: the Stanford dependency relation tag per token.
|
114 |
-
- `stanford_head`: the head (source) token index (0-based) for the dependency relation per token. The root token has a head index of -1.
|
115 |
### Data Splits
|
116 |
To miminize dataset bias, TACRED is stratified across years in which the TAC KBP challenge was run:
|
117 |
| | Train | Dev | Test |
|
|
|
52 |
- **Paper:** [Position-aware Attention and Supervised Data Improve Slot Filling](https://aclanthology.org/D17-1004/)
|
53 |
- **Point of Contact:** See [https://nlp.stanford.edu/projects/tacred/](https://nlp.stanford.edu/projects/tacred/)
|
54 |
- **Size of downloaded dataset files:** 62.3 MB
|
55 |
+
- **Size of the generated dataset:** 139.2 MB
|
56 |
+
- **Total amount of disk used:** 201.5 MB
|
57 |
### Dataset Summary
|
58 |
The TAC Relation Extraction Dataset (TACRED) is a large-scale relation extraction dataset with 106,264 examples built over newswire and web text from the corpus used in the yearly TAC Knowledge
|
59 |
Base Population (TAC KBP) challenges. Examples in TACRED cover 41 relation types as used in the TAC KBP challenges (e.g., per:schools_attended
|
|
|
67 |
### Supported Tasks and Leaderboards
|
68 |
- **Tasks:** Relation Classification
|
69 |
- **Leaderboards:** [https://paperswithcode.com/sota/relation-extraction-on-tacred](https://paperswithcode.com/sota/relation-extraction-on-tacred)
|
|
|
70 |
### Languages
|
71 |
The language in the dataset is English.
|
72 |
## Dataset Structure
|
73 |
### Data Instances
|
74 |
- **Size of downloaded dataset files:** 62.3 MB
|
75 |
+
- **Size of the generated dataset:** 139.2 MB
|
76 |
+
- **Total amount of disk used:** 201.5 MB
|
77 |
|
78 |
An example of 'train' looks as follows:
|
79 |
```json
|
|
|
97 |
### Data Fields
|
98 |
The data fields are the same among all splits.
|
99 |
|
100 |
+
- `id`: the instance id of this sentence, a `string` feature.
|
101 |
+
- `docid`: the TAC KBP document id of this sentence, a `string` feature.
|
102 |
+
- `tokens`: the list of tokens of this sentence, obtained with the StanfordNLP toolkit, a `list` of `string` features.
|
103 |
+
- `relation`: the relation label of this instance, a `string` classification label.
|
104 |
+
- `subj_start`: the 0-based index of the start token of the relation subject mention, an `ìnt` feature.
|
105 |
+
- `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive, an `ìnt` feature.
|
106 |
+
- `subj_type`: the NER type of the subject mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html), a `string` feature.
|
107 |
+
- `obj_start`: the 0-based index of the start token of the relation object mention, an `ìnt` feature.
|
108 |
+
- `obj_end`: the 0-based index of the end token of the relation object mention, exclusive, an `ìnt` feature.
|
109 |
+
- `obj_type`: the NER type of the object mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html), a `string` feature.
|
110 |
+
- `pos_tags`: the part-of-speech tag per token. the NER type of the subject mention, among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html), a `list` of `string` features.
|
111 |
+
- `ner_tags`: the NER tags of tokens (IO-Scheme), among 23 fine-grained types used in the [Stanford NER system](https://stanfordnlp.github.io/CoreNLP/ner.html), a `list` of `string` features.
|
112 |
+
- `stanford_deprel`: the Stanford dependency relation tag per token, a `list` of `string` features.
|
113 |
+
- `stanford_head`: the head (source) token index (0-based) for the dependency relation per token. The root token has a head index of -1, a `list` of `int` features.
|
114 |
### Data Splits
|
115 |
To miminize dataset bias, TACRED is stratified across years in which the TAC KBP challenge was run:
|
116 |
| | Train | Dev | Test |
|