Fixed dataset file name
Browse files- phantom-wiki-v050.py +1 -1
phantom-wiki-v050.py
CHANGED
@@ -60,7 +60,7 @@ for depth in [20]:
|
|
60 |
for filename, config in [("articles.json", "text-corpus"), ("questions.json", "question-answer"), ("facts.pl", "database")]:
|
61 |
_URLS[config] = {}
|
62 |
for split in SPLITS:
|
63 |
-
_URLS[config][split] = f"https://huggingface.co/datasets/mlcore/phantom-wiki/resolve/main/{split}/{filename}"
|
64 |
|
65 |
class PhantomWiki(datasets.GeneratorBasedBuilder):
|
66 |
"""PhantomWiki v0.5"""
|
|
|
60 |
for filename, config in [("articles.json", "text-corpus"), ("questions.json", "question-answer"), ("facts.pl", "database")]:
|
61 |
_URLS[config] = {}
|
62 |
for split in SPLITS:
|
63 |
+
_URLS[config][split] = f"https://huggingface.co/datasets/mlcore/phantom-wiki-v050/resolve/main/{split}/{filename}"
|
64 |
|
65 |
class PhantomWiki(datasets.GeneratorBasedBuilder):
|
66 |
"""PhantomWiki v0.5"""
|