GeoPres projection: Alibaba-NLP/gte-multilingual-base -> 2 dimensions
Linear map W (2 x 768) trained with
GeoPres to preserve
pairwise Euclidean distances between Alibaba-NLP/gte-multilingual-base embeddings.
Backbone (frozen, not included): Alibaba-NLP/gte-multilingual-base
Paper: On Post-Hoc Dimensionality Reduction of Text Embeddings (EACL 2027)
Encode text and reduce it
from geopres import GeoPres
model = GeoPres.from_pretrained("kkalyfo/geopres-gte-multilingual-base-2")
reduced = model.embed(["some text"]) # (1, 2)
Reduce embeddings you already have
If your embeddings come from somewhere else (TEI, a vector database, a batch job), use the matrix on its own. Nothing is encoded and the backbone is not downloaded:
from geopres import Projection
projection = Projection.from_pretrained("kkalyfo/geopres-gte-multilingual-base-2")
reduced = projection.project(embeddings) # (n, 768) -> (n, 2)
The input must be Alibaba-NLP/gte-multilingual-base embeddings, computed with the same
pooling, normalisation and prefixes as the training data.
The backbone is frozen; inference is one matrix multiply.
Limitations
This is a 2-dimensional projection, an extreme case included because 2D embeddings are used for visualisation. At this size MTEB retention collapses to ~35β38% of the full model (see Section 6 of the paper).
- Downloads last month
- 21