ONNX Model Zoo

er6y/bge-m3_dynamic_int8_onnx

By er6y · ↓ 2 · ♥ 0 · Updated 2025-06-19

What's in this repo

This page lists the files in er6y/bge-m3_dynamic_int8_onnx, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 8 files, including 5 .json, 1 .md, 1 .onnx
  • Last updated 2025-06-19

ONNX files

File Size Download
model.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


language:

  • en
  • zh license: mit tags:
  • sentence-transformers
  • feature-extraction
  • sentence-similarity
  • transformers
  • onnx
  • quantized
  • reranker
  • bge library_name: onnxruntime pipeline_tag: feature-extraction base_model: BAAI/bge-reranker-v2-m3 model-index:
  • name: bge-m3-onnx-int8 results:
    • task: type: information-retrieval name: Information Retrieval metrics:
      • type: performance_retention value: 98 name: Performance Retention (%)
      • type: model_size_reduction value: 75 name: Model Size Reduction (%)

BGE-M3 ONNX INT8 Quantized Model

This is an ONNX version of the BAAI/bge-reranker-v2-m3 model, optimized with dynamic INT8 quantization for efficient inference.

Model Description

  • Base Model: BAAI/bge-reranker-v2-m3
  • Model Type: Sentence Transformer / Reranker
  • Quantization: Dynamic INT8
  • Framework: ONNX Runtime
  • Model Size: ~560MB (75% reduction from original ~2.2GB)
  • Performance: Maintains 98%+ accuracy compared to the original model

Key Features

  • ✅ Efficient: 75% model size reduction with minimal accuracy loss
  • ✅ Fast Inference: Optimized for CPU and GPU acceleration
  • ✅ Cross-Platform: Compatible with ONNX Runtime on multiple platforms
  • ✅ Production Ready: Suitable for deployment in resource-constrained environments

Usage

Prerequisites

pip install onnxruntime transformers numpy

Model info

onnx base_model:BAAI/bge-m3 base_model:quantized:BAAI/bge-m3 license:mit region:us
↓ 2 ♥ 0

Created: 2025-06-19

Updated: 2025-06-19

View on Hugging Face

Files (8)

.gitattributes
README.md
config.json
conversion_info.json
model.onnx ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json

Related models