Datasets:
Tasks:
Text Classification
Sub-tasks:
multi-class-classification
Size:
100K<n<1M
ArXiv:
Tags:
relation extraction
License:
Update README.md
Browse files123---license: other---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182---annotations_creators:- crowdsourced- expert-generatedlanguage:- enlanguage_creators:- foundlicense:- othermultilinguality:- monolingualpretty_name: tacredsize_categories:- 100K<n<1Msource_datasets:- extended|othertags:- relation extractiontask_categories:- text-classificationtask_ids:- multi-class-classification---# Dataset Card for "tacred"## Table of Contents- [Table of Contents](#table-of-contents)- [Dataset Description](#dataset-description)- [Dataset Summary](#dataset-summary)- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)- [Languages](#languages)- [Dataset Structure](#dataset-structure)- [Data Instances](#data-instances)- [Data Fields](#data-fields)- [Data Splits](#data-splits)- [Dataset Creation](#dataset-creation)- [Curation Rationale](#curation-rationale)- [Source Data](#source-data)- [Annotations](#annotations)- [Personal and Sensitive Information](#personal-and-sensitive-information)- [Considerations for Using the Data](#considerations-for-using-the-data)- [Social Impact of Dataset](#social-impact-of-dataset)- [Discussion of Biases](#discussion-of-biases)- [Other Known Limitations](#other-known-limitations)- [Additional Information](#additional-information)- [Dataset Curators](#dataset-curators)- [Licensing Information](#licensing-information)- [Citation Information](#citation-information)- [Contributions](#contributions)## Dataset Description- **Homepage:** [https://nlp.stanford.edu/projects/tacred](https://nlp.stanford.edu/projects/tacred)- **Paper:** [Position-aware Attention and Supervised Data Improve Slot Filling](https://aclanthology.org/D17-1004/)- **Point of Contact:** See [https://nlp.stanford.edu/projects/tacred/](https://nlp.stanford.edu/projects/tacred/)- **Size of downloaded dataset files:** 62.3 MB- **Size of the generated dataset:** 145.8 MB- **Total amount of disk used:** 198.1 MB### Dataset SummaryNote: This dataset reader is intended for a JSONL version of the TACRED dataset that is used internally by DFKI SLT.We use the JSONL reader because it is more efficient as a generator than fully parsing the JSON files of theoriginal TACRED dataset. You can find the TACRED dataset reader for the JSON version ofthe dataset [here](https://huggingface.co/datasets/DFKI-SLT/tacred).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 KnowledgeBase Population (TAC KBP) challenges. Examples in TACRED cover 41 relation types as used in the TAC KBP challenges (e.g., per:schools_attendedand 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 TACKBP challenges and crowdsourcing. Please see our EMNLP paper, or our EMNLP slides for full details.Note: There is currently a label-corrected version of the TACRED dataset, which you should consider using instead ofthe original version released in 2017. For more details on this new version, see the [TACRED Revisited paper](https://aclanthology.org/2020.acl-main.142/)published at ACL 2020.### Supported Tasks and Leaderboards- **Tasks:** Relation Classification- **Leaderboards:** [https://paperswithcode.com/sota/relation-extraction-on-tacred](https://paperswithcode.com/sota/relation-extraction-on-tacred)### LanguagesThe language in the dataset is English.## Dataset Structure### Data Instances- **Size of downloaded dataset files:** 40.9 MB- **Size of the generated dataset:** 40.9 MB- **Total amount of disk used:** 40.9 MBAn example of 'train' looks as follows:```json{"id": "61b3a5c8c9a882dcfcd2","relation": "org:founded_by","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", "."],"subj_start": 10,"subj_end": 13,"obj_start": 0,"obj_end": 2,"subj_type": "ORGANIZATION","obj_type": "PERSON"}```### Data FieldsThe data fields are the same among all splits.- `id`: the instance id of this sentence- `tokens`: the list of tokens of this sentence, obtained with the StanfordNLP toolkit.- `relation`: the relation label of this instance.- `subj_start`: the 0-based index of the start token of the relation subject mention.- `subj_end`: the 0-based index of the end token of the relation subject mention, exclusive.- `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).- `obj_start`: the 0-based index of the start token of the relation object mention.- `obj_end`: the 0-based index of the end token of the relation object mention, exclusive.- `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).### Data SplitsTo miminize dataset bias, TACRED is stratified across years in which the TAC KBP challenge was run:| | Train | Dev | Test || ----- | ------ | ----- | ---- || TACRED | 68,124 (TAC KBP 2009-2012) | 22,631 (TAC KBP 2013) | 15,509 (TAC KBP 2014) |## Dataset Creation### Curation Rationale[More Information Needed]### Source Data#### Initial Data Collection and Normalization[More Information Needed]#### Who are the source language producers?[More Information Needed]### Annotations#### Annotation processSee the Stanford paper and the Tacred Revisited paper, plus their appendices.To ensure that models trained on TACRED are not biased towards predicting false positives on real-world text,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 examplesare labeled as no_relation.#### Who are the annotators?[More Information Needed]### Personal and Sensitive Information[More Information Needed]## Considerations for Using the Data### Social Impact of Dataset[More Information Needed]### Discussion of Biases[More Information Needed]### Other Known Limitations[More Information Needed]## Additional Information### Dataset Curators[More Information Needed]### Licensing InformationTo respect the copyright of the underlying TAC KBP corpus, TACRED is released via theLinguistic Data Consortium ([LDC License](https://catalog.ldc.upenn.edu/license/ldc-non-members-agreement.pdf)).You can download TACRED from the [LDC TACRED webpage](https://catalog.ldc.upenn.edu/LDC2018T24).If you are an LDC member, the access will be free; otherwise, an access fee of $25 is needed.### Citation InformationThe original dataset:```@inproceedings{zhang2017tacred,author = {Zhang, Yuhao and Zhong, Victor and Chen, Danqi and Angeli, Gabor and Manning, Christopher D.},booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP 2017)},title = {Position-aware Attention and Supervised Data Improve Slot Filling},url = {https://nlp.stanford.edu/pubs/zhang2017tacred.pdf},pages = {35--45},year = {2017}}```For the revised version, please also cite:```@inproceedings{alt-etal-2020-tacred,title = "{TACRED} Revisited: A Thorough Evaluation of the {TACRED} Relation Extraction Task",author = "Alt, Christoph andGabryszak, Aleksandra andHennig, Leonhard",booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",month = jul,year = "2020",address = "Online",publisher = "Association for Computational Linguistics",url = "https://www.aclweb.org/anthology/2020.acl-main.142",doi = "10.18653/v1/2020.acl-main.142",pages = "1558--1569",}```### Contributions#Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.
README.md+180-1