jordimas commited on
Commit
4d3f311
·
1 Parent(s): e9735ef

Model name

Browse files
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-cat-deu", revision="main")
40
 
41
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/sp_m.model")
42
  tokenized=tokenizer.tokenize("Hola amics")
 
36
  import ctranslate2
37
  import pyonmttok
38
  from huggingface_hub import snapshot_download
39
+ model_dir = snapshot_download(repo_id="softcatala/translate-cat-deu", revision="main")
40
 
41
  tokenizer=pyonmttok.Tokenizer(mode="none", sp_model_path = model_dir + "/sp_m.model")
42
  tokenized=tokenizer.tokenize("Hola amics")