Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -53,27 +53,10 @@ meta </a> |
|
|
53 |
```python
|
54 |
from datasets import load_dataset
|
55 |
|
56 |
-
dataset = load_dataset("cogsci13/Amazon-Reviews-2023-Books", "raw_review_Books", trust_remote_code=True)
|
57 |
print(dataset["full"][0])
|
58 |
```
|
59 |
```json
|
60 |
-
{'rating': 5.0,
|
61 |
-
'title': 'Such a lovely scent but not overpowering.',
|
62 |
-
'text': "This spray is really nice. It smells really good, goes on really fine, and does the trick. I will say it feels like you need a lot of it though to get the texture I want. I have a lot of hair, medium thickness. I am comparing to other brands with yucky chemicals so I'm gonna stick with this. Try it!",
|
63 |
-
'images': [],
|
64 |
-
'asin': 'B00YQ6X8EO',
|
65 |
-
'parent_asin': 'B00YQ6X8EO',
|
66 |
-
'user_id': 'AGKHLEW2SOWHNMFQIJGBECAF7INQ',
|
67 |
-
'timestamp': 1588687728923,
|
68 |
-
'helpful_vote': 0,
|
69 |
-
'verified_purchase': True}
|
70 |
-
```
|
71 |
-
### Load Item Metadata
|
72 |
-
```python
|
73 |
-
dataset = load_dataset("cogsci13/Amazon-Reviews-2023-Books-Review", "raw_review_Books", split="full", trust_remote_code=True)
|
74 |
-
print(dataset[0])
|
75 |
-
```
|
76 |
-
```json
|
77 |
{'rating': {0: 1.0},
|
78 |
'title': {0: 'Not a watercolor book! Seems like copies imo.'},
|
79 |
'text': {0: 'It is definitely not a watercolor book. The paper bucked completely. The pages honestly appear to be photo copies of other pictures. I say that bc if you look at the seal pics you can see the tell tale line at the bottom of the page. As someone who has made many photocopies of pages in my time so I could try out different colors & mediums that black line is a dead giveaway to me. It’s on other pages too. The entire book just seems off. Nothing is sharp & clear. There is what looks like toner dust on all the pages making them look muddy. There are no sharp lines & there is no clear definition. At least there isn’t in my copy. And the Coloring Book for Adult on the bottom of the front cover annoys me. Why is it singular & not plural? They usually say coloring book for kids or coloring book for kids & adults or coloring book for adults- plural. Lol Plus it would work for kids if you can get over the grey scale nature of it. Personally I’m not going to waste expensive pens & paints trying to paint over the grey & black mess. I grew up in SW Florida minutes from the beaches & I was really excited about the sea life in this. I hope the printers & designers figure out how to clean up the mess bc some of the designs are really cute. They just aren’t worth my time to hand trace & transfer them, but I’m sure there are ppl that will be up to the challenge. This is one is a hard no. Going back. I tried.'},
|
@@ -101,6 +84,36 @@ print(dataset[0])
|
|
101 |
'helpful_vote': {0: 0},
|
102 |
'verified_purchase': {0: True}}
|
103 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
> Check data loading examples and Huggingface datasets APIs in <b>[Common Data Loading](https://amazon-reviews-2023.github.io/data_loading/index.html)</b> section.
|
105 |
## Data Fields
|
106 |
### For User Reviews
|
|
|
53 |
```python
|
54 |
from datasets import load_dataset
|
55 |
|
56 |
+
dataset = load_dataset("cogsci13/Amazon-Reviews-2023-Books-Review", "raw_review_Books", trust_remote_code=True)
|
57 |
print(dataset["full"][0])
|
58 |
```
|
59 |
```json
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
{'rating': {0: 1.0},
|
61 |
'title': {0: 'Not a watercolor book! Seems like copies imo.'},
|
62 |
'text': {0: 'It is definitely not a watercolor book. The paper bucked completely. The pages honestly appear to be photo copies of other pictures. I say that bc if you look at the seal pics you can see the tell tale line at the bottom of the page. As someone who has made many photocopies of pages in my time so I could try out different colors & mediums that black line is a dead giveaway to me. It’s on other pages too. The entire book just seems off. Nothing is sharp & clear. There is what looks like toner dust on all the pages making them look muddy. There are no sharp lines & there is no clear definition. At least there isn’t in my copy. And the Coloring Book for Adult on the bottom of the front cover annoys me. Why is it singular & not plural? They usually say coloring book for kids or coloring book for kids & adults or coloring book for adults- plural. Lol Plus it would work for kids if you can get over the grey scale nature of it. Personally I’m not going to waste expensive pens & paints trying to paint over the grey & black mess. I grew up in SW Florida minutes from the beaches & I was really excited about the sea life in this. I hope the printers & designers figure out how to clean up the mess bc some of the designs are really cute. They just aren’t worth my time to hand trace & transfer them, but I’m sure there are ppl that will be up to the challenge. This is one is a hard no. Going back. I tried.'},
|
|
|
84 |
'helpful_vote': {0: 0},
|
85 |
'verified_purchase': {0: True}}
|
86 |
```
|
87 |
+
### Load Item Metadata
|
88 |
+
```python
|
89 |
+
dataset = load_dataset("cogsci13/Amazon-Reviews-2023-Books-Meta", "raw_meta_Books", split="full", trust_remote_code=True)
|
90 |
+
print(dataset[0])
|
91 |
+
```
|
92 |
+
```json
|
93 |
+
{'main_category': {0: 'Books'},
|
94 |
+
'title': {0: 'Chaucer'},
|
95 |
+
'average_rating': {0: 4.5},
|
96 |
+
'rating_number': {0: 29},
|
97 |
+
'features': {0: array([], dtype=object)},
|
98 |
+
'description': {0: array([], dtype=object)},
|
99 |
+
'price': {0: '8.23'},
|
100 |
+
'images': {0: {'hi_res': array([None], dtype=object),
|
101 |
+
'large': array(['https://m.media-amazon.com/images/I/41X61VPJYKL._SX334_BO1,204,203,200_.jpg'],
|
102 |
+
dtype=object),
|
103 |
+
'thumb': array([None], dtype=object),
|
104 |
+
'variant': array(['MAIN'], dtype=object)}},
|
105 |
+
'videos': {0: {'title': array([], dtype=object),
|
106 |
+
'url': array([], dtype=object),
|
107 |
+
'user_id': array([], dtype=object)}},
|
108 |
+
'store': {0: 'Peter Ackroyd (Author)'},
|
109 |
+
'categories': {0: array(['Books', 'Literature & Fiction', 'History & Criticism'],
|
110 |
+
dtype=object)},
|
111 |
+
'details': {0: '{"Publisher": "Chatto & Windus; First Edition (January 1, 2004)", "Language": "English", "Hardcover": "196 pages", "ISBN 10": "0701169850", "ISBN 13": "978-0701169855", "Item Weight": "10.1 ounces", "Dimensions": "5.39 x 0.71 x 7.48 inches"}'},
|
112 |
+
'parent_asin': {0: '0701169850'},
|
113 |
+
'bought_together': {0: None},
|
114 |
+
'subtitle': {0: 'Hardcover – Import, January 1, 2004'},
|
115 |
+
'author': {0: "{'avatar': 'https://m.media-amazon.com/images/I/21Je2zja9pL._SY600_.jpg', 'name': 'Peter Ackroyd', 'about': ['Peter Ackroyd, (born 5 October 1949) is an English biographer, novelist and critic with a particular interest in the history and culture of London. For his novels about English history and culture and his biographies of, among others, William Blake, Charles Dickens, T. S. Eliot and Sir Thomas More, he won the Somerset Maugham Award and two Whitbread Awards. He is noted for the volume of work he has produced, the range of styles therein, his skill at assuming different voices and the depth of his research.', 'He was elected a fellow of the Royal Society of Literature in 1984 and appointed a Commander of the Order of the British Empire in 2003.', 'Bio from Wikipedia, the free encyclopedia.']}"}}
|
116 |
+
```
|
117 |
> Check data loading examples and Huggingface datasets APIs in <b>[Common Data Loading](https://amazon-reviews-2023.github.io/data_loading/index.html)</b> section.
|
118 |
## Data Fields
|
119 |
### For User Reviews
|