add data files

#8
by lhoestq HF staff - opened
.gitattributes CHANGED
@@ -25,3 +25,9 @@ saved_model/**/* 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
 
 
 
 
 
 
 
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
28
+ json/train/dataset_de_train.json filter=lfs diff=lfs merge=lfs -text
29
+ json/train/dataset_en_train.json filter=lfs diff=lfs merge=lfs -text
30
+ json/train/dataset_es_train.json filter=lfs diff=lfs merge=lfs -text
31
+ json/train/dataset_fr_train.json filter=lfs diff=lfs merge=lfs -text
32
+ json/train/dataset_ja_train.json filter=lfs diff=lfs merge=lfs -text
33
+ json/train/dataset_zh_train.json filter=lfs diff=lfs merge=lfs -text
amazon_reviews_multi.py CHANGED
@@ -55,7 +55,7 @@ _LANGUAGES = {
55
  _ALL_LANGUAGES = "all_languages"
56
  _VERSION = "1.0.0"
57
  _HOMEPAGE_URL = "https://registry.opendata.aws/amazon-reviews-ml/"
58
- _DOWNLOAD_URL = "https://amazon-reviews-ml.s3-us-west-2.amazonaws.com/json/{split}/dataset_{lang}_{split}.json"
59
 
60
 
61
  class AmazonReviewsMultiConfig(datasets.BuilderConfig):
 
55
  _ALL_LANGUAGES = "all_languages"
56
  _VERSION = "1.0.0"
57
  _HOMEPAGE_URL = "https://registry.opendata.aws/amazon-reviews-ml/"
58
+ _DOWNLOAD_URL = "json/{split}/dataset_{lang}_{split}.json"
59
 
60
 
61
  class AmazonReviewsMultiConfig(datasets.BuilderConfig):
dataset_infos.json DELETED
@@ -1 +0,0 @@
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}}
 
 
json/dev/dataset_de_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/dev/dataset_en_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/dev/dataset_es_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/dev/dataset_fr_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/dev/dataset_ja_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/dev/dataset_zh_dev.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_de_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_en_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_es_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_fr_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_ja_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/test/dataset_zh_test.json ADDED
The diff for this file is too large to render. See raw diff
 
json/train/dataset_de_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b06e094ce628b3c2f31ae3a44342a68317d741d279de99b0fc1ffff8fef72041
3
+ size 84307113
json/train/dataset_en_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09076539f9c2ff6804e993420910ebc7aca6288faf85d1e72a08df3bbbef1326
3
+ size 78419238
json/train/dataset_es_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8699ffd2714133fef1dcafdc870dc53b56780e4ed66ac82bee82126a84346ac5
3
+ size 72182745
json/train/dataset_fr_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:512bdcf01f768dc4e2979fba10aad0c113b7224351d3327604349d6957c7bb7a
3
+ size 74407776
json/train/dataset_ja_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee67134096b72099ed7ed1cbe6ff6f06c57216c5c38ed75c2f47378c16fd4785
3
+ size 102204957
json/train/dataset_zh_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2c33085c146caf15a42a4e71149d25bd00f5f771f1ef8fb3c70d00c9b2a4954
3
+ size 71748937