Update README.md
Browse files
README.md
CHANGED
@@ -49,7 +49,7 @@ from huggingface_hub import snapshot_download
|
|
49 |
model_dir = snapshot_download(repo_id="projecte-aina/mt-aina-ca-de", revision="main")
|
50 |
|
51 |
tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/spm.model")
|
52 |
-
tokenized=tokenizer.tokenize("
|
53 |
|
54 |
translator = ctranslate2.Translator(model_dir)
|
55 |
translated = translator.translate_batch([tokenized[0]])
|
|
|
49 |
model_dir = snapshot_download(repo_id="projecte-aina/mt-aina-ca-de", revision="main")
|
50 |
|
51 |
tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/spm.model")
|
52 |
+
tokenized=tokenizer.tokenize("Benvingut al projecte Aina!")
|
53 |
|
54 |
translator = ctranslate2.Translator(model_dir)
|
55 |
translated = translator.translate_batch([tokenized[0]])
|