|
--- |
|
license: apache-2.0 |
|
datasets: |
|
- ivrit-ai/crowd-transcribe-v4 |
|
language: |
|
- he |
|
- en |
|
base_model: openai/whisper-large-v2 |
|
pipeline_tag: automatic-speech-recognition |
|
--- |
|
|
|
This is ivrit.ai's faster-whisper model, based on the ivrit-ai/whisper-v2-d4 Whisper model. |
|
Release date: September 8th, 2024. |
|
|
|
# Prerequisites |
|
|
|
pip3 install faster_whisper |
|
|
|
# Usage |
|
|
|
``` |
|
import faster_whisper |
|
model = faster_whisper.WhisperModel('ivrit-ai/faster-whisper-v2-d4') |
|
|
|
segs, _ = model.transcribe('media-file', language='he') |
|
|
|
texts = [] |
|
for s in segs: |
|
texts.append(s.text) |
|
|
|
transcribed_text = ' '.join(texts) |
|
print(f'Transcribed text: {transcribed_text}') |
|
``` |
|
|
|
|