CoolFace
Modelpublic

alphaedge-ai/Qwen3-Embedding-hat-16384

sourceHugging Faceapache-2.0updated 4mo agoView on Hugging Face
0likes69downloads
Model Card

Qwen3-Embedding-hat-16384

This model is a 23.25% smaller version of Qwen/Qwen3-Embedding-0.6B optimized for Haitian Creole 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,669 tokens16,384 tokens89.20%
Model size595,776,512 params457,244,672 params23.25%

image

Mining Dataset Statistics

Usage

python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("alphaedge-ai/Qwen3-Embedding-hat-16384")
# Run inference with queries and documents
query = "My query in Haitian Creole"
documents = [
    "Chunk in Haitian Creole",
    "Chunk in Haitian Creole",
    "Chunk in Haitian Creole",
]
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

Qwen3 Embedding
@article{qwen3embedding,
  title={Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models},
  author={Zhang, Yanzhao and Li, Mingxin and Long, Dingkun and Zhang, Xin and Lin, Huan and Yang, Baosong and Xie, Pengjun and Yang, An and Liu, Dayiheng and Lin, Junyang and Huang, Fei and Zhou, Jingren},
  journal={arXiv preprint arXiv:2506.05176},
  year={2025}
}
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}, 
}