bge-base-en-v1.5
by BAAI
The middle BGE: 768 dimensions and 512 tokens at 109M parameters
BAAI/bge-base-en-v1.5Deploy bge-base-en-v1.5
Single-tenantMixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.
Overview
bge-base-en-v1.5 sits between the small and large English BGE models: 109.5 million parameters producing 768-dimensional vectors over a 512-token window, at 10.4 million downloads a month. On the model card's MTEB English table it averages 63.55, against 62.17 for bge-small-en-v1.5 and 64.23 for bge-large-en-v1.5.
It shares the family's two integration details. Retrieval queries can take the prefix "Represent this sentence for searching relevant passages: " and passages never do, and pooling uses the CLS token. Getting either one wrong produces vectors that pass a smoke test and rank worse.
It is English-only and truncates at 512 tokens. Multilingual corpora and long sections call for a model trained for them, such as bge-m3 from the same family.
Architecture
BERT-base encoder, 12 layers, 768-dimensional hidden state, 12 attention heads, 3072-dimensional feed-forward, 30,522-token vocabulary, 512 positions. 109,482,240 float parameters; the safetensors total of 109,482,752 includes the position-id buffer. CLS-token pooling, max_seq_length 512, lower-cased input.
Mixpeek SDK Integration
// Runs on your side; the vectors are upserted. CLS pooling, 768 floats, and
// passages embedded without the query instruction.
const res = await fetch(
"https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
{
method: "POST",
headers: {
Authorization: "Bearer API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
collection_id: "col_your_collection",
documents: [
{
document_id: "report-2026-q2-section-04",
// 768 floats, matching a 768-dimension cosine vector index on the collection.
vectors: { "text-embedding": yourVector },
payload: { source_key: "reports/2026-q2.pdf", section: 4 },
},
],
}),
},
);Capabilities
- 768-dimensional dense embeddings for English passages up to 512 tokens
- Card-reported MTEB average of 63.55 across 56 English datasets
- Optional retrieval instruction on queries only
- MIT license
Use Cases on Mixpeek
Benchmarks
| Dataset | Metric | Score | Source |
|---|---|---|---|
| MTEB English (56 datasets) | Average | 63.55 | Model card: BAAI/bge-base-en-v1.5 |
| MTEB English Retrieval (15 datasets) | Average | 53.25 | Model card: BAAI/bge-base-en-v1.5 |
Performance
Not benchmarked on our hardware. Storage per vector is exactly twice bge-small-en-v1.5 and three quarters of bge-large-en-v1.5, which you can compute for your corpus before choosing.
Common Pipeline Companions
Frequently Asked Questions
How does bge-base-en-v1.5 compare with bge-small and bge-large?
On the card's MTEB English table: 63.55 average at 768 dimensions, against 62.17 for small at 384 and 64.23 for large at 1024. Retrieval averages are 53.25, 51.68 and 54.29. All three share the 512-token window, the query prefix and CLS pooling.
Can I switch from bge-small-en-v1.5 to bge-base-en-v1.5 without re-embedding?
No. The two models produce vectors of different sizes, 384 and 768, from different weights, so every stored vector has to be regenerated and the index recreated at 768 dimensions. The prefix and pooling stay the same, so the encoding code changes only in the model id.
What happens to text longer than 512 tokens?
It is truncated. sentence_bert_config.json sets max_seq_length to 512, and tokens past that never reach the model. Chunk to 512 tokens or fewer, counting with this model's tokenizer rather than by characters.
Does Mixpeek run this model for me?
Not on the managed tier. No Mixpeek extractor loads these weights, so you encode on your side and upsert the vectors, or upload the weights on a single-tenant Enterprise deployment and have a custom plugin run them.
Specification
Research Paper
C-Pack: Packed Resources For General Chinese Embeddings
arxiv.orgBuild a pipeline with bge-base-en-v1.5
Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.
Run it on your own data, free