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