Swecha Gonthuka Fine-Tuned Telugu ASR
Overview
This repository contains a fine-tuned Automatic Speech Recognition (ASR) model for the Telugu language.
The model is built on Swecha Gonthuka ASR and further fine-tuned using a custom Telugu speech dataset to improve transcription quality and recognition accuracy for Telugu speech.
This model converts spoken Telugu audio into Telugu Unicode text and can be used in a wide range of speech recognition applications.
Features
🎤 Telugu Automatic Speech Recognition (ASR)
📝 Speech-to-Text Conversion
⚡ Fine-tuned Wav2Vec2ForCTC Model
🤗 Compatible with Hugging Face Transformers
🎧 Supports 16 kHz WAV Audio
📚 Custom Telugu Speech Dataset Fine-tuning
Model Details
Property Value Model Name swecha-gonthuka-finetuned Hugging Face Repository Vasantha23/swecha-gonthuka-finetuned Model Type Wav2Vec2ForCTC Framework Hugging Face Transformers Base Model swechatelangana/swecha-gonthuka-asr Language Telugu Task Automatic Speech Recognition Fine-tuned By Vasantha
Base Model
This model is fine-tuned from:
swechatelangana/swecha-gonthuka-asr
Model Lineage
1 Harveenchadha/wav2vec2-pretrained-clsril-23-10k
2 ↓
3 swechatelangana/swecha-gonthuka-asr
4 ↓
5 Vasantha23/swecha-gonthuka-finetuned
After Hugging Face processes the repository metadata, this lineage should automatically appear under the Model Tree section.
Fine-Tuning Dataset
The model was fine-tuned using a custom Telugu speech dataset.
Dataset Characteristics
Language: Telugu
Audio Format: WAV
Sampling Rate: 16 kHz
Mono Audio
UTF-8 Telugu Transcriptions
Task: Automatic Speech Recognition
Training Configuration
Hyperparameter Value Architecture Wav2Vec2ForCTC Framework Hugging Face Transformers Optimizer AdamW Learning Rate 1e-4 Batch Size 8 Epochs 10 Mixed Precision FP16 Loss Function CTC Loss
Installation
pip install transformers torchaudio librosa soundfile
Usage
Load Processor and Model
1 from transformers import AutoProcessor , AutoModelForCTC
2
3 processor = AutoProcessor . from_pretrained (
4 "Vasantha23/swecha-gonthuka-finetuned"
5 )
6
7 model = AutoModelForCTC . from_pretrained (
8 "Vasantha23/swecha-gonthuka-finetuned"
9 )
Speech Recognition Pipeline
1 from transformers import pipeline
2
3 pipe = pipeline (
4 "automatic-speech-recognition" ,
5 model = "Vasantha23/swecha-gonthuka-finetuned"
6 )
7
8 result = pipe ( "audio.wav" )
9
10 print ( result [ "text" ] )
Manual Inference
1 import librosa
2 import torch
3 from transformers import AutoProcessor , AutoModelForCTC
4
5 processor = AutoProcessor . from_pretrained (
6 "Vasantha23/swecha-gonthuka-finetuned"
7 )
8
9 model = AutoModelForCTC . from_pretrained (
10 "Vasantha23/swecha-gonthuka-finetuned"
11 )
12
13 speech , sr = librosa . load ( "audio.wav" , sr = 16000 )
14
15 inputs = processor (
16 speech ,
17 sampling_rate = 16000 ,
18 return_tensors = "pt" ,
19 padding = True
20 )
21
22 with torch . no_grad ( ) :
23 logits = model ( inputs . input_values ) . logits
24
25 predicted_ids = torch . argmax ( logits , dim = - 1 )
26
27 transcription = processor . batch_decode ( predicted_ids ) [ 0 ]
28
29 print ( transcription )
Example
Input
Output
ఈ రోజు వాతావరణం చాలా బాగుంది.
Applications
This model can be used for:
Telugu Speech Recognition
Speech-to-Text Systems
Voice Assistants
Audio Transcription
Subtitle Generation
Educational Applications
Research in Telugu ASR
Accessibility Tools
Performance
The model has been fine-tuned to improve Telugu speech recognition performance over the base model using a custom Telugu dataset.
Typical evaluation metrics include:
Word Error Rate (WER)
Character Error Rate (CER)
Limitations
Performance may decrease in the following situations:
Heavy background noise
Low-quality recordings
Multiple speakers
Strong regional accents
Very short audio clips
Acknowledgements
This project builds upon the excellent work of:
Swecha Telangana
Hugging Face
Hugging Face Transformers
PyTorch
Wav2Vec2
Mozilla Common Voice Community
Special thanks to the creators of Swecha Gonthuka ASR for making the base Telugu ASR model publicly available.
Citation
If you use this model in your work, please cite:
1 @misc{swecha_gonthuka_finetuned,
2 title={Swecha Gonthuka Fine-Tuned Telugu ASR},
3 author={Vasantha},
4 year={2026},
5 publisher={Hugging Face},
6 url={https://huggingface.co/Vasantha23/swecha-gonthuka-finetuned}
7 }
License
This model is released under the AGPL-3.0 License , consistent with the licensing of the base model.
Contact
For questions, suggestions, or improvements, please open an issue in the Hugging Face repository or contact the repository maintainer.
Hugging Face Repository