Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html> <h"... is not valid JSON

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Amazon Reviews Dataset

This dataset contains Amazon product reviews with binary sentiment labels (positive, negative) for text classification tasks.

Dataset Description

The dataset includes:

  • train.csv - Training set, 5000 samples
  • test.csv - Test set, 1000 samples

Usage

import pandas as pd
from huggingface_hub import hf_hub_download

# Download the training set
file_path = hf_hub_download(
    repo_id="Cleanlab/amazon-reviews",
    filename="train.csv",
    repo_type="dataset"
)
df = pd.read_csv(file_path)
print(df.head())

License

MIT License

Downloads last month
39