Datasets:
Fix?
Browse files- multipl_e.py → MultiPL-E.py +2 -1
- data/dummy.json +0 -1
- dataset_infos.json +0 -0
multipl_e.py → MultiPL-E.py
RENAMED
@@ -84,6 +84,7 @@ class MultiPLE(datasets.GeneratorBasedBuilder):
|
|
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.name}.json"
|
89 |
)
|
@@ -100,4 +101,4 @@ class MultiPLE(datasets.GeneratorBasedBuilder):
|
|
100 |
with open(filepath, encoding="utf-8") as f:
|
101 |
data = json.load(f)
|
102 |
for id_, row in enumerate(data):
|
103 |
-
yield id_, row
|
|
|
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.name}.json"
|
90 |
)
|
|
|
101 |
with open(filepath, encoding="utf-8") as f:
|
102 |
data = json.load(f)
|
103 |
for id_, row in enumerate(data):
|
104 |
+
yield id_, row
|
data/dummy.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
[]
|
|
|
|
dataset_infos.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|