Instructions to use BlackKakapo/opus-mt-ro-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BlackKakapo/opus-mt-ro-en 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="BlackKakapo/opus-mt-ro-en")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("BlackKakapo/opus-mt-ro-en") model = AutoModelForSeq2SeqLM.from_pretrained("BlackKakapo/opus-mt-ro-en") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 570abb556d2036d7a66f2bf116d17427058e54d767ce86f8bda75e1ad71d79db
- Size of remote file:
- 310 MB
- SHA256:
- 9d52818ed696259de63b84f2e36b38ff255f6fdfbea77c2ee385e4ecf6d33b28
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.