Update README.md
#1
by
acastin
- opened
README.md
CHANGED
@@ -116,7 +116,7 @@ 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-
|
120 |
tokenizer=AutoTokenizer.from_pretrained(f"facebook/m2m100_418M")
|
121 |
)
|
122 |
|
|
|
116 |
from hf_hub_ctranslate2 import MultiLingualTranslatorCT2fromHfHub
|
117 |
|
118 |
model = MultiLingualTranslatorCT2fromHfHub(
|
119 |
+
model_name_or_path="michaelfeil/ct2fast-m2m100-12B-last-ckpt", device="cpu", compute_type="int8",
|
120 |
tokenizer=AutoTokenizer.from_pretrained(f"facebook/m2m100_418M")
|
121 |
)
|
122 |
|