ChenglongMa commited on
Commit
8a51d9d
1 Parent(s): e45ae53

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -105
README.md CHANGED
@@ -3,147 +3,94 @@ license: gpl-3.0
3
  language:
4
  - en
5
  tags:
6
- - recommender systems
7
  - reviews
8
- - user behavior
 
 
9
  pretty_name: Amazon Reviews 2023 All-Category k-Core
10
  size_categories:
11
  - 100M<n<1B
12
  ---
13
- # Dataset Card for Dataset Name
14
 
15
- <!-- Provide a quick summary of the dataset. -->
16
 
17
- This dataset card aims to be a base template for new datasets. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/datasetcard_template.md?plain=1).
18
 
19
- ## Dataset Details
20
-
21
- ### Dataset Description
22
-
23
- <!-- Provide a longer summary of what this dataset is. -->
24
-
25
-
26
-
27
- - **Curated by:** [More Information Needed]
28
- - **Funded by [optional]:** [More Information Needed]
29
- - **Shared by [optional]:** [More Information Needed]
30
- - **Language(s) (NLP):** [More Information Needed]
31
- - **License:** [More Information Needed]
32
-
33
- ### Dataset Sources [optional]
34
-
35
- <!-- Provide the basic links for the dataset. -->
36
-
37
- - **Repository:** [More Information Needed]
38
- - **Paper [optional]:** [More Information Needed]
39
- - **Demo [optional]:** [More Information Needed]
40
-
41
- ## Uses
42
-
43
- <!-- Address questions around how the dataset is intended to be used. -->
44
-
45
- ### Direct Use
46
-
47
- <!-- This section describes suitable use cases for the dataset. -->
48
-
49
- [More Information Needed]
50
-
51
- ### Out-of-Scope Use
52
-
53
- <!-- This section addresses misuse, malicious use, and uses that the dataset will not work well for. -->
54
-
55
- [More Information Needed]
56
-
57
- ## Dataset Structure
58
-
59
- <!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
60
 
61
- [More Information Needed]
62
 
63
- ## Dataset Creation
64
 
65
- ### Curation Rationale
66
-
67
- <!-- Motivation for the creation of this dataset. -->
68
-
69
- [More Information Needed]
70
-
71
- ### Source Data
72
-
73
- <!-- This section describes the source data (e.g. news text and headlines, social media posts, translated sentences, ...). -->
74
-
75
- #### Data Collection and Processing
76
-
77
- <!-- This section describes the data collection and processing process such as data selection criteria, filtering and normalization methods, tools and libraries used, etc. -->
78
-
79
- [More Information Needed]
80
-
81
- #### Who are the source data producers?
82
-
83
- <!-- This section describes the people or systems who originally created the data. It should also include self-reported demographic or identity information for the source data creators if this information is available. -->
84
-
85
- [More Information Needed]
86
-
87
- ### Annotations [optional]
88
-
89
- <!-- If the dataset contains annotations which are not part of the initial data collection, use this section to describe them. -->
90
-
91
- #### Annotation process
92
-
93
- <!-- This section describes the annotation process such as annotation tools used in the process, the amount of data annotated, annotation guidelines provided to the annotators, interannotator statistics, annotation validation, etc. -->
94
 
95
- [More Information Needed]
96
 
97
- #### Who are the annotators?
98
 
99
- <!-- This section describes the people or systems who created the annotations. -->
100
 
101
- [More Information Needed]
102
 
103
- #### Personal and Sensitive Information
104
 
105
- <!-- State whether the dataset contains data that might be considered personal, sensitive, or private (e.g., data that reveals addresses, uniquely identifiable names or aliases, racial or ethnic origins, sexual orientations, religious beliefs, political opinions, financial or health data, etc.). If efforts were made to anonymize the data, describe the anonymization process. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
- [More Information Needed]
108
 
109
- ## Bias, Risks, and Limitations
 
 
 
110
 
111
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
112
 
113
- [More Information Needed]
114
 
115
- ### Recommendations
 
 
116
 
117
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
118
 
119
- Users should be made aware of the risks, biases and limitations of the dataset. More information needed for further recommendations.
120
 
121
- ## Citation [optional]
122
 
123
  <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
124
 
125
- **BibTeX:**
126
 
127
- [More Information Needed]
128
 
129
- **APA:**
130
 
131
- [More Information Needed]
132
 
133
  ## Glossary [optional]
134
 
135
- <!-- If relevant, include terms and calculations in this section that can help readers understand the dataset or dataset card. -->
136
-
137
- [More Information Needed]
138
-
139
- ## More Information [optional]
140
-
141
- [More Information Needed]
142
 
143
- ## Dataset Card Authors [optional]
144
 
145
- [More Information Needed]
146
 
147
  ## Dataset Card Contact
148
 
149
- [More Information Needed]
 
3
  language:
4
  - en
5
  tags:
6
+ - recommendation
7
  - reviews
8
+ - ecommerce
9
+ - ratings
10
+ - user-behavior
11
  pretty_name: Amazon Reviews 2023 All-Category k-Core
12
  size_categories:
13
  - 100M<n<1B
14
  ---
15
+ # Dataset Card for `Amazon Reviews 2023 All-Category k-Core`
16
 
17
+ * These datasets are subsets of [Amazon reviews dataset](https://amazon-reviews-2023.github.io/), collected in 2023 by [McAuley Lab](https://cseweb.ucsd.edu/~jmcauley/).
18
 
19
+ * It contains **all categories** of the reviews from the original dataset that have more than $k \in [5, 20]$ interactions.
20
 
21
+ * The original dataset contains reviews in the period of May. 1996 to Sep. 2023.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
 
23
+ * The reviews are grouped into 25 categories.
24
 
25
+ * The dataset is in `.parquet` format.
26
 
27
+ ## Dataset Details
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
+ ### Dataset Description
30
 
31
+ The dataset contains reviews from Amazon, and it is a subset of the original dataset. The dataset is in `.parquet` format.
32
 
33
+ Please refer to the [Dataset Creation and Processing](#dataset-creation-and-processing) section for more details about the dataset.
34
 
35
+ ### Dataset Structure
36
 
37
+ The repository is structured as follows:
38
 
39
+ ```
40
+ amazon-2023-all-category-k-core/
41
+ |- 5-core/
42
+ |- 5-core.parquet # 5-core ratings of all categories, 3.16GB
43
+ |- 20-core/
44
+ |- category/
45
+ |- Arts_Crafts_and_Sewing/
46
+ |- ratings.parquet # ratings of Arts, Crafts & Sewing
47
+ |- meta.parquet # meta data of items in Arts, Crafts & Sewing
48
+ |- reviews.parquet # reviews of items in Arts, Crafts & Sewing
49
+ |- ... # other categories
50
+ |- 20-core.parquet # 20-core ratings of all categories, 1.1GB
51
+ |- item_map.jsonl.gz # item map, format: [{item_index:int, parent_asin:str}], 7.97MB
52
+ |- user_map.jsonl.gz # user map, format: [{user_index:int, user_id:str}], 29.4MB
53
+ ```
54
 
55
+ ## Dataset Creation and Processing
56
 
57
+ 1. Merge the `ratings` from all categories of [Amazon reviews 2023 dataset](https://amazon-reviews-2023.github.io/)
58
+ 2. Filter out the `ratings` that have less than $k$ interactions, where $k \in [5, 20]$.
59
+ 3. Filter out the `meta` data and `reviews` of items that are not in the filtered `ratings`.
60
+ 4. Save the datasets in `.parquet` format.
61
 
62
+ ## Dataset Sources
63
 
64
+ The original dataset is available at [Amazon reviews dataset](https://amazon-reviews-2023.github.io/).
65
 
66
+ <!-- - **Repository:** [More Information Needed] -->
67
+ <!-- - **Paper [optional]:** [More Information Needed] -->
68
+ <!-- - **Demo [optional]:** [More Information Needed] -->
69
 
70
+ ## Uses
71
 
72
+ This dataset can be used for recommendation systems, sentiment analysis, and other NLP tasks.
73
 
74
+ <!-- ## Citation [optional] -->
75
 
76
  <!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
77
 
78
+ <!-- **BibTeX:** -->
79
 
80
+ <!-- [More Information Needed] -->
81
 
82
+ <!-- **APA:** -->
83
 
84
+ <!-- [More Information Needed] -->
85
 
86
  ## Glossary [optional]
87
 
88
+ The glossary of the dataset is available at [Amazon Reviews#Data Fields](https://amazon-reviews-2023.github.io/#data-fields).
 
 
 
 
 
 
89
 
90
+ ## Dataset Card Authors
91
 
92
+ Chenglong Ma
93
 
94
  ## Dataset Card Contact
95
 
96
+ https://huggingface.co/ChenglongMa