Downloads · 30 days
8
7% of all-time downloads
AXERA-TECH/jina-clip-v2
jina-clip-v2 is a machine learning model from AXERA-TECH. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
The version of jina-clip-v2 has been converted to run on the Axera NPU using w8a16 quantization. Compatible with Pulsar2 version: 4.2
Downloads · 30 days
8
7% of all-time downloads
All-time downloads
120
Public
Repo size
2.1 GB
Likes
0
Public
Click a slice to open those files.
.axmodel2 GB · 99%
From the Hugging Face model README
The version of jina-clip-v2 has been converted to run on the Axera NPU using w8a16 quantization. Compatible with Pulsar2 version: 4.2
If you want to know how to convert the MobileCLIP2 model into an axmodel that can run on the axera npu board, please read this link in detail.
| Stage | Time |
|---|---|
| image encoder 512 x 512 | 592.231 ms |
| image encoder 224 x 224 | 58.923 ms |
| text encoder | 15.482 ms |
PS: The image resolution input by the image encoder is 512 x 512 and quantized by 16bit.
Download all files from this repository to the device
Run the following command:
python3 run_axmodel.py -i beach1.jpg -t "beautiful sunset over the beach" -iax ./image_encoder.axmodel -tax ./text_encoder.axmodel --hf_path ./jina-clip-v2
Model input and output examples are as follows:
the image you want to input:

The description of the image content:
"beautiful sunset over the beach" or "蓝蓝的天空和海面,在夕阳的照射下,显得非常美丽" or "一群人在沙滩上散步"
The similarity between the output of the image encoder and the text encoder is:
0.3373627 or 0.34764117 or 0.12660183