Instructions to use timmyboy26/parakeet-ultra-LiteRT-NPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use timmyboy26/parakeet-ultra-LiteRT-NPU with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Parakeet Ultra 0.6B, compiled for phone NPUs (LiteRT)
The float16 encoders of litert-community/parakeet-ultra (moondream's post-trained NVIDIA Parakeet TDT 0.6B v3, 25 European languages) compiled ahead of time with LiteRT for eight phone NPUs, so a phone loads them without compiling on the device. Made for the on-device speech recognition of LLM Hub.
Only the encoders are here. The log-mel graphs (parakeet_ultra_mel_10s.tflite, parakeet_ultra_mel_30s.tflite), the
TDT decoder (parakeet_ultra_decoder_i8.tflite) and tokenizer.json run on the CPU and come unchanged from
litert-community/parakeet-ultra (commit 36d0fe9b069a7f205b6f08d4d9639ba67481abea), whose card describes the pipeline.
Files
parakeet_ultra_encoder_<10s|30s>_f16_<SoC>.tflite: the encoder for windows up to 10 s or 30 s, each holding the whole
encoder, for one chip.
| SoC tag | Chip |
|---|---|
Qualcomm_SM8550 |
Snapdragon 8 Gen 2 |
Qualcomm_SM8650 |
Snapdragon 8 Gen 3 |
Qualcomm_SM8750 |
Snapdragon 8 Elite |
Qualcomm_SM8850 |
Snapdragon 8 Elite Gen 5 |
MediaTek_MT6991 |
Dimensity 9400 |
MediaTek_MT6993 |
Dimensity 9500 |
Google_Tensor_G5 |
Google Tensor G5 |
Google_Tensor_G6 |
Google Tensor G6 |
How they were built
ai_edge_litert.aot.aot_compile (ai-edge-litert 2.3.0) on Linux x86_64, one encoder and one chip per process:
- Qualcomm: QAIRT 2.50.0.260828 (the runtime the LLM Hub app ships). The SM8750 10 s encoder uses
qualcomm_optimization_level=O2, because the default O3 compiler crashes on it; every other file uses the defaults. - MediaTek:
ai-edge-litert-sdk-mediatek2.3.0. - Google Tensor:
ai-edge-litert-sdk-google-tensor2.3.0 with Google's Tensor ML SDK beta.
The script is android/tools/parakeet_npu/compile_npu.py in the LLM Hub repository.
Tested devices
Every build was run on a physical phone through LLM Hub, loading these exact files
(commit a126af8) on Accelerator.NPU. Two English test clips: a 13 second spoken passage and a 35 second clip.
Times are for the whole transcription (log-mel on the CPU, encoder on the NPU, TDT decoding on the CPU).
| Device | SoC | File suffix | Load | 13 s passage | 35 s clip | Words right (13 s / 35 s) |
|---|---|---|---|---|---|---|
| Galaxy Tab S9+ | Snapdragon 8 Gen 2 | Qualcomm_SM8550 |
1.5 to 4.2 s | 0.52 s | 0.69 s | 100% / 99% |
| Galaxy S24 Ultra | Snapdragon 8 Gen 3 | Qualcomm_SM8650 |
2.1 to 3.1 s | 0.46 s | 0.63 s | 100% / 99% |
| Galaxy S25 | Snapdragon 8 Elite | Qualcomm_SM8750 |
1.9 s | 0.32 s | 0.46 s | 100% / 99% |
| Galaxy S26 Ultra | Snapdragon 8 Elite Gen 5 | Qualcomm_SM8850 |
1.2 to 3.0 s | 0.29 s | 0.38 s | 100% / 99% |
| Galaxy Tab S11 | Dimensity 9400 | MediaTek_MT6991 |
3.4 to 8.1 s | 0.60 s | 0.95 s | 100% / 99% |
| Galaxy Tab S12 Plus | Dimensity 9500 | MediaTek_MT6993 |
3.2 to 4.4 s | 0.42 s | 0.56 s | 100% / 99% |
| Pixel 11 | Google Tensor G6 | Google_Tensor_G6 |
1.9 to 2.3 s | 0.72 s | 0.97 s | 100% / 99% |
| Pixel 10 (Android 17) | Google Tensor G5 | Google_Tensor_G5 |
passed | passed | passed | passed |
- The load range covers a first (cold) and a later load.
- Tensor G5: the build passes on a Pixel 10 with Android 17 but fails to load ("Failed to compile model") on a Pixel 10 with Android 16. Google's own Tensor G5 NPU builds of other models behave the same way, so this looks like the Android 16 Tensor runtime, not this build. Timings for the Android 17 run were not recorded.
- The 10 s and 30 s encoders hold the same model; LLM Hub pads short clips into the window.
License
CC-BY-4.0, as moondream/parakeet-ultra and nvidia/parakeet-tdt-0.6b-v3.
- Downloads last month
- 124
Model tree for timmyboy26/parakeet-ultra-LiteRT-NPU
Base model
moondream/parakeet-ultra