Update README.md
Browse files
README.md
CHANGED
@@ -26,7 +26,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained("n8rob/kreyol-mt-pubtrain")
|
|
26 |
|
27 |
# As for what the language codes and their corresponding languages are, please refer to: https://github.com/JHU-CLSP/Kreyol-MT?tab=readme-ov-file#building-machine-translation-for-latin-american-caribbean-and-colonial-african-creole-languages
|
28 |
|
29 |
-
inp = tokenizer('
|
30 |
|
31 |
model.eval() # Set dropouts to zero
|
32 |
|
|
|
26 |
|
27 |
# As for what the language codes and their corresponding languages are, please refer to: https://github.com/JHU-CLSP/Kreyol-MT?tab=readme-ov-file#building-machine-translation-for-latin-american-caribbean-and-colonial-african-creole-languages
|
28 |
|
29 |
+
inp = tokenizer('Mi tingk se yu de tel mi lai. </s> lv_LV', add_special_tokens=False, return_tensors="pt", padding=True).input_ids
|
30 |
|
31 |
model.eval() # Set dropouts to zero
|
32 |
|