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

publish whisper-tiny.en 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-tiny.en
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-tiny.en
12
+ ---
13
+
14
+ <div align="center">
15
+
16
+ # Whisper Tiny (English) Β· OpenASR
17
+
18
+ **The smallest English-only Whisper, fastest for English speech**
19
+
20
+ [![License](https://img.shields.io/badge/license-Apache--2.0-2563eb.svg)](https://huggingface.co/openai/whisper-tiny.en/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--tiny.en-f59e0b.svg)](https://huggingface.co/openai/whisper-tiny.en)
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
+ - πŸ‡¬πŸ‡§ **English-only** β€” specialized for English, typically more accurate on English than the same-size multilingual model
35
+ - ⚑ **39M parameters** β€” the smallest, fastest, and lightest Whisper checkpoint
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-tiny.en:q8
45
+
46
+ # 3. Transcribe
47
+ openasr transcribe audio.wav --model whisper-tiny.en
48
+ ```
49
+
50
+ All builds for this model:
51
+
52
+ ```bash
53
+ openasr pull whisper-tiny.en:fp16
54
+ openasr pull whisper-tiny.en:q8
55
+ openasr pull whisper-tiny.en: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-tiny.en-fp16.oasr` | 79 MB | 325 MB | 0.05Γ— | 0.05Γ— | 0.0% |
63
+ | q8_0 | `whisper-tiny.en-q8_0.oasr` | 63 MB | 277 MB | 0.05Γ— | 0.04Γ— | 0.0% |
64
+ | q4_k | `whisper-tiny.en-q4_k.oasr` | 61 MB | 271 MB | 0.05Γ— | 0.05Γ— | 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 Tiny (English)
73
+
74
+ Whisper Tiny.en is OpenAI's 39M-parameter English-only Whisper checkpoint. It uses the standard
75
+ Whisper encoder-decoder architecture for automatic speech recognition, trained with large-scale
76
+ weak supervision on 680k hours of labelled speech. As an English-specialized model it tends to
77
+ outperform the same-size multilingual Whisper on English audio, at the lowest footprint and
78
+ fastest inference in the family. This OpenASR repo repackages the original `openai/whisper-tiny.en`
79
+ weights as `.oasr` packs that run natively in the OpenASR runtime with no Python at inference
80
+ time. For most users the q8_0 build is the recommended default; q4_k is for the tightest memory
81
+ budgets and fp16 is for verification or maximum fidelity.
82
+
83
+ ## βš™οΈ How these packs were made
84
+
85
+ Converted from [openai/whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en) with the OpenASR importer:
86
+
87
+ ```bash
88
+ openasr model-pack import-whisper-local <src> <out>.oasr \
89
+ --package-id whisper-tiny.en --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-tiny.en/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 Tiny.en**, released by **OpenAI**
104
+ ([openai/whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en)).
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-tiny.en](https://huggingface.co/openai/whisper-tiny.en)
whisper-tiny.en-fp16.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec0f4bfd28a3edb142a763089bf02afa5292e145e4f3c675eda8662ee4e6b084
3
+ size 78717216
whisper-tiny.en-q4_k.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7694f9e006c51410b20e773f45fd7372ac4747e0bb9bd026f572e7a36abba5de
3
+ size 60875040
whisper-tiny.en-q8_0.oasr ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a95114cd2bc882aca971da6694c58d40b25f4530f81321044e4dac3aba80871
3
+ size 63234336