Felix
commited on
Commit
•
0ffaa3c
1
Parent(s):
29729e2
add swedn
Browse files- data/swedn/swedn_dev.jsonl +3 -0
- data/swedn/swedn_test.jsonl +3 -0
- data/swedn/swedn_train.jsonl +3 -0
- superlim-2.py +6 -1
data/swedn/swedn_dev.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0a8ac817d8f7bb3e59ff008680cbb02ff4f7218f6a915e3c36fae0df01332e3e
|
3 |
+
size 20418447
|
data/swedn/swedn_test.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fb1420cf291cb695c5b12db36b99f366bed2574e5e0670b982ab520e327af11
|
3 |
+
size 23361494
|
data/swedn/swedn_train.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7e291c4b7629e9b1fbab8cf8bd5d2517d83e76a2297e303b176cf2f8009d299
|
3 |
+
size 100456191
|
superlim-2.py
CHANGED
@@ -57,6 +57,10 @@ Färdig preliminär översättning av SuperGLUE diagnostik. Datan innehåller al
|
|
57 |
med deras svenska översättningar."""
|
58 |
_SweDiag_CITATION = """\
|
59 |
"""
|
|
|
|
|
|
|
|
|
60 |
_SweFaq_DESCRIPTION = """\
|
61 |
Vanliga frågor från svenska myndigheters webbsidor med svar i randomiserad ordning"""
|
62 |
_SweFaq_CITATION = """\
|
@@ -120,6 +124,7 @@ _TASKS = {
|
|
120 |
"swepar": "sweparaphrase",
|
121 |
"swesat": "swesat-synonyms",
|
122 |
"swewic": "swewic",
|
|
|
123 |
"swefracas": "swefracas",
|
124 |
"swediagnostics": "swediagnostics"
|
125 |
}
|
@@ -168,6 +173,7 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
168 |
datasets.BuilderConfig(name="swefaq", version=VERSION, description=_SweFaq_DESCRIPTION),
|
169 |
datasets.BuilderConfig(name="swepar", version=VERSION, description=_SwePar_DESCRIPTION),
|
170 |
datasets.BuilderConfig(name="swesat", version=VERSION, description=_SweSat_DESCRIPTION),
|
|
|
171 |
datasets.BuilderConfig(name="swewic", version=VERSION, description=_SweWic_DESCRIPTION),
|
172 |
datasets.BuilderConfig(name="argumentation_sent", version=VERSION, description=_argumentation_sentences_DESCRIPTION),
|
173 |
datasets.BuilderConfig(name="swefracas", version=VERSION, description=_SweFracas_DESCRIPTION),
|
@@ -288,7 +294,6 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
288 |
'label':datasets.Value("string")
|
289 |
}
|
290 |
)
|
291 |
-
|
292 |
elif self.config.name == 'swedn':
|
293 |
features = datasets.Features(
|
294 |
{
|
|
|
57 |
med deras svenska översättningar."""
|
58 |
_SweDiag_CITATION = """\
|
59 |
"""
|
60 |
+
_SweDN_DESCRIPTION = """\
|
61 |
+
AbstractThe SWE-DN corpus is based on 1,963,576 news articles from the Swedish newspaper Dagens Nyheter (DN) during the years 2000--2020. The articles are filtered to resemble the CNN/DailyMail dataset both regarding textual structure"""
|
62 |
+
_SweDiag_CITATION = """\
|
63 |
+
"""
|
64 |
_SweFaq_DESCRIPTION = """\
|
65 |
Vanliga frågor från svenska myndigheters webbsidor med svar i randomiserad ordning"""
|
66 |
_SweFaq_CITATION = """\
|
|
|
124 |
"swepar": "sweparaphrase",
|
125 |
"swesat": "swesat-synonyms",
|
126 |
"swewic": "swewic",
|
127 |
+
"swedn": "swedn",
|
128 |
"swefracas": "swefracas",
|
129 |
"swediagnostics": "swediagnostics"
|
130 |
}
|
|
|
173 |
datasets.BuilderConfig(name="swefaq", version=VERSION, description=_SweFaq_DESCRIPTION),
|
174 |
datasets.BuilderConfig(name="swepar", version=VERSION, description=_SwePar_DESCRIPTION),
|
175 |
datasets.BuilderConfig(name="swesat", version=VERSION, description=_SweSat_DESCRIPTION),
|
176 |
+
datasets.BuilderConfig(name="swedn", version=VERSION, description=_SweDN_DESCRIPTION),
|
177 |
datasets.BuilderConfig(name="swewic", version=VERSION, description=_SweWic_DESCRIPTION),
|
178 |
datasets.BuilderConfig(name="argumentation_sent", version=VERSION, description=_argumentation_sentences_DESCRIPTION),
|
179 |
datasets.BuilderConfig(name="swefracas", version=VERSION, description=_SweFracas_DESCRIPTION),
|
|
|
294 |
'label':datasets.Value("string")
|
295 |
}
|
296 |
)
|
|
|
297 |
elif self.config.name == 'swedn':
|
298 |
features = datasets.Features(
|
299 |
{
|