spacemanidol
commited on
Commit
·
378c3f9
1
Parent(s):
d7e9ec5
files
Browse files- ESCI-product-dataset-corpus-jp.py +7 -6
- collection.jsonl.gz +3 -0
- dev-strict.qrels +0 -0
- dev.qrels +0 -0
- metrics-strict.txt +14 -0
- metrics.txt +14 -0
- ranking.trec.gz +3 -0
- ranking.tsv.gz +3 -0
ESCI-product-dataset-corpus-jp.py
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
# limitations under the License.
|
15 |
|
16 |
# Lint as: python3
|
17 |
-
"""Improving Product Search dataset
|
18 |
|
19 |
import json
|
20 |
|
@@ -31,26 +31,27 @@ and Arnab Biswas and Anlu Xing and Karthik Subbian},
|
|
31 |
}
|
32 |
"""
|
33 |
|
34 |
-
_DESCRIPTION = "dataset load script for Improve Product Search
|
35 |
|
36 |
_DATASET_URLS = {
|
37 |
-
'train':
|
|
|
38 |
}
|
39 |
|
40 |
|
41 |
-
class
|
42 |
VERSION = datasets.Version("0.0.1")
|
43 |
|
44 |
BUILDER_CONFIGS = [
|
45 |
datasets.BuilderConfig(version=VERSION,
|
46 |
-
description="Product Search
|
47 |
]
|
48 |
def _info(self):
|
49 |
features = datasets.Features(
|
50 |
{'docid': datasets.Value('string'), 'text': datasets.Value('string'),
|
51 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
52 |
'brand': datasets.Value('string'), 'color': datasets.Value('string'),
|
53 |
-
'locale': datasets.Value('string')
|
54 |
},
|
55 |
)
|
56 |
return datasets.DatasetInfo(
|
|
|
14 |
# limitations under the License.
|
15 |
|
16 |
# Lint as: python3
|
17 |
+
"""Improving Product Search dataset ."""
|
18 |
|
19 |
import json
|
20 |
|
|
|
31 |
}
|
32 |
"""
|
33 |
|
34 |
+
_DESCRIPTION = "dataset load script for Improve Product Search Dataset"
|
35 |
|
36 |
_DATASET_URLS = {
|
37 |
+
'train':
|
38 |
+
"https://huggingface.co/datasets/spacemanidol/ESCI-product-dataset-corpus-jp/resolve/main/collection.jsonl.gz"
|
39 |
}
|
40 |
|
41 |
|
42 |
+
class ProductSearchCorpus(datasets.GeneratorBasedBuilder):
|
43 |
VERSION = datasets.Version("0.0.1")
|
44 |
|
45 |
BUILDER_CONFIGS = [
|
46 |
datasets.BuilderConfig(version=VERSION,
|
47 |
+
description="Product Search Dataset 100-word splits"),
|
48 |
]
|
49 |
def _info(self):
|
50 |
features = datasets.Features(
|
51 |
{'docid': datasets.Value('string'), 'text': datasets.Value('string'),
|
52 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
53 |
'brand': datasets.Value('string'), 'color': datasets.Value('string'),
|
54 |
+
'locale': datasets.Value('string'), 'contents': datasets.value('string')
|
55 |
},
|
56 |
)
|
57 |
return datasets.DatasetInfo(
|
collection.jsonl.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:143f1310b30bc5e3d657b7bf460b454d0b99149ea3da4a319d5b587b1f2ec985
|
3 |
+
size 141163394
|
dev-strict.qrels
ADDED
The diff for this file is too large to render.
See raw diff
|
|
dev.qrels
ADDED
The diff for this file is too large to render.
See raw diff
|
|
metrics-strict.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
P@10 0.0155
|
2 |
+
P(rel=2)@5 0.0000
|
3 |
+
nDCG@15 0.0261
|
4 |
+
Judged@10 0.0115
|
5 |
+
NumQ 1263.0000
|
6 |
+
NumRel 9845.0000
|
7 |
+
NumRet 1081882.0000
|
8 |
+
NumRet(rel=1) 3593.0000
|
9 |
+
R@100 0.0787
|
10 |
+
R@20 0.0403
|
11 |
+
R@40 0.0513
|
12 |
+
R@200 0.1201
|
13 |
+
RR@10 0.0168
|
14 |
+
RR@20 0.0181
|
metrics.txt
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
P@10 0.0202
|
2 |
+
P(rel=2)@5 0.0159
|
3 |
+
nDCG@15 0.0264
|
4 |
+
Judged@10 0.0150
|
5 |
+
NumQ 1359.0000
|
6 |
+
NumRel 17473.0000
|
7 |
+
NumRet 1154656.0000
|
8 |
+
NumRet(rel=1) 5871.0000
|
9 |
+
R@100 0.0761
|
10 |
+
R@20 0.0341
|
11 |
+
R@40 0.0462
|
12 |
+
R@200 0.1178
|
13 |
+
RR@10 0.0192
|
14 |
+
RR@20 0.0205
|
ranking.trec.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b28561f0f95f139788361f8cdf02af9ab46442e2866890bc8988c101bd71a0fc
|
3 |
+
size 174508718
|
ranking.tsv.gz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:805969d1af79fa84e57c5eef6ddf3c50241c4c8d7405b7cae3892096afe61c98
|
3 |
+
size 382683280
|