Attend the Women in ML Symposium on December 7 Register now

yelp_review_full

References:

yelp_review_full

Use the following command to load this dataset in TFDS:

ds = tfds.load('huggingface:yelp_review_full/yelp_review_full')
  • Description:
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).
Split Examples
'test' 50000
'train' 650000
  • Features:
{
    "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"
    }
}