Downloads · 30 days
11
9% of all-time downloads
cimo001/bge-reranker-v2-m3
bge-reranker-v2-m3 is a text ranking model from cimo001. Use it for the text ranking task on the model card, and read the license before you ship it in a product. It is set up for onnx. The card lists the license as mit.
Downloads · 30 days
11
9% of all-time downloads
All-time downloads
116
Public
Repo size
2.8 GB
Likes
1
Public
Click a slice to open those files.
.onnx_data2.3 GB · 80%
From the Hugging Face model README
FP32 = model.onnx, model.onnx_data
INT8 = model_quantized.onnx
# onnxruntime-gpu for run it on GPU
pip install onnxruntime sentencepiece numpy
python3 src/example.py
0.953583 | The giant panda (Ailuropoda melanoleuca), sometimes called a panda bear, is a bear species endemic to China.
0.000279 | hi
0.994547 | パンダはクマ科の哺乳類で、中国の固有種である。
Note:
sentencepiece.bpe.model directly, with the fairseq id remap:<br>
(offset +1, unk = 3, bos = 0, pad = 1, eos = 2).[bos] prompt [eos] [eos] text [eos], padded per batch to the longest sequence.