Downloads · 30 days
8
10% of all-time downloads
GoktugD/DUSUNEN-Pusula-118M-v1
DUSUNEN-Pusula-118M-v1 is a sentence similarity model from GoktugD. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.
A compact Turkish retriever with six selectable vector sizes. Pusula is a 117.7M-parameter Sentence Transformer trained with Matryoshka Representation Learning on 50,000 Turkish hard-negative triplets. It emits 384-di…
Downloads · 30 days
8
10% of all-time downloads
All-time downloads
82
Public
Parameters
118M
371 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors235 MB · 63%
From the Hugging Face model README
A compact Turkish retriever with six selectable vector sizes. Pusula is a 117.7M-parameter Sentence Transformer trained with Matryoshka Representation Learning on 50,000 Turkish hard-negative triplets. It emits 384-dimensional embeddings by default and can be truncated to 256, 192, 128, 64, or 32 dimensions without storing another model.
All results use the same 2,000-example held-out hard-negative split and cosine similarity. The baseline is the public Pusula v0 checkpoint evaluated with the same code and text format.
| Dimensions | Base accuracy | Pusula v1 accuracy | Gain | Float32 bytes/vector | Index reduction |
|---|---|---|---|---|---|
| 384 | 92.00% | 91.95% | -0.05 pp | 1,536 | 0.0% |
| 256 | 91.60% | 91.70% | +0.10 pp | 1,024 | 33.3% |
| 192 | 90.70% | 90.75% | +0.05 pp | 768 | 50.0% |
| 128 | 90.05% | 89.85% | -0.20 pp | 512 | 66.7% |
| 64 | 88.70% | 88.90% | +0.20 pp | 256 | 83.3% |
| 32 | 86.40% | 86.40% | +0.00 pp | 128 | 91.7% |
These are in-domain held-out triplet results, not a universal or state-of-the-art
claim. Machine-readable evidence is included in dimension-sweep.json.
The five-task score below was measured with MTEB 2.18.16,
normalized 384-dimensional embeddings, bfloat16 inference, and the plain-text
input format. Dataset revisions and task metadata are recorded in
mteb-five-task.json.
| Task | Main score |
|---|---|
| TurHistQuadRetrieval | 0.25543 |
| XQuADRetrieval | 0.81568 |
| WebFAQRetrieval | 0.46310 |
| MKQARetrieval | 0.04860 |
| BelebeleRetrieval | 0.82598 |
| Macro average | 0.481758 |
Scores across tasks with different metrics should be read as a compact release regression panel, not as a single universal quality measure.
The repository includes onnx/model_quantized.onnx (118.3 MB), exported
for AVX2 CPU inference. Across the included validation probes, PyTorch-to-ONNX
mean cosine agreement was 0.989893,
minimum agreement was 0.979842,
and example-query top-1 agreement was
100.0%. See
onnx-validation.json for machine-readable details.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer(
"GoktugD/DUSUNEN-Pusula-118M-v1",
truncate_dim=128,
)
queries = ["Türkiye'nin başkenti neresidir?"]
passages = [
"Türkiye'nin başkenti Ankara'dır.",
"İstanbul Türkiye'nin en kalabalık şehridir.",
]
q = model.encode(queries, normalize_embeddings=True)
p = model.encode(passages, normalize_embeddings=True)
print(q @ p.T)
Pusula uses plain text; do not add E5-style prefixes. Apply the same
truncate_dim to query and document embeddings.
GoktugD/DUSUNEN-Pusula-118M-v0Exact configuration, environment and evaluation scripts are included in this repository.
model.safetensors SHA-256:
1ac5c7f6c40598ae744b82373eb6f5a37d6569402ebaf5dada12b3e56553d81a
Developed and released by Göktuğ Düşünen.