system HF staff commited on
Commit
dd51077
0 Parent(s):

Update files from the datasets library (from 1.2.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.2.0

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - found
4
+ language_creators:
5
+ - found
6
+ languages:
7
+ all_languages:
8
+ - de
9
+ - en
10
+ - es
11
+ - fr
12
+ - ja
13
+ - zh
14
+ de:
15
+ - de
16
+ en:
17
+ - en
18
+ es:
19
+ - es
20
+ fr:
21
+ - fr
22
+ ja:
23
+ - ja
24
+ zh:
25
+ - zh
26
+ licenses:
27
+ - other-amazon-license
28
+ multilinguality:
29
+ all_languages:
30
+ - multilingual
31
+ de:
32
+ - monolingual
33
+ en:
34
+ - monolingual
35
+ es:
36
+ - monolingual
37
+ fr:
38
+ - monolingual
39
+ ja:
40
+ - monolingual
41
+ zh:
42
+ - monolingual
43
+ size_categories:
44
+ all_languages:
45
+ - n>1M
46
+ de:
47
+ - 100K<n<1M
48
+ en:
49
+ - 100K<n<1M
50
+ es:
51
+ - 100K<n<1M
52
+ fr:
53
+ - 100K<n<1M
54
+ ja:
55
+ - 100K<n<1M
56
+ zh:
57
+ - 100K<n<1M
58
+ source_datasets:
59
+ - original
60
+ task_categories:
61
+ - conditional-text-generation
62
+ - sequence-modeling
63
+ - text-classification
64
+ - text-scoring
65
+ task_ids:
66
+ - language-modeling
67
+ - sentiment-classification
68
+ - sentiment-scoring
69
+ - summarization
70
+ - topic-classification
71
+ ---
72
+
73
+ # Dataset Card for The Multilingual Amazon Reviews Corpus
74
+
75
+ ## Table of Contents
76
+ - [Dataset Description](#dataset-description)
77
+ - [Dataset Summary](#dataset-summary)
78
+ - [Supported Tasks](#supported-tasks-and-leaderboards)
79
+ - [Languages](#languages)
80
+ - [Dataset Structure](#dataset-structure)
81
+ - [Data Instances](#data-instances)
82
+ - [Data Fields](#data-instances)
83
+ - [Data Splits](#data-instances)
84
+ - [Dataset Creation](#dataset-creation)
85
+ - [Curation Rationale](#curation-rationale)
86
+ - [Source Data](#source-data)
87
+ - [Annotations](#annotations)
88
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
89
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
90
+ - [Social Impact of Dataset](#social-impact-of-dataset)
91
+ - [Discussion of Biases](#discussion-of-biases)
92
+ - [Other Known Limitations](#other-known-limitations)
93
+ - [Additional Information](#additional-information)
94
+ - [Dataset Curators](#dataset-curators)
95
+ - [Licensing Information](#licensing-information)
96
+ - [Citation Information](#citation-information)
97
+
98
+ ## Dataset Description
99
+
100
+ - **Webpage:** https://registry.opendata.aws/amazon-reviews-ml/
101
+ - **Paper:** https://arxiv.org/abs/2010.02573
102
+ - **Point of Contact:** multilingual-reviews-dataset@amazon.com
103
+
104
+ ### Dataset Summary
105
+
106
+ We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. ‘books’, ‘appliances’, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.
107
+
108
+ For each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.
109
+
110
+ Note that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.
111
+
112
+ ### Languages
113
+
114
+ The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish.
115
+
116
+ ## Dataset Structure
117
+
118
+ ### Data Instances
119
+
120
+ Each data instance corresponds to a review. The original JSON for an instance looks like so (German example):
121
+
122
+ ```json
123
+ {
124
+ "review_id":"de_0784695",
125
+ "product_id":"product_de_0572654",
126
+ "reviewer_id":"reviewer_de_0645436",
127
+ "stars":"1",
128
+ "review_body":"Leider, leider nach einmal waschen ausgeblichen . Es sieht super h\u00fcbsch aus , nur leider stinkt es ganz schrecklich und ein Waschgang in der Maschine ist notwendig ! Nach einem mal waschen sah es aus als w\u00e4re es 10 Jahre alt und hatte 1000 e von Waschg\u00e4ngen hinter sich :( echt schade !",
129
+ "review_title":"Leider nicht zu empfehlen",
130
+ "language":"de",
131
+ "product_category":"home"
132
+ }
133
+ ```
134
+
135
+ ### Data Fields
136
+
137
+ - `review_id`: A string identifier of the review.
138
+ - `product_id`: A string identifier of the product being reviewed.
139
+ - `reviewer_id`: A string identifier of the reviewer.
140
+ - `stars`: An int between 1-5 indicating the number of stars.
141
+ - `review_body`: The text body of the review.
142
+ - `review_title`: The text title of the review.
143
+ - `language`: The string identifier of the review language.
144
+ - `product_category`: String representation of the product's category.
145
+
146
+ ### Data Splits
147
+
148
+ Each language configuration comes with it's own `train`, `validation`, and `test` splits. The `all_languages` split
149
+ is simply a concatenation of the corresponding split across all languages. That is, the `train` split for
150
+ `all_languages` is a concatenation of the `train` splits for each of the languages and likewise for `validation` and
151
+ `test`.
152
+
153
+ ## Dataset Creation
154
+
155
+ ### Curation Rationale
156
+
157
+ The dataset is motivated by the desire to advance sentiment analysis and text classification in other (non-English)
158
+ languages.
159
+
160
+ ### Source Data
161
+
162
+ #### Initial Data Collection and Normalization
163
+
164
+ The authors gathered the reviews from the marketplaces in the US, Japan, Germany, France, Spain, and China for the
165
+ English, Japanese, German, French, Spanish, and Chinese languages, respectively. They then ensured the correct
166
+ language by applying a language detection algorithm, only retaining those of the target language. In a random sample
167
+ of the resulting reviews, the authors observed a small percentage of target languages that were incorrectly filtered
168
+ out and a very few mismatched languages that were incorrectly retained.
169
+
170
+ #### Who are the source language producers?
171
+
172
+ The original text comes from Amazon customers reviewing products on the marketplace across a variety of product
173
+ categories.
174
+
175
+ ### Annotations
176
+
177
+ #### Annotation process
178
+
179
+ Each of the fields included are submitted by the user with the review or otherwise associated with the review. No
180
+ manual or machine-driven annotation was necessary.
181
+
182
+ #### Who are the annotators?
183
+
184
+ N/A
185
+
186
+ ### Personal and Sensitive Information
187
+
188
+ Amazon Reviews are submitted by users with the knowledge and attention of being public. The reviewer ID's included in
189
+ this dataset are quasi-anonymized, meaning that they are disassociated from the original user profiles. However,
190
+ these fields would likely be easy to deannoymize given the public and identifying nature of free-form text responses.
191
+
192
+ ## Considerations for Using the Data
193
+
194
+ ### Social Impact of Dataset
195
+
196
+ This dataset is part of an effort to encourage text classification research in languages other than English. Such
197
+ work increases the accessibility of natural language technology to more regions and cultures. Unfortunately, each of
198
+ the languages included here is relatively high resource and well studied.
199
+
200
+ ### Discussion of Biases
201
+
202
+ The data included here are from unverified consumers. Some percentage of these reviews may be fake or contain
203
+ misleading or offensive language.
204
+ ### Other Known Limitations
205
+
206
+ The dataset is constructed so that the distribution of star ratings is balanced. This feature has some advantages for
207
+ purposes of classification, but some types of language may be over or underrepresented relative to the original
208
+ distribution of reviews to acheive this balance.
209
+
210
+ [More Information Needed]
211
+
212
+ ## Additional Information
213
+
214
+ ### Dataset Curators
215
+
216
+ Published by Phillip Keung, Yichao Lu, György Szarvas, and Noah A. Smith. Managed by Amazon.
217
+
218
+ ### Licensing Information
219
+
220
+ Amazon has licensed this dataset under its own agreement, to be found at the dataset webpage here:
221
+ https://docs.opendata.aws/amazon-reviews-ml/license.txt
222
+
223
+ ### Citation Information
224
+
225
+ Please cite the following paper (arXiv) if you found this dataset useful:
226
+
227
+ Phillip Keung, Yichao Lu, György Szarvas and Noah A. Smith. “The Multilingual Amazon Reviews Corpus.” In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, 2020.
228
+
229
+ ```
230
+ @inproceedings{marc_reviews,
231
+ title={The Multilingual Amazon Reviews Corpus},
232
+ author={Keung, Phillip and Lu, Yichao and Szarvas, György and Smith, Noah A.},
233
+ booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},
234
+ year={2020}
235
+ }
236
+ ```
amazon_reviews_multi.py ADDED
@@ -0,0 +1,132 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # coding=utf-8
2
+ # Copyright 2020 HuggingFace Datasets Authors.
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
+
16
+ """The Multilingual Amazon Reviews Corpus"""
17
+
18
+ from __future__ import absolute_import, division, print_function
19
+
20
+ import json
21
+
22
+ import datasets
23
+
24
+
25
+ _CITATION = """\
26
+ @inproceedings{marc_reviews,
27
+ title={The Multilingual Amazon Reviews Corpus},
28
+ author={Keung, Phillip and Lu, Yichao and Szarvas, György and Smith, Noah A.},
29
+ booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},
30
+ year={2020}
31
+ }
32
+ """
33
+
34
+ _LICENSE = """\
35
+ By accessing the Multilingual Amazon Reviews Corpus ("Reviews Corpus"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:
36
+
37
+ In addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.
38
+ """
39
+
40
+ _DESCRIPTION = """\
41
+ We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. ‘books’, ‘appliances’, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.
42
+
43
+ For each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.
44
+
45
+ Note that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.
46
+ """
47
+
48
+ _LANGUAGES = {
49
+ "de": "German",
50
+ "en": "English",
51
+ "es": "Spanish",
52
+ "fr": "French",
53
+ "ja": "Japanese",
54
+ "zh": "Chinese",
55
+ }
56
+ _ALL_LANGUAGES = "all_languages"
57
+ _VERSION = "1.0.0"
58
+ _HOMEPAGE_URL = "https://registry.opendata.aws/amazon-reviews-ml/"
59
+ _DOWNLOAD_URL = "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/{split}/dataset_{lang}_{split}.json"
60
+
61
+
62
+ class AmazonReviewsMultiConfig(datasets.BuilderConfig):
63
+ """BuilderConfig for AmazonReviewsMultiConfig."""
64
+
65
+ def __init__(self, languages=None, **kwargs):
66
+ super(AmazonReviewsMultiConfig, self).__init__(version=datasets.Version(_VERSION, ""), **kwargs),
67
+ self.languages = languages
68
+
69
+
70
+ class AmazonReviewsMulti(datasets.GeneratorBasedBuilder):
71
+ """The Multilingual Amazon Reviews Corpus"""
72
+
73
+ BUILDER_CONFIGS = [
74
+ AmazonReviewsMultiConfig(
75
+ name=_ALL_LANGUAGES,
76
+ languages=_LANGUAGES,
77
+ description="A collection of Amazon reviews specifically designed to aid research in multilingual text classification.",
78
+ )
79
+ ] + [
80
+ AmazonReviewsMultiConfig(
81
+ name=lang,
82
+ languages=[lang],
83
+ description=f"{_LANGUAGES[lang]} examples from a collection of Amazon reviews specifically designed to aid research in multilingual text classification",
84
+ )
85
+ for lang in _LANGUAGES
86
+ ]
87
+ BUILDER_CONFIG_CLASS = AmazonReviewsMultiConfig
88
+ DEFAULT_CONFIG_NAME = _ALL_LANGUAGES
89
+
90
+ def _info(self):
91
+ return datasets.DatasetInfo(
92
+ description=_DESCRIPTION,
93
+ features=datasets.Features(
94
+ {
95
+ "review_id": datasets.Value("string"),
96
+ "product_id": datasets.Value("string"),
97
+ "reviewer_id": datasets.Value("string"),
98
+ "stars": datasets.Value("int32"),
99
+ "review_body": datasets.Value("string"),
100
+ "review_title": datasets.Value("string"),
101
+ "language": datasets.Value("string"),
102
+ "product_category": datasets.Value("string"),
103
+ }
104
+ ),
105
+ supervised_keys=None,
106
+ license=_LICENSE,
107
+ homepage=_HOMEPAGE_URL,
108
+ citation=_CITATION,
109
+ )
110
+
111
+ def _split_generators(self, dl_manager):
112
+ train_urls = [_DOWNLOAD_URL.format(split="train", lang=lang) for lang in self.config.languages]
113
+ dev_urls = [_DOWNLOAD_URL.format(split="dev", lang=lang) for lang in self.config.languages]
114
+ test_urls = [_DOWNLOAD_URL.format(split="test", lang=lang) for lang in self.config.languages]
115
+
116
+ train_paths = dl_manager.download_and_extract(train_urls)
117
+ dev_paths = dl_manager.download_and_extract(dev_urls)
118
+ test_paths = dl_manager.download_and_extract(test_urls)
119
+
120
+ return [
121
+ datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"file_paths": train_paths}),
122
+ datasets.SplitGenerator(name=datasets.Split.VALIDATION, gen_kwargs={"file_paths": dev_paths}),
123
+ datasets.SplitGenerator(name=datasets.Split.TEST, gen_kwargs={"file_paths": test_paths}),
124
+ ]
125
+
126
+ def _generate_examples(self, file_paths):
127
+ row_count = 0
128
+ for file_path in file_paths:
129
+ with open(file_path, "r", encoding="utf-8") as f:
130
+ for line in f:
131
+ yield row_count, json.loads(line)
132
+ row_count += 1
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"all_languages": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "all_languages", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 364405048, "num_examples": 1200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 9047533, "num_examples": 30000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 9099141, "num_examples": 30000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_de_train.json": {"num_bytes": 90296053, "checksum": "b6db74af028e3777f2e87ff2281bc31135b2e53747205a37119722e070d0e0e0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_en_train.json": {"num_bytes": 81989414, "checksum": "8a3265e94b6dd365811f1d1e8812c4ccb999dae4044eebe2c529c2be9519bab9"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_es_train.json": {"num_bytes": 77475023, "checksum": "e5bd5f4bc2473041126f3efaf3b0069cdeaefc0f973bf92c6da3b345fad192f1"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json": {"num_bytes": 81853486, "checksum": "b6811b844f4889eedafa663c66d8f91454ed077ac0bf95242740bb60efcd0a53"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_ja_train.json": {"num_bytes": 169377614, "checksum": "3f7a5f7ccafc14a5a80cdda1ad21c40181092561703281b1ab64d8beb28581f0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_zh_train.json": {"num_bytes": 108954151, "checksum": "61bc8cc2470b2fd608f7292e2a7c30b487cc92857987048288233932c6af7c4d"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_de_dev.json": {"num_bytes": 2250151, "checksum": "9c1eb1cec34947acd366c72a1c15b8f845cf2aafe6db2f037de9ab8176fe407e"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_en_dev.json": {"num_bytes": 2059600, "checksum": "a5fdeedc17532b160c95e61a6c87ba5458552a96781415690d770b753114f909"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_es_dev.json": {"num_bytes": 1930836, "checksum": "066256efe2896859cd218b79bb32eadf9fc826aa8c023145a7fdc65374d0ab22"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_fr_dev.json": {"num_bytes": 2019337, "checksum": "6ec4446b78afcd3807af2cca642cbfd25aaf4cbf48ba60f3dbc2de8e7df91634"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_ja_dev.json": {"num_bytes": 4185487, "checksum": "482e893e1a41f437874566eaafdfcb597727550cc685801c0a9a3b594364a2c0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_zh_dev.json": {"num_bytes": 2701152, "checksum": "182903bb284abd81a25b7f03b1c30eb5c4391715defcbe7badd14ccb7e876dd1"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_de_test.json": {"num_bytes": 2256286, "checksum": "7e573370f5566a3a5490fb1d13a6f485d0f69c0a38e20cf2bda185f5ac2ec8f6"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_en_test.json": {"num_bytes": 2045098, "checksum": "eb1d41c7ce0da2556daac34d6a0c7f28c3ffe268f1d24c60fea5ae8950448ffc"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_es_test.json": {"num_bytes": 1939602, "checksum": "5c4b77f18682b659e34bc12ac321e33e37600d30d9a2751c941f7cf3c6f62ac3"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_fr_test.json": {"num_bytes": 2044470, "checksum": "4728c7eea42b22d5b09a3c8d9846cfbbe8e5a21d05f250114010d466c23eb55e"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_ja_test.json": {"num_bytes": 4210682, "checksum": "09e0e1dc433cd4f8dfd6385462eb739e2bddefdd0e52717c6f890938f751be1f"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_zh_test.json": {"num_bytes": 2731944, "checksum": "6c88bc31ce9fc54fa78c3df84322634620746a5e097fd127b7adce2fd1bcafa5"}}, "download_size": 640320386, "post_processing_size": null, "dataset_size": 382551722, "size_in_bytes": 1022872108}, "de": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "de", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 64485678, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 1605727, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 1611044, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_de_train.json": {"num_bytes": 90296053, "checksum": "b6db74af028e3777f2e87ff2281bc31135b2e53747205a37119722e070d0e0e0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_de_dev.json": {"num_bytes": 2250151, "checksum": "9c1eb1cec34947acd366c72a1c15b8f845cf2aafe6db2f037de9ab8176fe407e"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_de_test.json": {"num_bytes": 2256286, "checksum": "7e573370f5566a3a5490fb1d13a6f485d0f69c0a38e20cf2bda185f5ac2ec8f6"}}, "download_size": 94802490, "post_processing_size": null, "dataset_size": 67702449, "size_in_bytes": 162504939}, "en": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "en", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 58601089, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 1474672, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 1460565, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_en_train.json": {"num_bytes": 81989414, "checksum": "8a3265e94b6dd365811f1d1e8812c4ccb999dae4044eebe2c529c2be9519bab9"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_en_dev.json": {"num_bytes": 2059600, "checksum": "a5fdeedc17532b160c95e61a6c87ba5458552a96781415690d770b753114f909"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_en_test.json": {"num_bytes": 2045098, "checksum": "eb1d41c7ce0da2556daac34d6a0c7f28c3ffe268f1d24c60fea5ae8950448ffc"}}, "download_size": 86094112, "post_processing_size": null, "dataset_size": 61536326, "size_in_bytes": 147630438}, "es": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "es", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 52375658, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 1303958, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 1312347, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_es_train.json": {"num_bytes": 77475023, "checksum": "e5bd5f4bc2473041126f3efaf3b0069cdeaefc0f973bf92c6da3b345fad192f1"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_es_dev.json": {"num_bytes": 1930836, "checksum": "066256efe2896859cd218b79bb32eadf9fc826aa8c023145a7fdc65374d0ab22"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_es_test.json": {"num_bytes": 1939602, "checksum": "5c4b77f18682b659e34bc12ac321e33e37600d30d9a2751c941f7cf3c6f62ac3"}}, "download_size": 81345461, "post_processing_size": null, "dataset_size": 54991963, "size_in_bytes": 136337424}, "fr": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "fr", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 54593565, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 1340763, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 1364510, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_fr_train.json": {"num_bytes": 81853486, "checksum": "b6811b844f4889eedafa663c66d8f91454ed077ac0bf95242740bb60efcd0a53"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_fr_dev.json": {"num_bytes": 2019337, "checksum": "6ec4446b78afcd3807af2cca642cbfd25aaf4cbf48ba60f3dbc2de8e7df91634"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_fr_test.json": {"num_bytes": 2044470, "checksum": "4728c7eea42b22d5b09a3c8d9846cfbbe8e5a21d05f250114010d466c23eb55e"}}, "download_size": 85917293, "post_processing_size": null, "dataset_size": 57298838, "size_in_bytes": 143216131}, "ja": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "ja", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 82401390, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 2035391, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 2048048, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_ja_train.json": {"num_bytes": 169377614, "checksum": "3f7a5f7ccafc14a5a80cdda1ad21c40181092561703281b1ab64d8beb28581f0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_ja_dev.json": {"num_bytes": 4185487, "checksum": "482e893e1a41f437874566eaafdfcb597727550cc685801c0a9a3b594364a2c0"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_ja_test.json": {"num_bytes": 4210682, "checksum": "09e0e1dc433cd4f8dfd6385462eb739e2bddefdd0e52717c6f890938f751be1f"}}, "download_size": 177773783, "post_processing_size": null, "dataset_size": 86484829, "size_in_bytes": 264258612}, "zh": {"description": "We provide an Amazon product reviews dataset for multilingual text classification. The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish, collected between November 1, 2015 and November 1, 2019. Each record in the dataset contains the review text, the review title, the star rating, an anonymized reviewer ID, an anonymized product ID and the coarse-grained product category (e.g. \u2018books\u2019, \u2018appliances\u2019, etc.) The corpus is balanced across stars, so each star rating constitutes 20% of the reviews in each language.\n\nFor each language, there are 200,000, 5,000 and 5,000 reviews in the training, development and test sets respectively. The maximum number of reviews per reviewer is 20 and the maximum number of reviews per product is 20. All reviews are truncated after 2,000 characters, and all reviews are at least 20 characters long.\n\nNote that the language of a review does not necessarily match the language of its marketplace (e.g. reviews from amazon.de are primarily written in German, but could also be written in English, etc.). For this reason, we applied a language detection algorithm based on the work in Bojanowski et al. (2017) to determine the language of the review text and we removed reviews that were not written in the expected language.\n", "citation": "@inproceedings{marc_reviews,\n title={The Multilingual Amazon Reviews Corpus},\n author={Keung, Phillip and Lu, Yichao and Szarvas, Gy\u00f6rgy and Smith, Noah A.},\n booktitle={Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing},\n year={2020}\n}\n", "homepage": "https://registry.opendata.aws/amazon-reviews-ml/", "license": "By accessing the Multilingual Amazon Reviews Corpus (\"Reviews Corpus\"), you agree that the Reviews Corpus is an Amazon Service subject to the Amazon.com Conditions of Use (https://www.amazon.com/gp/help/customer/display.html/ref=footer_cou?ie=UTF8&nodeId=508088) and you agree to be bound by them, with the following additional conditions:\n\nIn addition to the license rights granted under the Conditions of Use, Amazon or its content providers grant you a limited, non-exclusive, non-transferable, non-sublicensable, revocable license to access and use the Reviews Corpus for purposes of academic research. You may not resell, republish, or make any commercial use of the Reviews Corpus or its contents, including use of the Reviews Corpus for commercial research, such as research related to a funding or consultancy contract, internship, or other relationship in which the results are provided for a fee or delivered to a for-profit organization. You may not (a) link or associate content in the Reviews Corpus with any personal information (including Amazon customer accounts), or (b) attempt to determine the identity of the author of any content in the Reviews Corpus. If you violate any of the foregoing conditions, your license to access and use the Reviews Corpus will automatically terminate without prejudice to any of the other rights or remedies Amazon may have.\n", "features": {"review_id": {"dtype": "string", "id": null, "_type": "Value"}, "product_id": {"dtype": "string", "id": null, "_type": "Value"}, "reviewer_id": {"dtype": "string", "id": null, "_type": "Value"}, "stars": {"dtype": "int32", "id": null, "_type": "Value"}, "review_body": {"dtype": "string", "id": null, "_type": "Value"}, "review_title": {"dtype": "string", "id": null, "_type": "Value"}, "language": {"dtype": "string", "id": null, "_type": "Value"}, "product_category": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_reviews_multi", "config_name": "zh", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 51947668, "num_examples": 200000, "dataset_name": "amazon_reviews_multi"}, "validation": {"name": "validation", "num_bytes": 1287106, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}, "test": {"name": "test", "num_bytes": 1302711, "num_examples": 5000, "dataset_name": "amazon_reviews_multi"}}, "download_checksums": {"https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/train/dataset_zh_train.json": {"num_bytes": 108954151, "checksum": "61bc8cc2470b2fd608f7292e2a7c30b487cc92857987048288233932c6af7c4d"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/dev/dataset_zh_dev.json": {"num_bytes": 2701152, "checksum": "182903bb284abd81a25b7f03b1c30eb5c4391715defcbe7badd14ccb7e876dd1"}, "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/test/dataset_zh_test.json": {"num_bytes": 2731944, "checksum": "6c88bc31ce9fc54fa78c3df84322634620746a5e097fd127b7adce2fd1bcafa5"}}, "download_size": 114387247, "post_processing_size": null, "dataset_size": 54537485, "size_in_bytes": 168924732}}
dummy/all_languages/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90b019699712c78e11b2308b8f18d1504e7fc553bbbf4ac7045ec18b6080b37b
3
+ size 20694
dummy/de/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1603cadf7b6f430f377017e1122aef3d4c18b725f3ca7848180ecdfa7d756e5c
3
+ size 3309
dummy/en/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9f8d06d754b4a89b0233df600c1b91336bdfa5f9980f7e83362e91d6397de07f
3
+ size 3560
dummy/es/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ffd97b29f1de913e317eedb1a37b52223434668fc2f12013e97d7b22edfe0d
3
+ size 2917
dummy/fr/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29c39fa34c882c438e74cee9140ba6be02067fdd25cfbafd8740f6274ec1dd27
3
+ size 3341
dummy/ja/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c6c2046a7001d33a2821a671f5dde43b812d64d10411676464883ff2a1a8710
3
+ size 4565
dummy/zh/1.0.0/dummy_data.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f80e00c963bed0ed388fcaf63585a3d9bdeb7411c274f51d67285838c0acd57c
3
+ size 3602