Update README.md (#4)
Browse files- Update README.md (fa5c189bc0b5208ab378e399b54ea09e7b44b104)
Co-authored-by: Raj Dabre <[email protected]>
README.md
CHANGED
@@ -26,7 +26,7 @@ model = AutoModelForSeq2SeqLM.from_pretrained("n8rob/kreyol-mt")
|
|
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 |
|