Fairseq
Basque
Catalan
AudreyVM commited on
Commit
78d5077
1 Parent(s): a80d284

update model card

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -46,7 +46,7 @@ Translate a sentence using python
46
  import ctranslate2
47
  import pyonmttok
48
  from huggingface_hub import snapshot_download
49
- model_dir = snapshot_download(repo_id="projecte-aina/mt-aina-it-ca", revision="main")
50
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/spm.model")
51
  tokenized=tokenizer.tokenize("Ongi etorri Aina proiektura.")
52
  translator = ctranslate2.Translator(model_dir)
 
46
  import ctranslate2
47
  import pyonmttok
48
  from huggingface_hub import snapshot_download
49
+ model_dir = snapshot_download(repo_id="projecte-aina/mt-aina-eu-ca", revision="main")
50
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/spm.model")
51
  tokenized=tokenizer.tokenize("Ongi etorri Aina proiektura.")
52
  translator = ctranslate2.Translator(model_dir)