Downloads · 30 days
9
12% of all-time downloads
brendaogutu/sw-en-translation-v1
sw-en-translation-v1 is a translation model from brendaogutu. Use it when you need text moved from one language to another. The card lists the license as apache-2.0.
This model is a fine-tuned version of Helsinki-NLP/opus-mt-mul-en for Swahili-to-English translation, specifically optimized for child helpline call transcriptions in East Africa.
Downloads · 30 days
9
12% of all-time downloads
All-time downloads
73
Public
Parameters
77.1M
11.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt6.2 GB · 62%
From the Hugging Face model README
This model is a fine-tuned version of Helsinki-NLP/opus-mt-mul-en for Swahili-to-English translation, specifically optimized for child helpline call transcriptions in East Africa.
Developed by: BITZ IT Consulting Ltd
Project: OpenCHS (Open Child Helpline System)
Funded by: UNICEF Venture Fund
License: Apache 2.0
Primary Use Case: Translating Swahili helpline call transcriptions to English for case documentation, quality assurance, and cross-border referrals.
Languages: Swahili (source) → English (target)
from transformers import MarianTokenizer, MarianMTModel
model_name = "brendaogutu/sw-en-translation-v1"
tokenizer = MarianTokenizer.from_pretrained(model_name)
model = MarianMTModel.from_pretrained(model_name)
swahili_text = "Habari za asubuhi. Ninaitwa Amina na nina miaka 14."
inputs = tokenizer(swahili_text, return_tensors="pt", padding=True)
outputs = model.generate(**inputs, num_beams=5, max_length=256)
translation = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(translation)
Base Model: Helsinki-NLP/opus-mt-mul-en
Training Epochs: 8
Batch Size: 128
Learning Rate: 3e-05
Hardware: NVIDIA GPU with FP16 mixed precision
This model is part of the OpenCHS project supporting child helpline services across East Africa.