💬Urdu ASR Models
Collection
Collection of fine-tuned Urdu speech recognition models.
•
9 items
•
Updated
•
2
CTranslate2-int8 conversion of kingabzpro/whisper-large-v3-turbo-urdu
for fast CPU inference.
pip install faster-whisper ctranslate2
faster-whisper
provides a simple Python API on top of CTranslate2.ctranslate2
is the optimized inference backend.from faster_whisper import WhisperModel
model = WhisperModel("kingabzpro/whisper-large-v3-urdu-ct2", device="cpu", compute_type="int8")
from faster_whisper import WhisperModel
# Load the int8-quantized CTranslate2 model
model = WhisperModel(
"kingabzpro/whisper-large-v3-urdu-ct2",
device="cpu", # run on CPU
compute_type="int8" # int8 quantization
)
# Transcribe a WAV, MP3 or NumPy array
segments, info = model.transcribe(
"path/to/audio.wav",
beam_size=5, # ↔ speed vs. accuracy
vad_filter=True # skip silence for extra speed
)
# Join segments into a single string
text = " ".join(segment.text for segment in segments)
print(text)
faster-whisper
and ctranslate2
are installedbeam_size
or disabling vad_filter
Base model
openai/whisper-large-v3