alt.freeweights.embed / mxbai-rerank-large-v1
From: mixedbread-ai <huggingface.co/mixedbread-ai>Newsgroups: alt.freeweights.embedSubject:

mxbai-rerank-large-v1

Date: 2026-11-14Commit: 98f6558Signed: 2DC28CC7B26A283B ✓

Text ranking model with 435M parameters. Onnx and safetensors weights, 3.27 GB in all. Published by mixedbread-ai under Apache-2.0.

435M params3.27GBmxbai-rerank-large-v1onnx safetensorspermissive
FactsParams435MSize3.27 GBFormatsonnx, safetensorsTasktext rankingLicenseApache-2.0From sourcepermissive
$ fw get mixedbread-ai/mxbai-rerank-large-v1
# manifest sha256 df816c5fabfd… · 3.27 GB · 13 files
$ fw verify ./mxbai-rerank-large-v1 mixedbread-ai/mxbai-rerank-large-v1
From sourceHosted (signed)mixedbread-ai/mxbai-rerank-large-v1Last check: 2026-11-14 21:09 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
3.27 GB
Weights
870 MB (safetensors)
Parameters
435M
Formats
onnx, safetensors
Task
text ranking
License
Apache-2.0 (permissive)
Files
13, each with a sha256
Publisher
mixedbread-ai
Added
2026-11-14
Section
alt.freeweights.embed
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:09 UTCpassed

Model card

From the publisher at commit 98f6558. Shown as plain text with links; images open at the publisher.

The crispy rerank family from Mixedbread.

🍞 Looking for a simple end-to-end retrieval solution? Meet Omni, our multimodal and multilingual model. Get in touch for access.

mxbai-rerank-large-v1#

This is the largest model in our family of powerful reranker models. You can learn more about the models in our blog post.

We have three models:

Quickstart#

Currently, the best way to use our models is with the most recent version of sentence-transformers.

pip install -U sentence-transformers

Let's say you have a query, and you want to rerank a set of documents. You can do that with only one line of code:

from sentence_transformers import CrossEncoder

# Load the model, here we use our base sized model
model = CrossEncoder("mixedbread-ai/mxbai-rerank-large-v1")


# Example query and documents
query = "Who wrote 'To Kill a Mockingbird'?"
documents = [
    "'To Kill a Mockingbird' is a novel by Harper Lee published in 1960. It was immediately successful, winning the Pulitzer Prize, and has become a classic of modern American literature.",
    "The novel 'Moby-Dick' was written by Herman Melville and first published in 1851. It is considered a masterpiece of American literature and deals with complex themes of obsession, revenge, and the conflict between good and evil.",
    "Harper Lee, an American novelist widely known for her novel 'To Kill a Mockingbird', was born in 1926 in Monroeville, Alabama. She received the Pulitzer Prize for Fiction in 1961.",
    "Jane Austen was an English novelist known primarily for her six major novels, which interpret, critique and comment upon the British landed gentry at the end of the 18th century.",
    "The 'Harry Potter' series, which consists of seven fantasy novels written by British author J.K. Rowling, is among the most popular and critically acclaimed books of the modern era.",
    "'The Great Gatsby', a novel written by American author F. Scott Fitzgerald, was published in 1925. The story is set in the Jazz Age and follows the life of millionaire Jay Gatsby and his pursuit of Daisy Buchanan."
]

# Lets get the scores
results = model.rank(query, documents, return_documents=True, top_k=3)

JavaScript Example

Install transformers.js

npm i @xenova/transformers

Let's say you have a query, and you want to rerank a set of documents. In JavaScript, you need to add a function:

import { AutoTokenizer, AutoModelForSequenceClassification } from '@xenova/transformers';

const model_id = 'mixedbread-ai/mxbai-rerank-large-v1';
const model = await AutoModelForSequenceClassification.from_pretrained(model_id);
const tokenizer = await AutoTokenizer.from_pretrained(model_id);

/**
 * Performs ranking with the CrossEncoder on the given query and documents. Returns a sorted list with the document indices and scores.
 * @param {string} query A single query
 * @param {string[]} documents A list of documents
 * @param {Object} options Options for ranking
 * @param {number} [options.top_k=undefined] Return the top-k documents. If undefined, all documents are returned.
 * @param {number} [options.return_documents=false] If true, also returns the documents. If false, only returns the indices and scores.
 */
async function rank(query, documents, {
    top_k = undefined,
    return_documents = false,
} = {}) {
    const inputs = tokenizer(
        new Array(documents.length).fill(query),
        {
            text_pair: documents,
            padding: true,
            truncation: true,
        }
    )
    const { logits } = await model(inputs);
    return logits
        .sigmoid()
        .tolist()
        .map(([score], i) => ({
            corpus_id: i,
            score,
            ...(return_documents ? { text: documents[i] } : {})
        }))
        .sort((a, b) => b.score - a.score)
        .slice(0, top_k);
}

// Example usage:
const query = "Who wrote 'To Kill a Mockingbird'?"
const documents = [
    "'To Kill a Mockingbird' is a novel by Harper Lee published in 1960. It was immediately successful, winning the Pulitzer Prize, and has become a classic of modern American literature.",
    "The novel 'Moby-Dick' was written by Herman Melville and first published in 1851. It is considered a masterpiece of American literature and deals with complex themes of obsession, revenge, and the conflict between good and evil.",
    "Harper Lee, an American novelist widely known for her novel 'To Kill a Mockingbird', was born in 1926 in Monroeville, Alabama. She received the Pulitzer Prize for Fiction in 1961.",
    "Jane Austen was an English novelist known primarily for her six major novels, which interpret, critique and comment upon the British landed gentry at the end of the 18th century.",
    "The 'Harry Potter' series, which consists of seven fantasy novels written by British author J.K. Rowling, is among the most popular and critically acclaimed books of the modern era.",
    "'The Great Gatsby', a novel written by American author F. Scott Fitzgerald, was published in 1925. The story is set in the Jazz Age and follows the life of millionaire Jay Gatsby and his pursuit of Daisy Buchanan."
]

const results = await rank(query, documents, { return_documents: true, top_k: 3 });
console.log(results);

Using API#

You can use the model via our API as follows:

from mixedbread_ai.client import MixedbreadAI

mxbai = MixedbreadAI(api_key="{MIXEDBREAD_API_KEY}")

res = mxbai.reranking(
  model="mixedbread-ai/mxbai-rerank-large-v1",
  query="Who is the author of To Kill a Mockingbird?",
  input=[
    "To Kill a Mockingbird is a novel by Harper Lee published in 1960. It was immediately successful, winning the Pulitzer Prize, and has become a classic of modern American literature.",
    "The novel Moby-Dick was written by Herman Melville and first published in 1851. It is considered a masterpiece of American literature and deals with complex themes of obsession, revenge, and the conflict between good and evil.",
    "Harper Lee, an American novelist widely known for her novel To Kill a Mockingbird, was born in 1926 in Monroeville, Alabama. She received the Pulitzer Prize for Fiction in 1961.",
    "Jane Austen was an English novelist known primarily for her six major novels, which interpret, critique and comment upon the British landed gentry at the end of the 18th century.",
    "The Harry Potter series, which consists of seven fantasy novels written by British author J.K. Rowling, is among the most popular and critically acclaimed books of the modern era.",
    "The Great Gatsby, a novel written by American author F. Scott Fitzgerald, was published in 1925. The story is set in the Jazz Age and follows the life of millionaire Jay Gatsby and his pursuit of Daisy Buchanan."
  ],
  top_k=3,
  return_input=false
)

print(res.data)

The API comes with additional features, such as a continous trained reranker! Check out the docs for more information.

Evaluation#

Our reranker models are designed to elevate your search. They work extremely well in combination with keyword search and can even outperform semantic search systems in many cases.

ModelNDCG@10Accuracy@3
Lexical Search (Lucene)38.066.4
BAAI/bge-reranker-base41.666.9
BAAI/bge-reranker-large45.270.6
cohere-embed-v3 (semantic search)47.570.9
mxbai-rerank-xsmall-v143.970.0
mxbai-rerank-base-v146.972.3
mxbai-rerank-large-v148.874.9

The reported results are aggregated from 11 datasets of BEIR. We used Pyserini to evaluate the models. Find more in our blog-post and on this spreadsheet.

Community#

Please join our Discord Community and share your feedback and thoughts! We are here to help and also always happy to chat.

Citation#

@online{rerank2024mxbai,
  title={Boost Your Search With The Crispy Mixedbread Rerank Models},
  author={Aamir Shakir and Darius Koenig and Julius Lipp and Sean Lee},
  year={2024},
  url={https://www.mixedbread.ai/blog/mxbai-rerank-v1},
}

License#

Apache 2.0

Files

13 files · 3.27 GBWeights 870 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE10.8 KB4b0dfefcb74f1e50a8df72a9f2bf0088753f8568bc479387292469b4948705d4
README.md49.5 KB08fdbe962874534777f7cbb616b3185221804aab07ffffa6feec459b6e13852f
added_tokens.json23 Bdc046d04c9b0ada7ae6f1dc89c465801799acdf0c9a6aab8c15a1b2d5ca4e91f
config.json970 B03da84d30a3abff6bd817cb504b63972a95cc6c2b8dcf7e195f5874fb4d18316
model.safetensors870 MB03c87424793dbe55bdd8740ac2b72e33113cac0ff2b2c04c379844a4306ca990
onnx/model.onnx1.74 GBf4ab4c480f402e70429d67dcc80a2bd88476c166824dcb1d10602566c485fd0f
onnx/model_quantized.onnx643 MBd03bd791409057b78184fa7726effdf5429114a68a7757939aa0d350761f7697
onnx/quantize_config.json1.19 KB24aec4643711652178ad4c44154d10d23fc02ca9e0f9d977f44948401b5a5607
special_tokens_map.json970 Bb2f1b2f15f29a6b6d9d6ea4eca1675d2c231a71477f151d48f79cc83a625ba21
spm.model2.46 MBc679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
tokenizer.json8.65 MB305674b4d785287feecfb5f73f24aa75e9b57c87c579cfe24fbd207987d4b4c4
tokenizer_config.json1.45 KBaafc9f36a056307bf0cbfcbd42fe00d9df89083d23db6114466c8bfaedb09ce5
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
98f655841d pinned now manifest updated, same commit2026-11-14 21:09 UTC13 files · 3.27 GB
98f655841d2026-11-14 21:09 UTC13 files · 3.27 GB

Use it

$ fw get mixedbread-ai/mxbai-rerank-large-v1
# manifest sha256 df816c5fabfd… · 3.27 GB · 13 files
$ fw verify ./mxbai-rerank-large-v1 mixedbread-ai/mxbai-rerank-large-v1
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mixedbread-ai/mxbai-rerank-large-v1.json --dir ./mxbai-rerank-large-v1 $ python3 fw.py verify ./mxbai-rerank-large-v1 ./mixedbread-ai__mxbai-rerank-large-v1.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mixedbread-ai/mxbai-rerank-large-v1 --revision 98f655841d5caf0b16eaff79c2b4ca109d920d17 --local-dir ./mxbai-rerank-large-v1

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
LICENSE
Text sha256
4b0dfefcb74f1e50a8df72a9f2bf0088753f8568bc479387292469b4948705d4
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mixedbread-ai <huggingface.co/mixedbread-ai>Newsgroups: alt.freeweights.embedSubject: mxbai-rerank-large-v1Date: 2026-11-14Commit: 98f6558Signed: 2DC28CC7B26A283B ✓
Upstream
mixedbread-ai/mxbai-rerank-large-v1
Pinned commit
98f655841d5caf0b16eaff79c2b4ca109d920d17
Manifest
mxbai-rerank-large-v1.json · .minisig
Manifest sha256
df816c5fabfdb6967d67f7d42af00e7758f2bf8128280b8afb68b10d8e303318
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:09 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mixedbread-ai/mxbai-rerank-large-v1.json $ curl -O https://freeweights.allternit.com/manifests/mixedbread-ai/mxbai-rerank-large-v1.json.minisig $ minisign -Vm mxbai-rerank-large-v1.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mixedbread-ai/mxbai-rerank-large-v1
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. mxbai-rerank-large-v1.json. Provenance. Takedown history: none.
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-MiniLM-L6-v1
From: unsloth <huggingface.co/unsloth>Subject: all-MiniLM-L6-v2
From: mlx-community <huggingface.co/mlx-community>Subject: all-MiniLM-L6-v2-4bit
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: all-mpnet-base-v1
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: allenai-specter
From: sentence-transformers <huggingface.co/sentence-transformers>Subject: bert-base-nli-max-tokens