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