File size: 7,608 Bytes
7bdce57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cef6af0
7bdce57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a92f007
7bdce57
 
 
486fbd9
7bdce57
 
 
a92f007
7bdce57
4f46a33
7bdce57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
---
annotations_creators:
- found
language_creators:
- found
language:
- de
- en
- es
- fr
- ja
- zh
license:
- other
multilinguality:
- monolingual
- multilingual
size_categories:
- 100K<n<1M
- 1M<n<10M
source_datasets:
- original
task_categories:
- summarization
- text-generation
- fill-mask
- text-classification
task_ids:
- text-scoring
- language-modeling
- masked-language-modeling
- sentiment-classification
- sentiment-scoring
- topic-classification
paperswithcode_id: null
pretty_name: The Multilingual Amazon Reviews Corpus
dataset_info:
- config_name: all_languages
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 364405048
    num_examples: 1200000
  - name: validation
    num_bytes: 9047533
    num_examples: 30000
  - name: test
    num_bytes: 9099141
    num_examples: 30000
  download_size: 640320386
  dataset_size: 382551722
- config_name: de
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 64485678
    num_examples: 200000
  - name: validation
    num_bytes: 1605727
    num_examples: 5000
  - name: test
    num_bytes: 1611044
    num_examples: 5000
  download_size: 94802490
  dataset_size: 67702449
- config_name: en
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 58601089
    num_examples: 200000
  - name: validation
    num_bytes: 1474672
    num_examples: 5000
  - name: test
    num_bytes: 1460565
    num_examples: 5000
  download_size: 86094112
  dataset_size: 61536326
- config_name: es
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 52375658
    num_examples: 200000
  - name: validation
    num_bytes: 1303958
    num_examples: 5000
  - name: test
    num_bytes: 1312347
    num_examples: 5000
  download_size: 81345461
  dataset_size: 54991963
- config_name: fr
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 54593565
    num_examples: 200000
  - name: validation
    num_bytes: 1340763
    num_examples: 5000
  - name: test
    num_bytes: 1364510
    num_examples: 5000
  download_size: 85917293
  dataset_size: 57298838
- config_name: ja
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 82401390
    num_examples: 200000
  - name: validation
    num_bytes: 2035391
    num_examples: 5000
  - name: test
    num_bytes: 2048048
    num_examples: 5000
  download_size: 177773783
  dataset_size: 86484829
- config_name: zh
  features:
  - name: review_id
    dtype: string
  - name: product_id
    dtype: string
  - name: reviewer_id
    dtype: string
  - name: stars
    dtype: int32
  - name: review_body
    dtype: string
  - name: review_title
    dtype: string
  - name: language
    dtype: string
  - name: product_category
    dtype: string
  splits:
  - name: train
    num_bytes: 51947668
    num_examples: 200000
  - name: validation
    num_bytes: 1287106
    num_examples: 5000
  - name: test
    num_bytes: 1302711
    num_examples: 5000
  download_size: 114387247
  dataset_size: 54537485
config_names:
- all_languages
- de
- en
- es
- fr
- ja
- zh
viewer: false
---

# Dataset Card for The Multilingual Amazon Reviews Corpus

## Table of Contents
- [Dataset Card for amazon_reviews_multi](#dataset-card-for-amazon_reviews_multi)
  - [Table of Contents](#table-of-contents)
  - [Dataset Description](#dataset-description)
    - [Dataset Summary](#dataset-summary)
    - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
    - [Languages](#languages)
  - [Dataset Structure](#dataset-structure)
    - [Data Instances](#data-instances)
      - [plain_text](#plain_text)
    - [Data Fields](#data-fields)
      - [plain_text](#plain_text-1)
    - [Data Splits](#data-splits)


## Dataset Description

- **Reference:** [Please see defunct-datasets/amazon_reviews_multi at 🤗 Datasets](https://huggingface.co/datasets/defunct-datasets/amazon_reviews_multi)

### Dataset Summary

This is a clone / reproduction of the Multilingual Amazon Reviews Corpus. 

Please see [`defunct-datasets/amazon_reviews_multi` at 🤗 Datasets](https://huggingface.co/datasets/defunct-datasets/amazon_reviews_multi)

### Supported Tasks and Leaderboards

[More Information Needed]

### Languages

The dataset contains reviews in English, Japanese, German, French, Chinese and Spanish.

## Dataset Structure

### Data Instances

Each data instance corresponds to a review. The original JSON for an instance looks like so (German example):

```json
{
    "review_id": "de_0784695",
    "product_id": "product_de_0572654",
    "reviewer_id": "reviewer_de_0645436",
    "stars": "1",
    "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 !",
    "review_title": "Leider nicht zu empfehlen",
    "language": "de",
    "product_category": "home"
}
```

### Data Fields

- `review_id`: A string identifier of the review.
- `product_id`: A string identifier of the product being reviewed.
- `reviewer_id`: A string identifier of the reviewer.
- `stars`: An int between 1-5 indicating the number of stars.
- `review_body`: The text body of the review.
- `review_title`: The text title of the review.
- `language`: The string identifier of the review language.
- `product_category`: String representation of the product's category.

### Data Splits

Each language configuration comes with its own `train`, `validation`, and `test` splits. The `all_languages` split
is simply a concatenation of the corresponding split across all languages. That is, the `train` split for
`all_languages` is a concatenation of the `train` splits for each of the languages and likewise for `validation` and
`test`.