yelp_review_full

Tài liệu tham khảo:

yelp_review_full

Sử dụng lệnh sau để tải tập dữ liệu này trong TFDS:

ds = tfds.load('huggingface:yelp_review_full/yelp_review_full')
  • Sự miêu tả :
The Yelp reviews dataset consists of reviews from Yelp. It is extracted from the Yelp Dataset Challenge 2015 data.
The Yelp reviews full star dataset is constructed by Xiang Zhang (xiang.zhang@nyu.edu) from the above dataset.
It is first used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun.
Character-level Convolutional Networks for Text Classification. Advances in Neural Information Processing Systems 28 (NIPS 2015).
Tách ra Ví dụ
'test' 50000
'train' 650000
  • Đặc trưng :
{
    "label": {
        "num_classes": 5,
        "names": [
            "1 star",
            "2 star",
            "3 stars",
            "4 stars",
            "5 stars"
        ],
        "id": null,
        "_type": "ClassLabel"
    },
    "text": {
        "dtype": "string",
        "id": null,
        "_type": "Value"
    }
}