Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -38,68 +38,47 @@ More details on model performance across various devices, can be found
|
|
38 |
|
39 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
40 |
|---|---|---|---|---|---|---|---|---|
|
41 |
-
| WhisperDecoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE |
|
42 |
-
| WhisperDecoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 |
|
43 |
-
| WhisperDecoder | Samsung Galaxy
|
44 |
-
| WhisperDecoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 |
|
45 |
-
| WhisperDecoder |
|
46 |
-
| WhisperDecoder |
|
47 |
-
| WhisperDecoder |
|
48 |
-
| WhisperDecoder |
|
49 |
-
| WhisperDecoder |
|
50 |
-
| WhisperDecoder |
|
51 |
-
| WhisperDecoder |
|
52 |
-
| WhisperDecoder |
|
53 |
-
| WhisperDecoder |
|
54 |
-
| WhisperDecoder |
|
55 |
-
|
|
56 |
-
|
|
57 |
-
|
|
58 |
-
|
|
59 |
-
|
|
60 |
-
|
|
61 |
-
|
|
62 |
-
|
|
63 |
-
|
|
64 |
-
|
|
65 |
-
|
|
66 |
-
| WhisperEncoder |
|
67 |
-
| WhisperEncoder |
|
68 |
-
| WhisperEncoder |
|
69 |
-
| WhisperEncoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | QNN | 597.586 ms | 0 - 837 MB | FP16 | NPU | [Whisper-Small-En.so](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.so) |
|
70 |
-
| WhisperEncoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 869.225 ms | 0 - 1429 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
71 |
-
| WhisperEncoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 544.489 ms | 111 - 141 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
72 |
-
| WhisperEncoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 515.742 ms | 0 - 906 MB | FP16 | NPU | Use Export Script |
|
73 |
-
| WhisperEncoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 677.156 ms | 172 - 1609 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
74 |
-
| WhisperEncoder | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 1255.513 ms | 18 - 221 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
75 |
-
| WhisperEncoder | QCS8550 (Proxy) | QCS8550 Proxy | QNN | 675.441 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
|
76 |
-
| WhisperEncoder | SA7255P ADP | SA7255P | TFLITE | 4429.057 ms | 109 - 142 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
77 |
-
| WhisperEncoder | SA7255P ADP | SA7255P | QNN | 3217.361 ms | 1 - 11 MB | FP16 | NPU | Use Export Script |
|
78 |
-
| WhisperEncoder | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 685.501 ms | 110 - 158 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
79 |
-
| WhisperEncoder | SA8255 (Proxy) | SA8255P Proxy | QNN | 687.338 ms | 1 - 3 MB | FP16 | NPU | Use Export Script |
|
80 |
-
| WhisperEncoder | SA8295P ADP | SA8295P | TFLITE | 657.369 ms | 110 - 142 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
81 |
-
| WhisperEncoder | SA8295P ADP | SA8295P | QNN | 700.793 ms | 0 - 15 MB | FP16 | NPU | Use Export Script |
|
82 |
-
| WhisperEncoder | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 686.08 ms | 50 - 129 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
83 |
-
| WhisperEncoder | SA8650 (Proxy) | SA8650P Proxy | QNN | 674.708 ms | 0 - 3 MB | FP16 | NPU | Use Export Script |
|
84 |
-
| WhisperEncoder | SA8775P ADP | SA8775P | TFLITE | 1287.541 ms | 88 - 121 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
85 |
-
| WhisperEncoder | SA8775P ADP | SA8775P | QNN | 604.581 ms | 1 - 10 MB | FP16 | NPU | Use Export Script |
|
86 |
-
| WhisperEncoder | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 983.989 ms | 58 - 157 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
87 |
-
| WhisperEncoder | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN | 505.395 ms | 0 - 0 MB | FP16 | NPU | Use Export Script |
|
88 |
-
| WhisperEncoder | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1340.942 ms | 237 - 237 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
## Installation
|
94 |
|
95 |
-
This model can be installed as a Python package via pip.
|
96 |
|
|
|
97 |
```bash
|
98 |
-
pip install "qai-hub-models[
|
99 |
```
|
100 |
|
101 |
|
102 |
-
|
103 |
## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
|
104 |
|
105 |
Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
|
@@ -150,8 +129,8 @@ Profiling Results
|
|
150 |
WhisperDecoder
|
151 |
Device : Samsung Galaxy S23 (13)
|
152 |
Runtime : TFLITE
|
153 |
-
Estimated inference time (ms) :
|
154 |
-
Estimated peak memory usage (MB): [16,
|
155 |
Total # Ops : 2573
|
156 |
Compute Unit(s) : NPU (2573 ops)
|
157 |
|
@@ -159,8 +138,8 @@ Compute Unit(s) : NPU (2573 ops)
|
|
159 |
WhisperEncoder
|
160 |
Device : Samsung Galaxy S23 (13)
|
161 |
Runtime : TFLITE
|
162 |
-
Estimated inference time (ms) :
|
163 |
-
Estimated peak memory usage (MB): [
|
164 |
Total # Ops : 911
|
165 |
Compute Unit(s) : GPU (900 ops) CPU (11 ops)
|
166 |
```
|
@@ -293,7 +272,8 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
293 |
|
294 |
|
295 |
## License
|
296 |
-
* The license for the original implementation of Whisper-Small-En can be found
|
|
|
297 |
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
298 |
|
299 |
|
|
|
38 |
|
39 |
| Model | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
|
40 |
|---|---|---|---|---|---|---|---|---|
|
41 |
+
| WhisperDecoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 28.431 ms | 16 - 101 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
42 |
+
| WhisperDecoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 61.376 ms | 41 - 728 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.onnx) |
|
43 |
+
| WhisperDecoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 24.241 ms | 28 - 162 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
44 |
+
| WhisperDecoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 48.975 ms | 0 - 306 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.onnx) |
|
45 |
+
| WhisperDecoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 21.333 ms | 15 - 177 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
46 |
+
| WhisperDecoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 43.862 ms | 55 - 376 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.onnx) |
|
47 |
+
| WhisperDecoder | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 29.124 ms | 16 - 96 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
48 |
+
| WhisperDecoder | SA7255P ADP | SA7255P | TFLITE | 101.345 ms | 16 - 175 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
49 |
+
| WhisperDecoder | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 28.596 ms | 16 - 101 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
50 |
+
| WhisperDecoder | SA8295P ADP | SA8295P | TFLITE | 31.234 ms | 16 - 164 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
51 |
+
| WhisperDecoder | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 28.404 ms | 16 - 101 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
52 |
+
| WhisperDecoder | SA8775P ADP | SA8775P | TFLITE | 33.076 ms | 16 - 175 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
53 |
+
| WhisperDecoder | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 31.696 ms | 16 - 142 MB | FP16 | NPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.tflite) |
|
54 |
+
| WhisperDecoder | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 51.962 ms | 231 - 231 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperDecoder.onnx) |
|
55 |
+
| WhisperEncoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | TFLITE | 810.289 ms | 110 - 176 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
56 |
+
| WhisperEncoder | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 | ONNX | 1121.013 ms | 35 - 246 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
57 |
+
| WhisperEncoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | TFLITE | 528.927 ms | 110 - 206 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
58 |
+
| WhisperEncoder | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 | ONNX | 851.638 ms | 156 - 1585 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
59 |
+
| WhisperEncoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | TFLITE | 543.701 ms | 109 - 140 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
60 |
+
| WhisperEncoder | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | ONNX | 674.597 ms | 122 - 1558 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
61 |
+
| WhisperEncoder | QCS8550 (Proxy) | QCS8550 Proxy | TFLITE | 969.98 ms | 30 - 150 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
62 |
+
| WhisperEncoder | SA7255P ADP | SA7255P | TFLITE | 4475.179 ms | 98 - 131 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
63 |
+
| WhisperEncoder | SA8255 (Proxy) | SA8255P Proxy | TFLITE | 1250.866 ms | 18 - 136 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
64 |
+
| WhisperEncoder | SA8295P ADP | SA8295P | TFLITE | 657.219 ms | 109 - 140 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
65 |
+
| WhisperEncoder | SA8650 (Proxy) | SA8650P Proxy | TFLITE | 684.483 ms | 18 - 157 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
66 |
+
| WhisperEncoder | SA8775P ADP | SA8775P | TFLITE | 1292.109 ms | 103 - 135 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
67 |
+
| WhisperEncoder | QCS8450 (Proxy) | QCS8450 Proxy | TFLITE | 1615.849 ms | 74 - 174 MB | FP16 | GPU | [Whisper-Small-En.tflite](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.tflite) |
|
68 |
+
| WhisperEncoder | Snapdragon X Elite CRD | Snapdragon® X Elite | ONNX | 1341.576 ms | 237 - 237 MB | FP16 | NPU | [Whisper-Small-En.onnx](https://huggingface.co/qualcomm/Whisper-Small-En/blob/main/WhisperEncoder.onnx) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
## Installation
|
74 |
|
|
|
75 |
|
76 |
+
Install the package via pip:
|
77 |
```bash
|
78 |
+
pip install "qai-hub-models[whisper-small-en]"
|
79 |
```
|
80 |
|
81 |
|
|
|
82 |
## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
|
83 |
|
84 |
Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
|
|
|
129 |
WhisperDecoder
|
130 |
Device : Samsung Galaxy S23 (13)
|
131 |
Runtime : TFLITE
|
132 |
+
Estimated inference time (ms) : 28.4
|
133 |
+
Estimated peak memory usage (MB): [16, 101]
|
134 |
Total # Ops : 2573
|
135 |
Compute Unit(s) : NPU (2573 ops)
|
136 |
|
|
|
138 |
WhisperEncoder
|
139 |
Device : Samsung Galaxy S23 (13)
|
140 |
Runtime : TFLITE
|
141 |
+
Estimated inference time (ms) : 810.3
|
142 |
+
Estimated peak memory usage (MB): [110, 176]
|
143 |
Total # Ops : 911
|
144 |
Compute Unit(s) : GPU (900 ops) CPU (11 ops)
|
145 |
```
|
|
|
272 |
|
273 |
|
274 |
## License
|
275 |
+
* The license for the original implementation of Whisper-Small-En can be found
|
276 |
+
[here](https://github.com/openai/whisper/blob/main/LICENSE).
|
277 |
* The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
|
278 |
|
279 |
|