Datasets:
saattrupdan
commited on
Commit
•
b9aa21d
1
Parent(s):
8b691ae
chore: Rename dataset files
Browse files- .gitattributes +6 -0
- data/{da.jsonl → da/da.jsonl} +0 -0
- data/{fo.jsonl → fo/fo.jsonl} +0 -0
- data/{is.jsonl → is/is.jsonl} +0 -0
- data/{nb.jsonl → nb/nb.jsonl} +0 -0
- data/{nn.jsonl → nn/nn.jsonl} +0 -0
- data/{sv.jsonl → sv/sv.jsonl} +0 -0
- scandi_wiki.py +6 -7
.gitattributes
CHANGED
@@ -4,3 +4,9 @@ data/da.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
4 |
data/fo.jsonl filter=lfs diff=lfs merge=lfs -text
|
5 |
data/is.jsonl filter=lfs diff=lfs merge=lfs -text
|
6 |
data/nb.jsonl filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
data/fo.jsonl filter=lfs diff=lfs merge=lfs -text
|
5 |
data/is.jsonl filter=lfs diff=lfs merge=lfs -text
|
6 |
data/nb.jsonl filter=lfs diff=lfs merge=lfs -text
|
7 |
+
data/is/is.jsonl filter=lfs diff=lfs merge=lfs -text
|
8 |
+
data/nb/nb.jsonl filter=lfs diff=lfs merge=lfs -text
|
9 |
+
data/nn/nn.jsonl filter=lfs diff=lfs merge=lfs -text
|
10 |
+
data/sv/sv.jsonl filter=lfs diff=lfs merge=lfs -text
|
11 |
+
data/da/da.jsonl filter=lfs diff=lfs merge=lfs -text
|
12 |
+
data/fo/fo.jsonl filter=lfs diff=lfs merge=lfs -text
|
data/{da.jsonl → da/da.jsonl}
RENAMED
File without changes
|
data/{fo.jsonl → fo/fo.jsonl}
RENAMED
File without changes
|
data/{is.jsonl → is/is.jsonl}
RENAMED
File without changes
|
data/{nb.jsonl → nb/nb.jsonl}
RENAMED
File without changes
|
data/{nn.jsonl → nn/nn.jsonl}
RENAMED
File without changes
|
data/{sv.jsonl → sv/sv.jsonl}
RENAMED
File without changes
|
scandi_wiki.py
CHANGED
@@ -18,7 +18,6 @@ import json
|
|
18 |
from pathlib import Path
|
19 |
from typing import List
|
20 |
|
21 |
-
import datasets
|
22 |
from datasets import Version
|
23 |
from datasets.builder import BuilderConfig, GeneratorBasedBuilder
|
24 |
from datasets.download import DownloadManager
|
@@ -34,12 +33,12 @@ Norwegian Nynorsk, Swedish, Icelandic and Faroese Wikipedia corpora, as of Janua
|
|
34 |
|
35 |
_LICENSE = "CC BY-SA 4.0"
|
36 |
_URLS = {
|
37 |
-
"da": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/da.jsonl",
|
38 |
-
"sv": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/sv.jsonl",
|
39 |
-
"nb": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/nb.jsonl",
|
40 |
-
"nn": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/nn.jsonl",
|
41 |
-
"is": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/is.jsonl",
|
42 |
-
"fo": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/fo.jsonl",
|
43 |
}
|
44 |
|
45 |
# _CITATION = """
|
|
|
18 |
from pathlib import Path
|
19 |
from typing import List
|
20 |
|
|
|
21 |
from datasets import Version
|
22 |
from datasets.builder import BuilderConfig, GeneratorBasedBuilder
|
23 |
from datasets.download import DownloadManager
|
|
|
33 |
|
34 |
_LICENSE = "CC BY-SA 4.0"
|
35 |
_URLS = {
|
36 |
+
"da": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/da/da.jsonl",
|
37 |
+
"sv": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/sv/sv.jsonl",
|
38 |
+
"nb": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/nb/nb.jsonl",
|
39 |
+
"nn": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/nn/nn.jsonl",
|
40 |
+
"is": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/is/is.jsonl",
|
41 |
+
"fo": "https://huggingface.co/datasets/alexandrainst/scandi-wiki/resolve/main/data/fo/fo.jsonl",
|
42 |
}
|
43 |
|
44 |
# _CITATION = """
|