init
Browse files
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={"
|
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
|