GeoPres projection: Alibaba-NLP/gte-multilingual-base -> 32 dimensions

Linear map W (32 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-32")
reduced = model.embed(["some text"])   # (1, 32)

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-32")
reduced = projection.project(embeddings)   # (n, 768) -> (n, 32)

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.

Downloads last month
23
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Collection including kkalyfo/geopres-gte-multilingual-base-32