Run this model with HF Jobs
Run M31-Labs/eos-embed-omni on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/M31-Labs/eos-embed-omni. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/M31-Labs/eos-embed-omni on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use M31-Labs/eos-embed-omni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use M31-Labs/eos-embed-omni with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("M31-Labs/eos-embed-omni") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - Notebooks
- Google Colab
- Kaggle
M31-Labs/eos-embed-omni (v2.1.0)
General-purpose + code retrieval embedders co-designed for Eos, TurboQuant (4-bit Block-FWHT quantization-aware training), and CorkscrewDB (Matryoshka slicing + BM25 hybrid search). Sealed as single-file .mll packages (XPBT / XSTE) that run with zero Python runtime, zero ONNX, and zero CGO required on CPU (CGO_ENABLED=0 with AVX2/NEON assembly GEMV), plus GPU acceleration on CUDA, Apple Silicon Metal, and Vulkan.
For the 32k-context 600M decoder-embedder flagship (0.4520 FiQA / 100.1% SciFact TQ4 retention), see M31-Labs/eos-embed-omni-qwen3-0.6b.
Released Artifacts (v2.1.0)
| Alias | File | Size | Architecture & Training | Native Dim | Matryoshka |
|---|---|---|---|---|---|
eos-embed-omni-static-256-q8 |
eos-embed-omni-static-256-q8.mll |
7.9 MB |
Sealed XSTE (30,522 WordPiece Model2Vec SVD + SIF + 4/4/2 TQ4 QAT, Q8) |
256 |
64, 128, 256 |
eos-embed-omni-mini-3l-q8 |
eos-embed-omni-mini-3l-q8.mll |
18.4 MB |
Sealed XPBT (3L BERT, masked_mean, 4/4/2/2 Block-FWHT TQ4 QAT, Q8) |
384 |
64, 128, 256, 384 |
eos-embed-omni-pro-12l-q4 |
eos-embed-omni-pro-12l-q4.mll |
55.2 MB |
Sealed XPBT (12L BERT, 110M, LoRA + anchor + 4/4/2/2 TQ4 QAT, Q4) |
768 |
128, 256, 512, 768 |
eos-embed-omni-pro-12l-q8 |
eos-embed-omni-pro-12l-q8.mll |
107.5 MB |
Sealed XPBT (12L BERT, 110M, LoRA + anchor + 4/4/2/2 TQ4 QAT, Q8) |
768 |
128, 256, 512, 768 |
eos-embed-omni-large-24l-q4 |
eos-embed-omni-large-24l-q4.mll |
165.2 MB |
Sealed XPBT (24L BERT, 335M, LoRA + anchor + 4/4/2/2 TQ4 QAT, Q4) |
1024 |
128, 256, 512, 1024 |
eos-embed-omni-large-24l-q8 |
eos-embed-omni-large-24l-q8.mll |
325.1 MB |
Sealed XPBT (24L BERT, 335M, LoRA + anchor + 4/4/2/2 TQ4 QAT, Q8) |
1024 |
128, 256, 512, 1024 |
Exact SHA-256 checksums are in SHA256SUMS.txt.
BEIR Retrieval Scorecard (nDCG@10)
Evaluated in the identical Eos + TurboQuant BEIR harness (SciFact, NFCorpus, FiQA; raw manifests in benchmark_manifest.json and benchmark_manifest_pro_v1.json). Training used an 80,000-pair multi-domain corpus with strict BEIR leakage filtering and listwise KL distillation from BAAI/bge-reranker-v2-m3.
Full-Dimension Dense & 4-Bit TurboQuant (7.68Γβ7.88Γ vector compression)
| Model | Size | SciFact (Dense / TQ4 / Ret.) | NFCorpus (Dense / TQ4 / Ret.) | FiQA (Dense / TQ4 / Ret.) |
|---|---|---|---|---|
eos-embed-omni-static-256-q8 |
7.9 MB |
0.5117 / 0.5034 (98.4%) (0.6597 hyb) |
0.2435 / 0.2397 (98.4%) (0.3147 hyb) |
0.1407 / 0.1324 (94.1%) (0.2240 hyb) |
eos-embed-omni-mini-3l-q8 |
18.4 MB |
0.6235 / 0.6175 (99.0%) |
0.2908 / 0.2906 (99.9%) |
0.2105 / 0.2048 (97.3%) |
eos-embed-omni-pro-12l-q4 |
55.2 MB |
0.6848 / 0.6625 (96.7%) |
0.3342 / 0.3267 (97.8%) |
0.3040 / 0.3007 (98.9%) |
eos-embed-omni-pro-12l-q8 |
107.5 MB |
0.7334 / 0.7228 (98.5%) |
0.3715 / 0.3652 (98.3%) |
0.3811 / 0.3715 (97.5%) |
eos-embed-omni-large-24l-q4 |
165.2 MB |
0.6940 / 0.6837 (98.5%) |
0.3332 / 0.3306 (99.2%) |
0.3705 / 0.3634 (98.1%) |
eos-embed-omni-large-24l-q8 |
325.1 MB |
0.7327 / 0.7229 (98.7%) |
0.3772 / 0.3717 (98.5%) |
0.4297 / 0.4234 (98.5%) |
Matryoshka Slicing (256d & 128d TQ4 β 22Γβ30Γ smaller than full fp32)
| Model | SciFact 256d TQ4 |
SciFact 128d TQ4 |
NFCorpus 256d TQ4 |
NFCorpus 128d TQ4 |
FiQA 256d TQ4 |
FiQA 128d TQ4 |
|---|---|---|---|---|---|---|
eos-embed-omni-mini-3l-q8 |
β | 0.5523 |
β | 0.2403 |
β | 0.1620 |
eos-embed-omni-pro-12l-q8 |
0.6869 |
0.6407 |
0.3367 |
0.2966 |
0.3379 |
0.2764 |
eos-embed-omni-large-24l-q8 |
0.6756 |
0.6310 |
0.3408 |
0.2967 |
0.3754 |
0.3176 |
Quickstart
CLI (eos >= v0.4.0)
# Download sealed .mll models into ~/.eos/models
eos pull eos-embed-omni-static-256-q8
eos pull eos-embed-omni-mini-3l-q8
eos pull eos-embed-omni-pro-12l-q8
eos pull eos-embed-omni-large-24l-q8
# Embed text (with optional Matryoshka --dim truncation)
eos embed --model eos-embed-omni-pro-12l-q8 --dim 256 --json "hybrid BM25 and TurboQuant retrieval"
Go SDK (CorkscrewDB >= v0.6.0)
provider, err := corkscrewdb.OpenEosOmniMini3LProvider(corkscrewdb.EosProviderOptions{
Dim: 128, // 64, 128, 256, or 384
})
defer provider.Close()
License & Upstream Notices
Released under Apache-2.0 (see LICENSE). These distilled/LoRA-adapted artifacts are derived from the following upstream open-source models, whose licenses and copyright notices are preserved:
BAAI/bge-small-en-v1.5β MIT License (Beijing Academy of Artificial Intelligence). Used as the WordPiece vocabulary and teacher initialization source foreos-embed-omni-static-256-q8.TaylorAI/bge-micro-v2β MIT License (TaylorAI / BAAI). Used as the 3-layer warm-start backbone foreos-embed-omni-mini-3l-q8.BAAI/bge-base-en-v1.5β MIT License (Beijing Academy of Artificial Intelligence). Used as the 12-layer backbone foreos-embed-omni-pro-12l.BAAI/bge-large-en-v1.5β MIT License (Beijing Academy of Artificial Intelligence). Used as the 24-layer backbone foreos-embed-omni-large-24l.BAAI/bge-reranker-v2-m3β Apache-2.0 License. Used as the listwise distillation teacher.
from model2vec import StaticModel model = StaticModel.from_pretrained("M31-Labs/eos-embed-omni") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape)