etrop commited on
Commit
0d4bbc0
1 Parent(s): f0ff2ca

fix: config.task.type

Browse files
Files changed (1) hide show
  1. 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"),