amazon_polarity

مراجع:

amazon_polarity

برای بارگذاری این مجموعه داده در TFDS از دستور زیر استفاده کنید:

ds = tfds.load('huggingface:amazon_polarity/amazon_polarity')
  • توضیحات :
The Amazon reviews dataset consists of reviews from amazon.
The data span a period of 18 years, including ~35 million reviews up to March 2013.
Reviews include product and user information, ratings, and a plaintext review.
  • مجوز : Apache License 2.0
  • نسخه : 3.0.0
  • تقسیمات :
تقسیم کنید نمونه ها
'test' 400000
'train' 3600000
  • ویژگی ها :
{
    "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"
    }
}