1.  [](/)
2.  [Models](/models)
3.  ColBERTv2

![](/favicon.ico)Served on MixpeekEmbeddingVerified 2026-11-05

# ColBERTv2

colbert-ir/colbertv2.0

ColBERTv2 is a text embedding model (MIT). Served on Mixpeek, scaling to zero when idle.

A Ray Serve app in Mixpeek's inference registry hosts it. It starts at zero replicas and wakes on first use.

[Use in a new namespace](https://studio.mixpeek.com/namespaces/design?utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)[Add to an existing namespace](https://studio.mixpeek.com/namespaces?utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp "Open the namespace in Studio, then its Designer tab") [Record as JSON](/models/colbertv2-0.json)

New opens the Designer in Studio. For an existing namespace, open it in Studio and use its Designer tab.

No demo for ColBERTv2 yet

A video, image, slideshow or playground goes here once we record one on our own data.

## What it is good and bad at

Best at

Late-interaction text retrieval and reranking (MaxSim over one 128-d vector per token); strong on out-of-domain and term-heavy queries.

Worst at

Storage and cold reads: about 36 KB a 275-token document; English-centric BERT-base vocabulary; text only.

Task

Embedding

Input

Text

Output

Multi-vector

Use cases

Text search, Reranking

## Templates that use it

No template uses this model yet. [Browse templates](/templates).

## Input and output

### Input

Text

Max tokens

512

Query marker

\[unused0\] as \[Q\]

Document marker

\[unused1\] as \[D\]

Query padding

\[MASK\] to 32 positions

### Output

Vector

Dims

128

Distance

cosine

Type

multi\_dense

## How Mixpeek wires it

Extractors

*   `colbert_extractor@v1` fixed

Feature URIs

*   `mixpeek://colbert_extractor@v1/colbertv2_v1`

Vector indexes

`colbert_extractor_v1_tokens`

Retriever stages

maxsim\_rerank, feature\_search

Combines with

*   feature\_search (E5) -> maxsim\_rerank on mixpeek://colbert\_extractor@v1/colbertv2\_v1

## How it runs

Status

![](/favicon.ico)Served on Mixpeek Ray Serve app in the inference registry; colbert\_extractor batch uses ColBERTv2Batch. The embedding registry marks it PREVIEW.

Serve apps

`colbert_ir__colbertv2`

Runtime

transformers BertModel (add\_pooling\_layer=False) + AutoTokenizer, 768->128 linear head (ColBERTv2Encoder, engine code)

Weights

safetensors, no remote code

Parameters

110 M

Size on disk

438 MB

Preprocessing

Documents: \[CLS\] \[D\] tokens \[SEP\], truncated to 512. Queries: \[CLS\] \[Q\] tokens \[SEP\], padded with \[MASK\] to 32 positions.

Postprocessing

Project each token 768 -> 128 with the checkpoint linear head and L2-normalize; documents drop punctuation and padding tokens.

Serving

both, batch 16

Hardware

Runs on CPU (slower without a GPU)

### Scale to zero

Minimum replicas

0

Maximum replicas

2

Idle timeout

300 s

Memory

2 GB

CPUs

1

GPUs

0

Cold start, node warm

Not recorded

Cold start, new node

Not recorded

## Measured cost

Unmeasured

No committed throughput, latency, memory and cost measurement of the Serve app.

## Our evaluations

Dataset and metric

Score

Baseline

Date

BEIR SciFact (5,183 documents)

nDCG@10, exact MaxSim, engine encoder fp16 on MPS (k=10)

0.7063

None

2026-10-14

BEIR SciFact padded with 994,817 PubMed abstracts (1M documents)

nDCG@10, exact MaxSim (k=10)

0.4414

None

2026-10-14

## Questions

What is ColBERTv2 best at?

Late-interaction text retrieval and reranking (MaxSim over one 128-d vector per token); strong on out-of-domain and term-heavy queries.

What are the limits of ColBERTv2?

Storage and cold reads: about 36 KB a 275-token document; English-centric BERT-base vocabulary; text only.

Can ColBERTv2 be used commercially?

Yes. MIT on the Hugging Face repo; no use restrictions.

How does ColBERTv2 run on Mixpeek?

Ray Serve app in the inference registry; colbert\_extractor batch uses ColBERTv2Batch. The embedding registry marks it PREVIEW.

## Identity

Catalog id

`colbertv2-0`

Family

colbert

Hub id

`colbert-ir/colbertv2.0`

License

MIT

Commercial use

AllowedMIT on the Hugging Face repo; no use restrictions.

Released

2021-12

Last verified

Verified 2026-11-05

Paper

[arxiv.org/abs/2112.01488](https://arxiv.org/abs/2112.01488)

Code

[github.com/stanford-futuredata/ColBERT](https://github.com/stanford-futuredata/ColBERT)

## References and formats

*   `hf://colbert-ir/colbertv2.0@c1e84128e85ef755c096a95bdb06b47793b13acf`

Format

File

Loads today

safetensors

model.safetensors

Yes

ONNX

model.onnx

Yes

PyTorch .bin

pytorch\_model.bin

No

## Related models

*   [Multilingual E5 Large Instruct](/models/multilingual-e5-large-instruct)Embedding
*   [Gemini Embedding 2](/models/gemini-embedding-2)Embedding
*   [all-MiniLM-L6-v2](/models/all-minilm-l6-v2)Embedding
*   [Vertex AI multimodalembedding@001](/models/multimodalembedding)Embedding
*   [SigLIP Base patch16 224](/models/siglip-base-patch16-224)Embedding
*   [LAION CLAP HTSAT-tiny (630k-audioset-best)](/models/clap-htsat-tiny)Embedding

## Sources

*   [huggingface.co/colbert-ir/colbertv2.0](https://huggingface.co/colbert-ir/colbertv2.0)
*   [huggingface.co/api/models/colbert-ir/colbertv2.0](https://huggingface.co/api/models/colbert-ir/colbertv2.0)
*   [arxiv.org/abs/2112.01488](https://arxiv.org/abs/2112.01488)