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"
    }
}