EtMmohammedHafsati's picture
Add CT2 model: es__HiTZ__whisper-small-es__int8
e716c59 verified
|
Raw
History Blame Contribute Delete
694 Bytes
metadata
library_name: ctranslate2
pipeline_tag: automatic-speech-recognition
tags:
  - faster-whisper
  - whisper-small
  - es
license: apache-2.0

es__HiTZ__whisper-small-es__int8

CTranslate2 export of Whisper Small for es (usable with faster-whisper).

Usage

from faster_whisper import WhisperModel
model = WhisperModel("es__HiTZ__whisper-small-es__int8", device="cpu", compute_type="int8")  # or cuda / int8_float16
segments, info = model.transcribe("sample.wav", language="es")
for s in segments:
    print(f"[{s.start:.2f} -> {s.end:.2f}] {s.text}")

Tip: If you get a language mismatch, pass language="<code>" explicitly.