Commit
•
a21ee89
1
Parent(s):
a507766
Update README.md (#1)
Browse files- Update README.md (6189f040eb4f818bbeb8561fec6d665ed9ea224b)
Co-authored-by: ACASTIN <acastin@users.noreply.huggingface.co>
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 |
|