Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

benny-png/Swahili-model-for-Audio-Text-to-Speech

Domain:

natural language processing

Record type:

model
Creator:
ben
Host:
# Swahili MMS TTS - Finetuned Model This is a fine-tuned version of the Facebook MMS (Massively Multilingual Speech) model for Swahili Text-to-Speech (TTS). The model was fine-tuned to improve Swahili pronunciation and performance using custom audio datasets. ## Model Details - **Model Name**: Swahili MMS TTS - Finetuned - **Languages Supported**: Swahili - **Base Model**: Facebook MMS - **Use Case**: Text-to-Speech for Swahili language, suitable for generating high-quality speech from text. ## Training Details The fine-tuning process was done using a custom dataset of Swahili voice samples to improve the fluency and accuracy of the original MMS model in Swahili. This resulted in enhanced pronunciation and natural-sounding speech for Swahili. You can check out the code and process used in the fine-tuning by visiting the GitHub repository. ## How to Use You can load and use the model directly from the Hugging Face model hub using either the `pipeline` API or by manually downloading the model and tokenizer. ### 1. Download and Run the Model Directly You can also download the model and tokenizer manually and run the text-to-speech pipeline without the Hugging Face `pipeline` helper. Here's how: ```python import torch import numpy as np import scipy.io.wavfile from transformers import VitsModel, AutoTokenizer device = torch.device("cuda" if torch.cuda.is_available() else "cpu") model_name = "Benjamin-png/swahili-mms-tts-finetuned" text = "Habari, karibu kwenye mfumo wetu wa kusikiliza kwa Kiswahili." audio_file_path = "swahili_speech.wav" # Load model and tokenizer dynamically based on the provided model name model = VitsModel.from_pretrained(model_name).to(device) tokenizer = AutoTokenizer.from_pretrained(model_name) # Step 1: Tokenize the input text inputs = tokenizer(text, return_tensors="pt").to(device) # Step 2: Generate waveform with torch.no_grad(): output = model(**inputs).waveform # Step 3: Convert PyTorch tensor to NumPy array output_np = out …

Visit

github.com

Tasks

speech processingtext to speech

Languages

SwahiliSwahili, CoastalSwahili, Congo

Similar

benny-png/SWAHILI-TTSwambuapk/asr-model-for-transcribing-swahili-audio-to-textCongolese Swahili speech-to-text modelsadikabu12345678-png/text-to-speech-hausA-Enhancing Crowdsourced Audio for Text-to-Speech ModelsLuganda-Swahili Speech for Text-to-SpeechSynthesis

benny-png/SWAHILI-TTS

# Swahili Text-to-Speech API A FastAPI-based REST API that provides text-to-speech (TTS) capabilitie

wambuapk/asr-model-for-transcribing-swahili-audio-to-text

# Automated Speech Recognition (ASR) Model for Transcribing Swahili Audio to Text ## Overview Nyik

Congolese Swahili speech-to-text model

Speech-to-Text models for Congolese dialect of Swahili Language. Contains acoustic and language models to be used with deepspeech based ASR. Acoustic model was trained on Gamayun audio mini-kit and TICO-19 testset using Coqui STT v0.10.0a13. Total train size: 8.93

sadikabu12345678-png/text-to-speech-hausA-

READ HAUSA TEXT # Run and deploy your AI Studio app This contains everything you need to run your

Enhancing Crowdsourced Audio for Text-to-Speech Models

High-quality audio data is a critical prerequisite for training robust text-to-speech models, which

Luganda-Swahili Speech for Text-to-SpeechSynthesis

A Curated, Crowdsourced Dataset for Building Multilingual TTS Systems