Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- README.md +18 -5
- dataset_infos.json +1 -1
- tuple_ie.py +1 -1
README.md
CHANGED
@@ -18,9 +18,10 @@ task_categories:
|
|
18 |
task_ids:
|
19 |
- other-other-open-information-extraction
|
20 |
paperswithcode_id: tupleinf-open-ie-dataset
|
|
|
21 |
---
|
22 |
|
23 |
-
# Dataset Card for
|
24 |
|
25 |
## Table of Contents
|
26 |
- [Dataset Description](#dataset-description)
|
@@ -89,7 +90,7 @@ An example of an instance:
|
|
89 |
|
90 |
### Data Fields
|
91 |
|
92 |
-
- `
|
93 |
- `tuples`: the extracted relation tuples from the sentence.
|
94 |
- `score`: the confident score for each tuple.
|
95 |
- `tuple_text`: the relationship representation text of the extraction, in the *simple format* of [Open IE v4](https://github.com/allenai/openie-standalone).
|
@@ -100,7 +101,11 @@ An example of an instance:
|
|
100 |
|
101 |
### Data Splits
|
102 |
|
103 |
-
|
|
|
|
|
|
|
|
|
104 |
|
105 |
## Dataset Creation
|
106 |
|
@@ -158,8 +163,16 @@ An example of an instance:
|
|
158 |
|
159 |
### Citation Information
|
160 |
|
161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
### Contributions
|
164 |
|
165 |
-
Thanks to [@mattbui](https://github.com/mattbui) for adding this dataset.
|
|
|
18 |
task_ids:
|
19 |
- other-other-open-information-extraction
|
20 |
paperswithcode_id: tupleinf-open-ie-dataset
|
21 |
+
pretty_name: TupleInf Open IE
|
22 |
---
|
23 |
|
24 |
+
# Dataset Card for TupleInf Open IE
|
25 |
|
26 |
## Table of Contents
|
27 |
- [Dataset Description](#dataset-description)
|
|
|
90 |
|
91 |
### Data Fields
|
92 |
|
93 |
+
- `sentence`: the input text/sentence.
|
94 |
- `tuples`: the extracted relation tuples from the sentence.
|
95 |
- `score`: the confident score for each tuple.
|
96 |
- `tuple_text`: the relationship representation text of the extraction, in the *simple format* of [Open IE v4](https://github.com/allenai/openie-standalone).
|
|
|
101 |
|
102 |
### Data Splits
|
103 |
|
104 |
+
| name | train|
|
105 |
+
|-----------|-----:|
|
106 |
+
| all |267719|
|
107 |
+
| 4th_grade |158910|
|
108 |
+
| 8th_grade |108809|
|
109 |
|
110 |
## Dataset Creation
|
111 |
|
|
|
163 |
|
164 |
### Citation Information
|
165 |
|
166 |
+
```bibtex
|
167 |
+
@article{Khot2017AnsweringCQ,
|
168 |
+
title={Answering Complex Questions Using Open Information Extraction},
|
169 |
+
author={Tushar Khot and A. Sabharwal and Peter Clark},
|
170 |
+
journal={ArXiv},
|
171 |
+
year={2017},
|
172 |
+
volume={abs/1704.05572}
|
173 |
+
}
|
174 |
+
```
|
175 |
|
176 |
### Contributions
|
177 |
|
178 |
+
Thanks to [@mattbui](https://github.com/mattbui) for adding this dataset.
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"all": {"description": "The TupleInf Open IE dataset contains Open IE tuples extracted from 263K sentences that were used by the solver in \u201cAnswering Complex Questions Using Open Information Extraction\u201d (referred as Tuple KB, T). These sentences were collected from a large Web corpus using training questions from 4th and 8th grade as queries. This dataset contains 156K sentences collected for 4th grade questions and 107K sentences for 8th grade questions. Each sentence is followed by the Open IE v4 tuples using their simple format.\n", "citation": "@article{Khot2017AnsweringCQ,\n title={Answering Complex Questions Using Open Information Extraction},\n author={Tushar Khot and A. Sabharwal and Peter Clark},\n journal={ArXiv},\n year={2017},\n volume={abs/1704.05572}\n}\n", "homepage": "https://allenai.org/data/tuple-ie", "license": "", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "tuples": {"feature": {"score": {"dtype": "float32", "id": null, "_type": "Value"}, "tuple_text": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "arg1": {"dtype": "string", "id": null, "_type": "Value"}, "rel": {"dtype": "string", "id": null, "_type": "Value"}, "arg2s": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "builder_name": "tuple_ie", "config_name": "all", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 115621096, "num_examples": 267719, "dataset_name": "tuple_ie"}}, "download_checksums": {"https://ai2-datasets.s3
|
|
|
1 |
+
{"all": {"description": "The TupleInf Open IE dataset contains Open IE tuples extracted from 263K sentences that were used by the solver in \u201cAnswering Complex Questions Using Open Information Extraction\u201d (referred as Tuple KB, T). These sentences were collected from a large Web corpus using training questions from 4th and 8th grade as queries. This dataset contains 156K sentences collected for 4th grade questions and 107K sentences for 8th grade questions. Each sentence is followed by the Open IE v4 tuples using their simple format.\n", "citation": "@article{Khot2017AnsweringCQ,\n title={Answering Complex Questions Using Open Information Extraction},\n author={Tushar Khot and A. Sabharwal and Peter Clark},\n journal={ArXiv},\n year={2017},\n volume={abs/1704.05572}\n}\n", "homepage": "https://allenai.org/data/tuple-ie", "license": "", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "tuples": {"feature": {"score": {"dtype": "float32", "id": null, "_type": "Value"}, "tuple_text": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "arg1": {"dtype": "string", "id": null, "_type": "Value"}, "rel": {"dtype": "string", "id": null, "_type": "Value"}, "arg2s": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "tuple_ie", "config_name": "all", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 115621096, "num_examples": 267719, "dataset_name": "tuple_ie"}}, "download_checksums": {"https://ai2-public-datasets.s3.amazonaws.com/tuple-ie/TupleInfKB.zip": {"num_bytes": 18026102, "checksum": "5ae98009e45ef2d29570d9c6c4575ff5339ddd019f9524d8b5c62b8a50aba56d"}}, "download_size": 18026102, "post_processing_size": null, "dataset_size": 115621096, "size_in_bytes": 133647198}, "4th_grade": {"description": "The TupleInf Open IE dataset contains Open IE tuples extracted from 263K sentences that were used by the solver in \u201cAnswering Complex Questions Using Open Information Extraction\u201d (referred as Tuple KB, T). These sentences were collected from a large Web corpus using training questions from 4th and 8th grade as queries. This dataset contains 156K sentences collected for 4th grade questions and 107K sentences for 8th grade questions. Each sentence is followed by the Open IE v4 tuples using their simple format.\n", "citation": "@article{Khot2017AnsweringCQ,\n title={Answering Complex Questions Using Open Information Extraction},\n author={Tushar Khot and A. Sabharwal and Peter Clark},\n journal={ArXiv},\n year={2017},\n volume={abs/1704.05572}\n}\n", "homepage": "https://allenai.org/data/tuple-ie", "license": "", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "tuples": {"feature": {"score": {"dtype": "float32", "id": null, "_type": "Value"}, "tuple_text": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "arg1": {"dtype": "string", "id": null, "_type": "Value"}, "rel": {"dtype": "string", "id": null, "_type": "Value"}, "arg2s": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "tuple_ie", "config_name": "4th_grade", "version": {"version_str": "0.0.0", "description": null, "major": 0, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 65363445, "num_examples": 158910, "dataset_name": "tuple_ie"}}, "download_checksums": {"https://ai2-public-datasets.s3.amazonaws.com/tuple-ie/TupleInfKB.zip": {"num_bytes": 18026102, "checksum": "5ae98009e45ef2d29570d9c6c4575ff5339ddd019f9524d8b5c62b8a50aba56d"}}, "download_size": 18026102, "post_processing_size": null, "dataset_size": 65363445, "size_in_bytes": 83389547}, "8th_grade": {"description": "The TupleInf Open IE dataset contains Open IE tuples extracted from 263K sentences that were used by the solver in \u201cAnswering Complex Questions Using Open Information Extraction\u201d (referred as Tuple KB, T). These sentences were collected from a large Web corpus using training questions from 4th and 8th grade as queries. This dataset contains 156K sentences collected for 4th grade questions and 107K sentences for 8th grade questions. Each sentence is followed by the Open IE v4 tuples using their simple format.\n", "citation": "@article{Khot2017AnsweringCQ,\n title={Answering Complex Questions Using Open Information Extraction},\n author={Tushar Khot and A. Sabharwal and Peter Clark},\n journal={ArXiv},\n year={2017},\n volume={abs/1704.05572}\n}\n", "homepage": "https://allenai.org/data/tuple-ie", "license": "", "features": {"sentence": {"dtype": "string", "id": null, "_type": "Value"}, "tuples": {"feature": {"score": {"dtype": "float32", "id": null, "_type": "Value"}, "tuple_text": {"dtype": "string", "id": null, "_type": "Value"}, "context": {"dtype": "string", "id": null, "_type": "Value"}, "arg1": {"dtype": "string", "id": null, "_type": "Value"}, "rel": {"dtype": "string", "id": null, "_type": "Value"}, "arg2s": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "tuple_ie", "config_name": "8th_grade", "version": "0.0.0", "splits": {"train": {"name": "train", "num_bytes": 50257651, "num_examples": 108809, "dataset_name": "tuple_ie"}}, "download_checksums": {"https://ai2-public-datasets.s3.amazonaws.com/tuple-ie/TupleInfKB.zip": {"num_bytes": 18026102, "checksum": "5ae98009e45ef2d29570d9c6c4575ff5339ddd019f9524d8b5c62b8a50aba56d"}}, "download_size": 18026102, "post_processing_size": null, "dataset_size": 50257651, "size_in_bytes": 68283753}}
|
tuple_ie.py
CHANGED
@@ -40,7 +40,7 @@ Each sentence is followed by the Open IE v4 tuples using their simple format.
|
|
40 |
|
41 |
_HOMEPAGE = "https://allenai.org/data/tuple-ie"
|
42 |
|
43 |
-
_URL = "https://ai2-datasets.s3
|
44 |
|
45 |
_DOMAIN_FILES = {"4th_grade": "4thGradeOpenIE.txt", "8th_grade": "8thGradeOpenIE.txt"}
|
46 |
|
|
|
40 |
|
41 |
_HOMEPAGE = "https://allenai.org/data/tuple-ie"
|
42 |
|
43 |
+
_URL = "https://ai2-public-datasets.s3.amazonaws.com/tuple-ie/TupleInfKB.zip"
|
44 |
|
45 |
_DOMAIN_FILES = {"4th_grade": "4thGradeOpenIE.txt", "8th_grade": "8thGradeOpenIE.txt"}
|
46 |
|