/ Модель

Характеристики

Контекст
512 токенов
Параметры
434 млн
Лицензия
Apache 2.0
Архитектура
bert · dense
Библиотека
sentence-transformers
Опубликована
18 мар 2024

mxbai-colbert-large-v1

ЭмбеддингиТекст → embedding8 профессий

Англоязычный ColBERT-ретривер Mixedbread AI для повторного ранжирования результатов поиска и семантического поиска по текстам.

4 638скачиваний за 30 дней53лайкавеса обновлены19 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

mxbai-colbert-large-v1 — англоязычная модель ранжирования документов от Mixedbread AI, построенная на модели эмбеддингов mixedbread-ai/mxbai-embed-large-v1. Это ColBERT-ретривер с несколькими векторами и поздним взаимодействием между представлениями запроса и документа; он предназначен прежде всего для повторного ранжирования результатов, найденных на первом этапе, например BM25, и может использоваться в конвейерах поиска и RAG.

Модель основана на архитектуре BERT, содержит 433,9 млн параметров и принимает текст с контекстом до 512 токенов. Она формирует эмбеддинги для поиска и оценки сходства предложений. По результатам README, модель показала конкурентные показатели NDCG@10 на наборах BEIR для повторного ранжирования и поиска; для обычного retrieval разработчик рекомендует использовать mixedbread-ai/mxbai-embed-large-v1. Модель распространяется по лицензии Apache-2.0.

Сценарии применения

  • повторное ранжирование результатов BM25
  • улучшение релевантности документов в поисковой системе
  • поиск ответов и источников для RAG
  • семантическое сопоставление запросов и документов

Ограничения

Модель рассчитана на английский язык и ограничена контекстом до 512 токенов. Для первичного поиска разработчик рекомендует использовать отдельную модель эмбеддингов mixedbread-ai/mxbai-embed-large-v1.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

mixedbread-ai/mxbai-colbert-large-v1

This is our first English ColBERT model, which is built upon our sentence embedding model mixedbread-ai/mxbai-embed-large-v1. You can learn more about the models in our blog post.

Quickstart

Using Sentence Transformers

This checkpoint also loads with Sentence Transformers as a multi-vector (ColBERT-style late interaction) retriever via the MultiVectorEncoder.

pip install "sentence-transformers>=6.0.0"
from sentence_transformers import MultiVectorEncoder

model = MultiVectorEncoder("mixedbread-ai/mxbai-colbert-large-v1")

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.",
]

query_embeddings = model.encode_query([query])
document_embeddings = model.encode_document(documents)
print(query_embeddings[0].shape, document_embeddings[0].shape)
# (128, 128) (34, 128)

# MaxSim late-interaction scoring
scores = model.similarity(query_embeddings, document_embeddings)
print(scores)
# tensor([[119.3276,  95.9337, 114.1252,  76.5609]])

Using RAGatouille

This model can also be used with RAGatouille:

pip install ragatouille
from ragatouille import RAGPretrainedModel

# Let's create a ragatouille instance 
RAG = RAGPretrainedModel.from_pretrained("mixedbread-ai/mxbai-colbert-large-v1")

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."
]

# index documents
RAG.index(documents, index_name="mockingbird")

# search
query = "Who wrote 'To Kill a Mockingbird'?"
results = RAG.search(query)

The result looks like this:

[
  {
    'content': "'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.",
    'score': 28.453125,
    'rank': 1,
    'document_id': '9d564e82-f14f-433a-ab40-b10bda9dc370',
    'passage_id': 0
  },
 {
    'content': "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.",
    'score': 27.03125,
    'rank': 2,
    'document_id': 'a35a89c3-b610-4e2e-863e-fa1e7e0710a6',
    'passage_id': 2
  },
  ...
]

Evaluation

1. Reranking Performance

Setup: we use BM25 as the first-stage retrieval model, and then use ColBERT for reranking. We evaluate the out-of-domain performance on 13 public BEIR datasets. Following common practice, we report NDCG@10 as the metrics.

Here, we compare our model with two widely used ColBERT models, as follows:

DatasetColBERTv2Jina-ColBERT-v1mxbai-colbert-large-v1
ArguAna29.9933.4233.11
ClimateFEVER16.5120.6620.85
DBPedia31.8042.1640.61
FEVER65.1381.0780.75
FiQA23.6135.6035.86
HotPotQA63.3068.8467.62
NFCorpus33.7536.6936.37
NQ30.5551.2751.43
Quora78.8685.1886.95
SCIDOCS14.9015.3916.98
SciFact67.8970.271.48
TREC-COVID59.4775.0081.04
Webis-touché202044.2232.1231.70
Average43.0849.8250.37

Find more in our blog-post.

2. Retrieval Performance

We also test our model's performance on retrieval tasks on a subset of the BEIR benchmarks. We'll be providing the full results for the benchmark soon (actively working on it).

Due to resource limitations, we only test our model on three beir tasks. NDCG@10 servers as the main metric.

ModelColBERTv2Jina-ColBERT-V1mxbai-colbert-large-v1
NFCorpus33.733.836.5
SciFact68.970.171.3
TREC-COVID72.675.080.5

Although our ColBERT also performs well on retrieval tasks, we still recommend using our flagship embedding model mixedbread-ai/mxbai-embed-large-v1 for that.

Community

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

License

Apache 2.0

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
HF_ColBERT
Ревизия весов
d092c67

0 моделей