Update msmarco-passage-corpus.py
Browse files
msmarco-passage-corpus.py
CHANGED
@@ -82,7 +82,7 @@ class MsMarcoPassageCorpus(datasets.GeneratorBasedBuilder):
|
|
82 |
]
|
83 |
return splits
|
84 |
|
85 |
-
def _generate_examples(self,
|
86 |
"""Yields examples."""
|
87 |
for filepath in files:
|
88 |
with open(filepath, encoding="utf-8") as f:
|
|
|
82 |
]
|
83 |
return splits
|
84 |
|
85 |
+
def _generate_examples(self, files):
|
86 |
"""Yields examples."""
|
87 |
for filepath in files:
|
88 |
with open(filepath, encoding="utf-8") as f:
|