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 training_args.bin from asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en: direct link, hf CLI and curl.
- Browser
- Download file 4.22 kB
-
https://huggingface.co/asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/resolve/main/training_args.bin
- Command line
-
hf download hf://asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/asas-ai/opus-mt-ar-en-finetuned_augmented_MT-ar-to-en/resolve/main/training_args.bin
4.22 kB
- Xet hash:
- 954413a8ffc1e9569fcadb63d2499d377b07daea075dcf95c909eac8fe3028f4
- Size of remote file:
- 4.22 kB
- SHA256:
- 0751648066f06f047557093b88511e6b41497f50918643715851bd7d34196d55
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.