Downloads · 30 days
0
Waqf-AI/arabic-splade-asymmetric
arabic-splade-asymmetric is a machine learning model from Waqf-AI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for sentence-transformers. The card lists the license as apache-2.0.
Inference-free SPLADE: frozen SparseStaticEmbedding for queries, MLMTransformer + SpladePooling for documents.
Downloads · 30 days
0
Access
Public
Updated Jun 17, 2026
Repo size
1.1 GB
Likes
1
Public
Click a slice to open those files.
.safetensors1.6 GB · 99%
From the Hugging Face model README
Inference-free SPLADE: frozen SparseStaticEmbedding for queries, MLMTransformer + SpladePooling for documents.
Asymmetric (Router: query=SparseStaticEmbedding, doc=MLMTransformer+SpladePooling)
Base model: aubmindlab/bert-base-arabertv2
oddadmix/arabic-triplets-large (104K triplets, 92K unique passages)SpladeLoss(SparseMultipleNegativesRankingLoss, q_reg=5e-5, d_reg=3e-5)| Metric | Score |
|---|---|
| NDCG@10 | 0.2995 |
| MRR@10 | 0.3584 |
For reference: BM25 scores 0.3824 NDCG@10, 0.4483 MRR@10 on the same benchmark.
AraBERTv2 base (12-layer BERT, 64K vocab)
torchrunfrom sentence_transformers.sparse_encoder import SparseEncoder
model = SparseEncoder("Abdelkareem/arabic-splade-asymmetric")
embeddings = model.encode([
"ما هي عاصمة مصر؟",
"القاهرة هي عاصمة مصر وأكبر مدنها.",
])
print(embeddings.shape)
# Decode top tokens
decoded = model.decode(embeddings, top_k=10)
for d in decoded:
print(d)