Datasets:

DOI:
License:
etrop commited on
Commit
aa1d5f7
1 Parent(s): b8433da
Files changed (1) hide show
  1. agro-nt-tasks.py +2 -3
agro-nt-tasks.py CHANGED
@@ -65,7 +65,6 @@ class AgroNtTasksConfig(datasets.BuilderConfig):
65
  super().__init__(
66
  *args,
67
  name=f"{task_name}",
68
- data_dir=self.task,
69
  **kwargs,
70
  )
71
 
@@ -110,9 +109,9 @@ class AgroNtTasks(datasets.GeneratorBasedBuilder):
110
  def _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:
111
 
112
  train_file = dl_manager.download_and_extract(
113
- os.path.join(self.config.task, self.config.name + "_train.fa"))
114
  test_file = dl_manager.download_and_extract(
115
- os.path.join(self.config.task, self.config.name + "_test.fa"))
116
 
117
  return [
118
  datasets.SplitGenerator(
 
65
  super().__init__(
66
  *args,
67
  name=f"{task_name}",
 
68
  **kwargs,
69
  )
70
 
 
109
  def _split_generators(self, dl_manager) -> List[datasets.SplitGenerator]:
110
 
111
  train_file = dl_manager.download_and_extract(
112
+ os.path.join('polyadenylation', self.config.name + "_train.fa"))
113
  test_file = dl_manager.download_and_extract(
114
+ os.path.join('polyadenylation', self.config.name + "_test.fa"))
115
 
116
  return [
117
  datasets.SplitGenerator(