randomath commited on
Commit
cc4b05d
·
1 Parent(s): e6062fe

added json and updated README.md

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +68 -0
  3. combined.json +3 -0
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.json filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -121,3 +121,71 @@ configs:
121
  - split: train
122
  path: data/train-*
123
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  - split: train
122
  path: data/train-*
123
  ---
124
+
125
+ # Amazon Combined Dataset
126
+
127
+ ## Data Fields
128
+
129
+ | Field | Type | Explanation |
130
+ | ----- | ---- | ----------- |
131
+ | main_category | str | Main category (i.e., domain) of the product. |
132
+ | title | str | Name of the product. |
133
+ | average_rating | float | Rating of the product shown on the product page. |
134
+ | rating_number | int | Number of ratings in the product. |
135
+ | features | list | Bullet-point format features of the product. |
136
+ | description | list | Description of the product. |
137
+ | price | float | Price in US dollars (at time of crawling). |
138
+ | images | list | Images of the product. Each image has different sizes (thumb, large, hi_res). The “variant” field shows the position of image. |
139
+ | videos | list | Videos of the product including title and url. |
140
+ | store | str | Store name of the product. |
141
+ | categories | list | Hierarchical categories of the product. |
142
+ | details | dict | Product details, including materials, brand, sizes, etc. |
143
+ | asin | str | ID of the product. |
144
+ | parent_asin | str | Parent ID of the product (should be same as ASIN) |
145
+ | bought_together | list | Recommended bundles from the websites. |
146
+ | reviews | list[Review] | List of User Reviews, see below. |
147
+ | qa_pairs | list[str, list[Answers]] | List with question text and list of Answers, see below. |
148
+
149
+ ### For User Reviews
150
+
151
+ | Field | Type | Explanation |
152
+ | ----- | ---- | ----------- |
153
+ | rating | float | Rating of the product (from 1.0 to 5.0). |
154
+ | title | str | Title of the user review. |
155
+ | text | str | Text body of the user review. |
156
+ | 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. |
157
+ | asin | str | ID of the product. |
158
+ | 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> |
159
+ | user_id | str | ID of the reviewer |
160
+ | timestamp | int | Time of the review (unix time) |
161
+ | verified_purchase | bool | User purchase verification |
162
+ | helpful_vote | int | Helpful votes of the review |
163
+
164
+ ### For Answers
165
+
166
+ | Field | Type | Explanation |
167
+ | ----- | ---- | ----------- |
168
+ | answer | str | manually written natural-sounding answer if label >= 1 |
169
+ | candidate | str | Text used to justify answer |
170
+ | label | int | 2 means fully answering, 1 means helpful but not fully answering, 0 means irrelevant |
171
+
172
+ ## Datasets Used
173
+
174
+ [Amazon Reviews 2023](https://huggingface.co/datasets/McAuley-Lab/Amazon-Reviews-2023)
175
+ ```
176
+ @article{hou2024bridging,
177
+ title={Bridging Language and Items for Retrieval and Recommendation},
178
+ author={Hou, Yupeng and Li, Jiacheng and He, Zhankui and Yan, An and Chen, Xiusi and McAuley, Julian},
179
+ journal={arXiv preprint arXiv:2403.03952},
180
+ year={2024}
181
+ }
182
+ ```
183
+ [ePQA](https://github.com/amazon-science/contextual-product-qa)
184
+ ```
185
+ @article{shen2023xpqa,
186
+ title={xPQA: Cross-Lingual Product Question Answering across 12 Languages},
187
+ author={Shen, Xiaoyu and Asai, Akari and Byrne, Bill and de Gispert, Adri{\`a}},
188
+ journal={arXiv preprint arXiv:2305.09249},
189
+ year={2023}
190
+ }
191
+ ```
combined.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8b9279a83d0239878cadbfd5963575094a28837b25beae2c8d49b6f9d0af544
3
+ size 39322791