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