asahi417 commited on
Commit
a15cd17
·
1 Parent(s): d8000dc
Files changed (1) hide show
  1. tweet_topic_multilingual.py +1 -1
tweet_topic_multilingual.py CHANGED
@@ -48,7 +48,7 @@ class TweetTopicMultilingual(datasets.GeneratorBasedBuilder):
48
  def _split_generators(self, dl_manager):
49
  downloaded_file = dl_manager.download_and_extract(_URL[self.config.name])
50
  splits = _URL[self.config.name]
51
- return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[i]}) for i in splits]
52
 
53
  def _generate_examples(self, filepath):
54
  _key = 0
 
48
  def _split_generators(self, dl_manager):
49
  downloaded_file = dl_manager.download_and_extract(_URL[self.config.name])
50
  splits = _URL[self.config.name]
51
+ return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[i]}) for i in splits]
52
 
53
  def _generate_examples(self, filepath):
54
  _key = 0