Translation
Transformers
Safetensors
Arabic
t5
text2text-generation
Syrian
Shami
MT
MSA
Dialect
ArabicNLP
text-generation-inference
Instructions to use Omartificial-Intelligence-Space/Shami-MT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Omartificial-Intelligence-Space/Shami-MT 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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Omartificial-Intelligence-Space/Shami-MT") model = AutoModelForSeq2SeqLM.from_pretrained("Omartificial-Intelligence-Space/Shami-MT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Improve model card: Add pipeline tag and correct paper link (#1)
Verified signature- Improve model card: Add pipeline tag and correct paper link (5c656a8fe5a6c83240597b3db984efd95cbd18da) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>d7e7f06
-
Update README.md
Verified signaturebe0a05b
-
Update README.md
Verified signature73a3e86 -
Update README.md
Verified signature42c411e -
Update README.md
Verified signaturef3cfaf6 -
Update README.md
Verified signature3d4d1fe
-
Update README.md
Verified signaturebb51c47 -
uplaod 12 files
Verified signature46c233b -
initial commit
Verified signatureb56bb6d