Downloads · 30 days
6
2% of all-time downloads
RafatK/Whisper_Largev2-Yoruba-Decodis_FT
Whisper_Largev2-Yoruba-Decodis_FT is a automatic speech recognition model from RafatK. Use it when you need speech turned into text.
<p align="left" <a href="https://decodis.com/" <img src="https://static.wixstatic.com/media/41bde8fdfad2782d8641edb098e72f1ea10d65~mv2.png/v1/fill/w185,h50,alc,q85,usm0.661.000.01,encavif,qualityauto/41bde8fdfad2782d8…
Downloads · 30 days
6
2% of all-time downloads
All-time downloads
244
Public
Parameters
1.5B
12.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
This ASR model is trained exclusively on 50 hours of real-world, domain-specific Yoruba audio, including conversational and semi-spontaneous speech. It is designed to handle noisy environments, diverse speaker styles, and more natural linguistic variation. It does similarly well for clean and well-structured speech input
This model is part of a full ASR ablation study that analyzes and understands the robustness of data and in dealing with different modes and variations of data collections. 👉 View all models on GitHub
We are particularly interested in validating the conclusions we’ve observed through our ablation studies:
While benchmark datasets like FLEURS are useful for comparison, they do not fully capture the variability and challenges of real-world speech — especially for underrepresented languages like Swahili and Yoruba. We are inviting the community to try out these models and help assess:
Whisper is a general-purpose speech recognition model. It is trained on a large dataset of diverse audio and is also a multitasking model that can perform multilingual speech recognition, speech translation, and language identification.
from transformers import WhisperForConditionalGeneration, WhisperProcessor
from transformers import pipeline
from transformers.utils import is_flash_attn_2_available
processor = WhisperProcessor.from_pretrained("openai/whisper-large-v2")
model = WhisperForConditionalGeneration.from_pretrained("RafatK/Whisper_Largev2-Yoruba-Decodis_FT", torch_dtype=torch.float16).to("cuda")
model.generation_config.input_ids = model.generation_config.forced_decoder_ids
model.generation_config.forced_decoder_ids = None
pipe = pipeline(
"automatic-speech-recognition",
model=model,
processor = "openai/whisper-large-v2",
tokenizer = "openai/whisper-large-v2",
feature_extractor = "openai/whisper-large-v2",
chunk_length_s=15,
device=device,
model_kwargs={"attn_implementation": "flash_attention_2"} if is_flash_attn_2_available() else {"attn_implementation": "sdpa"},
generate_kwargs = {
'num_beams':5,
'max_new_tokens':440,
'early_stopping':True,
'language': 'english',
'task': 'transcribe'
}
)
text_output = pipe("audio.wav")['text']
📁 Languages: Yoruba (yo)
whisper-large-v2| Dataset | This Model | Whisper Large V2 |
|---|---|---|
| FLEURS (benchmark) | 66.22 | No-Info |
| Our test set | 64.51 | No-Info |
This model is best for:
📝 Please try the models and share your feedback, issues, or results via:
GitHub Issues: Submit an issue
Hugging Face Discussions: Join the conversation
Your feedback will help us refine our dataset and improve ASR for underrepresented languages like Swahili and Yoruba.