Downloads · 30 days
147
5% of all-time downloads
skatzR/USER-BGE-M3-ONNX-INT8
USER-BGE-M3-ONNX-INT8 is a machine learning model from skatzR. 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.
✨ This repository contains a quantized INT8 ONNX version of deepvk/USER-bge-m3. It is designed for fast CPU inference with ONNX Runtime, making it a great choice for semantic search, embeddings generation, and text si…
Downloads · 30 days
147
5% of all-time downloads
All-time downloads
2.9K
Public
Repo size
361 MB
Likes
1
Public
Click a slice to open those files.
.onnx360 MB · 99%
From the Hugging Face model README
✨ This repository contains a quantized INT8 ONNX version of deepvk/USER-bge-m3.
It is designed for fast CPU inference with ONNX Runtime, making it a great choice for semantic search, embeddings generation, and text similarity tasks in Russian 🇷🇺 and English 🇬🇧.
| Property | Value |
|---|---|
| Base model | deepvk/USER-bge-m3, BAAI/bge-m3 |
| Quantization | INT8 (Dynamic) |
| Format | ONNX |
| Libraries | transformers, onnxruntime, optimum, sentence-transformers |
| Embedding dim | 1024 |
| Supported HW | CPU (optimized for Intel AVX512-VNNI, fallback to AVX2) |
| License | Apache-2.0 |
✅ Recommended for:
❌ Not ideal for:
Pros ✅
Cons ❌
| Metric | Value |
|---|---|
| Avg cosine similarity (vs FP32) | ~0.988 |
| Median cosine similarity | ~0.988 |
| Orig model time (s) | 0.7504 |
| Quant model time (s) | 0.3539 |
| Inference speed | ~2× faster |
| Model size (MB) | 347.5 |
model_quantized.onnx — quantized model
tokenizer.json, vocab.txt, special_tokens_map.json — tokenizer
config.json — model config
You can try the model directly in Google Colab:
This notebook demonstrates:
deepvk/USER-bge-m3skatzR/USER-BGE-M3-ONNX-INT8You can try this model with ready-to-use scripts in the examples folder:
quantmodel.py — universal Python module for loading and encoding texts with the quantized ONNX model.app-console.py — console script to compare FP32 vs INT8 embeddings (cosine similarity + inference time).app-streamlit.py — interactive demo with Streamlit.