Translation
Transformers
PyTorch
TensorFlow
Safetensors
Arabic
English
marian
text2text-generation
opus-mt-tc
Eval Results (legacy)
Instructions to use aghorbani/opus-mt-tc-big-ar-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aghorbani/opus-mt-tc-big-ar-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="aghorbani/opus-mt-tc-big-ar-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("aghorbani/opus-mt-tc-big-ar-en") model = AutoModelForSeq2SeqLM.from_pretrained("aghorbani/opus-mt-tc-big-ar-en", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download target.spm from aghorbani/opus-mt-tc-big-ar-en: direct link, hf CLI and curl.
- Browser
- Download file 804 kB
-
https://huggingface.co/aghorbani/opus-mt-tc-big-ar-en/resolve/main/target.spm
- Command line
-
hf download hf://aghorbani/opus-mt-tc-big-ar-en/target.spm
-
curl -L -o target.spm https://huggingface.co/aghorbani/opus-mt-tc-big-ar-en/resolve/main/target.spm
804 kB
- Xet hash:
- 7fe0793ce602b3271d36398c2ecbb2295c8efbeb33795926b04a2db5a928f710
- Size of remote file:
- 804 kB
- SHA256:
- cd90eef39e9f181bac516565a7bfc239306ecd446eb0adc85a44be4458fe6fe9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.