Add ul2 large en->nl model, update texts
Browse files- app.py +3 -9
- default_texts.py +5 -0
app.py
CHANGED
@@ -21,9 +21,9 @@ GENERATOR_LIST = [
|
|
21 |
"split_sentences": False,
|
22 |
},
|
23 |
{
|
24 |
-
"model_name": "yhavinga/
|
25 |
-
"desc": "
|
26 |
-
"task":
|
27 |
"split_sentences": False,
|
28 |
},
|
29 |
{
|
@@ -38,12 +38,6 @@ GENERATOR_LIST = [
|
|
38 |
"task": TRANSLATION_NL_TO_EN,
|
39 |
"split_sentences": True,
|
40 |
},
|
41 |
-
{
|
42 |
-
"model_name": "yhavinga/t5-small-24L-ccmatrix-multi",
|
43 |
-
"desc": "T5 small nl24 ccmatrix en->nl",
|
44 |
-
"task": TRANSLATION_EN_TO_NL,
|
45 |
-
"split_sentences": True,
|
46 |
-
},
|
47 |
{
|
48 |
"model_name": "yhavinga/t5-small-24L-ccmatrix-multi",
|
49 |
"desc": "T5 small nl24 ccmatrix nl-en",
|
|
|
21 |
"split_sentences": False,
|
22 |
},
|
23 |
{
|
24 |
+
"model_name": "yhavinga/ul2-large-en-nl",
|
25 |
+
"desc": "UL2 large en->nl",
|
26 |
+
"task": TRANSLATION_EN_TO_NL,
|
27 |
"split_sentences": False,
|
28 |
},
|
29 |
{
|
|
|
38 |
"task": TRANSLATION_NL_TO_EN,
|
39 |
"split_sentences": True,
|
40 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
{
|
42 |
"model_name": "yhavinga/t5-small-24L-ccmatrix-multi",
|
43 |
"desc": "T5 small nl24 ccmatrix nl-en",
|
default_texts.py
CHANGED
@@ -30,6 +30,11 @@ The ISS - a joint project involving five space agencies - has been in orbit sinc
|
|
30 |
"year": 2006,
|
31 |
"text": """"Animal terms figure notably in the history of swearing, although they were not a major feature of Anglo-Saxon literature. The major exception was wulf, used to refer to a cruel, rapacious, or evil person, often in the title “the Devil’s wolf.” Otherwise, the chosen animals themselves are not especially dangerous or repulsive, though some are poisonous, such as the snake, and others malodorous, such as the skunk and polecat. For some cultural reason the pig provides the richest verbal field, together with the variants sow and swine. (The same pattern is seen, interestingly, in the dominance of French cochon and German schweinhund.) Swine is the oldest term in the field, being recorded in Chaucer’s richest swearing resource, the Wife of Bath, who condemns “Metellius, the foule cherl, the swyn” (Prologue l. 460). Unlike sow, swine continues to have resonance in swearing in the British Isles, especially among the older generation, while pig has become more a feature of U. S. swearing, having been especially fashionable among radical youth in the 1960s as an opprobrious term for the police.""",
|
32 |
},
|
|
|
|
|
|
|
|
|
|
|
33 |
"Het Verboden Rijk (nl)": {
|
34 |
"url": "https://nl.wikipedia.org/wiki/Het_Verboden_Rijk",
|
35 |
"year": 1932,
|
|
|
30 |
"year": 2006,
|
31 |
"text": """"Animal terms figure notably in the history of swearing, although they were not a major feature of Anglo-Saxon literature. The major exception was wulf, used to refer to a cruel, rapacious, or evil person, often in the title “the Devil’s wolf.” Otherwise, the chosen animals themselves are not especially dangerous or repulsive, though some are poisonous, such as the snake, and others malodorous, such as the skunk and polecat. For some cultural reason the pig provides the richest verbal field, together with the variants sow and swine. (The same pattern is seen, interestingly, in the dominance of French cochon and German schweinhund.) Swine is the oldest term in the field, being recorded in Chaucer’s richest swearing resource, the Wife of Bath, who condemns “Metellius, the foule cherl, the swyn” (Prologue l. 460). Unlike sow, swine continues to have resonance in swearing in the British Isles, especially among the older generation, while pig has become more a feature of U. S. swearing, having been especially fashionable among radical youth in the 1960s as an opprobrious term for the police.""",
|
32 |
},
|
33 |
+
"Squad Chopin (en)": {
|
34 |
+
"url": "https://rajpurkar.github.io/SQuAD-explorer/",
|
35 |
+
"year": 2018,
|
36 |
+
"text": """Frédéric François Chopin (/˃oʊpæn; Franse uitspraak: [fʁe.de.ˁ.fʁ.swa ʃˋ.pû]; 22 februari of 1 maart 1810 – 17 oktober 1849), geboren Fryderyk Franciszek Chopin (1951), was een Pools-Franse componist (van geboorte en geboorte van zijn vader) en een virtuoos pianist uit de Romantische tijd, die voornamelijk voor de solo piano schreef. Hij verwierf wereldwijd bekendheid en heeft zich een van de belangrijkste musici van zijn tijd genoemd, wiens 'poëtische genie was gebaseerd op een professionele techniek die in zijn generatie niet te evenaren was. Chopin werd geboren in wat toen het hertogdom Warschau was en groeide op in Warschau, dat na 1815 deel werd van het Congres van Polen. Als wonderkind voltooide hij zijn muzikale opleiding en schreef zijn eerdere werken in Warschau voordat hij op 20-jarige leeftijd Polen verliet, minder dan een maand voor de uitbraak van de Novemberbeweging van 1830.""",
|
37 |
+
},
|
38 |
"Het Verboden Rijk (nl)": {
|
39 |
"url": "https://nl.wikipedia.org/wiki/Het_Verboden_Rijk",
|
40 |
"year": 1932,
|