Downloads · 30 days
49
4% of all-time downloads
riotu-lab/mushkil
mushkil is a machine learning model from riotu-lab. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This repository hosts the Mushkil model, an AraT5V2 model fine-tuned for the task of Arabic text diacritization. The model treats diacritization as a machine translation problem, translating from undiacritized to diac…
Downloads · 30 days
49
4% of all-time downloads
All-time downloads
1.3K
Public
Parameters
368M
4.4 GB on disk
Likes
2
Public
Click a slice to open those files.
.pt2.9 GB · 67%
From the Hugging Face model README
This repository hosts the Mushkil model, an AraT5V2 model fine-tuned for the task of Arabic text diacritization. The model treats diacritization as a machine translation problem, translating from undiacritized to diacritized Arabic text. It has been trained and validated on a dataset of over 550,000 Arabic sentences, achieving a high BLEU score of 0.93, reflecting its effectiveness in producing accurate diacritizations.
The Mushkil model is based on the AraT5V2 architecture, a powerful transformer-based model pre-trained for various Arabic language tasks. For the purpose of diacritization, this model has been further trained to understand the context and apply appropriate diacritics to Arabic texts, which is crucial for correct pronunciation and understanding in reading Arabic scripts.
To use the model, you need to install the transformers library from Hugging Face. You can install it using pip:
pip install transformers
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text2text-generation", model="riotu-lab/mushkil")
pipe('ادخل نصك العربي')