Datasets:

DOI:
License:
etrop commited on
Commit
4344e5b
1 Parent(s): 28ad444

fix: kwarg split

Browse files
Files changed (1) hide show
  1. agro-nt-tasks.py +0 -2
agro-nt-tasks.py CHANGED
@@ -115,7 +115,6 @@ class AgroNtTasks(datasets.GeneratorBasedBuilder):
115
  # These kwargs will be passed to _generate_examples
116
  gen_kwargs={
117
  "filepath": train_file,
118
- "split": "train",
119
  },
120
  ),
121
  # datasets.SplitGenerator(
@@ -131,7 +130,6 @@ class AgroNtTasks(datasets.GeneratorBasedBuilder):
131
  # These kwargs will be passed to _generate_examples
132
  gen_kwargs={
133
  "filepath": test_file,
134
- "split": "test"
135
  },
136
  ),
137
  ]
 
115
  # These kwargs will be passed to _generate_examples
116
  gen_kwargs={
117
  "filepath": train_file,
 
118
  },
119
  ),
120
  # datasets.SplitGenerator(
 
130
  # These kwargs will be passed to _generate_examples
131
  gen_kwargs={
132
  "filepath": test_file,
 
133
  },
134
  ),
135
  ]