Datasets:
saattrupdan
commited on
Commit
•
14f4845
1
Parent(s):
6bb541a
chore: Comment out all configs except fo
Browse files- scandi_wiki.py +25 -26
scandi_wiki.py
CHANGED
@@ -51,31 +51,31 @@ class ScandiWiki(GeneratorBasedBuilder):
|
|
51 |
VERSION = Version("1.0.1")
|
52 |
|
53 |
BUILDER_CONFIGS = [
|
54 |
-
BuilderConfig(
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
),
|
59 |
-
BuilderConfig(
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
),
|
64 |
-
BuilderConfig(
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
),
|
69 |
-
BuilderConfig(
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
),
|
74 |
-
BuilderConfig(
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
),
|
79 |
BuilderConfig(
|
80 |
name="fo",
|
81 |
version=VERSION,
|
@@ -101,7 +101,6 @@ class ScandiWiki(GeneratorBasedBuilder):
|
|
101 |
)
|
102 |
|
103 |
def _split_generators(self, dl_manager: DownloadManager) -> List[SplitGenerator]:
|
104 |
-
print(f"Downloading {self.config.name}...")
|
105 |
url = f"{_BASE_URL}/{self.config.name}.jsonl"
|
106 |
downloaded_file = dl_manager.download_and_extract(url)
|
107 |
return [
|
|
|
51 |
VERSION = Version("1.0.1")
|
52 |
|
53 |
BUILDER_CONFIGS = [
|
54 |
+
#BuilderConfig(
|
55 |
+
# name="da",
|
56 |
+
# version=VERSION,
|
57 |
+
# description="The deduplicated Danish part of Wikipedia.",
|
58 |
+
#),
|
59 |
+
#BuilderConfig(
|
60 |
+
# name="sv",
|
61 |
+
# version=VERSION,
|
62 |
+
# description="The deduplicated Swedish part of Wikipedia.",
|
63 |
+
#),
|
64 |
+
#BuilderConfig(
|
65 |
+
# name="nb",
|
66 |
+
# version=VERSION,
|
67 |
+
# description="The deduplicated Norwegian Bokmål part of Wikipedia.",
|
68 |
+
#),
|
69 |
+
#BuilderConfig(
|
70 |
+
# name="nn",
|
71 |
+
# version=VERSION,
|
72 |
+
# description="The deduplicated Norwegian Nynorsk part of Wikipedia.",
|
73 |
+
#),
|
74 |
+
#BuilderConfig(
|
75 |
+
# name="is",
|
76 |
+
# version=VERSION,
|
77 |
+
# description="The deduplicated Icelandic part of Wikipedia.",
|
78 |
+
#),
|
79 |
BuilderConfig(
|
80 |
name="fo",
|
81 |
version=VERSION,
|
|
|
101 |
)
|
102 |
|
103 |
def _split_generators(self, dl_manager: DownloadManager) -> List[SplitGenerator]:
|
|
|
104 |
url = f"{_BASE_URL}/{self.config.name}.jsonl"
|
105 |
downloaded_file = dl_manager.download_and_extract(url)
|
106 |
return [
|