Instructions to use zenlm/zen-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zenlm/zen-translator with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="zenlm/zen-translator")# Load model directly from transformers import ZenTranslatorForSpeechTranslation model = ZenTranslatorForSpeechTranslation.from_pretrained("zenlm/zen-translator", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6310f0cbee2395d840c8572fe21f7ae51f97748bbd347120f9086531e63b4c2e
- Size of remote file:
- 83.4 MB
- SHA256:
- 3386cc880324d4e98e05987b99107f49e40ed925b8ecc87c1f4939432d429879
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.