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:
- 3c926102594b4ecaf9211bbbe069d3c72cfd50b1923bccc6d920ebab214d759e
- Size of remote file:
- 3.58 kB
- SHA256:
- 41b134418099f6737e11f4f0bb3eaaaa9d9e524c2dcd43e64e010f537a6dff2d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.