lhoestq HF staff commited on
Commit
980c283
1 Parent(s): e85b8ad

Replace amazon_polarity data URL (#4020)

Browse files

* replace amazon_polarity data url

* update dummy data

Commit from https://github.com/huggingface/datasets/commit/a526f5afba644de97fc51e84045d3f1035086fdc

amazon_polarity.py CHANGED
@@ -41,7 +41,7 @@ _HOMEPAGE = "https://registry.opendata.aws/"
41
  _LICENSE = "Apache License 2.0"
42
 
43
  _URLs = {
44
- "amazon_polarity": "https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download",
45
  }
46
 
47
 
 
41
  _LICENSE = "Apache License 2.0"
42
 
43
  _URLs = {
44
+ "amazon_polarity": "https://s3.amazonaws.com/fast-ai-nlp/amazon_review_polarity_csv.tgz",
45
  }
46
 
47
 
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"amazon_polarity": {"description": "The Amazon reviews dataset consists of reviews from amazon.\nThe data span a period of 18 years, including ~35 million reviews up to March 2013.\nReviews include product and user information, ratings, and a plaintext review.\n", "citation": "@inproceedings{mcauley2013hidden,\n title={Hidden factors and hidden topics: understanding rating dimensions with review text},\n author={McAuley, Julian and Leskovec, Jure},\n booktitle={Proceedings of the 7th ACM conference on Recommender systems},\n pages={165--172},\n year={2013}\n}\n", "homepage": "https://registry.opendata.aws/", "license": "Apache License 2.0", "features": {"label": {"num_classes": 2, "names": ["negative", "positive"], "names_file": null, "id": null, "_type": "ClassLabel"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "content": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "amazon_polarity", "config_name": "amazon_polarity", "version": {"version_str": "3.0.0", "description": null, "major": 3, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1604367312, "num_examples": 3600000, "dataset_name": "amazon_polarity"}, "test": {"name": "test", "num_bytes": 178176513, "num_examples": 400000, "dataset_name": "amazon_polarity"}}, "download_checksums": {"https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download": {"num_bytes": 688340758, "checksum": "119dd30cb8226c1df21b009bd02cda3ef09b625a80864e454371904e6d2eaee4"}}, "download_size": 688340758, "post_processing_size": null, "dataset_size": 1782543825, "size_in_bytes": 2470884583}}
 
1
+ {"amazon_polarity": {"description": "The Amazon reviews dataset consists of reviews from amazon.\nThe data span a period of 18 years, including ~35 million reviews up to March 2013.\nReviews include product and user information, ratings, and a plaintext review.\n", "citation": "@inproceedings{mcauley2013hidden,\n title={Hidden factors and hidden topics: understanding rating dimensions with review text},\n author={McAuley, Julian and Leskovec, Jure},\n booktitle={Proceedings of the 7th ACM conference on Recommender systems},\n pages={165--172},\n year={2013}\n}\n", "homepage": "https://registry.opendata.aws/", "license": "Apache License 2.0", "features": {"label": {"num_classes": 2, "names": ["negative", "positive"], "id": null, "_type": "ClassLabel"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "content": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "amazon_polarity", "config_name": "amazon_polarity", "version": {"version_str": "3.0.0", "description": null, "major": 3, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 1604364432, "num_examples": 3600000, "dataset_name": "amazon_polarity"}, "test": {"name": "test", "num_bytes": 178176193, "num_examples": 400000, "dataset_name": "amazon_polarity"}}, "download_checksums": {"https://s3.amazonaws.com/fast-ai-nlp/amazon_review_polarity_csv.tgz": {"num_bytes": 688339454, "checksum": "d2a3ee7a214497a5d1b8eaed7c8d7ba2737de00ada3b0ec46243983efa100361"}}, "download_size": 688339454, "post_processing_size": null, "dataset_size": 1782540625, "size_in_bytes": 2470880079}}
dummy/amazon_polarity/3.0.0/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:218fae2e6f137441a749cb15ea6aba43506a4ae09e3247685ebe1e23a7acd4e6
3
- size 4277
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52b4d8fc086142f46ad84fad05943035988707237a04c3e8a52834fc9538d73e
3
+ size 5488