Nomic-Embed-Text: Optimized for Qualcomm Devices

A text encoder that surpasses OpenAI text-embedding-ada-002 and text-embedding-3-small performance on short and long context tasks.

This is based on the implementation of Nomic-Embed-Text found here. This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the Qualcomm® AI Hub Models library to export with custom configurations. More details on model performance across various devices, can be found here.

Qualcomm AI Hub Models uses Qualcomm AI Hub Workbench to compile, profile, and evaluate this model. Sign up to run these models on a hosted Qualcomm® device.

Getting Started

There are two ways to deploy this model on your device:

Option 1: Download Pre-Exported Models

Below are pre-exported model assets ready for deployment.

Runtime Precision Chipset SDK Versions Download
ONNX float Universal QAIRT 2.50, ONNX Runtime 1.30.0 Download
QNN_DLC float Universal QAIRT 2.50 Download
TFLITE float Universal QAIRT 2.50 Download

For more device-specific assets and performance metrics, visit Nomic-Embed-Text on Qualcomm® AI Hub.

Option 2: Export with Custom Configurations

Use the Qualcomm® AI Hub Models 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 configurations

This option is ideal if you need to customize the model beyond the default configuration provided here.

See our repository for Nomic-Embed-Text on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.text_generation

Model Stats:

  • Input resolution: 1x128 (seqlen can vary)
  • Model checkpoint: v1.5
  • Model size (float): 523 MB
  • Number of parameters: 137M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
Nomic-Embed-Text ONNX float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 3.832 ms 0 - 194 MB NPU
Nomic-Embed-Text ONNX float Snapdragon® 8 Elite For Galaxy Mobile 4.285 ms 0 - 185 MB NPU
Nomic-Embed-Text ONNX float Snapdragon® X2 Elite 3.602 ms 1 - 1 MB NPU
Nomic-Embed-Text ONNX float Snapdragon® X Elite 8.302 ms 264 - 264 MB NPU
Nomic-Embed-Text ONNX float Snapdragon® 8 Gen 3 Mobile 5.649 ms 0 - 398 MB NPU
Nomic-Embed-Text ONNX float Snapdragon® 8 Gen 1 Mobile 11.005 ms 0 - 375 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® Dragonwing™ IQ-8275 9.965 ms 0 - 4 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® Dragonwing™ QCS8550 (Proxy) 7.926 ms 0 - 323 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® QCS8450 11.005 ms 0 - 375 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® Dragonwing™ IQ-9075 9.919 ms 0 - 3 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® Dragonwing™ IQ-X7181 8.302 ms 264 - 264 MB NPU
Nomic-Embed-Text ONNX float Qualcomm® Dragonwing™ Q-8750 4.285 ms 0 - 185 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 3.866 ms 0 - 187 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® 8 Elite For Galaxy Mobile 4.36 ms 0 - 180 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® X2 Elite 3.933 ms 0 - 0 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® X Elite 8.605 ms 0 - 0 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® 8 Gen 3 Mobile 5.629 ms 0 - 396 MB NPU
Nomic-Embed-Text QNN_DLC float Snapdragon® 8 Gen 1 Mobile 10.916 ms 0 - 369 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® Dragonwing™ IQ-8275 9.888 ms 0 - 3 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® Dragonwing™ QCS8550 (Proxy) 7.946 ms 0 - 2 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® QCS8450 10.916 ms 0 - 369 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® Dragonwing™ IQ-9075 9.865 ms 2 - 4 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® Dragonwing™ IQ-X7181 8.605 ms 0 - 0 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® Dragonwing™ Q-8750 4.36 ms 0 - 180 MB NPU
Nomic-Embed-Text QNN_DLC float Qualcomm® SA8295P 11.417 ms 0 - 176 MB NPU
Nomic-Embed-Text TFLITE float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 3.88 ms 0 - 195 MB NPU
Nomic-Embed-Text TFLITE float Snapdragon® 8 Elite For Galaxy Mobile 4.272 ms 0 - 187 MB NPU
Nomic-Embed-Text TFLITE float Snapdragon® 8 Gen 3 Mobile 5.618 ms 0 - 398 MB NPU
Nomic-Embed-Text TFLITE float Snapdragon® 8 Gen 1 Mobile 11.031 ms 0 - 371 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® Dragonwing™ IQ-8275 9.947 ms 0 - 266 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® Dragonwing™ QCS8550 (Proxy) 7.893 ms 0 - 3 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® SA8775P 239.104 ms 7 - 24 MB CPU
Nomic-Embed-Text TFLITE float Qualcomm® SA8650P 239.104 ms 7 - 24 MB CPU
Nomic-Embed-Text TFLITE float Qualcomm® SA8255P 239.104 ms 7 - 24 MB CPU
Nomic-Embed-Text TFLITE float Qualcomm® QCS8450 11.031 ms 0 - 371 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® Dragonwing™ IQ-9075 9.904 ms 0 - 265 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® Dragonwing™ Q-8750 4.272 ms 0 - 187 MB NPU
Nomic-Embed-Text TFLITE float Qualcomm® SA7255P 352.673 ms 8 - 23 MB CPU
Nomic-Embed-Text TFLITE float Qualcomm® SA8295P 11.412 ms 0 - 177 MB NPU

License

  • The license for the original implementation of Nomic-Embed-Text can be found here.

References

Community

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support