GeoPres projections
Collection
Compress text embeddings while preserving pairwise Euclidean distances. From 'On Post-Hoc Dimensionality Reduction of Text Embeddings' (EACL 2027). โข 21 items โข Updated
Linear map W (64 x 768) trained with
GeoPres to preserve
pairwise Euclidean distances between sentence-transformers/all-mpnet-base-v2 embeddings.
Backbone (frozen, not included): sentence-transformers/all-mpnet-base-v2
Paper: On Post-Hoc Dimensionality Reduction of Text Embeddings (EACL 2027)
from geopres import GeoPres
model = GeoPres.from_pretrained("kkalyfo/geopres-all-mpnet-base-v2-64")
reduced = model.embed(["some text"]) # (1, 64)
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-all-mpnet-base-v2-64")
reduced = projection.project(embeddings) # (n, 768) -> (n, 64)
The input must be sentence-transformers/all-mpnet-base-v2 embeddings, computed with the same
pooling, normalisation and prefixes as the training data.
The backbone is frozen; inference is one matrix multiply.