Datasets:
cjvt
/

Modalities:
Tabular
Text
Languages:
Slovenian
Libraries:
Datasets
License:
matejklemen commited on
Commit
da14114
1 Parent(s): 1876b5c

Change the type of the split from TRAIN to ALL.

Browse files
Files changed (1) hide show
  1. sentinews.py +1 -1
sentinews.py CHANGED
@@ -76,7 +76,7 @@ class Sentinews(datasets.GeneratorBasedBuilder):
76
  def _split_generators(self, dl_manager):
77
  urls = _URLS[self.config.name]
78
  data_file = dl_manager.download_and_extract(urls)
79
- return [datasets.SplitGenerator(name=datasets.Split.TRAIN, gen_kwargs={"data_file": data_file})]
80
 
81
  def _generate_examples(self, data_file):
82
  _keys_to_return = ["nid", "content", "sentiment"]
 
76
  def _split_generators(self, dl_manager):
77
  urls = _URLS[self.config.name]
78
  data_file = dl_manager.download_and_extract(urls)
79
+ return [datasets.SplitGenerator(name=datasets.Split.ALL, gen_kwargs={"data_file": data_file})]
80
 
81
  def _generate_examples(self, data_file):
82
  _keys_to_return = ["nid", "content", "sentiment"]