asahi417 commited on
Commit
9c2a531
1 Parent(s): ca8db30

Update tweet_sentiment_multilingual.py

Browse files
Files changed (1) hide show
  1. tweet_sentiment_multilingual.py +1 -1
tweet_sentiment_multilingual.py CHANGED
@@ -63,7 +63,7 @@ class TweetSentimentMultilingual(datasets.GeneratorBasedBuilder):
63
 
64
  def _split_generators(self, dl_manager):
65
  downloaded_file = dl_manager.download_and_extract(_URLS[self.config.name])
66
- return [datasets.SplitGenerator(name=i, gen_kwargs={"filepath": downloaded_file[str(i)]})
67
  for i in [datasets.Split.TRAIN, datasets.Split.VALIDATION, datasets.Split.TEST]]
68
 
69
  def _generate_examples(self, filepaths):
 
63
 
64
  def _split_generators(self, dl_manager):
65
  downloaded_file = dl_manager.download_and_extract(_URLS[self.config.name])
66
+ return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[str(i)]})
67
  for i in [datasets.Split.TRAIN, datasets.Split.VALIDATION, datasets.Split.TEST]]
68
 
69
  def _generate_examples(self, filepaths):