Datasets:
[update]add product
Browse files- data/product.jsonl +2 -2
- e_commerce_customer_service.py +2 -2
- examples/range_spider.py +1 -1
data/product.jsonl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31e7bfbd60771745620624b6636cc66decf863747d01593ea11979574e773fd3
|
3 |
+
size 3152583
|
e_commerce_customer_service.py
CHANGED
@@ -15,7 +15,7 @@ _URLS = {
|
|
15 |
|
16 |
|
17 |
_CITATION = """\
|
18 |
-
@dataset{
|
19 |
author = {Xing Tian},
|
20 |
title = {e_commerce_customer_service},
|
21 |
month = aug,
|
@@ -26,7 +26,7 @@ _CITATION = """\
|
|
26 |
"""
|
27 |
|
28 |
|
29 |
-
class
|
30 |
VERSION = datasets.Version("1.0.0")
|
31 |
|
32 |
BUILDER_CONFIGS = [
|
|
|
15 |
|
16 |
|
17 |
_CITATION = """\
|
18 |
+
@dataset{e_commerce_customer_service,
|
19 |
author = {Xing Tian},
|
20 |
title = {e_commerce_customer_service},
|
21 |
month = aug,
|
|
|
26 |
"""
|
27 |
|
28 |
|
29 |
+
class ECommerceCustomerService(datasets.GeneratorBasedBuilder):
|
30 |
VERSION = datasets.Version("1.0.0")
|
31 |
|
32 |
BUILDER_CONFIGS = [
|
examples/range_spider.py
CHANGED
@@ -143,7 +143,7 @@ with open(output_file, "r", encoding="utf-8") as f:
|
|
143 |
print("finished count: {}".format(len(finished_mpn)))
|
144 |
|
145 |
sleep_time = 1
|
146 |
-
for mpn in tqdm(range(
|
147 |
# mpn = random.randint(9000000, 9999999)
|
148 |
if mpn in finished_mpn:
|
149 |
continue
|
|
|
143 |
print("finished count: {}".format(len(finished_mpn)))
|
144 |
|
145 |
sleep_time = 1
|
146 |
+
for mpn in tqdm(range(9197857, 9999999)):
|
147 |
# mpn = random.randint(9000000, 9999999)
|
148 |
if mpn in finished_mpn:
|
149 |
continue
|