Downloads · 30 days
21
1% of all-time downloads
Bildad/Swahili-English_Translation
Swahili-English_Translation is a machine learning model from Bildad. 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 mit.
- Pre-trained Model: Rogendo/sw-en - Architecture: Transformer - Training Data: Trained on 210,000 Swahili-English corpus pairs - Base Model: Helsinki-NLP/opus-mt-en-swc - Training Method: Fine-tuned with an emphasis…
Downloads · 30 days
21
1% of all-time downloads
All-time downloads
2.1K
Public
Parameters
74.4M
1.8 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors297 MB · 99%
From the Hugging Face model README
This Swahili-English translation model was developed to handle translations between Swahili, one of Africa's most spoken languages, and English. It was trained on a diverse dataset sourced from OPUS, leveraging the Transformer architecture for effective translation.
The model was fine-tuned on the following datasets:
WikiMatrix:
ParaCrawl:
TICO-19:
from transformers import pipeline
# Initialize the translation pipeline
translator = pipeline("translation", model="Bildad/Swahili-English_Translation")
# Translate text
translation = translator("Habari yako?")[0]
translated_text = translation["translation_text"]
print(translated_text)