VAANI-Whisper
Collection
A collection of whisper models fine tuned using Vaani data along with other datasets
•
11 items
•
Updated
•
6
This can be used with the pipeline function from the Transformers module.
import torch
from transformers import pipeline
audio = "path to the audio file to be transcribed"
device = "cuda:0" if torch.cuda.is_available() else "cpu"
modelTags = "ARTPARK-IISc/whisper-large-v3-vaani-odia"
transcribe = pipeline(
task="automatic-speech-recognition",
model=modelTags,
chunk_length_s=30,
device=device
)
transcribe.model.config.forced_decoder_ids = None
transcribe.model.generation_config.forced_decoder_ids = None
print("Transcription:", transcribe(audio)["text"])
Base model
openai/whisper-large-v3