Instructions to use asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-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="asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en") model = AutoModelForSeq2SeqLM.from_pretrained("asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en: direct link, hf CLI and curl.
- Browser
- Download file 306 MB
-
https://huggingface.co/asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/resolve/main/pytorch_model.bin
306 MB
- Xet hash:
- cab6a928b2ef4e329111867b47d7d8be209324160ef5f161d4599c37b188bacc
- Size of remote file:
- 306 MB
- SHA256:
- 9b1d04f37a2d3836069b91ac205ad3d6d58757203cb176fdd38e85a352c382b5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.