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
Commit History
-
Improve model card: Add pipeline tag, paper info, usage, and refine description (#1)
Verified signature- Improve model card: Add pipeline tag, paper info, usage, and refine description (b17777ca4900a7c48c45fede3333ec034190f08b) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>1fd28fa
-
Create README.md
Verified signature89f6f3b
-
Upload 12 files
Verified signatureaf67ba7 -
initial commit
Verified signature0e38f73