Downloads · 30 days
11
42% of all-time downloads
web30india/LLM-Hindi-Large
LLM-Hindi-Large is a automatic speech recognition model from web30india. Use it when you need speech turned into text. It is set up for transformers. The card lists the license as creativeml-openrail-m.
--- language: - hi license: apache-2.0 tags: - whisper-event metrics: - wer model-index: - name: LLM-HINDI-LARGE - Manan Raval results: - task: type: automatic-speech-recognition name: Automatic Speech Recognition dat…
Downloads · 30 days
11
42% of all-time downloads
All-time downloads
26
Public
Repo size
18.5 GB
Likes
0
Public
Click a slice to open those files.
.bin6.2 GB · 50%
From the Hugging Face model README
language:
In order to infer a single audio file using this model, the following code snippet can be used:
>>> import torch
>>> from transformers import pipeline
>>> # path to the audio file to be transcribed
>>> audio = "/path/to/audio.format"
>>> device = "cuda:0" if torch.cuda.is_available() else "cpu"
>>> transcribe = pipeline(task="automatic-speech-recognition", model="web30india/LLM-Hindi-Large", chunk_length_s=30, device=device)
>>> transcribe.model.config.forced_decoder_ids = transcribe.tokenizer.get_decoder_prompt_ids(language="hi", task="transcribe")
>>> print('Transcription: ', transcribe(audio)["text"])
This work was done at [Virtual Height IT Services Pvt. Ltd.]