Downloads · 30 days
17
36% of all-time downloads
eoinedge/zephyrproject-docs-embeddings
zephyrproject-docs-embeddings is a sentence similarity model from eoinedge. 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.
all-MiniLM-L6-v2 fine-tuned on the Zephyr RTOS documentation, for retrieval over that corpus.
Downloads · 30 days
17
36% of all-time downloads
All-time downloads
47
Public
Parameters
22.7M
90.9 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
all-MiniLM-L6-v2 fine-tuned on the Zephyr RTOS documentation, for retrieval over
that corpus.
The base model is trained on general web text, where "binding" means a contract and "west" is a direction. This copy is adapted to Zephyr RTOS's vocabulary so those senses separate.
Use it as a drop-in replacement for the base model when embedding Zephyr RTOS documentation:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("eoinedge/zephyrproject-docs-embeddings")
vectors = model.encode(passages, normalize_embeddings=True)
| Base | sentence-transformers/all-MiniLM-L6-v2 |
| Pairs | 6,079 mined from the docs' own heading/body structure |
| Loss | MultipleNegativesRankingLoss (in-batch negatives) |
| Epochs | 1 |
| Batch size | 32 |
| Held-out pairs | 400 |
No hand-labelled data and no synthetic questions from a generator — a section heading is a natural query for the body beneath it, and it is already written by the documentation authors.
| Metric | Base | Tuned |
|---|---|---|
| recall@5 on held-out pairs | 0.63 | 0.86 |
That number flatters the model, and you should treat it with suspicion. The evaluation measures the same heading→body relationship the model was trained on, so it partly measures whether training converged rather than whether retrieval improved.
Spot-checking real questions gives a more mixed picture: some clearly improve, several are unchanged, and at least one regressed. Real questions are not phrased like section headings, which is exactly the gap this evaluation does not cover.
The comparison Space runs both models on the same query so you can judge for yourself rather than trusting the headline.
Apache-2.0, matching the base model.