Downloads · 30 days
8
22% of all-time downloads
RakshithFury/whisper-small-hi-kn-en
whisper-small-hi-kn-en is a text-to-speech model from RakshithFury. Use it when you need text read aloud. It is set up for transformers.
This model is based on Whisper Small and was fine-tuned on a mixture of Indian speech datasets.
Downloads · 30 days
8
22% of all-time downloads
All-time downloads
36
Public
Parameters
242M
2.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.9 GB · 67%
From the Hugging Face model README
This model is based on Whisper Small and was fine-tuned on a mixture of Indian speech datasets.
The goal was to improve transcription quality across Indian languages while maintaining reasonable performance on English speech, noisy audio, and faster speakers.
The model was trained using approximately 9,000 audio samples, with 3,000 samples selected from each dataset:
FLEURS was included to help retain English transcription performance during multilingual fine-tuning.
Audio samples were filtered to keep recordings between:
For IndicVoices-R, additional sampling was used to create a more useful and varied training set.
To avoid training on extremely low-quality recordings, samples were selected from the top 20% by signal-to-noise ratio, among the available noisy samples.
This keeps some background-noise variation while avoiding audio that is too difficult or unreliable.
Samples were also selected from the top 60% by speaking rate.
This was done to expose the model to faster speech and reduce the chance of performance degrading when speakers talk quickly.
The model was fine-tuned for automatic speech recognition using the standard Whisper sequence-to-sequence transcription objective.
The main goals were:
This model can be used for:
The model was trained on a relatively small subset of each dataset.
Performance may vary depending on:
The model may also produce incorrect words, omit parts of speech, or hallucinate text in very noisy or unclear audio.
It should not be used in high-stakes applications without additional evaluation.
The model should be evaluated using metrics such as:
For a fair comparison, references and predictions should use the same text-normalization process.
Evaluation results can be added here:
| Dataset | Language | WER | CER |
|---|---|---|---|
| IndicVoices | Hindi | TBD | TBD |
| IndicVoices | Kannada | TBD | TBD |
| FLEURS | English | TBD | TBD |
This model was fine-tuned from:
openai/whisper-small
import torch
from transformers import pipeline
pipe = pipeline(
"automatic-speech-recognition",
model="YOUR_USERNAME/YOUR_MODEL_NAME",
device=0 if torch.cuda.is_available() else -1,
dtype=torch.float16 if torch.cuda.is_available() else torch.float32,
)
result = pipe(
"audio.wav",
generate_kwargs={
"task": "transcribe",
},
)
print(result["text"])
For multilingual audio, specifying the language may improve results:
result = pipe(
"audio.wav",
generate_kwargs={
"language": "hindi",
"task": "transcribe",
},
)
This model was trained using data from:
Please refer to the original datasets and base model repositories for their respective licenses and usage conditions.