Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -34,8 +34,8 @@ More details on model performance across various devices, can be found
|
|
| 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 |
|
| 38 |
-
| Samsung Galaxy S23 Ultra (Android 13) | Snapdragon® 8 Gen 2 | TFLite | 2.
|
| 39 |
|
| 40 |
|
| 41 |
## Installation
|
|
@@ -96,16 +96,16 @@ python -m qai_hub_models.models.trocr.export
|
|
| 96 |
```
|
| 97 |
Profile Job summary of TrOCREncoder
|
| 98 |
--------------------------------------------------
|
| 99 |
-
Device: Samsung Galaxy
|
| 100 |
-
Estimated Inference Time:
|
| 101 |
-
Estimated Peak Memory Range:
|
| 102 |
Compute Units: NPU (627) | Total (627)
|
| 103 |
|
| 104 |
Profile Job summary of TrOCRDecoder
|
| 105 |
--------------------------------------------------
|
| 106 |
-
Device: Samsung Galaxy
|
| 107 |
-
Estimated Inference Time: 2.
|
| 108 |
-
Estimated Peak Memory Range: 0.
|
| 109 |
Compute Units: NPU (394) | Total (394)
|
| 110 |
|
| 111 |
|
|
@@ -211,7 +211,7 @@ Explore all available models on [Qualcomm® AI Hub](https://aihub.qualcomm.com/)
|
|
| 211 |
## License
|
| 212 |
- The license for the original implementation of TrOCR can be found
|
| 213 |
[here](https://github.com/microsoft/unilm/blob/master/LICENSE).
|
| 214 |
-
- The license for the compiled assets for on-device deployment can be found [here](
|
| 215 |
|
| 216 |
## References
|
| 217 |
* [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://arxiv.org/abs/2109.10282)
|
|
|
|
| 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 | 243.976 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.81 ms | 0 - 2 MB | FP16 | NPU | [TrOCRDecoder.tflite](https://huggingface.co/qualcomm/TrOCR/blob/main/TrOCRDecoder.tflite)
|
| 39 |
|
| 40 |
|
| 41 |
## Installation
|
|
|
|
| 96 |
```
|
| 97 |
Profile Job summary of TrOCREncoder
|
| 98 |
--------------------------------------------------
|
| 99 |
+
Device: Samsung Galaxy S24 (14)
|
| 100 |
+
Estimated Inference Time: 182.19 ms
|
| 101 |
+
Estimated Peak Memory Range: 0.02-291.46 MB
|
| 102 |
Compute Units: NPU (627) | Total (627)
|
| 103 |
|
| 104 |
Profile Job summary of TrOCRDecoder
|
| 105 |
--------------------------------------------------
|
| 106 |
+
Device: Samsung Galaxy S24 (14)
|
| 107 |
+
Estimated Inference Time: 2.02 ms
|
| 108 |
+
Estimated Peak Memory Range: 0.01-184.44 MB
|
| 109 |
Compute Units: NPU (394) | Total (394)
|
| 110 |
|
| 111 |
|
|
|
|
| 211 |
## License
|
| 212 |
- The license for the original implementation of TrOCR can be found
|
| 213 |
[here](https://github.com/microsoft/unilm/blob/master/LICENSE).
|
| 214 |
+
- The license for the compiled assets for on-device deployment can be found [here]({deploy_license_url})
|
| 215 |
|
| 216 |
## References
|
| 217 |
* [TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models](https://arxiv.org/abs/2109.10282)
|