Instructions to use mt-empty/english-assyrian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mt-empty/english-assyrian 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="mt-empty/english-assyrian")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("mt-empty/english-assyrian") model = AutoModelForSeq2SeqLM.from_pretrained("mt-empty/english-assyrian") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("mt-empty/english-assyrian")
model = AutoModelForSeq2SeqLM.from_pretrained("mt-empty/english-assyrian")Quick Links
https://github.com/mt-empty/assyrian-translation-model
This is an English to Assyrian/Eastern Syriac machine translation model, it uses English to Arabic model as the base model.
Although the project aim is to Build a English to Assyrian - the ones that fall under Northeastern Neo-Aramaic - the current model mostly provides translation for Classical Syriac. This model is a good initial step, but I hope future work will make it more inline with Assyrian dialects.
- Downloads last month
- 4
# 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="mt-empty/english-assyrian")