Commit
·
c8344ef
1
Parent(s):
92f7b22
Rmv unnec gen kwarg
Browse files- .DS_Store +0 -0
- xwinograd.py +6 -2
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
xwinograd.py
CHANGED
@@ -123,8 +123,12 @@ class XWinograd(datasets.GeneratorBasedBuilder):
|
|
123 |
|
124 |
def _split_generators(self, dl_manager):
|
125 |
downloaded_files = dl_manager.download_and_extract(_URL)
|
126 |
-
return [
|
127 |
-
|
|
|
|
|
|
|
|
|
128 |
|
129 |
def _generate_examples(self, filepath):
|
130 |
"""This function returns the examples in the raw (text) form."""
|
|
|
123 |
|
124 |
def _split_generators(self, dl_manager):
|
125 |
downloaded_files = dl_manager.download_and_extract(_URL)
|
126 |
+
return [
|
127 |
+
datasets.SplitGenerator(
|
128 |
+
name=datasets.Split.TEST,
|
129 |
+
gen_kwargs={'filepath': downloaded_files}
|
130 |
+
)
|
131 |
+
]
|
132 |
|
133 |
def _generate_examples(self, filepath):
|
134 |
"""This function returns the examples in the raw (text) form."""
|