Views
No views yet
1
2import torch
3from transformers import pipeline
4
5audio = "path to the audio file to be transcribed"
6device = "cuda:0" if torch.cuda.is_available() else "cpu"
7modelTags = "ARTPARK-IISc/whisper-large-v3-vaani-telugu"
8
9transcribe = pipeline(
10 task="automatic-speech-recognition",
11 model=modelTags,
12 chunk_length_s=30,
13 device=device
14)
15
16
17transcribe.model.config.forced_decoder_ids = None
18transcribe.model.generation_config.forced_decoder_ids = None
19
20print("Transcription:", transcribe(audio)["text"])
21
22@misc{pulikodan2026vaanicapturinglanguagelandscape,
title={VAANI: Capturing the language landscape for an inclusive digital India},
author={Sujith Pulikodan and Abhayjeet Singh and Agneedh Basu and Nihar Desai and Pavan Kumar J and Pranav D Bhat and Raghu Dharmaraju and Ritika Gupta and Sathvik Udupa and Saurabh Kumar and Sumit Sharma and Vaibhav Vishwakarma and Visruth Sanka and Dinesh Tewari and Harsh Dhand and Amrita Kamat and Sukhwinder Singh and Shikhar Vashishth and Partha Talukdar and Raj Acharya and Prasanta Kumar Ghosh},
year={2026},
eprint={2603.28714},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2603.28714},
}