Datasets:
Fix
Browse files- MultiPL-E.py +2 -3
- dataset_infos.json +0 -0
MultiPL-E.py
CHANGED
@@ -45,7 +45,7 @@ class MultiPLEBuilderConfig(datasets.BuilderConfig):
|
|
45 |
):
|
46 |
self.language = language
|
47 |
self.variation = variation
|
48 |
-
name = f"{language}-{variation}"
|
49 |
kwargs["name"] = name
|
50 |
super(MultiPLEBuilderConfig, self).__init__(**kwargs)
|
51 |
|
@@ -84,9 +84,8 @@ class MultiPLE(datasets.GeneratorBasedBuilder):
|
|
84 |
)
|
85 |
|
86 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
87 |
-
logger.warn("WTF")
|
88 |
files = dl_manager.download(
|
89 |
-
f"https://raw.githubusercontent.com/nuprl/MultiPL-E/375e903198713b7f5faa95a4047c6928cf7348f9/prompts/{self.config.
|
90 |
)
|
91 |
return [
|
92 |
datasets.SplitGenerator(
|
|
|
45 |
):
|
46 |
self.language = language
|
47 |
self.variation = variation
|
48 |
+
name = f"{language}-{variation}" if variation != "reworded" else language
|
49 |
kwargs["name"] = name
|
50 |
super(MultiPLEBuilderConfig, self).__init__(**kwargs)
|
51 |
|
|
|
84 |
)
|
85 |
|
86 |
def _split_generators(self, dl_manager: datasets.DownloadManager):
|
|
|
87 |
files = dl_manager.download(
|
88 |
+
f"https://raw.githubusercontent.com/nuprl/MultiPL-E/375e903198713b7f5faa95a4047c6928cf7348f9/prompts/{self.config.language}-{self.config.variation}.json"
|
89 |
)
|
90 |
return [
|
91 |
datasets.SplitGenerator(
|
dataset_infos.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|