jordimas commited on
Commit
7c6ee3d
1 Parent(s): cb17685
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -35,7 +35,7 @@ Simple tokenization & translation using Python:
35
  import ctranslate2
36
  import pyonmttok
37
  from huggingface_hub import snapshot_download
38
- model_dir = snapshot_download(repo_id="softcatala/translate-cat-fra", revision="main")
39
 
40
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/sp_m.model")
41
  tokenized=tokenizer.tokenize("Hola amics")
 
35
  import ctranslate2
36
  import pyonmttok
37
  from huggingface_hub import snapshot_download
38
+ model_dir = snapshot_download(repo_id="softcatala/translate-cat-spa", revision="main")
39
 
40
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/sp_m.model")
41
  tokenized=tokenizer.tokenize("Hola amics")