Robin Kurtz
commited on
Commit
•
d7f2bd0
1
Parent(s):
c6ed634
no more jsonl and datasets_info
Browse files- data/original_tags/cased/dev.jsonl +0 -3
- data/original_tags/cased/test.jsonl +0 -3
- data/original_tags/cased/train.jsonl +0 -3
- data/original_tags/lower/dev.jsonl +0 -3
- data/original_tags/lower/test.jsonl +0 -3
- data/original_tags/lower/train.jsonl +0 -3
- data/original_tags/lower_mix/dev.jsonl +0 -3
- data/original_tags/lower_mix/test.jsonl +0 -3
- data/original_tags/lower_mix/train.jsonl +0 -3
- data/simple_tags/cased/dev.jsonl +0 -3
- data/simple_tags/cased/test.jsonl +0 -3
- data/simple_tags/cased/train.jsonl +0 -3
- data/simple_tags/lower/dev.jsonl +0 -3
- data/simple_tags/lower/test.jsonl +0 -3
- data/simple_tags/lower/train.jsonl +0 -3
- data/simple_tags/lower_mix/dev.jsonl +0 -3
- data/simple_tags/lower_mix/test.jsonl +0 -3
- data/simple_tags/lower_mix/train.jsonl +0 -3
- dataset_infos.json +1 -0
- suc3_1.py +1 -0
data/original_tags/cased/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:c8e197b51c1481b5c21ebdfe24dba08dd7aaef13fe7150fd8decbb2c0b1543b8
|
3 |
-
size 4740129
|
|
|
|
|
|
|
|
data/original_tags/cased/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:f198cbb1d4e321e38398ac701a86eb75f1d1139a4b3aca5e17372b1cd70ff0d3
|
3 |
-
size 5955493
|
|
|
|
|
|
|
|
data/original_tags/cased/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:71149787c160a85188ba002da6fccdc8b0d9fc4a3964d3407da7adfd2e837429
|
3 |
-
size 19027511
|
|
|
|
|
|
|
|
data/original_tags/lower/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:cdfd2f3b1b3f734116ef80e8e5a963d100be50f1caacbf3f43853c9f466bc009
|
3 |
-
size 4809165
|
|
|
|
|
|
|
|
data/original_tags/lower/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:939f09760d5948b96a7a52662284d99bb02000be8bdfdf7a488f580f7912a360
|
3 |
-
size 6041791
|
|
|
|
|
|
|
|
data/original_tags/lower/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7330d784948d47f12db40c75170d12175713714c35430ceb6d1222b7b00a772d
|
3 |
-
size 19303667
|
|
|
|
|
|
|
|
data/original_tags/lower_mix/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8ae312e862308333ca73df03e5da961fe785effb3851c8af815047a5d4cc02d4
|
3 |
-
size 4774431
|
|
|
|
|
|
|
|
data/original_tags/lower_mix/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ea22ae4cf21c016f97842d7dfe0619c7975a314f03a39bb366abc127a8aa4d1c
|
3 |
-
size 5998747
|
|
|
|
|
|
|
|
data/original_tags/lower_mix/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:724a46a52fcaef90d63a1dc0394ea92f0773f8a8eea791e0f6b7797849ed1a38
|
3 |
-
size 19164563
|
|
|
|
|
|
|
|
data/simple_tags/cased/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:80cc4cd36f76713a111a06ec31ca36c43434d99569159c5b0961c0ca4c63a26e
|
3 |
-
size 4338640
|
|
|
|
|
|
|
|
data/simple_tags/cased/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:e6fc2589cd5f4214042bb783c5a35ef57cc3c3e48c6694e127c83f2e69967041
|
3 |
-
size 5473170
|
|
|
|
|
|
|
|
data/simple_tags/cased/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:2dda51ad948ec58a7b3c8a7b43b6add2d8708833ac45f693003ffacf7ac363a3
|
3 |
-
size 17408972
|
|
|
|
|
|
|
|
data/simple_tags/lower/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:ba75b95a9d9de26fbff0e4d78800515f337c446af26140ec5671df850af0f77e
|
3 |
-
size 4403272
|
|
|
|
|
|
|
|
data/simple_tags/lower/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:27c3fcce90a763efc1b7a63e3ab53fab344b4d76e59b5be4c45b34d6db577d28
|
3 |
-
size 5554194
|
|
|
|
|
|
|
|
data/simple_tags/lower/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:8beca177cb757c972dc978826a55218717cac7df10454bb11e71c23d0bcee72e
|
3 |
-
size 17667728
|
|
|
|
|
|
|
|
data/simple_tags/lower_mix/dev.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:7ee7c20629d6c0025f20868ddf4343a97648fd4ede9848ab1fb6a37d2e19f84e
|
3 |
-
size 4370764
|
|
|
|
|
|
|
|
data/simple_tags/lower_mix/test.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:cfc94b1b95bce4d9980df6d0fc1465cc1ed17b91b1a2ebe1e77a85f29f661265
|
3 |
-
size 5513592
|
|
|
|
|
|
|
|
data/simple_tags/lower_mix/train.jsonl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:fe249e96c0120eb5b13f10217a9b0b6a3a62477e6d99492e27f7b1780f8ca7ef
|
3 |
-
size 17537180
|
|
|
|
|
|
|
|
dataset_infos.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"original_cased": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nmanually annotated & cased", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "original_cased", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 16688117, "num_examples": 46026, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 4154574, "num_examples": 11506, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 5222628, "num_examples": 14383, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/original_tags/cased.tar.gz": {"num_bytes": 6250353, "checksum": "d365e0e4f1b2cb7221f0810152d5b33993a3221c3973cb7cf0976bcf530f5a4f"}}, "download_size": 6250353, "post_processing_size": null, "dataset_size": 26065319, "size_in_bytes": 32315672}, "original_lower": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nmanually annotated & lower", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "original_lower", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 16964273, "num_examples": 46026, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 4223610, "num_examples": 11506, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 5308926, "num_examples": 14383, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/original_tags/lower.tar.gz": {"num_bytes": 6174754, "checksum": "5930a0d6ad762c678b8eeb208155ac9b36334627d98bcc776afa6b589b4be3b5"}}, "download_size": 6174754, "post_processing_size": null, "dataset_size": 26496809, "size_in_bytes": 32671563}, "original_lower_mix": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nmanually annotated & lower_mix", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "original_lower_mix", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 16825169, "num_examples": 46026, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 4188876, "num_examples": 11506, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 5265882, "num_examples": 14383, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/original_tags/lower_mix.tar.gz": {"num_bytes": 6241014, "checksum": "bb43b2983cf7c0c5c006c78c614c3170f2bc706998c2c3336e5c364da9573b40"}}, "download_size": 6241014, "post_processing_size": null, "dataset_size": 26279927, "size_in_bytes": 32520941}, "simple_cased": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nautomatically annotated & cased", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "simple_cased", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 15227354, "num_examples": 43126, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 3793133, "num_examples": 10772, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 4787657, "num_examples": 13504, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/simple_tags/cased.tar.gz": {"num_bytes": 5147751, "checksum": "a17962cd708ab2e9dbdc7aa950487c1e791af02b2e8e6425fcfebbaf8937ebc1"}}, "download_size": 5147751, "post_processing_size": null, "dataset_size": 23808144, "size_in_bytes": 28955895}, "simple_lower": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nautomatically annotated & lower", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "simple_lower", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 15486110, "num_examples": 43126, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 3857765, "num_examples": 10772, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 4868681, "num_examples": 13504, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/simple_tags/lower.tar.gz": {"num_bytes": 5094473, "checksum": "5a52c52115e97dc288c9b17a84d364de0c9b7e3d8ee1857b3f6365eeb46c6ca1"}}, "download_size": 5094473, "post_processing_size": null, "dataset_size": 24212556, "size_in_bytes": 29307029}, "simple_lower_mix": {"description": " The dataset is a conversion of the venerable SUC 3.0 dataset into the\n huggingface ecosystem. The original dataset does not contain an official\n train-dev-test split, which is introduced here; the tag distribution for the\n NER tags between the three splits is mostly the same.\n \n The dataset has three different types of tagsets: manually annotated POS,\n manually annotated NER, and automatically annotated NER. For the\n automatically annotated NER tags, only sentences were chosen, where the\n automatic and manual annotations would match (with their respective\n categories).\n \n Additionally we provide remixes of the same data with some or all sentences\n being lowercased.\nautimatically annotated & lower_mix", "citation": "@article{gustafson2006documentation,\n title={Documentation of the Stockholm-Ume{\u0007a} Corpus},\n author={Gustafson-Capkov{'a}, Sofia and Hartmann, Britt},\n journal={Stockholm University: Department of Linguistics},\n year={2006}\n}\n", "homepage": "https://spraakbanken.gu.se/en/resources/suc3", "license": "", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "tokens": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "pos_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "ner_tags": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "suc3", "config_name": "simple_lower_mix", "version": {"version_str": "1.0.2", "description": null, "major": 1, "minor": 0, "patch": 2}, "splits": {"train": {"name": "train", "num_bytes": 15355562, "num_examples": 43126, "dataset_name": "suc3"}, "validation": {"name": "validation", "num_bytes": 3825257, "num_examples": 10772, "dataset_name": "suc3"}, "test": {"name": "test", "num_bytes": 4828079, "num_examples": 13504, "dataset_name": "suc3"}}, "download_checksums": {"https://huggingface.co/datasets/KBLab/suc3_1/resolve/main/data/simple_tags/lower_mix.tar.gz": {"num_bytes": 5152711, "checksum": "0398b4a54c40342b96f804952d7b53577157938c45ac24d368871e4e8b678abe"}}, "download_size": 5152711, "post_processing_size": null, "dataset_size": 24008898, "size_in_bytes": 29161609}}
|
suc3_1.py
CHANGED
@@ -160,6 +160,7 @@ class SUC3(datasets.GeneratorBasedBuilder):
|
|
160 |
def _split_generators(self, dl_manager):
|
161 |
dl_dir = dl_manager.download_and_extract(_URL + self.config.data_url)
|
162 |
dl_dir = os.path.join(dl_dir, self.config.data_url.split("/")[-1].split(".")[0])
|
|
|
163 |
return [
|
164 |
datasets.SplitGenerator(
|
165 |
name=datasets.Split.TRAIN,
|
|
|
160 |
def _split_generators(self, dl_manager):
|
161 |
dl_dir = dl_manager.download_and_extract(_URL + self.config.data_url)
|
162 |
dl_dir = os.path.join(dl_dir, self.config.data_url.split("/")[-1].split(".")[0])
|
163 |
+
print("hello", dl_dir)
|
164 |
return [
|
165 |
datasets.SplitGenerator(
|
166 |
name=datasets.Split.TRAIN,
|