spacemanidol
commited on
Commit
•
098cadd
1
Parent(s):
6f689b3
Update summary-enhanced-msmarco-passage.py
Browse files
summary-enhanced-msmarco-passage.py
CHANGED
@@ -36,9 +36,8 @@ _CITATION = """
|
|
36 |
_DESCRIPTION = "dataset load script for MSMARCO Passage"
|
37 |
|
38 |
_DATASET_URLS = {
|
39 |
-
'train': "https://huggingface.co/datasets/
|
40 |
-
|
41 |
-
'dev': "https://huggingface.co/datasets/Tevatron/msmarco-passage/resolve/main/dev.jsonl.gz",
|
42 |
}
|
43 |
|
44 |
|
@@ -55,10 +54,10 @@ class MsMarcoPassage(datasets.GeneratorBasedBuilder):
|
|
55 |
'query_id': datasets.Value('string'),
|
56 |
'query': datasets.Value('string'),
|
57 |
'positive_passages': [
|
58 |
-
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string')}
|
59 |
],
|
60 |
'negative_passages': [
|
61 |
-
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string')}
|
62 |
],
|
63 |
})
|
64 |
return datasets.DatasetInfo(
|
|
|
36 |
_DESCRIPTION = "dataset load script for MSMARCO Passage"
|
37 |
|
38 |
_DATASET_URLS = {
|
39 |
+
'train': "https://huggingface.co/datasets/spacemanidol/summary-enhanced-msmarco-passage/resolve/main/train.jsonl",
|
40 |
+
'dev': "https://huggingface.co/datasets/spacemanidol/summary-enhanced-msmarco-passage/resolve/main/dev.jsonl",
|
|
|
41 |
}
|
42 |
|
43 |
|
|
|
54 |
'query_id': datasets.Value('string'),
|
55 |
'query': datasets.Value('string'),
|
56 |
'positive_passages': [
|
57 |
+
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string'), 'summary': datasets.Value('string')}
|
58 |
],
|
59 |
'negative_passages': [
|
60 |
+
{'docid': datasets.Value('string'), 'title': datasets.Value('string'), 'text': datasets.Value('string'), 'summary': datasets.Value('string')}
|
61 |
],
|
62 |
})
|
63 |
return datasets.DatasetInfo(
|