parquet-converter commited on
Commit
cd8db09
·
1 Parent(s): 640d5c0

Update parquet files

Browse files
README.md DELETED
@@ -1,182 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - found
4
- language_creators:
5
- - found
6
- language:
7
- - pl
8
- license:
9
- - cc-by-sa-4.0
10
- multilinguality:
11
- - monolingual
12
- size_categories:
13
- - 10K<n<100K
14
- source_datasets:
15
- - original
16
- task_categories:
17
- - text-classification
18
- task_ids:
19
- - sentiment-scoring
20
- - text-scoring
21
- paperswithcode_id: allegro-reviews
22
- pretty_name: Allegro Reviews
23
- dataset_info:
24
- features:
25
- - name: text
26
- dtype: string
27
- - name: rating
28
- dtype: float32
29
- splits:
30
- - name: train
31
- num_bytes: 4899539
32
- num_examples: 9577
33
- - name: test
34
- num_bytes: 514527
35
- num_examples: 1006
36
- - name: validation
37
- num_bytes: 515785
38
- num_examples: 1002
39
- download_size: 2314847
40
- dataset_size: 5929851
41
- ---
42
-
43
- # Dataset Card for [Dataset Name]
44
-
45
- ## Table of Contents
46
- - [Dataset Description](#dataset-description)
47
- - [Dataset Summary](#dataset-summary)
48
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
49
- - [Languages](#languages)
50
- - [Dataset Structure](#dataset-structure)
51
- - [Data Instances](#data-instances)
52
- - [Data Fields](#data-fields)
53
- - [Data Splits](#data-splits)
54
- - [Dataset Creation](#dataset-creation)
55
- - [Curation Rationale](#curation-rationale)
56
- - [Source Data](#source-data)
57
- - [Annotations](#annotations)
58
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
59
- - [Considerations for Using the Data](#considerations-for-using-the-data)
60
- - [Social Impact of Dataset](#social-impact-of-dataset)
61
- - [Discussion of Biases](#discussion-of-biases)
62
- - [Other Known Limitations](#other-known-limitations)
63
- - [Additional Information](#additional-information)
64
- - [Dataset Curators](#dataset-curators)
65
- - [Licensing Information](#licensing-information)
66
- - [Citation Information](#citation-information)
67
- - [Contributions](#contributions)
68
-
69
- ## Dataset Description
70
-
71
- - **Homepage:**
72
- https://klejbenchmark.com/
73
- - **Repository:**
74
- https://github.com/allegro/klejbenchmark-allegroreviews
75
- - **Paper:**
76
- KLEJ: Comprehensive Benchmark for Polish Language Understanding (Rybak, Piotr and Mroczkowski, Robert and Tracz, Janusz and Gawlik, Ireneusz)
77
- - **Leaderboard:**
78
- https://klejbenchmark.com/leaderboard/
79
- - **Point of Contact:**
80
81
-
82
- ### Dataset Summary
83
-
84
- Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish and extracted from Allegro.pl - a popular e-commerce marketplace. Each review contains at least 50 words and has a rating on a scale from one (negative review) to five (positive review).
85
-
86
- We recommend using the provided train/dev/test split. The ratings for the test set reviews are kept hidden. You can evaluate your model using the online evaluation tool available on klejbenchmark.com.
87
-
88
- ### Supported Tasks and Leaderboards
89
-
90
- Product reviews sentiment analysis.
91
- https://klejbenchmark.com/leaderboard/
92
-
93
- ### Languages
94
-
95
- Polish
96
-
97
- ## Dataset Structure
98
-
99
- ### Data Instances
100
-
101
- Two tsv files (train, dev) with two columns (text, rating) and one (test) with just one (text).
102
-
103
- ### Data Fields
104
-
105
- - text: a product review of at least 50 words
106
- - rating: product rating of a scale of one (negative review) to five (positive review)
107
-
108
- ### Data Splits
109
-
110
- Data is splitted in train/dev/test split.
111
-
112
- ## Dataset Creation
113
-
114
- ### Curation Rationale
115
-
116
- This dataset is one of nine evaluation tasks to improve polish language processing.
117
-
118
- ### Source Data
119
-
120
- #### Initial Data Collection and Normalization
121
-
122
- The Allegro Reviews is a set of product reviews from a popular e-commerce marketplace (Allegro.pl).
123
-
124
- #### Who are the source language producers?
125
-
126
- Customers of an e-commerce marketplace.
127
-
128
- ### Annotations
129
-
130
- #### Annotation process
131
-
132
- [More Information Needed]
133
-
134
- #### Who are the annotators?
135
-
136
- [More Information Needed]
137
-
138
- ### Personal and Sensitive Information
139
-
140
- [More Information Needed]
141
-
142
- ## Considerations for Using the Data
143
-
144
- ### Social Impact of Dataset
145
-
146
- [More Information Needed]
147
-
148
- ### Discussion of Biases
149
-
150
- [More Information Needed]
151
-
152
- ### Other Known Limitations
153
-
154
- [More Information Needed]
155
-
156
- ## Additional Information
157
-
158
- ### Dataset Curators
159
-
160
- Allegro Machine Learning Research team [email protected]
161
-
162
- ### Licensing Information
163
-
164
- Dataset licensed under CC BY-SA 4.0
165
-
166
- ### Citation Information
167
-
168
- @inproceedings{rybak-etal-2020-klej,
169
- title = "{KLEJ}: Comprehensive Benchmark for Polish Language Understanding",
170
- author = "Rybak, Piotr and Mroczkowski, Robert and Tracz, Janusz and Gawlik, Ireneusz",
171
- booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
172
- month = jul,
173
- year = "2020",
174
- address = "Online",
175
- publisher = "Association for Computational Linguistics",
176
- url = "https://www.aclweb.org/anthology/2020.acl-main.111",
177
- pages = "1191--1201",
178
- }
179
-
180
- ### Contributions
181
-
182
- Thanks to [@abecadel](https://github.com/abecadel) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
allegro_reviews.py DELETED
@@ -1,109 +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
- """Allegro Reviews dataset"""
16
-
17
-
18
- import csv
19
- import os
20
-
21
- import datasets
22
-
23
-
24
- _CITATION = """\
25
- @inproceedings{rybak-etal-2020-klej,
26
- title = "{KLEJ}: Comprehensive Benchmark for Polish Language Understanding",
27
- author = "Rybak, Piotr and Mroczkowski, Robert and Tracz, Janusz and Gawlik, Ireneusz",
28
- booktitle = "Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics",
29
- month = jul,
30
- year = "2020",
31
- address = "Online",
32
- publisher = "Association for Computational Linguistics",
33
- url = "https://www.aclweb.org/anthology/2020.acl-main.111",
34
- pages = "1191--1201",
35
- }
36
- """
37
-
38
- _DESCRIPTION = """\
39
- Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish and extracted
40
- from Allegro.pl - a popular e-commerce marketplace. Each review contains at least 50 words and has a rating on a scale
41
- from one (negative review) to five (positive review).
42
-
43
- We recommend using the provided train/dev/test split. The ratings for the test set reviews are kept hidden.
44
- You can evaluate your model using the online evaluation tool available on klejbenchmark.com.
45
- """
46
-
47
- _HOMEPAGE = "https://github.com/allegro/klejbenchmark-allegroreviews"
48
-
49
- _LICENSE = "CC BY-SA 4.0"
50
-
51
- _URLs = "https://klejbenchmark.com/static/data/klej_ar.zip"
52
-
53
-
54
- class AllegroReviews(datasets.GeneratorBasedBuilder):
55
- """
56
- Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish
57
- and extracted from Allegro.pl - a popular e-commerce marketplace.
58
- """
59
-
60
- VERSION = datasets.Version("1.1.0")
61
-
62
- def _info(self):
63
- return datasets.DatasetInfo(
64
- description=_DESCRIPTION,
65
- features=datasets.Features(
66
- {
67
- "text": datasets.Value("string"),
68
- "rating": datasets.Value("float"),
69
- }
70
- ),
71
- supervised_keys=None,
72
- homepage=_HOMEPAGE,
73
- license=_LICENSE,
74
- citation=_CITATION,
75
- )
76
-
77
- def _split_generators(self, dl_manager):
78
- """Returns SplitGenerators."""
79
- data_dir = dl_manager.download_and_extract(_URLs)
80
- return [
81
- datasets.SplitGenerator(
82
- name=datasets.Split.TRAIN,
83
- gen_kwargs={
84
- "filepath": os.path.join(data_dir, "train.tsv"),
85
- "split": "train",
86
- },
87
- ),
88
- datasets.SplitGenerator(
89
- name=datasets.Split.TEST,
90
- gen_kwargs={"filepath": os.path.join(data_dir, "test_features.tsv"), "split": "test"},
91
- ),
92
- datasets.SplitGenerator(
93
- name=datasets.Split.VALIDATION,
94
- gen_kwargs={
95
- "filepath": os.path.join(data_dir, "dev.tsv"),
96
- "split": "dev",
97
- },
98
- ),
99
- ]
100
-
101
- def _generate_examples(self, filepath, split):
102
- """Yields examples."""
103
- with open(filepath, encoding="utf-8") as f:
104
- reader = csv.DictReader(f, delimiter="\t", quoting=csv.QUOTE_NONE)
105
- for id_, row in enumerate(reader):
106
- yield id_, {
107
- "text": row["text"],
108
- "rating": "-1" if split == "test" else row["rating"],
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"default": {"description": "Allegro Reviews is a sentiment analysis dataset, consisting of 11,588 product reviews written in Polish and extracted \nfrom Allegro.pl - a popular e-commerce marketplace. Each review contains at least 50 words and has a rating on a scale \nfrom one (negative review) to five (positive review).\n\nWe recommend using the provided train/dev/test split. The ratings for the test set reviews are kept hidden. \nYou can evaluate your model using the online evaluation tool available on klejbenchmark.com.\n", "citation": "@inproceedings{rybak-etal-2020-klej,\n title = \"{KLEJ}: Comprehensive Benchmark for Polish Language Understanding\",\n author = \"Rybak, Piotr and Mroczkowski, Robert and Tracz, Janusz and Gawlik, Ireneusz\",\n booktitle = \"Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics\",\n month = jul,\n year = \"2020\",\n address = \"Online\",\n publisher = \"Association for Computational Linguistics\",\n url = \"https://www.aclweb.org/anthology/2020.acl-main.111\",\n pages = \"1191--1201\",\n}\n", "homepage": "https://github.com/allegro/klejbenchmark-allegroreviews", "license": "CC BY-SA 4.0", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "rating": {"dtype": "float32", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "allegro_reviews", "config_name": "default", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 4899539, "num_examples": 9577, "dataset_name": "allegro_reviews"}, "test": {"name": "test", "num_bytes": 514527, "num_examples": 1006, "dataset_name": "allegro_reviews"}, "validation": {"name": "validation", "num_bytes": 515785, "num_examples": 1002, "dataset_name": "allegro_reviews"}}, "download_checksums": {"https://klejbenchmark.com/static/data/klej_ar.zip": {"num_bytes": 2314847, "checksum": "7c74bdb440e15c36b0a66f32500decd86f29380fc42b28752f1335de143a99fc"}}, "download_size": 2314847, "post_processing_size": null, "dataset_size": 5929851, "size_in_bytes": 8244698}}
 
 
default/allegro_reviews-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a56852ce0eed1f5f10e8f36cce13e323110c2ec56e65ab31f9d85db6f9662c5f
3
+ size 349136
default/allegro_reviews-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1e47ebc2bfa038d61a3dea748e3c3292362b9c4d97f39eaa38310ac08baa089
3
+ size 3225748
default/allegro_reviews-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:461484e3dac8501d3ad604f0153c766b0f30137b647b187527c4aad3c9b096d9
3
+ size 348770