Datasets:
Update tweet_sentiment_multilingual.py
Browse files
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={"
|
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):
|