Downloads · 30 days
9
11% of all-time downloads
AXERA-TECH/bge-small-en-v1.5
bge-small-en-v1.5 is a feature extraction model from AXERA-TECH. Use it when you need embeddings to search or compare text. The card lists the license as mit.
This version of bge-small-en-v1.5 model has been converted to run on the Axera NPU using w8a16 quantization.
Downloads · 30 days
9
11% of all-time downloads
All-time downloads
80
Public
Repo size
485 MB
Likes
0
Public
Click a slice to open those files.
.onnx268 MB · 65%
From the Hugging Face model README
This version of bge-small-en-v1.5 model has been converted to run on the Axera NPU using w8a16 quantization.
This model has been optimized with the following LoRA:
Compatible with Pulsar2 version: 5.0-patch1
For those who are interested in model conversion, you can try to export axmodel through
Model Convert, which you can get the detail of guide
| Chips | model | cost | cmm size |
|---|---|---|---|
| AX650 | bge-small-en-v1.5 | 32.4 ms | 120 MiBytes |
Download all files from this repository to the device
(py312) root@ax650:~/bge-small-en-v1.5# tree
.
|-- README.md
|-- model
| |-- bge-small-en-v1.5.json
| |-- bge-small-en-v1.5.onnx
| `-- bge-small-en-v1.5_u16_npu3.axmodel
|-- python
| |-- axmodel_infer.py
| `-- onnx_infer.py
`-- requirements.txt
run with python3 axmodel_infer.py
root@ax650:~/bge-small-en-v1.5# python3 axmodel_infer.py
[INFO] Available providers: ['AxEngineExecutionProvider']
[INFO] Using provider: AxEngineExecutionProvider
[INFO] Chip type: ChipType.MC50
[INFO] VNPU type: VNPUType.DISABLED
[INFO] Engine version: 2.12.0s
[INFO] Model type: 2 (triple core)
[INFO] Compiler version: 5.0-patch1 be1a7606
similarity: [[0.8832189]]
gt similarity: [[0.87731415]]