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