Theoreticallyhugo commited on
Commit
41abf31
·
1 Parent(s): 06477d1

setting to generate no split, so that it can do after loading the initial ds

Browse files
Files changed (1) hide show
  1. Stab-Gurevych-Essays.py +1 -1
Stab-Gurevych-Essays.py CHANGED
@@ -277,7 +277,7 @@ class NewDataset(datasets.GeneratorBasedBuilder):
277
 
278
  # this dataset will return a "train" split only, allowing for
279
  # 5-fold cross-validation
280
- train, test, validate = self.__range_generator(0.7, 0.2)
281
  # essays = self._get_essay_list()
282
 
283
  if len(validate) > 0 and len(test) > 0:
 
277
 
278
  # this dataset will return a "train" split only, allowing for
279
  # 5-fold cross-validation
280
+ train, test, validate = self.__range_generator(1, 0)
281
  # essays = self._get_essay_list()
282
 
283
  if len(validate) > 0 and len(test) > 0: