v0.58.0
Browse filesSee https://github.com/qualcomm/ai-hub-models/releases/v0.58.0 for changelog.
Files changed (2)
- README.md+36-33
- release_assets.json+3-3
14 unmodified lines151617181920216 unmodified lines282930313233343536373839404142434445464748498 unmodified lines5859606162636465666768697071727374757677787980818283848586878889909114 unmodified linesALBERT is a lightweight BERT model designed for efficient self-supervised learning of language representations. It can be used for masked language modeling and as a backbone for various NLP tasks.This is based on the implementation of Albert-Base-V2-Hf found [here](https://github.com/google-research/albert).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.57.3/src/qai_hub_models/models/albert_base_v2_hf) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).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.6 unmodified lines| Runtime | Precision | Chipset | SDK Versions | Download ||---|---|---|---|---|| QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.57.3/albert_base_v2_hf-qnn_dlc-float.zip)| TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.57.3/albert_base_v2_hf-tflite-float.zip)For more device-specific assets and performance metrics, visit **[Albert-Base-V2-Hf on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/albert_base_v2_hf)**.### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.57.3/src/qai_hub_models/models/albert_base_v2_hf) Python library to compile and export the model with your own:- Custom weights (e.g., fine-tuned checkpoints)- Custom input shapes- Target device and runtime configurationsThis option is ideal if you need to customize the model beyond the default configuration provided here.See our repository for [Albert-Base-V2-Hf on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.57.3/src/qai_hub_models/models/albert_base_v2_hf) for usage instructions.## Model Details8 unmodified lines## Performance Summary| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit|---|---|---|---|---|---|---| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® X2 Elite | 9.324 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® X Elite | 20.942 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 16.83 ms | 0 - 356 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 34.107 ms | 0 - 423 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8275 | 72.564 ms | 0 - 308 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8550 (Proxy) | 21.23 ms | 0 - 2 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8450 | 34.107 ms | 0 - 423 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 11.226 ms | 0 - 398 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA8295P | 31.207 ms | 0 - 375 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.184 ms | 0 - 397 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA7255P | 72.564 ms | 0 - 308 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS9075 | 25.436 ms | 0 - 2 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8750 | 11.226 ms | 0 - 398 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS7181 | 20.942 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 16.996 ms | 0 - 370 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 34.392 ms | 0 - 427 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8275 | 73.041 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8550 (Proxy) | 21.406 ms | 0 - 3 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8775P | 248.562 ms | 1 - 26 MB | GPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8650P | 248.562 ms | 1 - 26 MB | GPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8255P | 248.562 ms | 1 - 26 MB | GPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8450 | 34.392 ms | 0 - 427 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Elite Mobile | 11.288 ms | 0 - 392 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8295P | 31.541 ms | 0 - 376 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.946 ms | 0 - 326 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA7255P | 73.041 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS9075 | 25.622 ms | 0 - 32 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8750 | 11.288 ms | 0 - 392 MB | NPU## License* The license for the original implementation of Albert-Base-V2-Hf can be found14 unmodified lines151617181920216 unmodified lines282930313233343536373839404142434445464748498 unmodified lines5859606162636465666768697071727374757677787980818283848586878889909192939414 unmodified linesALBERT is a lightweight BERT model designed for efficient self-supervised learning of language representations. It can be used for masked language modeling and as a backbone for various NLP tasks.This is based on the implementation of Albert-Base-V2-Hf found [here](https://github.com/google-research/albert).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.58.0/src/qai_hub_models/models/albert_base_v2_hf) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).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.6 unmodified lines| Runtime | Precision | Chipset | SDK Versions | Download ||---|---|---|---|---|| QNN_DLC | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.58.0/albert_base_v2_hf-qnn_dlc-float.zip)| TFLITE | float | Universal | QAIRT 2.45 | [Download](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.58.0/albert_base_v2_hf-tflite-float.zip)For more device-specific assets and performance metrics, visit **[Albert-Base-V2-Hf on Qualcomm® AI Hub](https://aihub.qualcomm.com/models/albert_base_v2_hf)**.### Option 2: Export with Custom ConfigurationsUse the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.58.0/src/qai_hub_models/models/albert_base_v2_hf) Python library to compile and export the model with your own:- Custom weights (e.g., fine-tuned checkpoints)- Custom input shapes- Target device and runtime configurationsThis option is ideal if you need to customize the model beyond the default configuration provided here.See our repository for [Albert-Base-V2-Hf on GitHub](https://github.com/qualcomm/ai-hub-models/blob/v0.58.0/src/qai_hub_models/models/albert_base_v2_hf) for usage instructions.## Model Details8 unmodified lines## Performance Summary| Model | Runtime | Precision | Chipset | Inference Time (ms) | Peak Memory Range (MB) | Primary Compute Unit|---|---|---|---|---|---|---| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® X2 Elite | 9.203 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® X Elite | 21.081 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Gen 3 Mobile | 16.715 ms | 0 - 355 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Gen 1 Mobile | 34.139 ms | 0 - 422 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8275 | 72.498 ms | 0 - 307 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 21.654 ms | 0 - 23 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA8775P | 25.858 ms | 0 - 307 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA8650P | 25.858 ms | 0 - 307 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA8255P | 25.858 ms | 0 - 307 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® QCS8450 | 34.139 ms | 0 - 422 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-9075 | 25.445 ms | 0 - 2 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.2 ms | 0 - 397 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA7255P | 72.498 ms | 0 - 307 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Snapdragon® 8 Elite Mobile | 11.298 ms | 0 - 399 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® SA8295P | 31.276 ms | 0 - 374 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® Dragonwing™ Q-8750 | 11.298 ms | 0 - 399 MB | NPU| Albert-Base-V2-Hf | QNN_DLC | float | Qualcomm® Dragonwing™ IQ-X7181 | 21.081 ms | 1 - 1 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Gen 3 Mobile | 16.909 ms | 0 - 366 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Gen 1 Mobile | 34.224 ms | 0 - 425 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8275 | 72.947 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® Dragonwing™ QCS8550 (Proxy) | 21.983 ms | 0 - 13 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8775P | 26.157 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8650P | 26.157 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8255P | 26.157 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® QCS8450 | 34.224 ms | 0 - 425 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® Dragonwing™ IQ-9075 | 26.102 ms | 0 - 32 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Elite Gen 5 Mobile | 8.96 ms | 0 - 324 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA7255P | 72.947 ms | 0 - 322 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Snapdragon® 8 Elite Mobile | 11.286 ms | 0 - 391 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® SA8295P | 31.619 ms | 0 - 376 MB | NPU| Albert-Base-V2-Hf | TFLITE | float | Qualcomm® Dragonwing™ Q-8750 | 11.286 ms | 0 - 391 MB | NPU## License* The license for the original implementation of Albert-Base-V2-Hf can be found
123452 unmodified lines891011121314151617181920{"version": "0.57.3","precisions": {"float": {"universal_assets": {2 unmodified lines"qairt": "2.45.0.260326154327","litert": "1.4.4"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.57.3/albert_base_v2_hf-tflite-float.zip"},"qnn_dlc": {"tool_versions": {"qairt": "2.45.0.260326154327"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.57.3/albert_base_v2_hf-qnn_dlc-float.zip"}}}123452 unmodified lines891011121314151617181920{"version": "0.58.0","precisions": {"float": {"universal_assets": {2 unmodified lines"qairt": "2.45.0.260326154327","litert": "1.4.4"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.58.0/albert_base_v2_hf-tflite-float.zip"},"qnn_dlc": {"tool_versions": {"qairt": "2.45.0.260326154327"},"download_url": "https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/albert_base_v2_hf/releases/v0.58.0/albert_base_v2_hf-qnn_dlc-float.zip"}}}
README.md+36-33
release_assets.json+3-3