Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- ur
|
| 5 |
+
base_model: Abdul145/whisper-medium-urdu-custom
|
| 6 |
+
tags:
|
| 7 |
+
- whisper
|
| 8 |
+
- whisper.cpp
|
| 9 |
+
- ggml
|
| 10 |
+
- automatic-speech-recognition
|
| 11 |
+
- urdu
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Whisper Medium Urdu — whisper.cpp GGML conversion
|
| 15 |
+
|
| 16 |
+
A [whisper.cpp](https://github.com/ggml-org/whisper.cpp)-ready **GGML** conversion of
|
| 17 |
+
[Abdul145/whisper-medium-urdu-custom](https://huggingface.co/Abdul145/whisper-medium-urdu-custom)
|
| 18 |
+
(Apache-2.0), a Whisper-medium fine-tune for Urdu automatic speech recognition.
|
| 19 |
+
All training credit belongs to the original author — this repo only re-packages
|
| 20 |
+
the weights so they load directly in whisper.cpp-based tools without a Python
|
| 21 |
+
conversion step.
|
| 22 |
+
|
| 23 |
+
## Files
|
| 24 |
+
|
| 25 |
+
- `ggml-medium-urdu.bin` (~1.4 GB) — sha1 `59769d590f62eeeb3bc3f5b82ce8c03b6e96831e`
|
| 26 |
+
|
| 27 |
+
Converted with whisper.cpp's `models/convert-h5-to-ggml.py`.
|
| 28 |
+
|
| 29 |
+
## Use with whisper.cpp
|
| 30 |
+
|
| 31 |
+
```sh
|
| 32 |
+
whisper-cli -m ggml-medium-urdu.bin -l ur -f audio.wav
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
## Use with [ossclip](https://github.com/CodeWithAhsan/ossclip) (word-timed Urdu captions, RTL layout included)
|
| 36 |
+
|
| 37 |
+
```sh
|
| 38 |
+
ossclip setup --model medium-urdu
|
| 39 |
+
ossclip produce video.mp4 --whisper-model medium-urdu --captions
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
The language (`ur`) is implied by the model; ossclip lays out right-to-left
|
| 43 |
+
caption lines automatically and bundles Noto Nastaliq Urdu for rendering.
|
| 44 |
+
|
| 45 |
+
## License
|
| 46 |
+
|
| 47 |
+
Apache-2.0, inherited from the base fine-tune. See the original model card for
|
| 48 |
+
training details.
|