Downloads · 30 days
18
17% of all-time downloads
GoktugD/DUSUNEN-Atlas-278M-v1
DUSUNEN-Atlas-278M-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 mit.
One Turkish retrieval model, six useful embedding sizes. This model adapts intfloat/multilingual-e5-base with Matryoshka Representation Learning on 50,000 curated Turkish hard-negative triplets. Applications can selec…
Downloads · 30 days
18
17% of all-time downloads
All-time downloads
104
Public
Parameters
278M
573 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors556 MB · 97%
From the Hugging Face model README
One Turkish retrieval model, six useful embedding sizes. This model adapts
intfloat/multilingual-e5-base with Matryoshka Representation Learning on
50,000 curated Turkish hard-negative triplets. Applications can select 768,
512, 384, 256, 128, or 64 dimensions at inference time without training or
storing a second model.
The practical target is a smaller vector index: 128-dimensional float32 vectors use 83.3% less storage than 768-dimensional vectors, while improving held-out hard-negative triplet accuracy from 92.65% to 94.75% over the truncated base model.
All rows use the same 2,000-example held-out validation split and cosine similarity. The base and fine-tuned model were evaluated with identical E5 query/passage prefixes.
| Dimensions | Base accuracy | Atlas accuracy | Gain | Float32 bytes/vector | Index reduction |
|---|---|---|---|---|---|
| 768 | 95.25% | 95.50% | +0.25 pp | 3,072 | 0% |
| 512 | 95.30% | 95.65% | +0.35 pp | 2,048 | 33.3% |
| 384 | 95.05% | 95.35% | +0.30 pp | 1,536 | 50.0% |
| 256 | 94.15% | 95.00% | +0.85 pp | 1,024 | 66.7% |
| 128 | 92.65% | 94.75% | +2.10 pp | 512 | 83.3% |
| 64 | 88.75% | 92.50% | +3.75 pp | 256 | 91.7% |
These are held-out in-domain triplet results, not a claim of state of the art.
Broader Turkish MTEB evaluation is planned. Machine-readable results are in
dimension-sweep.json.
from sentence_transformers import SentenceTransformer
model = SentenceTransformer(
"GoktugD/DUSUNEN-Atlas-278M-v1",
truncate_dim=128,
)
queries = ["query: Türkiye'nin başkenti neresidir?"]
passages = [
"passage: Türkiye'nin başkenti Ankara'dır.",
"passage: İstanbul Türkiye'nin en kalabalık şehridir.",
]
query_embeddings = model.encode(queries, normalize_embeddings=True)
passage_embeddings = model.encode(passages, normalize_embeddings=True)
scores = query_embeddings @ passage_embeddings.T
print(scores)
Use the query: prefix for queries and passage: for documents. Apply the
same truncate_dim to both sides. Recommended operating points:
d128750597153bb5987e10b1c3493a34e5a4502aExact hyperparameters are available in training_config.yaml; the recorded
environment is in training_environment.json.
The published model.safetensors SHA-256 is:
66c65d4109a646d3f8a6dc6c19b20efda4d9c5ed9cd5054386812da0d6b263dd
Developed and released by Göktuğ Düşünen.