Fairseq
Catalan
German
AudreyVM commited on
Commit
a1aaa25
1 Parent(s): d715d12

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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("Willkommen beim Projekt Aina")
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]])