Instructions to use gaudi/opus-mt-fr-ro-ctranslate2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gaudi/opus-mt-fr-ro-ctranslate2 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="gaudi/opus-mt-fr-ro-ctranslate2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gaudi/opus-mt-fr-ro-ctranslate2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f8751f0fce2ea386fb1eb65e9de9697d2981260cd92d68d0996caad28fdf3abc
- Size of remote file:
- 147 MB
- SHA256:
- 18bd34feae4a8251a63a993e05f62c1dee19ac782b71cc14bd57d4ed917da933
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.