anzorq commited on
Commit
f906787
1 Parent(s): fa00b57

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -119,11 +119,13 @@ print(translate(text))
119
  ```
120
 
121
  ## CTranslate2 model (quantized model, much faster inference)
 
 
122
  ```Python
123
  import ctranslate2
124
  import transformers
125
 
126
- translator = ctranslate2.Translator("ctranslate") # Ensure correct path to the ctranslate2 model directory
127
  tokenizer = transformers.AutoTokenizer.from_pretrained("anzorq/m2m100_418M_ft_ru-kbd_44K")
128
  tgt_lang="zu"
129
 
 
119
  ```
120
 
121
  ## CTranslate2 model (quantized model, much faster inference)
122
+ First, download the [files for the model in ctranslate2 format](https://huggingface.co/anzorq/m2m100_418M_ft_ru-kbd_44K/tree/main/ctranslate2) and place them into `ctranslate2` folder.
123
+
124
  ```Python
125
  import ctranslate2
126
  import transformers
127
 
128
+ translator = ctranslate2.Translator("ctranslate2") # Ensure correct path to the ctranslate2 model directory
129
  tokenizer = transformers.AutoTokenizer.from_pretrained("anzorq/m2m100_418M_ft_ru-kbd_44K")
130
  tgt_lang="zu"
131