Downloads · 30 days
12
2% of all-time downloads
BAKKALIAYOUB/DarijaTranslation-V1
DarijaTranslation-V1 is a translation model from BAKKALIAYOUB. Use it when you need text moved from one language to another. It is set up for transformers. The card lists the license as mit.
This model translates text from English to Darija (Moroccan Arabic).
Downloads · 30 days
12
2% of all-time downloads
All-time downloads
736
Public
Parameters
76.4M
611 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors305 MB · 99%
From the Hugging Face model README
This model translates text from English to Darija (Moroccan Arabic).
This model, designed for translating text from English to Darija (Moroccan Arabic), excels in handling general, everyday language such as greetings ("hi, how are you?"). It accurately translates common phrases and sentences typically encountered in informal communication. Additionally, the model has the capability to conjugate verbs correctly in the context of the translation.
Use the code below to get started with the model:
from transformers import pipeline
# Initialize the translation pipeline
pipe = pipeline("translation", model="BAKKALIAYOUB/DarijaTranslation-V1")
# Translate text
translated_text = pipe("putin is the president of russia")
print(translated_text)
The training data are from multiple source : atlasia/darija-translation, BounharAbdelaziz/English-to-Moroccan-Darija, and other csv file that contain adverbs, adjectives, preposition and nouns translation from english to darija.