OpusMT-Ja-En: Optimized for Qualcomm Devices

OpusMT Japanese to English translation model is a state-of-the-art neural machine translation system designed for translating Japanese text into English. This model is based on the Marian transformer architecture and has been optimized for edge inference by splitting into encoder and decoder components with modified attention mechanisms. It exhibits robust performance for real-world translation tasks, making it highly reliable for practical applications. The model supports input sequences up to 256 tokens and can generate Japanese translations with high accuracy.

This is based on the implementation of OpusMT-Ja-En 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.

Deploying OpusMT-Ja-En on-device

This model is compatible with the Qualcomm Voice AI SDK. Download the SDK from the Qualcomm Package Manager to deploy this model on-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
VOICE_AI float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile QAIRT 2.51 Download
VOICE_AI float Snapdragon® 8 Elite For Galaxy Mobile QAIRT 2.51 Download
VOICE_AI float Snapdragon® X2 Elite QAIRT 2.51 Download
VOICE_AI float Snapdragon® X Elite QAIRT 2.51 Download
VOICE_AI float Snapdragon® X Plus 8-Core QAIRT 2.51 Download
VOICE_AI float Snapdragon® 8 Gen 1 Mobile QAIRT 2.51 Download
VOICE_AI float Qualcomm® Dragonwing™ IQ-8275 QAIRT 2.51 Download
VOICE_AI float Qualcomm® Dragonwing™ QCS8550 (Proxy) QAIRT 2.51 Download
VOICE_AI float Qualcomm® SA8775P QAIRT 2.51 Download
VOICE_AI float Qualcomm® Dragonwing™ IQ-9075 QAIRT 2.51 Download
VOICE_AI float Qualcomm® SA7255P QAIRT 2.51 Download
VOICE_AI float Qualcomm® SA8295P QAIRT 2.51 Download
VOICE_AI float Snapdragon® 8 Elite Extreme Gen 6 Mobile QAIRT 2.51 Download
VOICE_AI float Snapdragon® 8 Elite Gen 6 Mobile QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® 8 Elite For Galaxy Mobile QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® X2 Elite QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® X Elite QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® X Plus 8-Core QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® 8 Gen 1 Mobile QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-8275 QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® SA8775P QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-9075 QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® SA7255P QAIRT 2.51 Download
VOICE_AI w8a16 Qualcomm® SA8295P QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile QAIRT 2.51 Download
VOICE_AI w8a16 Snapdragon® 8 Elite Gen 6 Mobile QAIRT 2.51 Download

For more device-specific assets and performance metrics, visit OpusMT-Ja-En 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 OpusMT-Ja-En on GitHub for usage instructions.

Model Details

Model Type: Model_use_case.text_generation

Model Stats:

  • Attention heads: 8
  • Hidden dimension: 512
  • Input resolution: 256 tokens (Japanese text)
  • Max input sequence length: 256 tokens
  • Max output sequence length: 256 tokens
  • Model checkpoint: Helsinki-NLP/opus-mt-ja-en
  • Model size (decoder) (float): 340 MB
  • Model size (decoder) (w8a16): 90.8 MB
  • Model size (encoder) (float): 212 MB
  • Model size (encoder) (w8a16): 55.2 MB
  • Number of decoder layers: 6
  • Number of encoder layers: 6
  • Number of parameters (decoder): 55.7M
  • Number of parameters (encoder): 55.5M

Performance Summary

Model Runtime Precision Chipset Inference Time (ms) Peak Memory Range (MB) Primary Compute Unit
decoder VOICE_AI float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 2.141 ms 0 - 7 MB NPU
decoder VOICE_AI float Snapdragon® 8 Elite For Galaxy Mobile 2.232 ms 0 - 8 MB NPU
decoder VOICE_AI float Snapdragon® X2 Elite 2.345 ms 1 - 1 MB NPU
decoder VOICE_AI float Snapdragon® X Elite 3.132 ms 1 - 1 MB NPU
decoder VOICE_AI float Snapdragon® 8 Gen 1 Mobile 3.872 ms 0 - 9 MB NPU
decoder VOICE_AI float Qualcomm® Dragonwing™ IQ-8275 4.106 ms 0 - 3 MB NPU
decoder VOICE_AI float Qualcomm® Dragonwing™ QCS8550 (Proxy) 3.382 ms 0 - 1 MB NPU
decoder VOICE_AI float Qualcomm® SA8650P 4.177 ms 12 - 19 MB NPU
decoder VOICE_AI float Qualcomm® SA8255P 4.177 ms 12 - 19 MB NPU
decoder VOICE_AI float Qualcomm® QCS8450 3.872 ms 0 - 9 MB NPU
decoder VOICE_AI float Qualcomm® Dragonwing™ IQ-9075 3.677 ms 2 - 5 MB NPU
decoder VOICE_AI float Qualcomm® Dragonwing™ IQ-X7181 3.132 ms 1 - 1 MB NPU
decoder VOICE_AI float Qualcomm® Dragonwing™ Q-8750 2.232 ms 0 - 8 MB NPU
decoder VOICE_AI float Qualcomm® SA8295P 4.158 ms 0 - 5 MB NPU
decoder VOICE_AI float Snapdragon® 8 Elite Extreme Gen 6 Mobile 2.123 ms 0 - 8 MB NPU
decoder VOICE_AI float Snapdragon® 8 Elite Gen 6 Mobile 2.145 ms 0 - 9 MB NPU
decoder VOICE_AI w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 0.924 ms 1 - 9 MB NPU
decoder VOICE_AI w8a16 Snapdragon® 8 Elite For Galaxy Mobile 0.995 ms 0 - 12 MB NPU
decoder VOICE_AI w8a16 Snapdragon® X2 Elite 0.931 ms 3 - 3 MB NPU
decoder VOICE_AI w8a16 Snapdragon® X Elite 1.463 ms 3 - 3 MB NPU
decoder VOICE_AI w8a16 Snapdragon® 8 Gen 1 Mobile 1.673 ms 3 - 13 MB NPU
decoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-8275 1.717 ms 0 - 5 MB NPU
decoder VOICE_AI w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 1.481 ms 3 - 5 MB NPU
decoder VOICE_AI w8a16 Qualcomm® SA8650P 1.911 ms 0 - 8 MB NPU
decoder VOICE_AI w8a16 Qualcomm® SA8255P 1.911 ms 0 - 8 MB NPU
decoder VOICE_AI w8a16 Qualcomm® QCS8450 1.673 ms 3 - 13 MB NPU
decoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-9075 1.916 ms 2 - 6 MB NPU
decoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-X7181 1.463 ms 3 - 3 MB NPU
decoder VOICE_AI w8a16 Qualcomm® Dragonwing™ Q-8750 0.995 ms 0 - 12 MB NPU
decoder VOICE_AI w8a16 Qualcomm® SA8295P 2.109 ms 0 - 5 MB NPU
decoder VOICE_AI w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.91 ms 1 - 9 MB NPU
decoder VOICE_AI w8a16 Snapdragon® 8 Elite Gen 6 Mobile 0.935 ms 1 - 9 MB NPU
encoder VOICE_AI float Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 1.752 ms 0 - 7 MB NPU
encoder VOICE_AI float Snapdragon® 8 Elite For Galaxy Mobile 2.198 ms 0 - 8 MB NPU
encoder VOICE_AI float Snapdragon® X2 Elite 2.083 ms 0 - 0 MB NPU
encoder VOICE_AI float Snapdragon® X Elite 3.825 ms 0 - 0 MB NPU
encoder VOICE_AI float Snapdragon® 8 Gen 1 Mobile 4.718 ms 0 - 14 MB NPU
encoder VOICE_AI float Qualcomm® Dragonwing™ IQ-8275 4.514 ms 0 - 9 MB NPU
encoder VOICE_AI float Qualcomm® Dragonwing™ QCS8550 (Proxy) 3.5 ms 0 - 2 MB NPU
encoder VOICE_AI float Qualcomm® SA8650P 4.597 ms 0 - 8 MB NPU
encoder VOICE_AI float Qualcomm® SA8255P 4.597 ms 0 - 8 MB NPU
encoder VOICE_AI float Qualcomm® QCS8450 4.718 ms 0 - 14 MB NPU
encoder VOICE_AI float Qualcomm® Dragonwing™ IQ-9075 4.346 ms 2 - 10 MB NPU
encoder VOICE_AI float Qualcomm® Dragonwing™ IQ-X7181 3.825 ms 0 - 0 MB NPU
encoder VOICE_AI float Qualcomm® Dragonwing™ Q-8750 2.198 ms 0 - 8 MB NPU
encoder VOICE_AI float Qualcomm® SA8295P 4.912 ms 0 - 6 MB NPU
encoder VOICE_AI float Snapdragon® 8 Elite Extreme Gen 6 Mobile 1.613 ms 0 - 9 MB NPU
encoder VOICE_AI float Snapdragon® 8 Elite Gen 6 Mobile 2.144 ms 0 - 9 MB NPU
encoder VOICE_AI w8a16 Snapdragon® 8 Elite Gen 5 For Galaxy Mobile 2.338 ms 0 - 7 MB NPU
encoder VOICE_AI w8a16 Snapdragon® 8 Elite For Galaxy Mobile 2.753 ms 0 - 8 MB NPU
encoder VOICE_AI w8a16 Snapdragon® X2 Elite 2.274 ms 0 - 0 MB NPU
encoder VOICE_AI w8a16 Snapdragon® X Elite 4.474 ms 0 - 0 MB NPU
encoder VOICE_AI w8a16 Snapdragon® 8 Gen 1 Mobile 5.332 ms 0 - 10 MB NPU
encoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-8275 4.263 ms 0 - 5 MB NPU
encoder VOICE_AI w8a16 Qualcomm® Dragonwing™ QCS8550 (Proxy) 4.597 ms 0 - 2 MB NPU
encoder VOICE_AI w8a16 Qualcomm® SA8650P 4.65 ms 0 - 8 MB NPU
encoder VOICE_AI w8a16 Qualcomm® SA8255P 4.65 ms 0 - 8 MB NPU
encoder VOICE_AI w8a16 Qualcomm® QCS8450 5.332 ms 0 - 10 MB NPU
encoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-9075 4.248 ms 0 - 4 MB NPU
encoder VOICE_AI w8a16 Qualcomm® Dragonwing™ IQ-X7181 4.474 ms 0 - 0 MB NPU
encoder VOICE_AI w8a16 Qualcomm® Dragonwing™ Q-8750 2.753 ms 0 - 8 MB NPU
encoder VOICE_AI w8a16 Qualcomm® SA8295P 5.892 ms 0 - 5 MB NPU
encoder VOICE_AI w8a16 Snapdragon® 8 Elite Extreme Gen 6 Mobile 0.881 ms 0 - 9 MB NPU
encoder VOICE_AI w8a16 Snapdragon® 8 Elite Gen 6 Mobile 2.317 ms 0 - 9 MB NPU

License

  • The license for the original implementation of OpusMT-Ja-En 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