Upload 2 files
Browse files- initial/README.md +84 -0
- initial/combined_corpus.jsonl.gz +3 -0
initial/README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Initial Product Corpus
|
2 |
+
|
3 |
+
(Initial because somethings may change in the future)
|
4 |
+
|
5 |
+
This dataset contains a **combined and deduplicated product metadata corpus**, created by merging two sources:
|
6 |
+
|
7 |
+
- [**Amazon ESCI Dataset**](https://github.com/amazon-science/esci-data)
|
8 |
+
- [**Amazon M2 Dataset**](https://arxiv.org/pdf/2307.09688)
|
9 |
+
|
10 |
+
The merged dataset contains product records that match a corresponding entry in the [Amazon Reviews 2023](https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023) dataset (based on product ID). While **review data is not included**, users can externally enrich each product using this linkage.
|
11 |
+
|
12 |
+
---
|
13 |
+
|
14 |
+
## 📦 Dataset Format
|
15 |
+
|
16 |
+
- Format: **JSON Lines (`.jsonl.gz`)**
|
17 |
+
- Each line is a single product record as a JSON object.
|
18 |
+
- Missing values are represented as `null`.
|
19 |
+
|
20 |
+
---
|
21 |
+
|
22 |
+
## 🧾 Column Descriptions
|
23 |
+
|
24 |
+
| Column | Description |
|
25 |
+
|-----------------------|---------------------------------------------------------------|
|
26 |
+
| `id` | Unique product identifier (e.g., ASIN) |
|
27 |
+
| `locale` | Region or language variant (e.g., `us`, `uk`) |
|
28 |
+
| `title` | Product title |
|
29 |
+
| `desc` | Full product description |
|
30 |
+
| `price` | Product price in float format (if available) |
|
31 |
+
| `brand` | Brand name |
|
32 |
+
| `color` | Color of the product |
|
33 |
+
| `size` | Product size (especially for apparel) |
|
34 |
+
| `model` | Model name or number |
|
35 |
+
| `material` | Product material (e.g., cotton, metal) |
|
36 |
+
| `author` | Author name (for books, music, etc.) |
|
37 |
+
| `product_bullet_point`| Marketing bullet points from the listing |
|
38 |
+
|
39 |
+
---
|
40 |
+
|
41 |
+
## 📊 Schema & Sparsity
|
42 |
+
|
43 |
+
| Column | Non-Null Count | Non-Null % | Type |
|
44 |
+
|-----------------------|----------------|------------|----------|
|
45 |
+
| id | 518,970 | 100.0% | string |
|
46 |
+
| locale | 518,970 | 100.0% | string |
|
47 |
+
| title | 518,970 | 100.0% | string |
|
48 |
+
| desc | 291,278 | 56.1% | string |
|
49 |
+
| price | 47,374 | 9.1% | float |
|
50 |
+
| brand | 480,665 | 92.6% | string |
|
51 |
+
| color | 272,382 | 52.5% | string |
|
52 |
+
| size | 22,340 | 4.3% | string |
|
53 |
+
| model | 28,629 | 5.5% | string |
|
54 |
+
| material | 21,845 | 4.2% | string |
|
55 |
+
| author | 8,569 | 1.7% | string |
|
56 |
+
| product_bullet_point | 376,224 | 72.5% | string |
|
57 |
+
|
58 |
+
---
|
59 |
+
|
60 |
+
## 🧪 Example Record
|
61 |
+
|
62 |
+
```json
|
63 |
+
{
|
64 |
+
"id": "B08K2S1VJ6",
|
65 |
+
"locale": "us",
|
66 |
+
"title": "Wireless Bluetooth Earbuds",
|
67 |
+
"desc": "Experience high-fidelity sound with our latest Bluetooth 5.0 earbuds...",
|
68 |
+
"price": 29.99,
|
69 |
+
"brand": "SoundMax",
|
70 |
+
"color": "Black",
|
71 |
+
"size": null,
|
72 |
+
"model": "SM-BT2021",
|
73 |
+
"material": "Plastic",
|
74 |
+
"author": null,
|
75 |
+
"product_bullet_point": "Noise cancellation; Long battery life; Compact design"
|
76 |
+
}
|
77 |
+
````
|
78 |
+
|
79 |
+
---
|
80 |
+
|
81 |
+
## 📁 File Contents
|
82 |
+
|
83 |
+
* `data.jsonl.gz`: The complete corpus (519k records)
|
84 |
+
* `README.md`: This documentation file
|
initial/combined_corpus.jsonl.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31b96c8c81979846cc71b833ab224fe5f8a2644975d729c8f1c4d4651177a68b
|
3 |
+
size 193594009
|