amazon-reviews / README.md
ulyatkch's picture
Upload README.md with huggingface_hub
bca513e verified
metadata
license: mit
task_categories:
  - text-classification
tags:
  - text-classification
  - sentiment-analysis
  - amazon
  - reviews
  - nlp
  - data-centric-ai

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