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