michaelfeil commited on
Commit
837fb7e
1 Parent(s): 75dab33

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -116,8 +116,8 @@ pip install hf_hub_ctranslate2>=1.0.3 ctranslate2>=3.13.0
116
  from hf_hub_ctranslate2 import MultiLingualTranslatorCT2fromHfHub
117
 
118
  model = MultiLingualTranslatorCT2fromHfHub(
119
- model_name_or_path="michaelfeil/ct2fast-m2m100_1.2B", device="cpu", compute_type="int8",
120
- tokenizer=AutoTokenizer.from_pretrained(f"facebook/m2m100_418M")
121
  )
122
 
123
  outputs = model.generate(
 
116
  from hf_hub_ctranslate2 import MultiLingualTranslatorCT2fromHfHub
117
 
118
  model = MultiLingualTranslatorCT2fromHfHub(
119
+ model_name_or_path="michaelfeil/ct2fast-m2m100_1.2B", device="cuda", compute_type="int8_float16",
120
+ tokenizer=AutoTokenizer.from_pretrained(f"facebook/m2m100_1.2B")
121
  )
122
 
123
  outputs = model.generate(