Upload README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
license_link: LICENSE
|
| 4 |
+
tags:
|
| 5 |
+
- llamafile
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# OpenAI Whisper - llamafile
|
| 9 |
+
|
| 10 |
+
Whisperfile is a high-performance implementation of [OpenAI's
|
| 11 |
+
Whisper](https://github.com/openai/whisper) created by Mozilla Ocho as
|
| 12 |
+
part of the [llamafile](https://github.com/Mozilla-Ocho/llamafile),
|
| 13 |
+
based on the [whisper.cpp](https://github.com/ggerganov/whisper.cpp)
|
| 14 |
+
software written by Georgi Gerganov, et al.
|
| 15 |
+
|
| 16 |
+
- Model creator: [OpenAI](https://huggingface.co/collections/openai/whisper-release-6501bba2cf999715fd953013)
|
| 17 |
+
- Original models: [openai/whisper-release](https://huggingface.co/collections/openai/whisper-release-6501bba2cf999715fd953013)
|
| 18 |
+
- Origin of quantized weights: [ggerganov/whisper.cpp](https://huggingface.co/ggerganov/whisper.cpp)
|
| 19 |
+
|
| 20 |
+
The model is packaged into executable weights, which we call
|
| 21 |
+
[whisperfiles](https://github.com/Mozilla-Ocho/llamafile/blob/0.8.13/whisper.cpp/doc/index.md).
|
| 22 |
+
This makes it easy to use the model on Linux, MacOS, Windows, FreeBSD,
|
| 23 |
+
OpenBSD, and NetBSD for AMD64 and ARM64.
|
| 24 |
+
|
| 25 |
+
## Quickstart
|
| 26 |
+
|
| 27 |
+
Running the following on a desktop OS will transcribe the speech of a
|
| 28 |
+
wav file into plain text.
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
+
wget https://huggingface.co/Mozilla/whisperfile/resolve/main/whisper-tiny.en.llamafile
|
| 32 |
+
chmod +x whisper-tiny.en.llamafile
|
| 33 |
+
./whisper-tiny.en.llamafile -f speech-recording.wav
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
Having **trouble?** See the ["Gotchas"
|
| 37 |
+
section](https://github.com/mozilla-ocho/llamafile/?tab=readme-ov-file#gotchas)
|
| 38 |
+
of the llamafile README.
|
| 39 |
+
|
| 40 |
+
## Documentation
|
| 41 |
+
|
| 42 |
+
See the [whisperfile
|
| 43 |
+
documentation](https://github.com/Mozilla-Ocho/llamafile/blob/0.8.13/whisper.cpp/doc/index.md)
|
| 44 |
+
for tutorials and further details.
|