Update README.md
Browse files
README.md
CHANGED
@@ -31,7 +31,16 @@ Feed an LLM raw html to identify products from an ecommerce platform.\
|
|
31 |
These datasets contain the extracted innerTexts of all HTML nodes from different ecommerce product pages.\
|
32 |
The cleaning process significantly reduces the token size from ex: 450k -> 6k
|
33 |
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
```js
|
37 |
const allowedTags = sanitizeHtml.defaults.allowedTags;
|
|
|
31 |
These datasets contain the extracted innerTexts of all HTML nodes from different ecommerce product pages.\
|
32 |
The cleaning process significantly reduces the token size from ex: 450k -> 6k
|
33 |
|
34 |
+
## Quickstart
|
35 |
+
|
36 |
+
```py
|
37 |
+
from datasets import load_dataset
|
38 |
+
|
39 |
+
data_train = load_dataset("timashan/amazon-scrape-4-llm", "phones")
|
40 |
+
data_test = load_dataset("timashan/amazon-scrape-4-llm", "laptops")
|
41 |
+
```
|
42 |
+
|
43 |
+
### JS snippet used for cleansing
|
44 |
|
45 |
```js
|
46 |
const allowedTags = sanitizeHtml.defaults.allowedTags;
|