qaihm-bot commited on
Commit
9d8ef57
·
verified ·
1 Parent(s): 6efb091

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +10 -4
README.md CHANGED
@@ -32,10 +32,13 @@ More details on model performance across various devices, can be found
32
  - Model size (TrOCRDecoder): 146 MB
33
 
34
 
 
 
35
  | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
36
  | ---|---|---|---|---|---|---|---|
37
- | Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 149.72 ms | 7 - 10 MB | FP16 | NPU | [TrOCREncoder.tflite](https://huggingface.co/qualcomm/TrOCR/blob/main/TrOCREncoder.tflite)
38
- | Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 2.734 ms | 0 - 2 MB | FP16 | NPU | [TrOCRDecoder.tflite](https://huggingface.co/qualcomm/TrOCR/blob/main/TrOCRDecoder.tflite)
 
39
 
40
 
41
  ## Installation
@@ -93,9 +96,11 @@ device. This script does the following:
93
  python -m qai_hub_models.models.trocr.export
94
  ```
95
 
 
 
96
  ## How does this work?
97
 
98
- This [export script](https://github.com/quic/ai-hub-models/blob/main/qai_hub_models/models/TrOCR/export.py)
99
  leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
100
  on-device. Lets go through each step below in detail:
101
 
@@ -173,6 +178,7 @@ AI Hub. [Sign up for access](https://myaccount.qualcomm.com/signup).
173
 
174
 
175
 
 
176
  ## Deploying compiled model to Android
177
 
178
 
@@ -194,7 +200,7 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
194
  ## License
195
  - The license for the original implementation of TrOCR can be found
196
  [here](https://github.com/microsoft/unilm/blob/master/LICENSE).
197
- - The license for the compiled assets for on-device deployment can be found [here]({deploy_license_url})
198
 
199
  ## References
200
  * [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://arxiv.org/abs/2109.10282)
 
32
  - Model size (TrOCRDecoder): 146 MB
33
 
34
 
35
+
36
+
37
  | Device | Chipset | Target Runtime | Inference Time (ms) | Peak Memory Range (MB) | Precision | Primary Compute Unit | Target Model
38
  | ---|---|---|---|---|---|---|---|
39
+ | Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 148.428 ms | 6 - 9 MB | FP16 | NPU | [TrOCREncoder.tflite](https://huggingface.co/qualcomm/TrOCR/blob/main/TrOCREncoder.tflite)
40
+ | Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 2.732 ms | 0 - 2 MB | FP16 | NPU | [TrOCRDecoder.tflite](https://huggingface.co/qualcomm/TrOCR/blob/main/TrOCRDecoder.tflite)
41
+
42
 
43
 
44
  ## Installation
 
96
  python -m qai_hub_models.models.trocr.export
97
  ```
98
 
99
+
100
+
101
  ## How does this work?
102
 
103
+ This [export script](https://aihub.qualcomm.com/models/trocr/qai_hub_models/models/TrOCR/export.py)
104
  leverages [Qualcomm® AI Hub](https://aihub.qualcomm.com/) to optimize, validate, and deploy this model
105
  on-device. Lets go through each step below in detail:
106
 
 
178
 
179
 
180
 
181
+
182
  ## Deploying compiled model to Android
183
 
184
 
 
200
  ## License
201
  - The license for the original implementation of TrOCR can be found
202
  [here](https://github.com/microsoft/unilm/blob/master/LICENSE).
203
+ - 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)
204
 
205
  ## References
206
  * [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://arxiv.org/abs/2109.10282)