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