Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,49 +1,94 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
-
|
| 15 |
-
dtype: float64
|
| 16 |
-
- name: rating_number
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: features
|
| 19 |
-
sequence: string
|
| 20 |
-
- name: categories
|
| 21 |
-
sequence: string
|
| 22 |
-
- name: store
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: images
|
| 25 |
-
struct:
|
| 26 |
-
- name: hi_res
|
| 27 |
-
sequence: string
|
| 28 |
-
- name: large
|
| 29 |
-
sequence: string
|
| 30 |
-
- name: thumb
|
| 31 |
-
sequence: string
|
| 32 |
-
- name: variant
|
| 33 |
-
sequence: string
|
| 34 |
-
- name: main_category
|
| 35 |
-
dtype: string
|
| 36 |
-
- name: category
|
| 37 |
-
dtype: string
|
| 38 |
-
splits:
|
| 39 |
-
- name: train
|
| 40 |
-
num_bytes: 8401058
|
| 41 |
-
num_examples: 2000
|
| 42 |
-
download_size: 4333339
|
| 43 |
-
dataset_size: 8401058
|
| 44 |
-
configs:
|
| 45 |
-
- config_name: default
|
| 46 |
-
data_files:
|
| 47 |
-
- split: train
|
| 48 |
-
path: data/train-*
|
| 49 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- feature-extraction
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- e-commerce
|
| 10 |
+
- products
|
| 11 |
+
- amazon
|
| 12 |
+
- recommendations
|
| 13 |
+
size_categories:
|
| 14 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
+
|
| 17 |
+
# Amazon Products Sample Dataset
|
| 18 |
+
|
| 19 |
+
A curated sample of 2,000 popular products from the Amazon Reviews 2023 dataset, designed for educational use in building RAG (Retrieval-Augmented Generation) systems and shopping agents.
|
| 20 |
+
|
| 21 |
+
## Dataset Description
|
| 22 |
+
|
| 23 |
+
This dataset contains product metadata across 4 categories:
|
| 24 |
+
- **Electronics** (500 products)
|
| 25 |
+
- **Video Games** (500 products)
|
| 26 |
+
- **Books** (500 products)
|
| 27 |
+
- **Home & Kitchen** (500 products)
|
| 28 |
+
|
| 29 |
+
Products were filtered to include only those with 500+ reviews, ensuring recognizable, well-documented items.
|
| 30 |
+
|
| 31 |
+
## Dataset Structure
|
| 32 |
+
|
| 33 |
+
Each product includes:
|
| 34 |
+
- `parent_asin`: Unique product identifier
|
| 35 |
+
- `title`: Product title
|
| 36 |
+
- `description`: Product description (list of strings)
|
| 37 |
+
- `price`: Listed price (string)
|
| 38 |
+
- `price_numeric`: Price as float
|
| 39 |
+
- `average_rating`: Average star rating (1-5)
|
| 40 |
+
- `rating_number`: Number of reviews
|
| 41 |
+
- `features`: Product features (list)
|
| 42 |
+
- `categories`: Category hierarchy (list)
|
| 43 |
+
- `category`: Simplified category label
|
| 44 |
+
- `store`: Store/brand name
|
| 45 |
+
- `images`: Product images (list of dicts)
|
| 46 |
+
- `main_category`: Original main category
|
| 47 |
+
|
| 48 |
+
## Usage
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
from datasets import load_dataset
|
| 52 |
+
|
| 53 |
+
dataset = load_dataset("gatech-scheller-ai-in-business/amazon-products")
|
| 54 |
+
df = dataset['train'].to_pandas()
|
| 55 |
+
|
| 56 |
+
# Filter by category
|
| 57 |
+
electronics = df[df['category'] == 'Electronics']
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
## Source & Citation
|
| 61 |
+
|
| 62 |
+
This dataset is derived from the **Amazon Reviews 2023** dataset compiled by the McAuley Lab at UC San Diego.
|
| 63 |
+
|
| 64 |
+
**Original Dataset**: [McAuley-Lab/Amazon-Reviews-2023](https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023)
|
| 65 |
+
|
| 66 |
+
**Project Page**: https://amazon-reviews-2023.github.io/
|
| 67 |
+
|
| 68 |
+
If you use this data, please cite the original work:
|
| 69 |
+
|
| 70 |
+
```bibtex
|
| 71 |
+
@article{hou2024bridging,
|
| 72 |
+
title={Bridging Language and Items for Retrieval and Recommendation},
|
| 73 |
+
author={Hou, Yupeng and Li, Jiacheng and He, Zhankui and Yan, An and Chen, Xiusi and McAuley, Julian},
|
| 74 |
+
journal={arXiv preprint arXiv:2403.03952},
|
| 75 |
+
year={2024}
|
| 76 |
+
}
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## License
|
| 80 |
+
|
| 81 |
+
This dataset follows the licensing terms of the original Amazon Reviews 2023 dataset. It is intended for research and educational purposes only.
|
| 82 |
+
|
| 83 |
+
## Intended Use
|
| 84 |
+
|
| 85 |
+
This dataset was created for the Georgia Tech Scheller College of Business course on AI in Business, specifically for assignments involving:
|
| 86 |
+
- Building RAG systems for product search
|
| 87 |
+
- Creating tool-using LLM agents
|
| 88 |
+
- E-commerce recommendation systems
|
| 89 |
+
|
| 90 |
+
## Limitations
|
| 91 |
+
|
| 92 |
+
- Products are filtered by review count (500+ reviews), which may introduce popularity bias
|
| 93 |
+
- Prices and availability may be outdated
|
| 94 |
+
- Not intended for production e-commerce applications
|