Update msmarco_passage.py
Browse files- msmarco_passage.py +2 -2
msmarco_passage.py
CHANGED
@@ -57,10 +57,10 @@ class MsMarcoPassage(datasets.GeneratorBasedBuilder):
|
|
57 |
'query_id': datasets.Value('string'),
|
58 |
'query': datasets.Value('string'),
|
59 |
'positive_passages': [
|
60 |
-
{'docid': datasets.Value('string'), '
|
61 |
],
|
62 |
'negative_passages': [
|
63 |
-
{'docid': datasets.Value('string'), '
|
64 |
],
|
65 |
})
|
66 |
return datasets.DatasetInfo(
|
|
|
57 |
'query_id': datasets.Value('string'),
|
58 |
'query': datasets.Value('string'),
|
59 |
'positive_passages': [
|
60 |
+
{'docid': datasets.Value('string'), 'text': datasets.Value('string')}
|
61 |
],
|
62 |
'negative_passages': [
|
63 |
+
{'docid': datasets.Value('string'), 'text': datasets.Value('string')}
|
64 |
],
|
65 |
})
|
66 |
return datasets.DatasetInfo(
|