v0.45.0
Browse filesSee https://github.com/quic/ai-hub-models/releases/v0.45.0 for changelog.
- README.md +183 -41
- precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-qcs8275-proxy/tool-versions.yaml +3 -0
- precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-qcs8450-proxy/tool-versions.yaml +3 -0
- precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
- precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder_float.onnx.zip +3 -0
- precompiled/qualcomm-qcs8550-proxy/tool-versions.yaml +4 -0
- precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-qcs9075-proxy/tool-versions.yaml +3 -0
- precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-sa7255p/tool-versions.yaml +3 -0
- precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-sa8295p/tool-versions.yaml +3 -0
- precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-sa8775p/tool-versions.yaml +3 -0
- precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperEncoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8-elite-for-galaxy/tool-versions.yaml +4 -0
- precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperEncoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8-elite-gen5/tool-versions.yaml +4 -0
- precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-8gen3/tool-versions.yaml +4 -0
- precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder_float.bin +3 -0
- precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder_float.onnx.zip +3 -0
- precompiled/qualcomm-snapdragon-x-elite/tool-versions.yaml +4 -0
README.md
CHANGED
|
@@ -10,57 +10,35 @@ pipeline_tag: automatic-speech-recognition
|
|
| 10 |
|
| 11 |

|
| 12 |
|
| 13 |
-
# Whisper-Base: Optimized for
|
|
|
|
| 14 |
|
| 15 |
-
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.
|
| 16 |
-
|
| 17 |
-
This is based on the implementation of Whisper-Base found [here](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper). This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/whisper_base) library to export with custom configurations. More details on model performance
|
| 18 |
-
across various devices, can be found [here](#performance-summary).
|
| 19 |
-
|
| 20 |
-
Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
## Getting Started
|
| 25 |
-
|
| 26 |
-
There are two ways to deploy this model on your device:
|
| 27 |
-
|
| 28 |
-
### Option 1: Download Pre-Exported Models
|
| 29 |
-
|
| 30 |
-
Download the pre-exported model assets directly from:
|
| 31 |
-
- **This repository**: Use the model files available in the Files tab above
|
| 32 |
-
- **[Whisper-Base on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/whisper_base)**: Browse device-specific assets and performance metrics
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
### Option 2: Export with Custom Configurations
|
| 37 |
|
| 38 |
-
|
| 39 |
-
- Custom weights (e.g., fine-tuned checkpoints)
|
| 40 |
-
- Custom input shapes
|
| 41 |
-
- Target device and runtime configurations
|
| 42 |
|
| 43 |
-
This option is ideal if you need to customize the model beyond the default configuration provided here.
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
|
| 47 |
|
| 48 |
-
## Model Details
|
| 49 |
|
| 50 |
-
|
| 51 |
|
| 52 |
-
**Model
|
| 53 |
-
- Model
|
| 54 |
-
-
|
| 55 |
-
-
|
| 56 |
-
-
|
| 57 |
-
-
|
| 58 |
-
-
|
| 59 |
-
-
|
|
|
|
| 60 |
|
| 61 |
-
## Performance Summary
|
| 62 |
| Model | Precision | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit | Target Model
|
| 63 |
-
|
| 64 |
| HfWhisperEncoder | float | QCS8275 (Proxy) | Qualcomm® QCS8275 (Proxy) | QNN_CONTEXT_BINARY | 123.343 ms | 1 - 10 MB | NPU | Use Export Script |
|
| 65 |
| HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 99.511 ms | 0 - 22 MB | NPU | Use Export Script |
|
| 66 |
| HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 37.269 ms | 0 - 4 MB | NPU | Use Export Script |
|
|
@@ -94,14 +72,178 @@ See our repository for [Whisper-Base on GitHub](https://github.com/quic/ai-hub-m
|
|
| 94 |
| HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 3.416 ms | 20 - 20 MB | NPU | Use Export Script |
|
| 95 |
| HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 3.457 ms | 126 - 126 MB | NPU | Use Export Script |
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
## License
|
| 98 |
* The license for the original implementation of Whisper-Base can be found
|
| 99 |
[here](https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE).
|
| 100 |
|
|
|
|
|
|
|
| 101 |
## References
|
| 102 |
* [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf)
|
| 103 |
* [Source Model Implementation](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper)
|
| 104 |
|
|
|
|
|
|
|
| 105 |
## Community
|
| 106 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 107 |
-
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |

|
| 12 |
|
| 13 |
+
# Whisper-Base: 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 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 on Qualcomm® devices.
|
| 23 |
+
More details on model performance across various devices, can be found
|
| 24 |
+
[here](https://aihub.qualcomm.com/models/whisper_base).
|
| 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) | QNN_CONTEXT_BINARY | 123.343 ms | 1 - 10 MB | NPU | Use Export Script |
|
| 43 |
| HfWhisperEncoder | float | QCS8450 (Proxy) | Qualcomm® QCS8450 (Proxy) | QNN_CONTEXT_BINARY | 99.511 ms | 0 - 22 MB | NPU | Use Export Script |
|
| 44 |
| HfWhisperEncoder | float | QCS8550 (Proxy) | Qualcomm® QCS8550 (Proxy) | QNN_CONTEXT_BINARY | 37.269 ms | 0 - 4 MB | NPU | Use Export Script |
|
|
|
|
| 72 |
| HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 3.416 ms | 20 - 20 MB | NPU | Use Export Script |
|
| 73 |
| HfWhisperDecoder | float | Snapdragon X Elite CRD | Snapdragon® X Elite | PRECOMPILED_QNN_ONNX | 3.457 ms | 126 - 126 MB | NPU | Use Export Script |
|
| 74 |
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
## Installation
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
Install the package via pip:
|
| 82 |
+
```bash
|
| 83 |
+
# NOTE: 3.10 <= PYTHON_VERSION < 3.14 is supported.
|
| 84 |
+
pip install "qai-hub-models[whisper-base]"
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
## Configure Qualcomm® AI Hub Workbench to run this model on a cloud-hosted device
|
| 89 |
+
|
| 90 |
+
Sign-in to [Qualcomm® AI Hub Workbench](https://workbench.aihub.qualcomm.com/) with your
|
| 91 |
+
Qualcomm® ID. Once signed in navigate to `Account -> Settings -> API Token`.
|
| 92 |
+
|
| 93 |
+
With this API token, you can configure your client to run models on the cloud
|
| 94 |
+
hosted devices.
|
| 95 |
+
```bash
|
| 96 |
+
qai-hub configure --api_token API_TOKEN
|
| 97 |
+
```
|
| 98 |
+
Navigate to [docs](https://workbench.aihub.qualcomm.com/docs/) for more information.
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
## Demo off target
|
| 103 |
+
|
| 104 |
+
The package contains a simple end-to-end demo that downloads pre-trained
|
| 105 |
+
weights and runs this model on a sample input.
|
| 106 |
+
|
| 107 |
+
```bash
|
| 108 |
+
python -m qai_hub_models.models.whisper_base.demo
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
The above demo runs a reference implementation of pre-processing, model
|
| 112 |
+
inference, and post processing.
|
| 113 |
+
|
| 114 |
+
**NOTE**: If you want running in a Jupyter Notebook or Google Colab like
|
| 115 |
+
environment, please add the following to your cell (instead of the above).
|
| 116 |
+
```
|
| 117 |
+
%run -m qai_hub_models.models.whisper_base.demo
|
| 118 |
+
```
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
### Run model on a cloud-hosted device
|
| 122 |
+
|
| 123 |
+
In addition to the demo, you can also run the model on a cloud-hosted Qualcomm®
|
| 124 |
+
device. This script does the following:
|
| 125 |
+
* Performance check on-device on a cloud-hosted device
|
| 126 |
+
* Downloads compiled assets that can be deployed on-device for Android.
|
| 127 |
+
* Accuracy check between PyTorch and on-device outputs.
|
| 128 |
+
|
| 129 |
+
```bash
|
| 130 |
+
python -m qai_hub_models.models.whisper_base.export
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
## How does this work?
|
| 136 |
+
|
| 137 |
+
This [export script](https://aihub.qualcomm.com/models/whisper_base/qai_hub_models/models/Whisper-Base/export.py)
|
| 138 |
+
leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
|
| 139 |
+
on-device. Lets go through each step below in detail:
|
| 140 |
+
|
| 141 |
+
Step 1: **Compile model for on-device deployment**
|
| 142 |
+
|
| 143 |
+
To compile a PyTorch model for on-device deployment, we first trace the model
|
| 144 |
+
in memory using the `jit.trace` and then call the `submit_compile_job` API.
|
| 145 |
+
|
| 146 |
+
```python
|
| 147 |
+
import torch
|
| 148 |
+
|
| 149 |
+
import qai_hub as hub
|
| 150 |
+
from qai_hub_models.models.whisper_base import Model
|
| 151 |
+
|
| 152 |
+
# Load the model
|
| 153 |
+
torch_model = Model.from_pretrained()
|
| 154 |
+
|
| 155 |
+
# Device
|
| 156 |
+
device = hub.Device("Samsung Galaxy S25")
|
| 157 |
+
|
| 158 |
+
# Trace model
|
| 159 |
+
input_shape = torch_model.get_input_spec()
|
| 160 |
+
sample_inputs = torch_model.sample_inputs()
|
| 161 |
+
|
| 162 |
+
pt_model = torch.jit.trace(torch_model, [torch.tensor(data[0]) for _, data in sample_inputs.items()])
|
| 163 |
+
|
| 164 |
+
# Compile model on a specific device
|
| 165 |
+
compile_job = hub.submit_compile_job(
|
| 166 |
+
model=pt_model,
|
| 167 |
+
device=device,
|
| 168 |
+
input_specs=torch_model.get_input_spec(),
|
| 169 |
+
)
|
| 170 |
+
|
| 171 |
+
# Get target model to run on-device
|
| 172 |
+
target_model = compile_job.get_target_model()
|
| 173 |
+
|
| 174 |
+
```
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
Step 2: **Performance profiling on cloud-hosted device**
|
| 178 |
+
|
| 179 |
+
After compiling models from step 1. Models can be profiled model on-device using the
|
| 180 |
+
`target_model`. Note that this scripts runs the model on a device automatically
|
| 181 |
+
provisioned in the cloud. Once the job is submitted, you can navigate to a
|
| 182 |
+
provided job URL to view a variety of on-device performance metrics.
|
| 183 |
+
```python
|
| 184 |
+
profile_job = hub.submit_profile_job(
|
| 185 |
+
model=target_model,
|
| 186 |
+
device=device,
|
| 187 |
+
)
|
| 188 |
+
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
Step 3: **Verify on-device accuracy**
|
| 192 |
+
|
| 193 |
+
To verify the accuracy of the model on-device, you can run on-device inference
|
| 194 |
+
on sample input data on the same cloud hosted device.
|
| 195 |
+
```python
|
| 196 |
+
input_data = torch_model.sample_inputs()
|
| 197 |
+
inference_job = hub.submit_inference_job(
|
| 198 |
+
model=target_model,
|
| 199 |
+
device=device,
|
| 200 |
+
inputs=input_data,
|
| 201 |
+
)
|
| 202 |
+
on_device_output = inference_job.download_output_data()
|
| 203 |
+
|
| 204 |
+
```
|
| 205 |
+
With the output of the model, you can compute like PSNR, relative errors or
|
| 206 |
+
spot check the output with expected output.
|
| 207 |
+
|
| 208 |
+
**Note**: This on-device profiling and inference requires access to Qualcomm®
|
| 209 |
+
AI Hub Workbench. [Sign up for access](https://myaccount.qualcomm.com/signup).
|
| 210 |
+
|
| 211 |
+
|
| 212 |
+
|
| 213 |
+
|
| 214 |
+
## Deploying compiled model to Android
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
The models can be deployed using multiple runtimes:
|
| 218 |
+
- TensorFlow Lite (`.tflite` export): [This
|
| 219 |
+
tutorial](https://www.tensorflow.org/lite/android/quickstart) provides a
|
| 220 |
+
guide to deploy the .tflite model in an Android application.
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
- QNN (`.so` export ): This [sample
|
| 224 |
+
app](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/sample_app.html)
|
| 225 |
+
provides instructions on how to use the `.so` shared library in an Android application.
|
| 226 |
+
|
| 227 |
+
|
| 228 |
+
## View on Qualcomm® AI Hub
|
| 229 |
+
Get more details on Whisper-Base's performance across various devices [here](https://aihub.qualcomm.com/models/whisper_base).
|
| 230 |
+
Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
| 231 |
+
|
| 232 |
+
|
| 233 |
## License
|
| 234 |
* The license for the original implementation of Whisper-Base can be found
|
| 235 |
[here](https://github.com/huggingface/transformers/blob/v4.42.3/LICENSE).
|
| 236 |
|
| 237 |
+
|
| 238 |
+
|
| 239 |
## References
|
| 240 |
* [Robust Speech Recognition via Large-Scale Weak Supervision](https://cdn.openai.com/papers/whisper.pdf)
|
| 241 |
* [Source Model Implementation](https://github.com/huggingface/transformers/tree/v4.42.3/src/transformers/models/whisper)
|
| 242 |
|
| 243 |
+
|
| 244 |
+
|
| 245 |
## Community
|
| 246 |
* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
|
| 247 |
+
* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
|
| 248 |
+
|
| 249 |
+
|
precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e2af409fcf2fadc4a83af86289e898ade1ac7fb2a70bc3eb83ff021a49844ef
|
| 3 |
+
size 151859200
|
precompiled/qualcomm-qcs8275-proxy/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bef58f29df12ec9183254b830fcdb20a28897a6d47170f3e8255e1650d2154e
|
| 3 |
+
size 49549312
|
precompiled/qualcomm-qcs8275-proxy/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518-auto
|
precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ed1d5de7dc70310c2b82d94d4ff5d1e9bc3590c507d102457010c890e533f96
|
| 3 |
+
size 151318528
|
precompiled/qualcomm-qcs8450-proxy/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75f936c81a41043f5fb806d581fc6a6603df47f50d62c15456239415997c0173
|
| 3 |
+
size 48820224
|
precompiled/qualcomm-qcs8450-proxy/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518
|
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c243eb43b70c414ae21bd4269ab8fb8f95668b79ab39028ddb76398a9aa4824
|
| 3 |
+
size 151855104
|
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperDecoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:684b351dd1e33034d664903807443cfd5c7078b2690eafa829d8d9b727adfa5b
|
| 3 |
+
size 137234777
|
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c26c8ce5a03d4a9fcc52956ed34771f2bad89c6b4daf11b2e7a8a2e55376698
|
| 3 |
+
size 49577984
|
precompiled/qualcomm-qcs8550-proxy/Whisper-Base_HfWhisperEncoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:75ad23e99b6e23e3d4464b0c53e1e55cc101d2f46142f725902125a15b72483f
|
| 3 |
+
size 47020169
|
precompiled/qualcomm-qcs8550-proxy/tool-versions.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
precompiled_qnn_onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.23.0
|
precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b5bb55cac839ad58cf791ad30f1f13dea58838e8459154432e94357cff98b2
|
| 3 |
+
size 151855104
|
precompiled/qualcomm-qcs9075-proxy/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c9c12ead76b4634eeaee77c422218c699387d084def53ca183cbb9025453f93
|
| 3 |
+
size 49590272
|
precompiled/qualcomm-qcs9075-proxy/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518-auto
|
precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e2af409fcf2fadc4a83af86289e898ade1ac7fb2a70bc3eb83ff021a49844ef
|
| 3 |
+
size 151859200
|
precompiled/qualcomm-sa7255p/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3bef58f29df12ec9183254b830fcdb20a28897a6d47170f3e8255e1650d2154e
|
| 3 |
+
size 49549312
|
precompiled/qualcomm-sa7255p/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518-auto
|
precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af8dcda98901eebd5108419ecdd034ebd37a5a60f88ea2e5833da535551364ad
|
| 3 |
+
size 151306240
|
precompiled/qualcomm-sa8295p/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71f497cb6529965403bb4059a3d79d035cc7d5a90275b897bcab70d6c3675bcd
|
| 3 |
+
size 48820224
|
precompiled/qualcomm-sa8295p/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518-auto
|
precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04b5bb55cac839ad58cf791ad30f1f13dea58838e8459154432e94357cff98b2
|
| 3 |
+
size 151855104
|
precompiled/qualcomm-sa8775p/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c9c12ead76b4634eeaee77c422218c699387d084def53ca183cbb9025453f93
|
| 3 |
+
size 49590272
|
precompiled/qualcomm-sa8775p/tool-versions.yaml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
qnn_context_binary:
|
| 3 |
+
qairt: 2.41.0.251128145156_191518-auto
|
precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:484b77d368ef55976067da15578a05707d0c4a8eef400a940849cf0758f14c55
|
| 3 |
+
size 151834624
|
precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperDecoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5565613b4b24bae28b69d27b57f72b4165c493c0b70b643493d1707ad5329f39
|
| 3 |
+
size 137226217
|
precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f0a3509858ba7aa8bcf618ccf351dea2f5e9d496a11440a24aab6654b9e2fc6f
|
| 3 |
+
size 49602560
|
precompiled/qualcomm-snapdragon-8-elite-for-galaxy/Whisper-Base_HfWhisperEncoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:138bbceb4a3ef59853ac568c0763644736df3b46c52d6719faa5c10875491d49
|
| 3 |
+
size 46951764
|
precompiled/qualcomm-snapdragon-8-elite-for-galaxy/tool-versions.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
precompiled_qnn_onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.23.0
|
precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:24209ad2564bafde0e95411dec2adf1682ddaf09f46590c19a0a162f85a4c193
|
| 3 |
+
size 152010752
|
precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperDecoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cb3d2e9fe673705c7a43addafc5d2a3d422f27aead3322b8145e995a1cb4405
|
| 3 |
+
size 137271921
|
precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82bebc63b61caf63aac5fbf93deca4c1cf893528b46db34b8448ae27abfec33f
|
| 3 |
+
size 49795072
|
precompiled/qualcomm-snapdragon-8-elite-gen5/Whisper-Base_HfWhisperEncoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4da25b20b81b6e2961cb5ee10c79da362d20d2c07e9e29c36c6c3813b2762b71
|
| 3 |
+
size 46981315
|
precompiled/qualcomm-snapdragon-8-elite-gen5/tool-versions.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
precompiled_qnn_onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.23.0
|
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68c7b62d3e89cf544c5f83f2b78e46ac4ca4e3a90aaf2601da07067f08f1fe55
|
| 3 |
+
size 151855104
|
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperDecoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:618053a260b37693cd685d6ea8e23ae3c83fe75769ad0506fe3aa038b59898d0
|
| 3 |
+
size 137235674
|
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d424aa9539ee890561cc1e37c8d5f4c0bd6f2054fb4303a1da4282615225278c
|
| 3 |
+
size 49582080
|
precompiled/qualcomm-snapdragon-8gen3/Whisper-Base_HfWhisperEncoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc7d4af2e9a2ad5857c9f256fa94f1c9815cdd2fcda3cb11ce0f3cc0408752d0
|
| 3 |
+
size 47041474
|
precompiled/qualcomm-snapdragon-8gen3/tool-versions.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
precompiled_qnn_onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.23.0
|
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d84b7034c71c0a99ba3f75f7ba08e9a2e646ed6f4e10cd8a24ce0ac873ea5942
|
| 3 |
+
size 151855104
|
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperDecoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64f6823dc292b15f4e172f8d5e6de205ad769ae5ee7f0a21b5f573522463731a
|
| 3 |
+
size 137232366
|
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder_float.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fcb3c4190fe6e689ffbc0c468303b0e8f4be4f3df37d6e9c9a033988584e648e
|
| 3 |
+
size 49577984
|
precompiled/qualcomm-snapdragon-x-elite/Whisper-Base_HfWhisperEncoder_float.onnx.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd2864717505d7841d606b799b5d5da05770b93f64164e7e029bea6f5c5594c3
|
| 3 |
+
size 47012891
|
precompiled/qualcomm-snapdragon-x-elite/tool-versions.yaml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
tool_versions:
|
| 2 |
+
precompiled_qnn_onnx:
|
| 3 |
+
qairt: 2.37.1.250807093845_124904
|
| 4 |
+
onnx_runtime: 1.23.0
|