LaBSE
by sentence-transformers
Language-agnostic sentence embeddings that put 109 languages in one shared space
sentence-transformers/LaBSEmixpeek://text_extractor@v1/labse_v1Overview
LaBSE (Language-agnostic BERT Sentence Embedding) is trained so that a sentence and its translation land in nearly the same place in vector space, across 109 languages. That property is the whole point: it means a query in one language retrieves matching content in every other language with no translation step and no language detection anywhere in the request path.
On Mixpeek it is the text side of a cross-lingual archive. Index documents and transcripts in whatever language they arrive in, and a single index answers queries in any of the 109, which is what makes a mixed-language library searchable without routing logic that has to guess a document's language correctly.
Architecture
Dual-encoder BERT trained with a translation-ranking objective over parallel sentence pairs, producing a 768-dimension sentence embedding. Distributed for sentence-transformers with PyTorch, TensorFlow, JAX and ONNX weights.
Mixpeek SDK Integration
import { Mixpeek } from "mixpeek";
const mixpeek = new Mixpeek({ apiKey: process.env.MIXPEEK_API_KEY });
// One index, every language. No language detection on the write path.
await mixpeek.collections.create({
collection_name: "multilingual_docs",
feature_extractors: [
{ extractor: "mixpeek://text_extractor@v1/labse_v1" },
],
});Capabilities
- Sentence embeddings aligned across 109 languages
- Cross-lingual retrieval with no query-time translation
- Bitext mining and translation-pair matching, the task it was built for
- ONNX weights for CPU-bound deployment
Use Cases on Mixpeek
Explore on Mixpeek
Compare alternatives in this category
Hand-picked tools & platforms compared
Deep-dive technical guide
See how Mixpeek runs models as extractors
Store & search embeddings at scale
Usage-based pricing for pipelines
Compare models, APIs & infrastructure
Specification
Research Paper
Language-agnostic BERT Sentence Embedding
arxiv.orgBuild a pipeline with LaBSE
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