Downloads · 30 days
25
2% of all-time downloads
openchs/asr-whisper-helpline-sw-v1
asr-whisper-helpline-sw-v1 is a automatic speech recognition model from openchs. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of openai/whisper-large-v2 on the Common Voice Swahili dataset.
Downloads · 30 days
25
2% of all-time downloads
All-time downloads
1.6K
Public
Parameters
1.5B
206 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.4 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of openai/whisper-large-v2 on the Common Voice Swahili dataset.
This ASR model is specifically fine-tuned for Swahili speech recognition in the context of the Tanzania Child Helpline, powered by OpenCHS (Open Source Child Helpline System). The model is designed to transcribe Swahili spoken in Tanzanian call center environments.
Performance Highlights:
This represents a significant improvement over the base Whisper Large v2 model for Swahili transcription tasks.
The model was trained in two stages:
Total Training: 17,500 effective steps with the best checkpoint selected at step 7,500 of stage 2 based on lowest validation WER.
Training Configuration:
Stage 1 Results:
Training Configuration:
Stage 2 Results:
Baseline Performance:
Optimization:
Batch Configuration:
Memory Optimization:
Evaluation & Checkpointing:
Other:
Optimization:
Batch Configuration:
Memory Optimization:
Evaluation & Checkpointing:
Other:
| Training Loss | Epoch | Step | Validation Loss | WER |
|---|---|---|---|---|
| 0.0598 | 0.025 | 500 | 0.3869 | 24.8021 |
| 0.0488 | 0.05 | 1000 | 0.4222 | 26.9086 |
| 0.0481 | 0.075 | 1500 | 0.4376 | 26.9910 |
| 0.0804 | 0.1 | 2000 | 0.4429 | 29.2177 |
| 0.0433 | 0.125 | 2500 | 0.4569 | 26.8025 |
| 0.0939 | 1.0043 | 3000 | 0.4150 | 27.8982 |
| 0.0875 | 1.0293 | 3500 | 0.4083 | 24.3874 |
| 0.0237 | 1.0543 | 4000 | 0.4526 | 24.2578 |
| 0.0246 | 1.0793 | 4500 | 0.4664 | 24.9647 |
| 0.0267 | 1.1043 | 5000 | 0.4719 | 26.1074 |
| 0.0239 | 1.1293 | 5500 | 0.4533 | 24.6583 |
| 0.0327 | 2.0086 | 6000 | 0.4381 | 23.6923 |
| 0.0254 | 2.0336 | 6500 | 0.4369 | 23.7512 |
| 0.0155 | 2.0586 | 7000 | 0.4463 | 23.6216 |
| 0.0263 | 2.0836 | 7500 | 0.4469 | 23.5627 ← Best checkpoint |
| 0.0249 | 2.1086 | 8000 | 0.4821 | 25.9189 |
| 0.0233 | 2.1336 | 8500 | 0.4914 | 27.0500 |
| 0.036 | 3.0129 | 9000 | 0.4738 | 24.1517 |
| 0.0485 | 3.0379 | 9500 | 0.4758 | 24.9647 |
| 0.0132 | 3.0629 | 10000 | 0.5175 | 25.5655 |
Training Observations:
Stage 1 (CV 17.0):
Stage 2 (CV 23.0):
Total Effective Training: ~17,500 steps across two datasets
| Model | Dataset | Split | WER | Improvement from Baseline |
|---|---|---|---|---|
| Whisper Large v2 (baseline) | CV 17.0 | Validation | 89.05% | - |
| This model (Stage 1) | CV 17.0 | Validation | 23.62% | -65.43 pp (73.5% reduction) |
| This model (Stage 2 - Best) | CV 23.0 | Validation | 23.56% | -65.49 pp (73.5% reduction) |
Note: The two-stage training approach with dataset progression (CV 17.0 → CV 23.0) achieved marginal improvement in final WER while ensuring model robustness across Common Voice versions.
from transformers import pipeline
# Load the model
pipe = pipeline("automatic-speech-recognition",
model="openchs/asr-whisper-helpline-sw-v1")
# Transcribe audio
result = pipe("path/to/swahili_audio.wav")
print(result["text"])
from transformers import WhisperProcessor, WhisperForConditionalGeneration
import torch
# Load model and processor
processor = WhisperProcessor.from_pretrained("openchs/asr-whisper-helpline-sw-v1")
model = WhisperForConditionalGeneration.from_pretrained("openchs/asr-whisper-helpline-sw-v1")
# Load and process audio
# ... your audio loading code ...
# Generate transcription
input_features = processor(audio, sampling_rate=16000, return_tensors="pt").input_features
predicted_ids = model.generate(input_features)
transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
print(transcription[0])
If you use this model, please cite:
@misc{openchs-swahili-asr-v1,
title={Swahili ASR Model for Tanzania Child Helpline},
author={OpenCHS Team},
year={2025},
publisher={HuggingFace},
howpublished={\url{https://huggingface.co/openchs/asr-whisper-helpline-sw-v1}}
}
Apache 2.0