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