MiniEmbed-Nano card
Browse files
README.md
CHANGED
|
@@ -3,55 +3,64 @@ license: apache-2.0
|
|
| 3 |
library_name: numpy
|
| 4 |
tags:
|
| 5 |
- governed-ai
|
|
|
|
| 6 |
- szl-holdings
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
- measured
|
| 10 |
---
|
| 11 |
|
| 12 |
# MiniEmbed-Nano
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
##
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|---|---|
|
| 30 |
-
| Anthropic | Honest about what it is not — not a foundation embed. |
|
| 31 |
-
| NVIDIA | Tiny table instead of NV-Embed / NeMo retrieval stacks. |
|
| 32 |
-
| Unsloth | No LoRA. Construction is `build(seed)` — Unsloth is the wrong tool and we say so. |
|
| 33 |
-
|
| 34 |
-
Nobody else ships this combination. That is the point of a one-of-one.
|
| 35 |
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
-
##
|
| 41 |
|
| 42 |
-
- Not
|
| 43 |
-
- Not
|
| 44 |
-
-
|
|
|
|
|
|
|
| 45 |
|
| 46 |
## Honesty
|
| 47 |
|
| 48 |
-
| Claim | Label |
|
| 49 |
-
|---|---|
|
| 50 |
-
|
|
| 51 |
-
|
|
| 52 |
-
|
|
| 53 |
-
|
|
| 54 |
-
|
| 55 |
-
Doctrine v11 LOCKED · 749 declarations · 14 axioms · 163 sorries · locked-proven 8.
|
| 56 |
|
| 57 |
-
Apache-2.0. Copyright 2026 SZL Holdings · Stephen P. Lutar Jr. · ORCID [0009-0001-0110-4173](https://orcid.org/0009-0001-0110-4173).
|
|
|
|
| 3 |
library_name: numpy
|
| 4 |
tags:
|
| 5 |
- governed-ai
|
| 6 |
+
- khipu
|
| 7 |
- szl-holdings
|
| 8 |
+
- embedding
|
| 9 |
+
- silhouette
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
# MiniEmbed-Nano
|
| 13 |
|
| 14 |
+
Tiny hash+table embed: **V=64, d=12**, L2-normalized rows. **Not a foundation embed. Not neural. Not MiniEmbed 3290×128.**
|
| 15 |
|
| 16 |
+
Canonical source: [szl-holdings/szl-khipu](https://github.com/szl-holdings/szl-khipu)
|
| 17 |
+
Sibling card: [SZLHOLDINGS/szl-khipu](https://huggingface.co/SZLHOLDINGS/szl-khipu)
|
| 18 |
+
The larger statistical MiniEmbed (3290 × 128) lives on [SZLHOLDINGS/szl-kernels](https://huggingface.co/SZLHOLDINGS/szl-kernels) — a different artifact. Do not mix them.
|
| 19 |
|
| 20 |
+
```python
|
| 21 |
+
from szl_khipu.train import mini_embed
|
| 22 |
|
| 23 |
+
emb = mini_embed.build(seed=20260721)
|
| 24 |
+
vec = emb.embed("knot the run")
|
| 25 |
+
print(emb.V, emb.D, vec.shape)
|
| 26 |
+
# 64 12 (12,)
|
| 27 |
+
emb.save_npz("mini_embed.npz")
|
| 28 |
+
```
|
| 29 |
|
| 30 |
+
## What it does
|
| 31 |
|
| 32 |
+
- SHA-256 token id modulo 64. Mean-pool then L2. Deterministic given seed.
|
| 33 |
+
- Built here on CPU NumPy. Honesty **REPORTED**. Energy **UNAVAILABLE**.
|
| 34 |
+
- No analogy score. No retrieval score. No SVD variance claim (that belongs to the 3290×128 table).
|
| 35 |
|
| 36 |
+
## Bench (this tree)
|
| 37 |
|
| 38 |
+
`TRAINING_RECEIPT.json` seed `20260721` · honesty **REPORTED**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
| Metric | Value |
|
| 41 |
+
|---|---|
|
| 42 |
+
| V×d | 64 × 12 |
|
| 43 |
+
| method | hash+table L2 |
|
| 44 |
+
| weights | `mini_embed.npz` sha256 `ae31a3a7214d1f142d8ea3f4f86c35bdedd7c108bc5d04ea00c87e7b674e6e3b` |
|
| 45 |
|
| 46 |
+
Infers on `POST /api/infer {"kind":"mini_embed","token":"F18"}`. **Not neural. Not 3290×128.**
|
| 47 |
|
| 48 |
+
## What it is NOT
|
| 49 |
|
| 50 |
+
- **Not** the [SZLHOLDINGS/szl-kernels](https://huggingface.co/SZLHOLDINGS/szl-kernels) MiniEmbed (3290 × 128, SVD var 0.3146).
|
| 51 |
+
- **Not neural. Not word2vec. Not a foundation embed.**
|
| 52 |
+
- **Not 1.5B. Not Qwen.**
|
| 53 |
+
- **Not proven trust.** Λ uniqueness remains Conjecture 1 OPEN.
|
| 54 |
+
- Energy **UNAVAILABLE**. CUDA **UNAVAILABLE**. Never a fabricated joule.
|
| 55 |
|
| 56 |
## Honesty
|
| 57 |
|
| 58 |
+
| Claim | Label | What-NOT |
|
| 59 |
+
|---|---|---|
|
| 60 |
+
| Table built in this package | REPORTED | V=64 d=12, not 3290×128 |
|
| 61 |
+
| Neural / trained embed | FALSE | hash+table, not SGD |
|
| 62 |
+
| Analogy / retrieval score | UNAVAILABLE | not measured |
|
| 63 |
+
| Energy | UNAVAILABLE | never a fabricated joule |
|
| 64 |
+
| CUDA | UNAVAILABLE | CPU numpy LIVE |
|
|
|
|
| 65 |
|
| 66 |
+
Doctrine v11 LOCKED · 749/14/163 · locked-proven 8. Apache-2.0. Copyright 2026 SZL Holdings · Stephen P. Lutar Jr. · ORCID [0009-0001-0110-4173](https://orcid.org/0009-0001-0110-4173).
|