Translation
Transformers
Safetensors
Arabic
t5
text2text-generation
saudi
arabic
dialects
text-generation-inference
Instructions to use NAMAA-Space/NAMAA-MT-Saudi2English with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NAMAA-Space/NAMAA-MT-Saudi2English 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="NAMAA-Space/NAMAA-MT-Saudi2English")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("NAMAA-Space/NAMAA-MT-Saudi2English") model = AutoModelForSeq2SeqLM.from_pretrained("NAMAA-Space/NAMAA-MT-Saudi2English", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download spiece.model from NAMAA-Space/NAMAA-MT-Saudi2English: direct link, hf CLI and curl.
- Browser
- Download file 2.35 MB
-
https://huggingface.co/NAMAA-Space/NAMAA-MT-Saudi2English/resolve/main/spiece.model
- Command line
-
hf download hf://NAMAA-Space/NAMAA-MT-Saudi2English/spiece.model
-
curl -L -o spiece.model https://huggingface.co/NAMAA-Space/NAMAA-MT-Saudi2English/resolve/main/spiece.model
2.35 MB
- Xet hash:
- 038454afe7336249383c9fc3da7781e1306a8366cb78524986905ba189054cc1
- Size of remote file:
- 2.35 MB
- SHA256:
- 180428eb8e88be6c7d259fb04c9eb3a1c552d799a76741bcd6ee34fa0bf64386
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.