Datasets:
Commit
·
d61dd1a
1
Parent(s):
e03a4f4
Add citation to ro_sts and ro_sts_parallel datasets (#4892)
Browse files* Add citation to ro_sts and ro_sts_parallel datasets
* Add citation to the script
* Regenerate metadata JSON
Commit from https://github.com/huggingface/datasets/commit/09f56ea0f3dc8df53c7ad056504ec70713d61f7b
- README.md +8 -1
- dataset_infos.json +1 -1
- ro_sts.py +7 -13
README.md
CHANGED
@@ -145,7 +145,14 @@ CC BY-SA 4.0 License
|
|
145 |
|
146 |
### Citation Information
|
147 |
|
148 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
|
150 |
### Contributions
|
151 |
|
|
|
145 |
|
146 |
### Citation Information
|
147 |
|
148 |
+
```
|
149 |
+
@inproceedings{dumitrescu2021liro,
|
150 |
+
title={Liro: Benchmark and leaderboard for romanian language tasks},
|
151 |
+
author={Dumitrescu, Stefan Daniel and Rebeja, Petru and Lorincz, Beata and Gaman, Mihaela and Avram, Andrei and Ilie, Mihai and Pruteanu, Andrei and Stan, Adriana and Rosia, Lorena and Iacobescu, Cristina and others},
|
152 |
+
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1)},
|
153 |
+
year={2021}
|
154 |
+
}
|
155 |
+
```
|
156 |
|
157 |
### Contributions
|
158 |
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"ro_sts": {"description": "The RO-STS (Romanian Semantic Textual Similarity) dataset contains 8628 pairs of sentences with their similarity score. It is a high-quality translation of the STS benchmark dataset.\n", "citation": "
|
|
|
1 |
+
{"ro_sts": {"description": "The RO-STS (Romanian Semantic Textual Similarity) dataset contains 8628 pairs of sentences with their similarity score. It is a high-quality translation of the STS benchmark dataset.\n", "citation": "@inproceedings{dumitrescu2021liro,\n title={Liro: Benchmark and leaderboard for romanian language tasks},\n author={Dumitrescu, Stefan Daniel and Rebeja, Petru and Lorincz, Beata and Gaman, Mihaela and Avram, Andrei and Ilie, Mihai and Pruteanu, Andrei and Stan, Adriana and Rosia, Lorena and Iacobescu, Cristina and others},\n booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1)},\n year={2021}\n}\n", "homepage": "https://github.com/dumitrescustefan/RO-STS/", "license": "CC BY-SA 4.0 License", "features": {"score": {"dtype": "float32", "id": null, "_type": "Value"}, "sentence1": {"dtype": "string", "id": null, "_type": "Value"}, "sentence2": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ro_sts", "config_name": "ro_sts", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 879073, "num_examples": 5749, "dataset_name": "ro_sts"}, "test": {"name": "test", "num_bytes": 194330, "num_examples": 1379, "dataset_name": "ro_sts"}, "validation": {"name": "validation", "num_bytes": 245926, "num_examples": 1500, "dataset_name": "ro_sts"}}, "download_checksums": {"https://raw.githubusercontent.com/dumitrescustefan/RO-STS/master/dataset/text-similarity/RO-STS.train.tsv": {"num_bytes": 844672, "checksum": "5e2f24ad5443ed1199a0079dd0b5de9f1fec8a2bb3b0a70f6e3616c32d6d282f"}, "https://raw.githubusercontent.com/dumitrescustefan/RO-STS/master/dataset/text-similarity/RO-STS.dev.tsv": {"num_bytes": 236912, "checksum": "914f0ca935c71b317179bab9e052867aeaad84cc143b011d5919a00d444553ef"}, "https://raw.githubusercontent.com/dumitrescustefan/RO-STS/master/dataset/text-similarity/RO-STS.test.tsv": {"num_bytes": 186023, "checksum": "fd84bc1f9581e6352f0c797cb46fdf08a39f7b908a6ff1cfe21deb62f8c78e0c"}}, "download_size": 1267607, "post_processing_size": null, "dataset_size": 1319329, "size_in_bytes": 2586936}}
|
ro_sts.py
CHANGED
@@ -18,12 +18,15 @@
|
|
18 |
import datasets
|
19 |
|
20 |
|
21 |
-
# Find for instance the citation on arxiv or on the dataset repo/website
|
22 |
_CITATION = """\
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
24 |
"""
|
25 |
|
26 |
-
# You can copy an official description
|
27 |
_DESCRIPTION = """\
|
28 |
The RO-STS (Romanian Semantic Textual Similarity) dataset contains 8628 pairs of sentences with their similarity score. It is a high-quality translation of the STS benchmark dataset.
|
29 |
"""
|
@@ -66,19 +69,10 @@ class RoSts(datasets.GeneratorBasedBuilder):
|
|
66 |
)
|
67 |
|
68 |
return datasets.DatasetInfo(
|
69 |
-
# This is the description that will appear on the datasets page.
|
70 |
description=_DESCRIPTION,
|
71 |
-
|
72 |
-
features=features, # Here we define them above because they are different between the two configurations
|
73 |
-
# If there's a common (input, target) tuple from the features,
|
74 |
-
# specify them here. They'll be used if as_supervised=True in
|
75 |
-
# builder.as_dataset.
|
76 |
-
supervised_keys=None,
|
77 |
-
# Homepage of the dataset for documentation
|
78 |
homepage=_HOMEPAGE,
|
79 |
-
# License for the dataset if available
|
80 |
license=_LICENSE,
|
81 |
-
# Citation for the dataset
|
82 |
citation=_CITATION,
|
83 |
)
|
84 |
|
|
|
18 |
import datasets
|
19 |
|
20 |
|
|
|
21 |
_CITATION = """\
|
22 |
+
@inproceedings{dumitrescu2021liro,
|
23 |
+
title={Liro: Benchmark and leaderboard for romanian language tasks},
|
24 |
+
author={Dumitrescu, Stefan Daniel and Rebeja, Petru and Lorincz, Beata and Gaman, Mihaela and Avram, Andrei and Ilie, Mihai and Pruteanu, Andrei and Stan, Adriana and Rosia, Lorena and Iacobescu, Cristina and others},
|
25 |
+
booktitle={Thirty-fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1)},
|
26 |
+
year={2021}
|
27 |
+
}
|
28 |
"""
|
29 |
|
|
|
30 |
_DESCRIPTION = """\
|
31 |
The RO-STS (Romanian Semantic Textual Similarity) dataset contains 8628 pairs of sentences with their similarity score. It is a high-quality translation of the STS benchmark dataset.
|
32 |
"""
|
|
|
69 |
)
|
70 |
|
71 |
return datasets.DatasetInfo(
|
|
|
72 |
description=_DESCRIPTION,
|
73 |
+
features=features,
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
homepage=_HOMEPAGE,
|
|
|
75 |
license=_LICENSE,
|
|
|
76 |
citation=_CITATION,
|
77 |
)
|
78 |
|