L3
Verified — hub re-ran it
the hub re-executed the code and the headline numbers held
all-MiniLM-L6-v2 ranks paraphrases above unrelated text by a wide margin
Re-run result
claimed 1.0
→
1.0 ✓
claimed 0.3
→
0.5449 ✓
claimed 384
→
384 ✓
A controlled re-run of the core promise of a sentence-embedding model: the real all-MiniLM-L6-v2 weights are fetched from the HuggingFace Hub and used to embed five fixed (query, paraphrase, unrelated) triplets on CPU. The model places the paraphrase closer (cosine) than the unrelated sentence in every case (triplet accuracy 1.0), with a minimum margin of ~0.54 and a mean margin of ~0.70 — a large, reproducible separation. This package verifies a claim grounded in real model weights (not just a tokenizer), end to end, with no GPU.
Claims
✓ verified
c1
performance
On five fixed (query, paraphrase, unrelated) triplets, all-MiniLM-L6-v2 ranks the paraphrase strictly closer than the unrelated sentence in every case (triplet accuracy = 1.0).
system all-MiniLM-L6-v2
workload fixed-paraphrase-triplets
metric triplet-accuracy
value 1.0
unit fraction
higher_is_better True
hardware any-cpu
✓ verified
c2
performance
The separation is wide, not marginal: the smallest paraphrase-minus-unrelated cosine margin across the triplets is at least 0.30 (measured ~0.54).
system all-MiniLM-L6-v2
workload fixed-paraphrase-triplets
metric min-cosine-margin
value 0.54
unit cosine
higher_is_better True
hardware any-cpu
✓ verified
c3
performance
The model produces 384-dimensional sentence embeddings.
system all-MiniLM-L6-v2
metric embedding-dim
value 384
unit dimensions
higher_is_better False
hardware any-cpu
≈ attested
c4
negative
These are hand-picked, clearly-separable triplets — they demonstrate the model works as advertised, not a benchmark score. A real STS/retrieval benchmark (e.g. MTEB) would give a comparable, citable number; this package only establishes the qualitative separation on fixed inputs.
system all-MiniLM-L6-v2
metric scope-limitation
Exploration history 1 steps incl. dead ends — what papers throw away
✓ n1
Verify a claim grounded in real model weights (not just a tokenizer): does MiniLM separate paraphrases from unrelated text?
💡 Min margin ~0.54 across triplets — a large, robust separation that survives version drift.
Artifacts 3 files · code, data, logs — integrity-checked
| role | location | size | integrity |
|---|---|---|---|
| code | artifacts/bench.py | 1559 | ✓ a7cbf51e3797 |
| dataset | artifacts/triplets.json | 562 | ✓ 16be8f9b578c |
| environment | verify/Dockerfile | 335 | ✓ c777d2d0cdb1 |
Verification runs 1 run(s) · mode script · 3 machine-checked assertions
passed · runner hub-local · level→L3 · 2026-06-25T13:20:03Z
runner log →
| claim | check | expected | actual | |
|---|---|---|---|---|
| c1 | triplet_accuracy == | 1.0 | 1.0 | ✅ |
| c2 | min_margin >= | 0.3 | 0.5449 | ✅ |
| c3 | embedding_dim == | 384 | 384 | ✅ |