Commit ·
0ea80d2
1
Parent(s): 6830842
Upload files
Browse files
README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: cc-by-4.0
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- hi
|
| 4 |
+
tags:
|
| 5 |
+
- audio
|
| 6 |
+
- automatic-speech-recognition
|
| 7 |
license: cc-by-4.0
|
| 8 |
+
library_name: ctranslate2
|
| 9 |
---
|
| 10 |
+
|
| 11 |
+
# Whisper-small-hindi model for CTranslate2
|
| 12 |
+
|
| 13 |
+
This repository contains the conversion of [collabora/whisper-small-hindi](https://huggingface.co/collabora/whisper-small-hi) to the [CTranslate2](https://github.com/OpenNMT/CTranslate2) model format.
|
| 14 |
+
|
| 15 |
+
This model can be used in CTranslate2 or projects based on CTranslate2 such as [faster-whisper](https://github.com/systran/faster-whisper).
|
| 16 |
+
|
| 17 |
+
## Example
|
| 18 |
+
|
| 19 |
+
```python
|
| 20 |
+
from faster_whisper import WhisperModel
|
| 21 |
+
|
| 22 |
+
model = WhisperModel("collabora/faster-whisper-small-hindi")
|
| 23 |
+
|
| 24 |
+
segments, info = model.transcribe("audio.mp3")
|
| 25 |
+
for segment in segments:
|
| 26 |
+
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))
|
| 27 |
+
```
|
model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 483546977
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ad00358a5dd71fc8e094a768caa1f67dad9dbb107641cc6323502a0bf7c2ef7
|
| 3 |
size 483546977
|