File size: 741 Bytes
bca513e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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

```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