parquet-converter commited on
Commit
046dda7
1 Parent(s): 08e328c

Update parquet files

Browse files
README.md DELETED
@@ -1,214 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - expert-generated
4
- language_creators:
5
- - other
6
- language:
7
- - pl
8
- license:
9
- - cc-by-nc-sa-4.0
10
- multilinguality:
11
- - monolingual
12
- size_categories:
13
- - 10K<n<100K
14
- source_datasets:
15
- - original
16
- task_categories:
17
- - other
18
- task_ids: []
19
- paperswithcode_id: polish-cdscorpus
20
- pretty_name: Polish CDSCorpus
21
- tags:
22
- - sentences entailment and relatedness
23
- dataset_info:
24
- - config_name: cdsc-e
25
- features:
26
- - name: pair_ID
27
- dtype: int32
28
- - name: sentence_A
29
- dtype: string
30
- - name: sentence_B
31
- dtype: string
32
- - name: entailment_judgment
33
- dtype:
34
- class_label:
35
- names:
36
- 0: NEUTRAL
37
- 1: CONTRADICTION
38
- 2: ENTAILMENT
39
- splits:
40
- - name: train
41
- num_bytes: 1381902
42
- num_examples: 8000
43
- - name: test
44
- num_bytes: 179400
45
- num_examples: 1000
46
- - name: validation
47
- num_bytes: 174662
48
- num_examples: 1000
49
- download_size: 376079
50
- dataset_size: 1735964
51
- - config_name: cdsc-r
52
- features:
53
- - name: pair_ID
54
- dtype: int32
55
- - name: sentence_A
56
- dtype: string
57
- - name: sentence_B
58
- dtype: string
59
- - name: relatedness_score
60
- dtype: float32
61
- splits:
62
- - name: train
63
- num_bytes: 1349902
64
- num_examples: 8000
65
- - name: test
66
- num_bytes: 175400
67
- num_examples: 1000
68
- - name: validation
69
- num_bytes: 170662
70
- num_examples: 1000
71
- download_size: 381525
72
- dataset_size: 1695964
73
- ---
74
-
75
- # Dataset Card for [Dataset Name]
76
-
77
- ## Table of Contents
78
- - [Dataset Description](#dataset-description)
79
- - [Dataset Summary](#dataset-summary)
80
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
81
- - [Languages](#languages)
82
- - [Dataset Structure](#dataset-structure)
83
- - [Data Instances](#data-instances)
84
- - [Data Fields](#data-fields)
85
- - [Data Splits](#data-splits)
86
- - [Dataset Creation](#dataset-creation)
87
- - [Curation Rationale](#curation-rationale)
88
- - [Source Data](#source-data)
89
- - [Annotations](#annotations)
90
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
91
- - [Considerations for Using the Data](#considerations-for-using-the-data)
92
- - [Social Impact of Dataset](#social-impact-of-dataset)
93
- - [Discussion of Biases](#discussion-of-biases)
94
- - [Other Known Limitations](#other-known-limitations)
95
- - [Additional Information](#additional-information)
96
- - [Dataset Curators](#dataset-curators)
97
- - [Licensing Information](#licensing-information)
98
- - [Citation Information](#citation-information)
99
- - [Contributions](#contributions)
100
-
101
- ## Dataset Description
102
-
103
- - **Homepage:**
104
- http://zil.ipipan.waw.pl/Scwad/CDSCorpus
105
- - **Repository:**
106
- - **Paper:**
107
- @inproceedings{wroblewska2017polish,
108
- title={Polish evaluation dataset for compositional distributional semantics models},
109
- author={Wr{\'o}blewska, Alina and Krasnowska-Kiera{\'s}, Katarzyna},
110
- booktitle={Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
111
- pages={784--792},
112
- year={2017}
113
- }
114
- - **Leaderboard:**
115
- https://klejbenchmark.com/leaderboard/
116
- - **Point of Contact:**
117
118
-
119
- ### Dataset Summary
120
-
121
- Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic relatedness and entailment. The dataset may be used for the evaluation of compositional distributional semantics models of Polish. The dataset was presented at ACL 2017. Please refer to the Wróblewska and Krasnowska-Kieraś (2017) for a detailed description of the resource.
122
-
123
- ### Supported Tasks and Leaderboards
124
-
125
- [More Information Needed]
126
-
127
- ### Languages
128
-
129
- Polish
130
-
131
- ## Dataset Structure
132
-
133
- ### Data Instances
134
-
135
- [More Information Needed]
136
-
137
- ### Data Fields
138
-
139
- - pair_ID: id of sentences pairs
140
- - sentence_A: first sentence
141
- - sentence_B: second sentence
142
-
143
- for cdsc-e domain:
144
- - entailment_judgment: either 'NEUTRAL', 'CONTRADICTION' or 'ENTAILMENT'
145
-
146
- for cdsc-r domain:
147
- - relatedness_score: float representing a reletedness
148
-
149
-
150
- ### Data Splits
151
-
152
- Data is splitted in train/dev/test split.
153
-
154
- ## Dataset Creation
155
-
156
- ### Curation Rationale
157
-
158
- [More Information Needed]
159
-
160
- ### Source Data
161
-
162
- #### Initial Data Collection and Normalization
163
-
164
- [More Information Needed]
165
-
166
- #### Who are the source language producers?
167
-
168
- [More Information Needed]
169
-
170
- ### Annotations
171
-
172
- #### Annotation process
173
-
174
- [More Information Needed]
175
-
176
- #### Who are the annotators?
177
-
178
- [More Information Needed]
179
-
180
- ### Personal and Sensitive Information
181
-
182
- [More Information Needed]
183
-
184
- ## Considerations for Using the Data
185
-
186
- ### Social Impact of Dataset
187
-
188
- [More Information Needed]
189
-
190
- ### Discussion of Biases
191
-
192
- [More Information Needed]
193
-
194
- ### Other Known Limitations
195
-
196
- Dataset provided for research purposes only. Please check dataset license for additional information.
197
-
198
- ## Additional Information
199
-
200
- ### Dataset Curators
201
-
202
- [More Information Needed]
203
-
204
- ### Licensing Information
205
-
206
- CC BY-NC-SA 4.0
207
-
208
- ### Citation Information
209
-
210
- [More Information Needed]
211
-
212
- ### Contributions
213
-
214
- Thanks to [@abecadel](https://github.com/abecadel) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cdsc-e/cdsc-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cdeebc958532065181c4b93fd9e2fcf5756193da9be3195406c98625da56437
3
+ size 47114
cdsc-e/cdsc-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58c51ae8e953e519f8c3907b2cae0e9bc3d042595984e8854f47d45d65bd03b2
3
+ size 648224
cdsc-e/cdsc-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33638dfd43ef82429b5d68e75a358ea04c98c85640d3ba2c7f7fbd1e98e05bdc
3
+ size 48828
cdsc-r/cdsc-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f7e6792a1a70b187888964c6003e76db2dbbaa165ee65ef6e577a955e1dcaf2
3
+ size 46960
cdsc-r/cdsc-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c46adfd6d371c3aaa09f8b6f3d74637f55baef15fcebe66e0ca18561c6c54b1
3
+ size 651528
cdsc-r/cdsc-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bb809b0ae922382d00d7005d234962e56022a9bca53ad19545dfebb59a972e0
3
+ size 49157
cdsc.py DELETED
@@ -1,143 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """cdsc-e & cdsc-r"""
16
-
17
-
18
- import csv
19
- import os
20
-
21
- import datasets
22
-
23
-
24
- _CITATION = """\
25
- @inproceedings{wroblewska2017polish,
26
- title={Polish evaluation dataset for compositional distributional semantics models},
27
- author={Wr{\'o}blewska, Alina and Krasnowska-Kiera{\'s}, Katarzyna},
28
- booktitle={Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
29
- pages={784--792},
30
- year={2017}
31
- }
32
- """
33
-
34
- _DESCRIPTION = """\
35
- Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic relatedness and entailment. The dataset may be used for the evaluation of compositional distributional semantics models of Polish. The dataset was presented at ACL 2017. Please refer to the Wróblewska and Krasnowska-Kieraś (2017) for a detailed description of the resource.
36
- """
37
-
38
- _HOMEPAGE = "http://zil.ipipan.waw.pl/Scwad/CDSCorpus"
39
-
40
- _LICENSE = "CC BY-NC-SA 4.0"
41
-
42
- _URLs = {
43
- "cdsc-e": "https://klejbenchmark.com/static/data/klej_cdsc-e.zip",
44
- "cdsc-r": "https://klejbenchmark.com/static/data/klej_cdsc-r.zip",
45
- }
46
-
47
-
48
- class Cdsc(datasets.GeneratorBasedBuilder):
49
- """CDSCorpus"""
50
-
51
- VERSION = datasets.Version("1.1.0")
52
-
53
- BUILDER_CONFIGS = [
54
- datasets.BuilderConfig(
55
- name="cdsc-e",
56
- version=VERSION,
57
- description="Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic entailment.",
58
- ),
59
- datasets.BuilderConfig(
60
- name="cdsc-r",
61
- version=VERSION,
62
- description="Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic relatedness.",
63
- ),
64
- ]
65
-
66
- def _info(self):
67
- if self.config.name == "cdsc-e":
68
- features = datasets.Features(
69
- {
70
- "pair_ID": datasets.Value("int32"),
71
- "sentence_A": datasets.Value("string"),
72
- "sentence_B": datasets.Value("string"),
73
- "entailment_judgment": datasets.ClassLabel(
74
- names=[
75
- "NEUTRAL",
76
- "CONTRADICTION",
77
- "ENTAILMENT",
78
- ]
79
- ),
80
- }
81
- )
82
- elif self.config.name == "cdsc-r":
83
- features = datasets.Features(
84
- {
85
- "pair_ID": datasets.Value("int32"),
86
- "sentence_A": datasets.Value("string"),
87
- "sentence_B": datasets.Value("string"),
88
- "relatedness_score": datasets.Value("float"),
89
- }
90
- )
91
- return datasets.DatasetInfo(
92
- description=_DESCRIPTION,
93
- features=features,
94
- supervised_keys=None,
95
- homepage=_HOMEPAGE,
96
- license=_LICENSE,
97
- citation=_CITATION,
98
- )
99
-
100
- def _split_generators(self, dl_manager):
101
- """Returns SplitGenerators."""
102
- my_urls = _URLs[self.config.name]
103
- data_dir = dl_manager.download_and_extract(my_urls)
104
- return [
105
- datasets.SplitGenerator(
106
- name=datasets.Split.TRAIN,
107
- gen_kwargs={
108
- "filepath": os.path.join(data_dir, "train.tsv"),
109
- "split": "train",
110
- },
111
- ),
112
- datasets.SplitGenerator(
113
- name=datasets.Split.TEST,
114
- gen_kwargs={"filepath": os.path.join(data_dir, "test_features.tsv"), "split": "test"},
115
- ),
116
- datasets.SplitGenerator(
117
- name=datasets.Split.VALIDATION,
118
- gen_kwargs={
119
- "filepath": os.path.join(data_dir, "dev.tsv"),
120
- "split": "dev",
121
- },
122
- ),
123
- ]
124
-
125
- def _generate_examples(self, filepath, split):
126
- """Yields examples."""
127
- with open(filepath, encoding="utf-8") as f:
128
- reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
129
- for id_, row in enumerate(reader):
130
- if self.config.name == "cdsc-e":
131
- yield id_, {
132
- "pair_ID": row["pair_ID"],
133
- "sentence_A": row["sentence_A"],
134
- "sentence_B": row["sentence_B"],
135
- "entailment_judgment": -1 if split == "test" else row["entailment_judgment"],
136
- }
137
- elif self.config.name == "cdsc-r":
138
- yield id_, {
139
- "pair_ID": row["pair_ID"],
140
- "sentence_A": row["sentence_A"],
141
- "sentence_B": row["sentence_B"],
142
- "relatedness_score": "-1" if split == "test" else row["relatedness_score"],
143
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"cdsc-e": {"description": "Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic relatedness and entailment. The dataset may be used for the evaluation of compositional distributional semantics models of Polish. The dataset was presented at ACL 2017. Please refer to the Wr\u00f3blewska and Krasnowska-Kiera\u015b (2017) for a detailed description of the resource.\n", "citation": "@inproceedings{wroblewska2017polish,\ntitle={Polish evaluation dataset for compositional distributional semantics models},\nauthor={Wr{'o}blewska, Alina and Krasnowska-Kiera{'s}, Katarzyna},\nbooktitle={Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},\npages={784--792},\nyear={2017}\n}\n", "homepage": "http://zil.ipipan.waw.pl/Scwad/CDSCorpus", "license": "CC BY-NC-SA 4.0", "features": {"pair_ID": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence_A": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_B": {"dtype": "string", "id": null, "_type": "Value"}, "entailment_judgment": {"num_classes": 3, "names": ["NEUTRAL", "CONTRADICTION", "ENTAILMENT"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cdsc", "config_name": "cdsc-e", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1381902, "num_examples": 8000, "dataset_name": "cdsc"}, "test": {"name": "test", "num_bytes": 179400, "num_examples": 1000, "dataset_name": "cdsc"}, "validation": {"name": "validation", "num_bytes": 174662, "num_examples": 1000, "dataset_name": "cdsc"}}, "download_checksums": {"https://klejbenchmark.com/static/data/klej_cdsc-e.zip": {"num_bytes": 376079, "checksum": "5314b3294ec36c49793e83ed1923c4551bda3fe15c6060eddbc57d3b15c19c05"}}, "download_size": 376079, "post_processing_size": null, "dataset_size": 1735964, "size_in_bytes": 2112043}, "cdsc-r": {"description": "Polish CDSCorpus consists of 10K Polish sentence pairs which are human-annotated for semantic relatedness and entailment. The dataset may be used for the evaluation of compositional distributional semantics models of Polish. The dataset was presented at ACL 2017. Please refer to the Wr\u00f3blewska and Krasnowska-Kiera\u015b (2017) for a detailed description of the resource.\n", "citation": "@inproceedings{wroblewska2017polish,\ntitle={Polish evaluation dataset for compositional distributional semantics models},\nauthor={Wr{'o}blewska, Alina and Krasnowska-Kiera{'s}, Katarzyna},\nbooktitle={Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},\npages={784--792},\nyear={2017}\n}\n", "homepage": "http://zil.ipipan.waw.pl/Scwad/CDSCorpus", "license": "CC BY-NC-SA 4.0", "features": {"pair_ID": {"dtype": "int32", "id": null, "_type": "Value"}, "sentence_A": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_B": {"dtype": "string", "id": null, "_type": "Value"}, "relatedness_score": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "cdsc", "config_name": "cdsc-r", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1349902, "num_examples": 8000, "dataset_name": "cdsc"}, "test": {"name": "test", "num_bytes": 175400, "num_examples": 1000, "dataset_name": "cdsc"}, "validation": {"name": "validation", "num_bytes": 170662, "num_examples": 1000, "dataset_name": "cdsc"}}, "download_checksums": {"https://klejbenchmark.com/static/data/klej_cdsc-r.zip": {"num_bytes": 381525, "checksum": "3e3358cc120bc0475e3944bd4491943a3b94d2fb4ed35773aa550ec99a1a70cc"}}, "download_size": 381525, "post_processing_size": null, "dataset_size": 1695964, "size_in_bytes": 2077489}}