RicardoRei
commited on
Commit
•
de9d71d
1
Parent(s):
93d364b
multilingual examples
Browse files
README.md
CHANGED
@@ -128,12 +128,16 @@ model_path = download_model("Unbabel/wmt22-cometkiwi-da")
|
|
128 |
model = load_from_checkpoint(model_path)
|
129 |
data = [
|
130 |
{
|
131 |
-
"src": "
|
132 |
-
"mt": "
|
133 |
},
|
134 |
{
|
135 |
-
"src": "
|
136 |
-
"mt": "
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
]
|
139 |
model_output = model.predict(data, batch_size=8, gpus=1)
|
|
|
128 |
model = load_from_checkpoint(model_path)
|
129 |
data = [
|
130 |
{
|
131 |
+
"src": "The output signal provides constant sync so the display never glitches.",
|
132 |
+
"mt": "Das Ausgangssignal bietet eine konstante Synchronisation, so dass die Anzeige nie stört."
|
133 |
},
|
134 |
{
|
135 |
+
"src": "Kroužek ilustrace je určen všem milovníkům umění ve věku od 10 do 15 let.",
|
136 |
+
"mt": "Кільце ілюстрації призначене для всіх любителів мистецтва у віці від 10 до 15 років."
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"src": "Mandela then became South Africa's first black president after his African National Congress party won the 1994 election.",
|
140 |
+
"mt": "その後、1994年の選挙でアフリカ国民会議派が勝利し、南アフリカ初の黒人大統領となった。"
|
141 |
}
|
142 |
]
|
143 |
model_output = model.predict(data, batch_size=8, gpus=1)
|