fix: config.task.type
Browse files- agro-nt-tasks.py +1 -1
agro-nt-tasks.py
CHANGED
@@ -76,7 +76,7 @@ class AgroNtTasks(datasets.GeneratorBasedBuilder):
|
|
76 |
|
77 |
def _info(self):
|
78 |
|
79 |
-
if self.task_type == 'binary':
|
80 |
features = datasets.Features(
|
81 |
{
|
82 |
"sequence": datasets.Value("string"),
|
|
|
76 |
|
77 |
def _info(self):
|
78 |
|
79 |
+
if self.config.task_type == 'binary':
|
80 |
features = datasets.Features(
|
81 |
{
|
82 |
"sequence": datasets.Value("string"),
|