Downloads · 30 days
161
12% of all-time downloads
shadowrock-io/Nemotron-3-Embed-8B-Community-NVFP4
Nemotron-3-Embed-8B-Community-NVFP4 is a sentence similarity model from shadowrock-io. Use it when you need a score for how close two texts are. It is set up for vllm. The card lists the license as other.
<a href="https://shadowrock.io" <picture <source media="(prefers-color-scheme: dark)" srcset="https://a.shadowrock.team/assets/logos/full/shadowrock-logo-white.svg" <img alt="ShadowRock" src="https://a.shadowrock.team…
Downloads · 30 days
161
12% of all-time downloads
All-time downloads
1.3K
Public
Parameters
5B
7.3 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors7.3 GB · 100%
How the weights are stored.
U83B · 60%
From the Hugging Face model README
Unofficial community quantization — not an NVIDIA release.
NVFP4 build of nvidia/Nemotron-3-Embed-8B-BF16 (revision 8ca3ff38), the top-ranked open embedding model on the RTEB leaderboard at time of writing. All credit for the base model belongs to NVIDIA; this repo only changes the weight storage format. NVFP4 is Blackwell's native 4-bit format — ~3.5× smaller than BF16 with FP4 tensor-core execution on SM100/SM120 GPUs — and on the benchmarks where this model leads the leaderboard, the quantized scores land within 0.008 of NVIDIA's own published numbers.
Pick this variant for Blackwell GPUs where memory is the constraint. The companion FP8 build is closer to lossless and runs natively on Ada/Hopper too; the MLX 4-bit build serves Apple-Silicon Macs.
Comparison column = NVIDIA's official per-task results from the mteb results repo — their numbers, not our reproduction. Our runs: mteb 2.18.12, vLLM 0.26.0, mean pooling, query: /passage: prefixes, max length 8192 (NVIDIA evaluated at 4096; few documents in these tasks exceed either limit). Tasks are the open (public) RTEB datasets in the domains where the base model ranks top-4 on the RTEB leaderboard: Finance #1, German #1, Code #2, Healthcare #4, Legal #4.
| Task (nDCG@10) | NVIDIA official BF16 | NVFP4 (this repo) | Delta |
|---|---|---|---|
| HumanEvalRetrieval | 1.0000 | 1.0000 | ±0.0000 |
| MBPPRetrieval | 0.9560 | 0.9572 | +0.0012 |
| WikiSQLRetrieval | 0.9950 | 0.9946 | −0.0004 |
| DS1000Retrieval | 0.7646 | 0.7604 | −0.0042 |
| FinanceBenchRetrieval | 0.9526 | 0.9545 | +0.0019 |
| HC3FinanceRetrieval | 0.7981 | 0.7953 | −0.0028 |
| FinQARetrieval | 0.8871 | 0.8824 | −0.0047 |
| LegalQuAD (German) | 0.7718 | 0.7658 | −0.0060 |
| LegalSummarization | 0.7666 | 0.7642 | −0.0024 |
| ChatDoctorRetrieval | 0.7690 | 0.7690 | ±0.0000 |
| AILAStatutes | 0.5826 | 0.5895 | +0.0069 |
| AILACasedocs | 0.4942 | 0.4862 | −0.0080 |
Mean delta −0.0015 across all 12 tasks; −0.0017 on the 10-task subset shared by all three community builds (the two AILA legal tasks were run only on the CUDA builds). The private RTEB datasets can only be run by the MTEB team, so this table covers the open subset.
BF16 baseline computed with the same code, adapter, prefixes, and pins on an A100. Gate: per-task nDCG@10 loss ≤ 0.01.
| Task | BF16 | NVFP4 | Delta | Gate |
|---|---|---|---|---|
| NFCorpus | 0.4237 | 0.4229 | −0.0008 | pass |
| SciFact | 0.8330 | 0.8338 | +0.0008 | pass |
| FiQA2018 | 0.6564 | 0.6530 | −0.0035 | pass |
| ArguAna | 0.6314 | 0.6313 | −0.0000 | pass |
| TRECCOVID | 0.8710 | 0.8606 | −0.0105 | marginal* |
| MIRACL-sw (held-out lang) | 0.8027 | 0.7970 | −0.0056 | pass |
| LEMBNarrativeQA (long-doc) | 0.7005 | 0.6979 | −0.0026 | pass |
* TRECCOVID has 50 queries — the highest-variance task in the suite. The FP8 companion dips on the same task (−0.0076), so the dip is shared across quant formats and amplified by 4-bit; we report it as measured rather than excluding it. Embedding-level fidelity vs BF16 on token-ID-locked fixtures: cosine 0.9901–0.9930. Raw result JSON ships under results/.
Requires a Blackwell GPU (SM100/SM120) for native FP4 execution.
from vllm import LLM
from vllm.config import PoolerConfig
llm = LLM(
model="shadowrock-io/Nemotron-3-Embed-8B-Community-NVFP4",
runner="pooling",
pooler_config=PoolerConfig(seq_pooling_type="MEAN"), # default LAST is silently wrong
max_model_len=8192,
)
out = llm.embed(["query: what is NVFP4?", "passage: Blackwell's native 4-bit format."])
Required patch for vLLM ≤ 0.26.0: vLLM's pooling adapter replaces the checkpoint's absent lm_head with a placeholder layer, and ModelOptNvFp4LinearMethod.process_weights_after_loading crashes on the placeholder's meta tensors. Run scripts/patch_modelopt_guard.py once against your vLLM install before loading (idempotent; an upstream fix has been proposed).
Notes that matter for correct embeddings:
query: / passage: . The server does not add them.max_model_len are rejected by vLLM's pooling runner — truncate at the tokenizer (truncation=True, max_length=8192) and pass token IDs.Measured on: GeForce RTX 5070 Ti (SM120) and RTX PRO 6000 (Blackwell), vLLM 0.26.0, CUDA 12.8.
quantization/module_inventory.json.scripts/; raw eval JSON under results/.Intended uses are the base model's: dense retrieval, semantic search, and RAG indexing over text corpora, with query: /passage: prefixed inputs. The base card's intended-use, safety, and language-coverage statements — nvidia/Nemotron-3-Embed-8B-BF16 — carry over unchanged; quantization alters none of the model's behavior boundaries, only its numeric precision. Our evaluation establishes parity on the benchmarks listed above and nothing beyond them: other languages, domains, sequence-length regimes, and hardware/runtime combinations inherit the base model's behavior with quantization noise that we have not measured there.
Quantization, validation harness, and card by Matt Busi (@mattbusi on Hugging Face) at ShadowRock. If you use this build, cite the NVIDIA base model — the embedding quality is theirs:
@misc{nvidia2026nemotron3embed,
title = {Nemotron-3-Embed-8B},
author = {NVIDIA},
year = {2026},
url = {https://huggingface.co/nvidia/Nemotron-3-Embed-8B-BF16}
}
OpenMDW-1.1, inherited from the base model (see LICENSE). NOTICE carries the upstream Apache-2.0 attribution for the Ministral component plus our modification statement. Community build by ShadowRock; no NVIDIA affiliation or endorsement.
ShadowRock is an AI-specialized systems integrator and Zendesk Premier Partner. We help businesses get real value from their go-to-market technology, from CRM and support platforms to applied AI like the models in this collection. Find us at shadowrock.io or on LinkedIn.