benderrodriguez commited on
Commit
b59836c
1 Parent(s): cbe183c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -3
README.md CHANGED
@@ -1,3 +1,33 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - ivrit-ai/crowd-transcribe-v4
5
+ language:
6
+ - he
7
+ - en
8
+ base_model: openai/whisper-large-v2
9
+ pipeline_tag: automatic-speech-recognition
10
+ ---
11
+
12
+ This is ivrit.ai's faster-whisper model, based on the ivrit-ai/whisper-v2-d4 Whisper model.
13
+
14
+ # Prerequisites
15
+
16
+ pip3 install faster_whisper
17
+
18
+ # Usage
19
+
20
+ ```
21
+ import faster_whisper
22
+ model = faster_whisper.WhisperModel('ivrit-ai/faster-whisper-v2-d4')
23
+
24
+ segs, _ = model.transcribe('media-file', language='he')
25
+
26
+ texts = []
27
+ for s in segs:
28
+ texts.append(s.text)
29
+
30
+ transcribed_text = ' '.join(texts)
31
+ print(f'Transcribed text: {transcribed_text}')
32
+ ```
33
+