CoolFace
Datasetpublic

Cleanlab/amazon-reviews

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"… See the full description on the dataset page: https://huggingface.co/datasets/Cleanlab/amazon-reviews.

sourceHugging Facemitupdated 8mo agoView on Hugging Face
1likes117downloads
Dataset Card

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

python
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