qaihm-bot commited on
Commit
6d36021
·
verified ·
1 Parent(s): 8b776d7

Deprecation notice.

DEPLOYMENT_MODEL_LICENSE.pdf DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4409f93b0e82531303b3e10f52f1fdfb56467a25f05b7441c6bbd8bb8a64b42c
3
- size 109629
 
 
 
 
LICENSE DELETED
@@ -1,2 +0,0 @@
1
- The license of the original trained model can be found at https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE.
2
- The license for the deployable model files (.tflite, .onnx, .dlc, .bin, etc.) can be found in DEPLOYMENT_MODEL_LICENSE.pdf.
 
 
 
README.md CHANGED
@@ -1,267 +1,10 @@
 
1
  ---
2
  library_name: pytorch
3
  license: other
4
  tags:
5
- - foundation
6
- - android
7
- pipeline_tag: automatic-speech-recognition
8
 
9
  ---
10
-
11
- ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/whisper_base_en/web-assets/model_demo.png)
12
-
13
- # Whisper-Base-En: Optimized for Mobile Deployment
14
- ## Transformer-based automatic speech recognition (ASR) model for multilingual transcription and translation available on HuggingFace
15
-
16
-
17
- HuggingFace Whisper-Small ASR (Automatic Speech Recognition) model is a state-of-the-art system designed for transcribing spoken language into written text. This model is based on the transformer architecture and has been optimized for edge inference by replacing Multi-Head Attention (MHA) with Single-Head Attention (SHA) and linear layers with convolutional (conv) layers. It exhibits robust performance in realistic, noisy environments, making it highly reliable for real-world applications. Specifically, it excels in long-form transcription, capable of accurately transcribing audio clips up to 30 seconds long. Time to the first token is the encoder's latency, while time to each additional token is decoder's latency, where we assume a max decoded length specified below.
18
-
19
- This model is an implementation of Whisper-Base-En found [here](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper).
20
-
21
-
22
- This repository provides scripts to run Whisper-Base-En on Qualcomm® devices.
23
- More details on model performance across various devices, can be found
24
- [here](https://aihub.qualcomm.com/models/whisper_base_en).
25
-
26
-
27
-
28
- ### Model Details
29
-
30
- - **Model Type:** Model_use_case.speech_recognition
31
- - **Model Stats:**
32
- - Model checkpoint: openai/whisper-base
33
- - Input resolution: 80x3000 (30 seconds audio)
34
- - Max decoded sequence length: 200 tokens
35
- - Number of parameters (HfWhisperEncoder): 23.7M
36
- - Model size (HfWhisperEncoder) (float): 90.7 MB
37
- - Number of parameters (HfWhisperDecoder): 48.9M
38
- - Model size (HfWhisperDecoder) (float): 187 MB
39
-
40
- | Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
41
- |---|---|---|---|---|---|---|---|---|
42
- | HfWhisperEncoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 863.839 ms | 38 - 66 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
43
- | HfWhisperEncoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 130.073 ms | 0 - 130 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
44
- | HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 292.604 ms | 38 - 111 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
45
- | HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 112.638 ms | 1 - 130 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
46
- | HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 234.299 ms | 0 - 69 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
47
- | HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 43.537 ms | 0 - 45 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
48
- | HfWhisperEncoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 400.795 ms | 38 - 67 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
49
- | HfWhisperEncoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 50.197 ms | 1 - 133 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
50
- | HfWhisperEncoder | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 863.839 ms | 38 - 66 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
51
- | HfWhisperEncoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 130.073 ms | 0 - 130 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
52
- | HfWhisperEncoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 257.222 ms | 0 - 71 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
53
- | HfWhisperEncoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 43.566 ms | 0 - 43 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
54
- | HfWhisperEncoder | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 229.608 ms | 38 - 74 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
55
- | HfWhisperEncoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 92.405 ms | 0 - 139 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
56
- | HfWhisperEncoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 229.942 ms | 0 - 68 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
57
- | HfWhisperEncoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 43.746 ms | 0 - 42 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
58
- | HfWhisperEncoder | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 400.795 ms | 38 - 67 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
59
- | HfWhisperEncoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 50.197 ms | 1 - 133 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
60
- | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 230.509 ms | 38 - 114 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
61
- | HfWhisperEncoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_DLC | 43.232 ms | 1 - 41 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
62
- | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 174.142 ms | 38 - 105 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
63
- | HfWhisperEncoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 34.16 ms | 0 - 135 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
64
- | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 171.96 ms | 37 - 67 MB | GPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
65
- | HfWhisperEncoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_DLC | 27.427 ms | 0 - 129 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
66
- | HfWhisperEncoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 42.083 ms | 33 - 33 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
67
- | HfWhisperDecoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | TFLITE | 9.663 ms | 5 - 153 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
68
- | HfWhisperDecoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_DLC | 6.259 ms | 9 - 62 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
69
- | HfWhisperDecoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | TFLITE | 7.142 ms | 5 - 195 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
70
- | HfWhisperDecoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_DLC | 5.165 ms | 17 - 71 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
71
- | HfWhisperDecoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | TFLITE | 6.046 ms | 2 - 388 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
72
- | HfWhisperDecoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_DLC | 3.874 ms | 20 - 32 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
73
- | HfWhisperDecoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | TFLITE | 6.999 ms | 5 - 154 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
74
- | HfWhisperDecoder | float | QCS9075 (Proxy) | Qualcomm® QCS9075 (Proxy) | QNN_DLC | 4.701 ms | 19 - 69 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
75
- | HfWhisperDecoder | float | SA7255P ADP | Qualcomm® SA7255P | TFLITE | 9.663 ms | 5 - 153 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
76
- | HfWhisperDecoder | float | SA7255P ADP | Qualcomm® SA7255P | QNN_DLC | 6.259 ms | 9 - 62 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
77
- | HfWhisperDecoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | TFLITE | 5.937 ms | 2 - 373 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
78
- | HfWhisperDecoder | float | SA8255 (Proxy) | Qualcomm® SA8255P (Proxy) | QNN_DLC | 4.004 ms | 20 - 33 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
79
- | HfWhisperDecoder | float | SA8295P ADP | Qualcomm® SA8295P | TFLITE | 7.372 ms | 5 - 151 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
80
- | HfWhisperDecoder | float | SA8295P ADP | Qualcomm® SA8295P | QNN_DLC | 5.244 ms | 15 - 113 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
81
- | HfWhisperDecoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | TFLITE | 5.978 ms | 2 - 328 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
82
- | HfWhisperDecoder | float | SA8650 (Proxy) | Qualcomm® SA8650P (Proxy) | QNN_DLC | 3.905 ms | 20 - 32 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
83
- | HfWhisperDecoder | float | SA8775P ADP | Qualcomm® SA8775P | TFLITE | 6.999 ms | 5 - 154 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
84
- | HfWhisperDecoder | float | SA8775P ADP | Qualcomm® SA8775P | QNN_DLC | 4.701 ms | 19 - 69 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
85
- | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | TFLITE | 5.929 ms | 2 - 249 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
86
- | HfWhisperDecoder | float | Samsung Galaxy S23 | Snapdragon® 8 Gen 2 Mobile | QNN_DLC | 3.978 ms | 20 - 32 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
87
- | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | TFLITE | 4.517 ms | 3 - 190 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
88
- | HfWhisperDecoder | float | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_DLC | 3.178 ms | 5 - 62 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
89
- | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | TFLITE | 4.061 ms | 3 - 154 MB | NPU | [Whisper-Base-En.tflite](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.tflite) |
90
- | HfWhisperDecoder | float | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_DLC | 2.622 ms | 20 - 80 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
91
- | HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_DLC | 3.57 ms | 150 - 150 MB | NPU | [Whisper-Base-En.dlc](https://huggingface.co/qualcomm/Whisper-Base-En/blob/main/Whisper-Base-En.dlc) |
92
-
93
-
94
-
95
-
96
- ## Installation
97
-
98
-
99
- Install the package via pip:
100
- ```bash
101
- pip install "qai-hub-models[whisper-base-en]"
102
- ```
103
-
104
-
105
- ## Configure Qualcomm® AI Hub to run this model on a cloud-hosted device
106
-
107
- Sign-in to [Qualcomm® AI Hub](https://app.aihub.qualcomm.com/) with your
108
- Qualcomm® ID. Once signed in navigate to `Account -> Settings -> API Token`.
109
-
110
- With this API token, you can configure your client to run models on the cloud
111
- hosted devices.
112
- ```bash
113
- qai-hub configure --api_token API_TOKEN
114
- ```
115
- Navigate to [docs](https://app.aihub.qualcomm.com/docs/) for more information.
116
-
117
-
118
-
119
- ## Demo off target
120
-
121
- The package contains a simple end-to-end demo that downloads pre-trained
122
- weights and runs this model on a sample input.
123
-
124
- ```bash
125
- python -m qai_hub_models.models.whisper_base_en.demo
126
- ```
127
-
128
- The above demo runs a reference implementation of pre-processing, model
129
- inference, and post processing.
130
-
131
- **NOTE**: If you want running in a Jupyter Notebook or Google Colab like
132
- environment, please add the following to your cell (instead of the above).
133
- ```
134
- %run -m qai_hub_models.models.whisper_base_en.demo
135
- ```
136
-
137
-
138
- ### Run model on a cloud-hosted device
139
-
140
- In addition to the demo, you can also run the model on a cloud-hosted Qualcomm®
141
- device. This script does the following:
142
- * Performance check on-device on a cloud-hosted device
143
- * Downloads compiled assets that can be deployed on-device for Android.
144
- * Accuracy check between PyTorch and on-device outputs.
145
-
146
- ```bash
147
- python -m qai_hub_models.models.whisper_base_en.export
148
- ```
149
-
150
-
151
-
152
- ## How does this work?
153
-
154
- This [export script](https://aihub.qualcomm.com/models/whisper_base_en/qai_hub_models/models/Whisper-Base-En/export.py)
155
- leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
156
- on-device. Lets go through each step below in detail:
157
-
158
- Step 1: **Compile model for on-device deployment**
159
-
160
- To compile a PyTorch model for on-device deployment, we first trace the model
161
- in memory using the `jit.trace` and then call the `submit_compile_job` API.
162
-
163
- ```python
164
- import torch
165
-
166
- import qai_hub as hub
167
- from qai_hub_models.models.whisper_base_en import Model
168
-
169
- # Load the model
170
- torch_model = Model.from_pretrained()
171
-
172
- # Device
173
- device = hub.Device("Samsung Galaxy S24")
174
-
175
- # Trace model
176
- input_shape = torch_model.get_input_spec()
177
- sample_inputs = torch_model.sample_inputs()
178
-
179
- pt_model = torch.jit.trace(torch_model, [torch.tensor(data[0]) for _, data in sample_inputs.items()])
180
-
181
- # Compile model on a specific device
182
- compile_job = hub.submit_compile_job(
183
- model=pt_model,
184
- device=device,
185
- input_specs=torch_model.get_input_spec(),
186
- )
187
-
188
- # Get target model to run on-device
189
- target_model = compile_job.get_target_model()
190
-
191
- ```
192
-
193
-
194
- Step 2: **Performance profiling on cloud-hosted device**
195
-
196
- After compiling models from step 1. Models can be profiled model on-device using the
197
- `target_model`. Note that this scripts runs the model on a device automatically
198
- provisioned in the cloud. Once the job is submitted, you can navigate to a
199
- provided job URL to view a variety of on-device performance metrics.
200
- ```python
201
- profile_job = hub.submit_profile_job(
202
- model=target_model,
203
- device=device,
204
- )
205
-
206
- ```
207
-
208
- Step 3: **Verify on-device accuracy**
209
-
210
- To verify the accuracy of the model on-device, you can run on-device inference
211
- on sample input data on the same cloud hosted device.
212
- ```python
213
- input_data = torch_model.sample_inputs()
214
- inference_job = hub.submit_inference_job(
215
- model=target_model,
216
- device=device,
217
- inputs=input_data,
218
- )
219
- on_device_output = inference_job.download_output_data()
220
-
221
- ```
222
- With the output of the model, you can compute like PSNR, relative errors or
223
- spot check the output with expected output.
224
-
225
- **Note**: This on-device profiling and inference requires access to Qualcomm®
226
- AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
227
-
228
-
229
-
230
-
231
- ## Deploying compiled model to Android
232
-
233
-
234
- The models can be deployed using multiple runtimes:
235
- - TensorFlow Lite (`.tflite` export): [This
236
- tutorial](https://www.tensorflow.org/lite/android/quickstart) provides a
237
- guide to deploy the .tflite model in an Android application.
238
-
239
-
240
- - QNN (`.so` export ): This [sample
241
- app](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/sample_app.html)
242
- provides instructions on how to use the `.so` shared library in an Android application.
243
-
244
-
245
- ## View on Qualcomm® AI Hub
246
- Get more details on Whisper-Base-En's performance across various devices [here](https://aihub.qualcomm.com/models/whisper_base_en).
247
- Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
248
-
249
-
250
- ## License
251
- * The license for the original implementation of Whisper-Base-En can be found
252
- [here](https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE).
253
- * 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)
254
-
255
-
256
-
257
- ## References
258
- * [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf)
259
- * [Source Model Implementation](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper)
260
-
261
-
262
-
263
- ## Community
264
- * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
265
- * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
266
-
267
-
 
1
+
2
  ---
3
  library_name: pytorch
4
  license: other
5
  tags:
6
+ - deprecated
7
+ pipeline_tag: other
 
8
 
9
  ---
10
+ This model is deprecated. Please refer to https://aihub.qualcomm.com for the latest models and updates.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Whisper-Base-En_HfWhisperDecoder.dlc DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:13f03c484b3c231c18119a99de98e578996956ae7cae44cc6d7f3f4585a77279
3
- size 151746244
 
 
 
 
Whisper-Base-En_HfWhisperDecoder.tflite DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:79a5b34879b6cbedb346e4fbc1cdaa3ea02ca258a38af2212292bf9c6079b10e
3
- size 195855180
 
 
 
 
Whisper-Base-En_HfWhisperEncoder.dlc DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b12b75a1d235019930ee1657d9617c0d013f7de52b55a6a5df3c3e75172ccdf
3
- size 48171764
 
 
 
 
Whisper-Base-En_HfWhisperEncoder.tflite DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2a10aa2de61dbd3ebc33e5d1d3cd424724a8934d5fc03037fdee31787c2dd8c4
3
- size 95114652
 
 
 
 
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base-En_HfWhisperDecoder.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b9d5880d780756e56417aa6a23c1648e02cba2fd64e095ea86caa8ca0074e0f4
3
- size 151846912
 
 
 
 
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base-En_HfWhisperDecoder.onnx.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f69b6b09c3f1de637f764fd06cefaa9815414baeae648513f8bdf2b31f4c7aa9
3
- size 137259306
 
 
 
 
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base-En_HfWhisperEncoder.bin DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7619b8b8d188f1a2f9f92edff8416ecff6eebfe37dbce8ab6b278b5072be32d4
3
- size 63795200
 
 
 
 
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base-En_HfWhisperEncoder.onnx.zip DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dcf8ca6fdc4050505ab8ead6ea33397211b150c5ac9990602a1a2e38f7e4e268
3
- size 47065603
 
 
 
 
precompiled/qualcomm-snapdragon-x-elite/sdk_versions.yml DELETED
@@ -1,5 +0,0 @@
1
- sdk_versions:
2
- qnn_context_binary:
3
- qairt: 2.37.0.250724175447_124859
4
- precompiled_qnn_onnx:
5
- qairt: 2.33.2.250410134701_117956
 
 
 
 
 
 
sdk_versions.yml DELETED
@@ -1,5 +0,0 @@
1
- sdk_versions:
2
- tflite:
3
- tflite: 2.17.0
4
- qnn_dlc:
5
- qairt: 2.37.0.250724175447_124859