Update wnli.py
Browse files
wnli.py
CHANGED
@@ -46,6 +46,9 @@ class Winograd(datasets.GeneratorBasedBuilder):
|
|
46 |
description="Winograd dataset",
|
47 |
),
|
48 |
]
|
|
|
|
|
|
|
49 |
|
50 |
def _info(self):
|
51 |
return datasets.DatasetInfo(
|
|
|
46 |
description="Winograd dataset",
|
47 |
),
|
48 |
]
|
49 |
+
|
50 |
+
def __init__(self, **kwargs):
|
51 |
+
super(Winograd, self).__init__(**dict(kwargs, column_names = ['index','sentence1','sentence2','label']))
|
52 |
|
53 |
def _info(self):
|
54 |
return datasets.DatasetInfo(
|