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