qaihm-bot commited on
Commit
d26bb77
·
verified ·
1 Parent(s): 0a853fe

See https://github.com/qualcomm/ai-hub-models/releases/v0.60.0 for changelog.

Files changed (3) hide show
  1. LICENSE +1 -0
  2. README.md +86 -0
  3. release_assets.json +13 -0
LICENSE ADDED
@@ -0,0 +1 @@
 
 
1
+ The license of the original trained model can be found at https://github.com/SeanNaren/deepspeech.pytorch/blob/master/LICENCE.
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ license: other
4
+ tags:
5
+ - foundation
6
+ - real_time
7
+ - android
8
+ pipeline_tag: automatic-speech-recognition
9
+
10
+ ---
11
+
12
+ ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/deepspeech2/web-assets/model_demo.png)
13
+
14
+ # DeepSpeech2: Optimized for Qualcomm Devices
15
+
16
+ DeepSpeech2 is an end-to-end automatic speech recognition (ASR) model. It uses convolutional layers for feature extraction followed by bidirectional recurrent layers and CTC for sequence-to-sequence learning.
17
+
18
+ This is based on the implementation of DeepSpeech2 found [here](https://github.com/SeanNaren/deepspeech.pytorch).
19
+ This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.60.0/src/qai_hub_models/models/deepspeech2) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).
20
+
21
+ 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.
22
+
23
+ ## Getting Started
24
+ There are two ways to deploy this model on your device:
25
+
26
+ ### Option 1: Download Pre-Exported Models
27
+
28
+ Below are pre-exported model assets ready for deployment.
29
+
30
+ | Runtime | Precision | Chipset | SDK Versions | Download |
31
+ |---|---|---|---|---|
32
+ | TFLITE | float | Universal | | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/deepspeech2/releases/v0.60.0/deepspeech2-tflite-float.zip)
33
+
34
+ For more device-specific assets and performance metrics, visit **[DeepSpeech2 on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/deepspeech2)**.
35
+
36
+
37
+ ### Option 2: Export with Custom Configurations
38
+
39
+ Use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.60.0/src/qai_hub_models/models/deepspeech2) Python library to compile and export the model with your own:
40
+ - Custom weights (e.g., fine-tuned checkpoints)
41
+ - Custom input shapes
42
+ - Target device and runtime configurations
43
+
44
+ This option is ideal if you need to customize the model beyond the default configuration provided here.
45
+
46
+ See our repository for [DeepSpeech2 on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.60.0/src/qai_hub_models/models/deepspeech2) for usage instructions.
47
+
48
+ ## Model Details
49
+
50
+ **Model Type:** Model_use_case.speech_recognition
51
+
52
+ **Model Stats:**
53
+ - Input resolution: Spectrogram (800 frames x 161 features)
54
+ - Model size: 330.48MB
55
+ - Number of parameters: 94.6M
56
+
57
+ ## Performance Summary
58
+ | Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit
59
+ |---|---|---|---|---|---|---
60
+ | DeepSpeech2 | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 4387.282 ms | 147 - 160 MB | CPU
61
+ | DeepSpeech2 | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 5872.379 ms | 205 - 220 MB | CPU
62
+ | DeepSpeech2 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 12161.223 ms | 67 - 551 MB | CPU
63
+ | DeepSpeech2 | TFLITE | float | Qualcomm® Dragonwing™ IQ-8275 | 18819.817 ms | 109 - 118 MB | CPU
64
+ | DeepSpeech2 | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 4150.669 ms | 49 - 62 MB | CPU
65
+ | DeepSpeech2 | TFLITE | float | Qualcomm® SA8775P | 14169.392 ms | 107 - 117 MB | CPU
66
+ | DeepSpeech2 | TFLITE | float | Qualcomm® SA8650P | 14169.392 ms | 107 - 117 MB | CPU
67
+ | DeepSpeech2 | TFLITE | float | Qualcomm® SA8255P | 14169.392 ms | 107 - 117 MB | CPU
68
+ | DeepSpeech2 | TFLITE | float | Qualcomm® QCS8450 | 5872.379 ms | 205 - 220 MB | CPU
69
+ | DeepSpeech2 | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 5239.743 ms | 66 - 550 MB | CPU
70
+ | DeepSpeech2 | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 3156.583 ms | 30 - 43 MB | CPU
71
+ | DeepSpeech2 | TFLITE | float | Qualcomm® SA7255P | 18819.817 ms | 109 - 118 MB | CPU
72
+ | DeepSpeech2 | TFLITE | float | Qualcomm® SA8295P | 9438.743 ms | 97 - 107 MB | CPU
73
+ | DeepSpeech2 | TFLITE | float | Snapdragon® 8 Elite Mobile | 3156.583 ms | 30 - 43 MB | CPU
74
+ | DeepSpeech2 | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 3371.983 ms | 108 - 121 MB | CPU
75
+
76
+ ## License
77
+ * The license for the original implementation of DeepSpeech2 can be found
78
+ [here](https://github.com/SeanNaren/deepspeech.pytorch/blob/master/LICENCE).
79
+
80
+ ## References
81
+ * [Deep Speech 2: End-to-End Speech Recognition in English and Mandarin](https://arxiv.org/abs/1512.02595)
82
+ * [Source Model Implementation](https://github.com/SeanNaren/deepspeech.pytorch)
83
+
84
+ ## Community
85
+ * Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.
86
+ * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
release_assets.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.60.0",
3
+ "precisions": {
4
+ "float": {
5
+ "universal_assets": {
6
+ "tflite": {
7
+ "tool_versions": {},
8
+ "download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/deepspeech2/releases/v0.60.0/deepspeech2-tflite-float.zip"
9
+ }
10
+ }
11
+ }
12
+ }
13
+ }