OpenASR commited on
Commit
fdd4c60
Β·
verified Β·
0 Parent(s):

publish whisper-base OpenASR packs

Browse files
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.oasr filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: openai/whisper-base
4
+ pipeline_tag: automatic-speech-recognition
5
+ library_name: openasr
6
+ tags:
7
+ - automatic-speech-recognition
8
+ - speech-to-text
9
+ - openasr
10
+ - oasr
11
+ - whisper-base
12
+ ---
13
+
14
+ <div align="center">
15
+
16
+ # Whisper Base Β· OpenASR
17
+
18
+ **Compact multilingual Whisper, a step up from tiny**
19
+
20
+ [![License](https://img.shields.io/badge/license-Apache--2.0-2563eb.svg)](https://huggingface.co/openai/whisper-base/blob/main/README.md)
21
+ [![Format](https://img.shields.io/badge/format-.oasr-7c3aed.svg)](https://github.com/QuintinShaw/openasr)
22
+ [![Runtime](https://img.shields.io/badge/runtime-OpenASR-111827.svg)](https://openasr.org)
23
+ [![Base model](https://img.shields.io/badge/base-whisper--base-f59e0b.svg)](https://huggingface.co/openai/whisper-base)
24
+
25
+ Native speech-to-text in the **[OpenASR](https://github.com/QuintinShaw/openasr)** runtime β€”
26
+ engineered for peak performance on CPU & GPU, **no Python at inference time**.
27
+
28
+ </div>
29
+
30
+ ---
31
+
32
+ ## ✨ Highlights
33
+
34
+ - 🎧 **Multilingual ASR** β€” transcribes many languages and can translate speech to English
35
+ - πŸͺΆ **74M parameters** β€” a small footprint with noticeably better accuracy than tiny
36
+ - 🌐 **Weak-supervision scale** β€” trained with Whisper's 680k-hour labelled speech corpus
37
+ - πŸ¦€ **Native in OpenASR** β€” `.oasr` packs run with no Python at inference, engineered for peak performance on CPU & GPU
38
+
39
+ ## πŸš€ Quickstart
40
+
41
+ ```bash
42
+ # 1. Install the OpenASR CLI Β· https://openasr.org
43
+ # 2. Pull a build (pick a quant β€” see the table below)
44
+ openasr pull whisper-base:q8
45
+
46
+ # 3. Transcribe
47
+ openasr transcribe audio.wav --model whisper-base
48
+ ```
49
+
50
+ All builds for this model:
51
+
52
+ ```bash
53
+ openasr pull whisper-base:fp16
54
+ openasr pull whisper-base:q8
55
+ openasr pull whisper-base:q4
56
+ ```
57
+
58
+ ## πŸ“¦ Available builds
59
+
60
+ | Quant | File (`.oasr`) | Size | RAM peak | RTF Β· M1 CPU | RTF Β· M1 GPU | JFK Ξ”WER vs fp16 |
61
+ |:------|:---------------|-----:|---------:|-------------:|-------------:|-----------------:|
62
+ | fp16 | `whisper-base-fp16.oasr` | 149 MB | 542 MB | 0.08Γ— | 0.06Γ— | 0.0% |
63
+ | q8_0 | `whisper-base-q8_0.oasr` | 108 MB | 405 MB | 0.07Γ— | 0.06Γ— | 0.0% |
64
+ | q4_k | `whisper-base-q4_k.oasr` | 86 MB | 364 MB | 0.06Γ— | 0.07Γ— | 0.0% |
65
+
66
+ <sub>RTF = real-time factor on the fixed 11s JFK clip (**lower is faster**); RAM peak measured per pack
67
+ in an isolated subprocess. JFK Ξ”WER compares each quantized build's JFK transcript to this model's
68
+ fp16 JFK transcript, so it measures quantization drift rather than absolute recognition accuracy.
69
+ **q8_0** is the recommended default β€” near-reference quality at a fraction of the
70
+ footprint.</sub>
71
+
72
+ ## 🧠 About Whisper Base
73
+
74
+ Whisper Base is OpenAI's 74M-parameter multilingual Whisper checkpoint. It uses the standard
75
+ Whisper encoder-decoder architecture for automatic speech recognition and speech translation,
76
+ trained with large-scale weak supervision on 680k hours of labelled speech. Base offers a
77
+ meaningful accuracy gain over tiny while staying small and fast enough for low-resource
78
+ devices. This OpenASR repo repackages the original `openai/whisper-base` weights as `.oasr`
79
+ packs that run natively in the OpenASR runtime with no Python at inference time. For most users
80
+ the q8_0 build is the recommended default; q4_k is for tighter memory budgets and fp16 is for
81
+ verification or maximum fidelity.
82
+
83
+ ## βš™οΈ How these packs were made
84
+
85
+ Converted from [openai/whisper-base](https://huggingface.co/openai/whisper-base) with the OpenASR importer:
86
+
87
+ ```bash
88
+ openasr model-pack import-whisper-local <src> <out>.oasr \
89
+ --package-id whisper-base --quantization {fp16,q8-0,q4-k}
90
+ ```
91
+
92
+ The `.oasr` container is GGUF-backed; packs use zero-copy mmap weight binding and graph
93
+ buffer reuse to keep peak memory low.
94
+
95
+ ## βš–οΈ License
96
+
97
+ These packs **inherit the upstream model's license: Apache-2.0**
98
+ ([source](https://huggingface.co/openai/whisper-base/blob/main/README.md)). OpenASR packaging retains the upstream copyright and
99
+ NOTICE; the only modifications are format conversion and quantization.
100
+
101
+ ## πŸ™ Acknowledgements
102
+
103
+ This pack is a redistribution of **Whisper Base**, released by **OpenAI**
104
+ ([openai/whisper-base](https://huggingface.co/openai/whisper-base)).
105
+ All credit for the original model, training recipe, and weights belongs to OpenAI. The
106
+ upstream Hugging Face model card declares Apache-2.0 licensing; OpenASR only converts the
107
+ weights into `.oasr` packages and adds quantized builds for local runtime use.
108
+
109
+ ## πŸ”— Links
110
+
111
+ - πŸ¦€ **OpenASR** β€” <https://github.com/QuintinShaw/openasr>
112
+ - 🌐 **Website** β€” <https://openasr.org>
113
+ - πŸ€— **Upstream model** β€” [openai/whisper-base](https://huggingface.co/openai/whisper-base)
whisper-base-fp16.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf3e42a2e866182077deca694f3f3bc935b3f892a825ad2130b7a0c167014da7
3
+ size 149055136
whisper-base-q4_k.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a3d85f9ae6948366b053503cb164e3604a935f236846e917e553c2b17aee227
3
+ size 85747360
whisper-base-q8_0.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a565a224ed9111e6477590b01632caea90502b1bca5350c50d80384f31f742
3
+ size 107767456