CoolFace
Modelpublic

alphaedge-ai/pplx-embed-v1-ukr-16384

sourceHugging Facemitupdated 4mo agoView on Hugging Face
0likes19downloads
Model Card

pplx-embed-v1-ukr-32768

This model is a 23.29% smaller version of perplexity-ai/pplx-embed-v1-0.6b optimized for Ukrainian language via vocabulary size reduction using the trimming method. This trimmed model should perform similarly to the original model with only 16,384 tokens and a much smaller memory footprint. However, it may not perform well for other languages as tokens not commonly used in the selected languages were removed from the vocabulary.

Model Statistics

MetricOriginalTrimmedReduction
Vocabulary size151,936 tokens16,384 tokens89.22%
Model size596,049,920 params457,244,672 params23.29%

image

Mining Dataset Statistics

Usage

python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("alphaedge-ai/pplx-embed-v1-ukr-16384")
# Run inference with queries and documents
query = "My query in Ukrainian"
documents = [
    "Chunk in Ukrainian",
    "Chunk in Ukrainian",
    "Chunk in Ukrainian",
]
query_embeddings = model.encode_query(query)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# Compute similarities to determine a ranking
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)

Citations

pplx-embed-v1
@misc{eslami2026diffusionpretraineddensecontextualembeddings,
      title={Diffusion-Pretrained Dense and Contextual Embeddings}, 
      author={Sedigheh Eslami and Maksim Gaiduk and Markus Krimmel and Louis Milliken and Bo Wang and Denis Bykov},
      year={2026},
      eprint={2602.11151},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2602.11151}, 
}
Trimming blog post
@misc{hf_blogpost_trimming,
      title={Introduction to Trimming}, 
      author={Loïck BOURDOIS and Tom AARSEN and Bram VANROY and Christopher AKIKI and Woojun JUNG and Manuel ROMERO and Prithiv SAKTHI},
      year={2026},
      url={https://huggingface.co/blog/lbourdois/introduction-to-trimming}, 
}