michaelfeil
commited on
Commit
•
081c9b8
1
Parent(s):
51eeebf
Update README.md
Browse files
README.md
CHANGED
@@ -114,6 +114,7 @@ pip install hf_hub_ctranslate2>=2.0.6 ctranslate2>=3.13.0
|
|
114 |
|
115 |
```python
|
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",
|
|
|
114 |
|
115 |
```python
|
116 |
from hf_hub_ctranslate2 import MultiLingualTranslatorCT2fromHfHub
|
117 |
+
from transformers import AutoTokenizer
|
118 |
|
119 |
model = MultiLingualTranslatorCT2fromHfHub(
|
120 |
model_name_or_path="michaelfeil/ct2fast-m2m100_1.2B", device="cuda", compute_type="int8_float16",
|