crystina-z
commited on
Commit
•
5ef81e6
1
Parent(s):
a279e75
Update mmarco-dev.py
Browse files- mmarco-dev.py +1 -2
mmarco-dev.py
CHANGED
@@ -117,7 +117,6 @@ class MMarcoDev(datasets.GeneratorBasedBuilder):
|
|
117 |
datasets.SplitGenerator(
|
118 |
name="dev",
|
119 |
gen_kwargs={
|
120 |
-
"files": dl_path["train"],
|
121 |
"args": {
|
122 |
"queries": dl_path["queries"],
|
123 |
},
|
@@ -125,7 +124,7 @@ class MMarcoDev(datasets.GeneratorBasedBuilder):
|
|
125 |
)
|
126 |
]
|
127 |
|
128 |
-
def _generate_examples(self,
|
129 |
"""Yields examples."""
|
130 |
|
131 |
lang = self.config.name
|
|
|
117 |
datasets.SplitGenerator(
|
118 |
name="dev",
|
119 |
gen_kwargs={
|
|
|
120 |
"args": {
|
121 |
"queries": dl_path["queries"],
|
122 |
},
|
|
|
124 |
)
|
125 |
]
|
126 |
|
127 |
+
def _generate_examples(self, args=None):
|
128 |
"""Yields examples."""
|
129 |
|
130 |
lang = self.config.name
|