hyp1231 commited on
Commit
c67224f
1 Parent(s): 74003f7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +236 -1
README.md CHANGED
@@ -6,4 +6,239 @@ tags:
6
  - reviews
7
  size_categories:
8
  - 10B<n<100B
9
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  - reviews
7
  size_categories:
8
  - 10B<n<100B
9
+ ---
10
+
11
+ # Amazon Reviews 2023
12
+
13
+ **Please also visit [amazon-reviews-2023.github.io/](https://amazon-reviews-2023.github.io/) for more details, loading scripts, and preprocessed benchmark files.**
14
+
15
+ ---
16
+
17
+ <!-- Provide a quick summary of the dataset. -->
18
+
19
+ This is a large-scale **Amazon Reviews** dataset, collected in **2023** by [McAuley Lab](https://cseweb.ucsd.edu/~jmcauley/), and it includes rich features such as:
20
+ 1. **User Reviews** (*ratings*, *text*, *helpfulness votes*, etc.);
21
+ 2. **Item Metadata** (*descriptions*, *price*, *raw image*, etc.);
22
+ 3. **Links** (*user-item* / *bought together* graphs).
23
+
24
+ ## What's New?
25
+
26
+ In the Amazon Reviews'23, we provide:
27
+
28
+ 1. **Larger Dataset:** We collected 571.54M reviews, 245.2% larger than the last version;
29
+ 2. **Newer Interactions:** Current interactions range from May. 1996 to Sep. 2023;
30
+ 3. **Richer Metadata:** More descriptive features in item metadata;
31
+ 4. **Fine-grained Timestamp:** Interaction timestamp at the second or finer level;
32
+ 5. **Cleaner Processing:** Cleaner item metadata than previous versions;
33
+ 6. **Standard Splitting:** Standard data splits to encourage RecSys benchmarking.
34
+
35
+ ## Basic Statistics
36
+
37
+ > We define the <b>#R_Tokens</b> as the number of [tokens](https://pypi.org/project/tiktoken/) in user reviews and <b>#M_Tokens</b> as the number of [tokens](https://pypi.org/project/tiktoken/) if treating the dictionaries of item attributes as strings. We emphasize them as important statistics in the era of LLMs.
38
+
39
+ > We count the number of items based on user reviews rather than item metadata files. Note that some items lack metadata.
40
+
41
+ ### Compared to Previous Versions
42
+
43
+ | Year | #Review | #User | #Item | #R_Token | #M_Token | #Domain | Timespan |
44
+ | ----------- | ---------: | -------: | -------: | ---------: | ------------: | ------------: | ------------: |
45
+ | [2013](https://snap.stanford.edu/data/web-Amazon-links.html) | 34.69M | 6.64M | 2.44M | 5.91B | -- | 28 | Jun'96 - Mar'13 |
46
+ | [2014](https://cseweb.ucsd.edu/~jmcauley/datasets/amazon/links.html) | 82.83M | 21.13M | 9.86M | 9.16B | 4.14B | 24 | May'96 - Jul'14 |
47
+ | [2018](https://cseweb.ucsd.edu/~jmcauley/datasets/amazon_v2/) | 233.10M | 43.53M | 15.17M | 15.73B | 7.99B | 29 | May'96 - Oct'18 |
48
+ | <b>[2023](https://)</b> | **571.54M** | **54.51M** | **48.19M** | **30.14B** | **30.78B** | **33** | **May'96 - Sep'23** |
49
+
50
+
51
+ ### Grouped by Category
52
+
53
+ | Category | #User | #Item | #Rating | #R_Token | #M_Token | Download |
54
+ | ------------------------ | ------: | ------: | --------: | -------: | -------: | ------------------------------: |
55
+ | All_Beauty | 632.0K | 112.6K | 701.5K | 31.6M | 74.1M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/All_Beauty.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_All_Beauty.jsonl.gz' download> meta </a> |
56
+ | Amazon_Fashion | 2.0M | 825.9K | 2.5M | 94.9M | 510.5M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Amazon_Fashion.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Amazon_Fashion.jsonl.gz' download> meta </a> |
57
+ | Appliances | 1.8M | 94.3K | 2.1M | 92.8M | 95.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Appliances.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Appliances.jsonl.gz' download> meta </a> |
58
+ | Arts_Crafts_and_Sewing | 4.6M | 801.3K | 9.0M | 350.0M | 695.4M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Arts_Crafts_and_Sewing.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Arts_Crafts_and_Sewing.jsonl.gz' download> meta </a> |
59
+ | Automotive | 8.0M | 2.0M | 20.0M | 824.9M | 1.7B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Automotive.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Automotive.jsonl.gz' download> meta </a> |
60
+ | Baby_Products | 3.4M | 217.7K | 6.0M | 323.3M | 218.6M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Baby_Products.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Baby_Products.jsonl.gz' download> meta </a> |
61
+ | Beauty_and_Personal_Care | 11.3M | 1.0M | 23.9M | 1.1B | 913.7M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Beauty_and_Personal_Care.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Beauty_and_Personal_Care.jsonl.gz' download> meta </a> |
62
+ | Books | 10.3M | 4.4M | 29.5M | 2.9B | 3.7B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Books.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Books.jsonl.gz' download> meta </a> |
63
+ | CDs_and_Vinyl | 1.8M | 701.7K | 4.8M | 514.8M | 287.5M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/CDs_and_Vinyl.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_CDs_and_Vinyl.jsonl.gz' download> meta </a> |
64
+ | Cell_Phones_and_Accessories | 11.6M | 1.3M | 20.8M | 935.4M | 1.3B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Cell_Phones_and_Accessories.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Cell_Phones_and_Accessories.jsonl.gz' download> meta </a> |
65
+ | Clothing_Shoes_and_Jewelry | 22.6M | 7.2M | 66.0M | 2.6B | 5.9B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Clothing_Shoes_and_Jewelry.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Clothing_Shoes_and_Jewelry.jsonl.gz' download> meta </a> |
66
+ | Digital_Music | 101.0K | 70.5K | 130.4K | 11.4M | 22.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Digital_Music.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Digital_Music.jsonl.gz' download> meta </a> |
67
+ | Electronics | 18.3M | 1.6M | 43.9M | 2.7B | 1.7B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Electronics.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Electronics.jsonl.gz' download> meta </a> |
68
+ | Gift_Cards | 132.7K | 1.1K | 152.4K | 3.6M | 630.0K | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Gift_Cards.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Gift_Cards.jsonl.gz' download> meta </a> |
69
+ | Grocery_and_Gourmet_Food | 7.0M | 603.2K | 14.3M | 579.5M | 462.8M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Grocery_and_Gourmet_Food.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Grocery_and_Gourmet_Food.jsonl.gz' download> meta </a> |
70
+ | Handmade_Products | 586.6K | 164.7K | 664.2K | 23.3M | 125.8M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Handmade_Products.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Handmade_Products.jsonl.gz' download> meta </a> |
71
+ | Health_and_Household | 12.5M | 797.4K | 25.6M | 1.2B | 787.2M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Health_and_Household.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Health_and_Household.jsonl.gz' download> meta </a> |
72
+ | Health_and_Personal_Care | 461.7K | 60.3K | 494.1K | 23.9M | 40.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Health_and_Personal_Care.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Health_and_Personal_Care.jsonl.gz' download> meta </a> |
73
+ | Home_and_Kitchen | 23.2M | 3.7M | 67.4M | 3.1B | 3.8B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Home_and_Kitchen.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Home_and_Kitchen.jsonl.gz' download> meta </a> |
74
+ | Industrial_and_Scientific | 3.4M | 427.5K | 5.2M | 235.2M | 363.1M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Industrial_and_Scientific.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Industrial_and_Scientific.jsonl.gz' download> meta </a> |
75
+ | Kindle_Store | 5.6M | 1.6M | 25.6M | 2.2B | 1.7B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Kindle_Store.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Kindle_Store.jsonl.gz' download> meta </a> |
76
+ | Magazine_Subscriptions | 60.1K | 3.4K | 71.5K | 3.8M | 1.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Magazine_Subscriptions.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Magazine_Subscriptions.jsonl.gz' download> meta </a> |
77
+ | Movies_and_TV | 6.5M | 747.8K | 17.3M | 1.0B | 415.5M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Movies_and_TV.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Movies_and_TV.jsonl.gz' download> meta </a> |
78
+ | Musical_Instruments | 1.8M | 213.6K | 3.0M | 182.2M | 200.1M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Musical_Instruments.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Musical_Instruments.jsonl.gz' download> meta </a> |
79
+ | Office_Products | 7.6M | 710.4K | 12.8M | 574.7M | 682.8M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Office_Products.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Office_Products.jsonl.gz' download> meta </a> |
80
+ | Patio_Lawn_and_Garden | 8.6M | 851.7K | 16.5M | 781.3M | 875.1M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Patio_Lawn_and_Garden.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Patio_Lawn_and_Garden.jsonl.gz' download> meta </a> |
81
+ | Pet_Supplies | 7.8M | 492.7K | 16.8M | 905.9M | 511.0M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Pet_Supplies.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Pet_Supplies.jsonl.gz' download> meta </a> |
82
+ | Software | 2.6M | 89.2K | 4.9M | 179.4M | 67.1M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Software.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Software.jsonl.gz' download> meta </a> |
83
+ | Sports_and_Outdoors | 10.3M | 1.6M | 19.6M | 986.2M | 1.3B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Sports_and_Outdoors.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Sports_and_Outdoors.jsonl.gz' download> meta </a> |
84
+ | Subscription_Boxes | 15.2K | 641 | 16.2K | 1.0M | 447.0K | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Subscription_Boxes.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Subscription_Boxes.jsonl.gz' download> meta </a> |
85
+ | Tools_and_Home_Improvement | 12.2M | 1.5M | 27.0M | 1.3B | 1.5B | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Tools_and_Home_Improvement.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Tools_and_Home_Improvement.jsonl.gz' download> meta </a> |
86
+ | Toys_and_Games | 8.1M | 890.7K | 16.3M | 707.9M | 848.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Toys_and_Games.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Toys_and_Games.jsonl.gz' download> meta </a> |
87
+ | Video_Games | 2.8M | 137.2K | 4.6M | 347.9M | 137.3M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Video_Games.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Video_Games.jsonl.gz' download> meta </a> |
88
+ | Unknown | 23.1M | 13.2M | 63.8M | 3.3B | 232.8M | <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/review_categories/Unknown.jsonl.gz' download> review</a>, <a href='https://datarepo.eng.ucsd.edu/mcauley_group/data/amazon_2023/raw/meta_categories/meta_Unknown.jsonl.gz' download> meta </a> |
89
+
90
+
91
+ > Check Pure ID files and corresponding data splitting strategies in <b>[Common Data Processing](data_processing/index)</b> section.
92
+
93
+ ## Quick Start
94
+
95
+ ### Load User Reviews
96
+
97
+
98
+ ```
99
+ import json
100
+
101
+ file = # e.g., "All_Beauty.jsonl", downloaded from the `review` link above
102
+ with open(file, 'r') as fp:
103
+ for line in fp:
104
+ print(json.loads(line.strip()))
105
+ ```
106
+
107
+ ```text
108
+ ......
109
+ {
110
+ "sortTimestamp": 1634275259292,
111
+ "rating": 3.0,
112
+ "helpfulVotes": 0,
113
+ "title": "Meh",
114
+ "text": "These were lightweight and soft but much too small for my liking. I would have preferred two of these together to make one loc. For that reason I will not be repurchasing.",
115
+ "images": [
116
+ {
117
+ "smallImageUrl": "https://m.media-amazon.com/images/I/81FN4c0VHzL._SL256_.jpg",
118
+ "mediumImageUrl": "https://m.media-amazon.com/images/I/81FN4c0VHzL._SL800_.jpg",
119
+ "largeImageUrl": "https://m.media-amazon.com/images/I/81FN4c0VHzL._SL1600_.jpg",
120
+ "attachmentType": "IMAGE"
121
+ }
122
+ ],
123
+ "asin": "B088SZDGXG",
124
+ "verifiedPurchase": true,
125
+ "parent_asin": "B08BBQ29N5",
126
+ "user_id": "AEYORY2AVPMCPDV57CE337YU5LXA"
127
+ }
128
+ ......
129
+ ```
130
+
131
+ ### Load Item Metadata
132
+
133
+ ```
134
+ import json
135
+
136
+ file = # e.g., "meta_All_Beauty.jsonl", downloaded from the `meta` link above
137
+ with open(file, 'r') as fp:
138
+ for line in fp:
139
+ print(json.loads(line.strip()))
140
+ ```
141
+
142
+ ```text
143
+ ......
144
+ {
145
+ "main_category": "All Beauty",
146
+ "title": "Lurrose 100Pcs Full Cover Fake Toenails Artificial Transparent Nail Tips Nail Art for DIY",
147
+ "average_rating": 3.7,
148
+ "rating_number": 35,
149
+ "features": [
150
+ "The false toenails are durable with perfect length. You have the option to wear them long or clip them short, easy to trim and file them to in any length and shape you like.",
151
+ "ABS is kind of green enviromental material, and makes the nails durable, breathable, light even no pressure on your own nails.",
152
+ "Fit well to your natural toenails. Non toxic, no smell, no harm to your health.",
153
+ "Wonderful as gift for girlfriend, family and friends.",
154
+ "The easiest and most efficient way to do your toenail tips for manicures or nail art designs. It's fashion, creative, a useful accessory brighten up your look, also as a gift."
155
+ ],
156
+ "description": [
157
+ "Description",
158
+ "The false toenails are durable with perfect length. You have the option to wear them long or clip them short, easy to trim and file them to in any length and shape you like. Plus, ABS is kind of green enviromental material, and makes the nails durable, breathable, light even no pressure on your own toenails. Fit well to your natural toenails. Non toxic, no smell, no harm to your health.",
159
+ "Feature",
160
+ "- Color: As Shown.- Material: ABS.- Size: 14.3 x 7.2 x 1cm.",
161
+ "Package Including",
162
+ "100 x Pieces fake toenails"
163
+ ],
164
+ "price": 6.99,
165
+ "images": [
166
+ {
167
+ "hiRes": "https://m.media-amazon.com/images/I/41a1Sj7Q20L._SL1005_.jpg",
168
+ "thumb": "https://m.media-amazon.com/images/I/31dlCd7tHSL._SS40_.jpg",
169
+ "large": "https://m.media-amazon.com/images/I/31dlCd7tHSL.jpg",
170
+ "variant": "MAIN"
171
+ },
172
+ {
173
+ "hiRes": "https://m.media-amazon.com/images/I/510BWq7O95L._SL1005_.jpg",
174
+ "thumb": "https://m.media-amazon.com/images/I/31sLajrdHOL._SS40_.jpg",
175
+ "large": "https://m.media-amazon.com/images/I/31sLajrdHOL.jpg",
176
+ "variant": "PT01"
177
+ },
178
+ ......
179
+ ],
180
+ "videos": [],
181
+ "boughtTogether": null,
182
+ "store": "Lurrose",
183
+ "categories": [],
184
+ "details": {
185
+ "Color": "As Shown",
186
+ "Size": "Large",
187
+ "Material": "Acrylonitrile Butadiene Styrene (ABS)",
188
+ "Brand": "Lurrose",
189
+ "Style": "French",
190
+ "Product Dimensions": "5.63 x 2.83 x 0.39 inches; 1.9 Ounces",
191
+ "UPC": "799768026253",
192
+ "Manufacturer": "Lurrose"
193
+ },
194
+ "parent_asin": "B07G9GWFSM"
195
+ }
196
+ ......
197
+ ```
198
+
199
+ ```{seealso}
200
+ Check data loading examples and Huggingface datasets APIs in <b>[Common Data Loading](data_loading/index)</b> section.
201
+ ```
202
+
203
+
204
+ ## Data Fields
205
+
206
+ ### For User Reviews
207
+
208
+ | Field | Type | Explanation |
209
+ | ----- | ---- | ----------- |
210
+ | rating | float | Rating of the product (from 1.0 to 5.0). |
211
+ | title | str | Title of the user review. |
212
+ | text | str | Text body of the user review. |
213
+ | images | list | Images that users post after they have received the product. Each image has different sizes (small, medium, large), represented by the small_image_url, medium_image_url, and large_image_url respectively. |
214
+ | asin | str | ID of the product. |
215
+ | parent_asin | str | Parent ID of the product. Note: Products with different colors, styles, sizes usually belong to the same parent ID. The “asin” in previous Amazon datasets is actually parent ID. <b>Please use parent ID to find product meta.</b> |
216
+ | user_id | str | ID of the reviewer |
217
+ | timestamp | int | Time of the review (unix time) |
218
+ | verified_purchase | bool | User purchase verification |
219
+ | helpful_vote | int | Helpful votes of the review |
220
+
221
+ ### For Item Metadata
222
+
223
+ | Field | Type | Explanation |
224
+ | ----- | ---- | ----------- |
225
+ | main_category | str | Main category (i.e., domain) of the product. |
226
+ | title | str | Name of the product. |
227
+ | average_rating | float | Rating of the product shown on the product page. |
228
+ | rating_number | int | Number of ratings in the product. |
229
+ | features | list | Bullet-point format features of the product. |
230
+ | description | list | Description of the product. |
231
+ | price | float | Price in US dollars (at time of crawling). |
232
+ | images | list | Images of the product. Each image has different sizes (thumb, large, hi_res). The “variant” field shows the position of image. |
233
+ | videos | list | Videos of the product including title and url. |
234
+ | store | str | Store name of the product. |
235
+ | categories | list | Hierarchical categories of the product. |
236
+ | details | dict | Product details, including materials, brand, sizes, etc. |
237
+ | parent_asin | str | Parent ID of the product. |
238
+ | bought_together | list | Recommended bundles from the websites. |
239
+
240
+ ## Contact Us
241
+
242
+ - **Report Bugs**: To report bugs in the dataset, please file an issue on our [GitHub](https://github.com/hyp1231/AmazonReviews2023/issues/new).
243
+
244
+ - **Others**: For research collaborations or other questions, please email **yphou AT ucsd.edu**.