spacemanidol
commited on
Commit
•
4c945d4
1
Parent(s):
86c0104
Update dset-corpus.py
Browse files- dset-corpus.py +2 -6
dset-corpus.py
CHANGED
@@ -27,11 +27,7 @@ _CITATION = """
|
|
27 |
_DESCRIPTION = "dataset load script for Corpus"
|
28 |
|
29 |
_DATASET_URLS = {
|
30 |
-
'train': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-
|
31 |
-
# 'm': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-m.jsonl.gz",
|
32 |
-
#'l': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-l.jsonl.gz",
|
33 |
-
#'xl': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-xl.jsonl.gz",
|
34 |
-
#'xxl': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-xxl.jsonl.gz",
|
35 |
}
|
36 |
|
37 |
|
@@ -44,7 +40,7 @@ class MsMarcoPassageCorpus(datasets.GeneratorBasedBuilder):
|
|
44 |
|
45 |
def _info(self):
|
46 |
features = datasets.Features(
|
47 |
-
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string')}
|
48 |
)
|
49 |
|
50 |
return datasets.DatasetInfo(
|
|
|
27 |
_DESCRIPTION = "dataset load script for Corpus"
|
28 |
|
29 |
_DATASET_URLS = {
|
30 |
+
'train': "https://huggingface.co/datasets/spacemanidol/dset-corpus/resolve/main/corpus-l.jsonl.gz",
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
|
|
|
40 |
|
41 |
def _info(self):
|
42 |
features = datasets.Features(
|
43 |
+
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string'), 'url': datasets.Value('string')}
|
44 |
)
|
45 |
|
46 |
return datasets.DatasetInfo(
|