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