Update README.md (#3)
Browse files- Update README.md (00e2b093a19ede7b3d04cdff727d6e59ee2260c3)
Co-authored-by: Raj Dabre <prajdabre@users.noreply.huggingface.co>
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 |
|