SAVRN
Search Contact SAVRN

Open-weight model · Text classification

bge-reranker-v2-m3

by Beijing Academy of Artificial Intelligence BAAI/bge-reranker-v2-m3

More details please refer to our Github: FlagEmbedding. Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding.

Parameters568M
Context8,194
Weights2.3 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads17.7M

Runs On

What it takes to serve bge-reranker-v2-m3 (568M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 1.1 GB 1.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.6 GB 0.7 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.3 GB 0.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Beijing Academy of Artificial Intelligence, published under apache-2.0, revision 953dc6f6f85a.

Reranker

More details please refer to our Github: FlagEmbedding.

  • Model List
  • Usage
  • Fine-tuning
  • Evaluation
  • Citation

Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.

Model List

Read the full model card (1,427 words)

Configuration

Architecture
XLMRobertaForSequenceClassification
Context length (tokens)
8,194
Layers
24
Hidden size
1,024
Feed-forward size
4,096
Attention heads
16
Vocabulary size
250,002
Stored precision
float32
Model type
xlm-roberta

Identity and Version

Repository
BAAI/bge-reranker-v2-m3
Publisher
Beijing Academy of Artificial Intelligence
Task
Text classification
Modality
Text
Library
sentence-transformers
Parameters
568M parameters
Languages
xlm-roberta
Revision
953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e
First published
2024-03-15
Last updated
2024-06-24

Files and Weights

13 files, 2.3 GB in total. The weights are 1 file totalling 2.3 GB in safetensors.

Weights1 file · 2.3 GB
Configuration2 files · 1.8 KB
Tokenizer2 files · 17.1 MB
Documentation1 file · 17.2 KB
Other6 files · 5.4 MB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights2.3 GB d9e3e081faff
config.jsonConfiguration795 B
special_tokens_map.jsonConfiguration964 B
README.mdDocumentation17.2 KB
assets/BEIR-bge-en-v1.5.pngOther56.4 KB
assets/BEIR-e5-mistral.pngOther40.2 KB
assets/CMTEB-retrieval-bge-zh-v1.5.pngOther51.5 KB
assets/llama-index.pngOther106.5 KB
assets/miracl-bge-m3.pngOther52.0 KB
sentencepiece.bpe.modelOther5.1 MB cfc8146abe2a
.gitattributesRepository1.6 KB
tokenizer.jsonTokenizer17.1 MB 69564b696052
tokenizer_config.jsonTokenizer1.2 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
2.3 GB
Download from Beijing Academy of Artificial Intelligence

Released by Beijing Academy of Artificial Intelligence through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published2.3 GB
16-bit1.1 GB
8-bit0.6 GB
4-bit0.3 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare bge-reranker-v2-m3

Questions About bge-reranker-v2-m3

How much GPU memory does bge-reranker-v2-m3 need?

About 1.4 GB at 16-bit and 0.3 GB at 4-bit: the weights (568M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run bge-reranker-v2-m3 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use bge-reranker-v2-m3 commercially?

Yes. bge-reranker-v2-m3 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is bge-reranker-v2-m3's context length?

8,194 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Opir-multitask-large is the English, highest-accuracy multi-task checkpoint in the Opir family: an encoder-based GLiClass guardrail model for real-time LLM safety filtering. It supports binary safe/unsafe classification, toxicity detection, jailbreak and prompt-injection detection, and zero-shot harmful-content categorization over a hierarchical safety taxonomy. This card is for knowledgator/opir-multitask-large. The model is used through GLiClass zero-shot classification: pass text plus the candidate labels you want scored. Use single-label mode for binary safe/unsafe decisions and multi-label mode for taxonomy, toxicity, jailbreak, or custom policy labels. Use multi-label mode when you…

Open weights apache-2.0 439M parameters gliclass

Model · Text classification

roberta-large-mnli

Facebook AI community

roberta-large-mnli is the RoBERTa large model fine-tuned on the Multi-Genre Natural Language Inference (MNLI) corpus. The model is a pretrained model on English language text using a masked language modeling (MLM) objective. Use the code below to get started with the model. The model can be loaded with the zero-shot-classification pipeline like so: You can then use this pipeline to classify sequences into any of the class names you specify. For example: This fine-tuned model can be used for zero-shot classification tasks, including zero-shot sentence-pair classification (see the GitHub repo for examples) and zero-shot sequence classification. The model should not be used to intentionally…

Open weights mit 356M parameters 514 tokens transformers

Model · Text classification

Prompt-Guard-86M

Meta Llama

LLM-powered applications are susceptible to prompt attacks, which are prompts intentionally designed to subvert the developer’s intended behavior of the LLM. Categories of prompt attacks include prompt injection and jailbreaking: - Prompt Injections are inputs that exploit the concatenation of untrusted data from third parties and users into the context window of a model to get a model to execute unintended instructions. - Jailbreaks are malicious instructions designed to override the safety and security features built into a model. Prompt Guard is a classifier model trained on a large corpus of attacks, capable of detecting both explicitly malicious prompts as well as data that contains…

Access requested at publisher llama3.1 279M parameters transformers

This model is a fine-tuned version of xlm-roberta-base on the Language Identification dataset. This model is an XLM-RoBERTa transformer model with a classification head on top (i.e. a linear layer on top of the pooled output). For additional information please refer to the xlm-roberta-base model card or to the paper Unsupervised Cross-lingual Representation Learning at Scale by Conneau et al. You can directly use this model as a language detector, i.e. for sequence classification tasks. Currently, it supports the following 20 languages: arabic (ar), bulgarian (bg), german (de), modern greek (el), english (en), spanish (es), french (fr), hindi (hi), italian (it), japanese (ja), dutch (nl)…

Open weights mit 278M parameters 514 tokens transformers

Model · Text classification

Bangla-twoclass-Sentiment-Analyzer

Arunava Kar

This model is a fine-tuned version of xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set: The following hyperparameters were used during training: - learningrate: 3e-05 - trainbatchsize: 16 - evalbatchsize: 16 - lrschedulertype: linear - trainingsteps: 1800 - mixedprecisiontraining: Native AMP - Transformers 4.37.2 - Pytorch 2.1.0+cu121 - Datasets 2.17.1 - Tokenizers 0.15.2

Open weights mit 278M parameters 514 tokens transformers

Model · Text classification

snd_sentiment_analysis

Danish Mahdi

This repository contains a fine-tuned XLM-RoBERTa Base model for 3-class sentiment classification in Sindhi. The model predicts one of the following labels: - positive - neutral - negative This model is intended for research, experimentation, and lightweight production prototyping on Sindhi-language sentiment analysis tasks. It may be useful for short-text classification such as reviews, feedback, and social-media snippets. It should not be used as the only basis for high-stakes decisions. Performance can vary by domain, dialect, and writing style, and human review is recommended when errors could affect people or organizations. The saved model artifacts in this repository report the…

Open weights mit 278M parameters 514 tokens transformers