Downloads · 30 days
13
18% of all-time downloads
navyasree2006/telugu-asr-finetuned
telugu-asr-finetuned is a automatic speech recognition model from navyasree2006. Use it when you need speech turned into text. The card lists the license as apache-2.0.
This repository contains a fine-tuned Automatic Speech Recognition (ASR) model for the Telugu language. The model is based on Swecha Gonthuka ASR and has been fine-tuned using a custom Telugu speech dataset.
Downloads · 30 days
13
18% of all-time downloads
All-time downloads
74
Public
Parameters
94.4M
378 MB on disk
Likes
1
Trending 1
Click a slice to open those files.
.safetensors378 MB · 100%
From the Hugging Face model README
This repository contains a fine-tuned Automatic Speech Recognition (ASR) model for the Telugu language. The model is based on Swecha Gonthuka ASR and has been fine-tuned using a custom Telugu speech dataset.
The model is capable of converting spoken Telugu audio into Telugu text and can be used for speech transcription and related ASR applications.
swechatelangana/swecha-gonthuka-asrA custom Telugu speech dataset was used for fine-tuning.
| Dataset Split | Samples |
|---|---|
| Train | 712 |
| Validation | 89 |
| Test | 89 |
All audio files were resampled to 16 kHz before training.
| Parameter | Value |
|---|---|
| Base Model | Swecha Gonthuka ASR |
| Framework | Hugging Face Transformers |
| Optimizer | AdamW |
| Epochs | 10 |
| Learning Rate | 1e-4 |
| Batch Size | 4 |
| Sampling Rate | 16000 Hz |
| Metric | Score |
|---|---|
| Word Error Rate (WER) | 0.5054 |
| Accuracy | 49.46% |
Note: The evaluation was performed on the held-out Telugu test dataset.
This repository includes:
model.safetensors)config.json)Install the required libraries:
pip install transformers librosa torch
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained(
"navyasree2006/telugu-asr-finetuned"
)
model = AutoModelForCTC.from_pretrained(
"navyasree2006/telugu-asr-finetuned"
)
import librosa
import torch
audio_path = "sample.mp3"
speech, sr = librosa.load(audio_path, sr=16000)
inputs = processor(
speech,
sampling_rate=16000,
return_tensors="pt",
padding=True
)
with torch.no_grad():
logits = model(**inputs).logits
predicted_ids = torch.argmax(logits, dim=-1)
transcription = processor.batch_decode(predicted_ids)[0]
print(transcription)
This model can be used for:
Surya Navyasree
B.Tech – Computer Science and Engineering (Data Science)
Rajeev Gandhi Memorial College of Engineering and Technology (RGMCET)
GitHub: https://github.com/SuryaNavyasree
Hugging Face: https://huggingface.co/navyasree2006
This work was completed using:
If you use this model in your work, please cite this repository and the original Swecha Gonthuka ASR model.