dfki-nlp commited on
Commit
54344be
1 Parent(s): 86bdad0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +180 -1
README.md CHANGED
@@ -1,3 +1,182 @@
1
  ---
2
- license: other
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ - expert-generated
5
+ language:
6
+ - en
7
+ language_creators:
8
+ - found
9
+ license:
10
+ - other
11
+ multilinguality:
12
+ - monolingual
13
+ pretty_name: tacred
14
+ size_categories:
15
+ - 100K<n<1M
16
+ source_datasets:
17
+ - extended|other
18
+ tags:
19
+ - relation extraction
20
+ task_categories:
21
+ - text-classification
22
+ task_ids:
23
+ - multi-class-classification
24
  ---
25
+ # Dataset Card for "tacred"
26
+ ## Table of Contents
27
+ - [Table of Contents](#table-of-contents)
28
+ - [Dataset Description](#dataset-description)
29
+ - [Dataset Summary](#dataset-summary)
30
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
31
+ - [Languages](#languages)
32
+ - [Dataset Structure](#dataset-structure)
33
+ - [Data Instances](#data-instances)
34
+ - [Data Fields](#data-fields)
35
+ - [Data Splits](#data-splits)
36
+ - [Dataset Creation](#dataset-creation)
37
+ - [Curation Rationale](#curation-rationale)
38
+ - [Source Data](#source-data)
39
+ - [Annotations](#annotations)
40
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
41
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
42
+ - [Social Impact of Dataset](#social-impact-of-dataset)
43
+ - [Discussion of Biases](#discussion-of-biases)
44
+ - [Other Known Limitations](#other-known-limitations)
45
+ - [Additional Information](#additional-information)
46
+ - [Dataset Curators](#dataset-curators)
47
+ - [Licensing Information](#licensing-information)
48
+ - [Citation Information](#citation-information)
49
+ - [Contributions](#contributions)
50
+ ## Dataset Description
51
+ - **Homepage:** [https://nlp.stanford.edu/projects/tacred](https://nlp.stanford.edu/projects/tacred)
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:** 145.8 MB
56
+ - **Total amount of disk used:** 198.1 MB
57
+ ### Dataset Summary
58
+ Note: This dataset reader is intended for a JSONL version of the TACRED dataset that is used internally by DFKI SLT.
59
+ We use the JSONL reader because it is more efficient as a generator than fully parsing the JSON files of the
60
+ original TACRED dataset. You can find the TACRED dataset reader for the JSON version of
61
+ the dataset [here](https://huggingface.co/datasets/DFKI-SLT/tacred).
62
+
63
+
64
+ 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
65
+ Base Population (TAC KBP) challenges. Examples in TACRED cover 41 relation types as used in the TAC KBP challenges (e.g., per:schools_attended
66
+ and org:members) or are labeled as no_relation if no defined relation is held. These examples are created by combining available human annotations from the TAC
67
+ KBP challenges and crowdsourcing. Please see our EMNLP paper, or our EMNLP slides for full details.
68
+
69
+ Note: There is currently a label-corrected version of the TACRED dataset, which you should consider using instead of
70
+ the original version released in 2017. For more details on this new version, see the [TACRED Revisited paper](https://aclanthology.org/2020.acl-main.142/)
71
+ published at ACL 2020.
72
+
73
+
74
+ ### Supported Tasks and Leaderboards
75
+ - **Tasks:** Relation Classification
76
+ - **Leaderboards:** [https://paperswithcode.com/sota/relation-extraction-on-tacred](https://paperswithcode.com/sota/relation-extraction-on-tacred)
77
+
78
+ ### Languages
79
+ The language in the dataset is English.
80
+ ## Dataset Structure
81
+ ### Data Instances
82
+ - **Size of downloaded dataset files:** 40.9 MB
83
+ - **Size of the generated dataset:** 40.9 MB
84
+ - **Total amount of disk used:** 40.9 MB
85
+
86
+ An example of 'train' looks as follows:
87
+ ```json
88
+ {
89
+ "id": "61b3a5c8c9a882dcfcd2",
90
+ "relation": "org:founded_by",
91
+ "tokens": ["Tom", "Thabane", "resigned", "in", "October", "last", "year", "to", "form", "the", "All", "Basotho", "Convention", "-LRB-", "ABC", "-RRB-", ",", "crossing", "the", "floor", "with", "17", "members", "of", "parliament", ",", "causing", "constitutional", "monarch", "King", "Letsie", "III", "to", "dissolve", "parliament", "and", "call", "the", "snap", "election", "."],
92
+ "subj_start": 10,
93
+ "subj_end": 13,
94
+ "obj_start": 0,
95
+ "obj_end": 2,
96
+ "subj_type": "ORGANIZATION",
97
+ "obj_type": "PERSON"
98
+ }
99
+ ```
100
+ ### Data Fields
101
+ The data fields are the same among all splits.
102
+
103
+ - `id`: the instance id of this sentence
104
+ - `tokens`: the list of tokens of this sentence, obtained with the StanfordNLP toolkit.
105
+ - `relation`: the relation label of this instance.
106
+ - `subj_start`: the 0-based index of the start token of the relation subject mention.
107
+ - `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive.
108
+ - `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).
109
+ - `obj_start`: the 0-based index of the start token of the relation object mention.
110
+ - `obj_end`: the 0-based index of the end token of the relation object mention, exclusive.
111
+ - `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).
112
+ ### Data Splits
113
+ To miminize dataset bias, TACRED is stratified across years in which the TAC KBP challenge was run:
114
+ | | Train | Dev | Test |
115
+ | ----- | ------ | ----- | ---- |
116
+ | TACRED | 68,124 (TAC KBP 2009-2012) | 22,631 (TAC KBP 2013) | 15,509 (TAC KBP 2014) |
117
+ ## Dataset Creation
118
+ ### Curation Rationale
119
+ [More Information Needed]
120
+ ### Source Data
121
+ #### Initial Data Collection and Normalization
122
+ [More Information Needed]
123
+ #### Who are the source language producers?
124
+ [More Information Needed]
125
+ ### Annotations
126
+ #### Annotation process
127
+ See the Stanford paper and the Tacred Revisited paper, plus their appendices.
128
+
129
+ To ensure that models trained on TACRED are not biased towards predicting false positives on real-world text,
130
+ all sampled sentences where no relation was found between the mention pairs were fully annotated to be negative examples. As a result, 79.5% of the examples
131
+ are labeled as no_relation.
132
+ #### Who are the annotators?
133
+ [More Information Needed]
134
+ ### Personal and Sensitive Information
135
+ [More Information Needed]
136
+ ## Considerations for Using the Data
137
+ ### Social Impact of Dataset
138
+ [More Information Needed]
139
+ ### Discussion of Biases
140
+ [More Information Needed]
141
+ ### Other Known Limitations
142
+ [More Information Needed]
143
+ ## Additional Information
144
+ ### Dataset Curators
145
+ [More Information Needed]
146
+ ### Licensing Information
147
+ To respect the copyright of the underlying TAC KBP corpus, TACRED is released via the
148
+ Linguistic Data Consortium ([LDC License](https://catalog.ldc.upenn.edu/license/ldc-non-members-agreement.pdf)).
149
+ You can download TACRED from the [LDC TACRED webpage](https://catalog.ldc.upenn.edu/LDC2018T24).
150
+ If you are an LDC member, the access will be free; otherwise, an access fee of $25 is needed.
151
+ ### Citation Information
152
+ The original dataset:
153
+ ```
154
+ @inproceedings{zhang2017tacred,
155
+ author = {Zhang, Yuhao and Zhong, Victor and Chen, Danqi and Angeli, Gabor and Manning, Christopher D.},
156
+ booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP 2017)},
157
+ title = {Position-aware Attention and Supervised Data Improve Slot Filling},
158
+ url = {https://nlp.stanford.edu/pubs/zhang2017tacred.pdf},
159
+ pages = {35--45},
160
+ year = {2017}
161
+ }
162
+ ```
163
+
164
+ For the revised version, please also cite:
165
+ ```
166
+ @inproceedings{alt-etal-2020-tacred,
167
+ title = "{TACRED} Revisited: A Thorough Evaluation of the {TACRED} Relation Extraction Task",
168
+ author = "Alt, Christoph and
169
+ Gabryszak, Aleksandra and
170
+ Hennig, Leonhard",
171
+ booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
172
+ month = jul,
173
+ year = "2020",
174
+ address = "Online",
175
+ publisher = "Association for Computational Linguistics",
176
+ url = "https://www.aclweb.org/anthology/2020.acl-main.142",
177
+ doi = "10.18653/v1/2020.acl-main.142",
178
+ pages = "1558--1569",
179
+ }
180
+ ```
181
+ ### Contributions
182
+ #Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.