TIMΛƧHΛN commited on
Commit
563b3ab
1 Parent(s): e2d3060

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - text-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - amazon
9
+ - products
10
+ - binary
11
+ - text
12
+ pretty_name: Amazon Scrape 4 llm
13
+ size_categories:
14
+ - 1K<n<10K
15
+ ---
16
+
17
+ # Amazon Scrape 4 llm
18
+
19
+ ## Purpose?
20
+
21
+ Feed an LLM raw html to identify products from an ecommerce platform.\
22
+ These datasets contain the extracted innerTexts of all HTML nodes from different ecommerce product pages.\
23
+ The cleaning process significantly reduces the token size from ex: 450k -> 6k
24
+
25
+ ### JS snippet
26
+
27
+ ```js
28
+ const allowedTags = sanitizeHtml.defaults.allowedTags;
29
+ allowedTags.splice(allowedTags.indexOf("a"), 1);
30
+ convert(sanitizeHtml(document.body.innerHTML, { allowedTags }));
31
+ ```