buruzaemon's picture
Update README.md
486fbd9 verified
metadata
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 Description

Dataset Summary

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

Please see defunct-datasets/amazon_reviews_multi at 🤗 Datasets

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):

{
    "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.