Datasets:

DOI:
License:
etrop commited on
Commit
d26c2d7
1 Parent(s): f6b2bd2
Files changed (1) hide show
  1. agro-nt-tasks.py +8 -7
agro-nt-tasks.py CHANGED
@@ -35,12 +35,12 @@ predicting regulatory features, RNA processing sites, and gene expression values
35
  # TODO: Add the licence for the dataset here if you can find it
36
  _LICENSE = ""
37
 
38
- _TASK_NAMES = ['poly_a,arabidopsis_thaliana',
39
- 'lncrna,oryza_sativa_indica_group',]
40
- # 'poly_a_trifolium_pratense',
41
- # 'poly_a_medicago_truncatula',
42
- # 'poly_a_chlamydomonas_reinhardtii',
43
- # 'poly_a_oryza_sativa_japonica_group']
44
 
45
 
46
  _TASK_NAME_TO_TYPE = {'poly_a':'binary',
@@ -62,7 +62,8 @@ class AgroNtTasksConfig(datasets.BuilderConfig):
62
  name=f"{task_name}",
63
  **kwargs,
64
  )
65
- self.task, self.name = task_name.split(",")
 
66
  self.task_type = _TASK_NAME_TO_TYPE[self.task]
67
 
68
 
 
35
  # TODO: Add the licence for the dataset here if you can find it
36
  _LICENSE = ""
37
 
38
+ _TASK_NAMES = ['poly_a_arabidopsis_thaliana',
39
+ 'poly_a_oryza_sativa_indica_group',
40
+ 'poly_a_trifolium_pratense',
41
+ 'poly_a_medicago_truncatula',
42
+ 'poly_a_chlamydomonas_reinhardtii',
43
+ 'poly_a_oryza_sativa_japonica_group']
44
 
45
 
46
  _TASK_NAME_TO_TYPE = {'poly_a':'binary',
 
62
  name=f"{task_name}",
63
  **kwargs,
64
  )
65
+ self.task= "_".join(task_name.split("_")[:2])
66
+ self.name = "_".join(task_name.split("_")[2:])
67
  self.task_type = _TASK_NAME_TO_TYPE[self.task]
68
 
69