Model page

sentence-transformers/all-mpnet-base-v2 warn

downloads 25.3Mlikes 1.3klicense apache-2.0arch mpnetparams 109.5Mupdated 2025-08-19

chat template: not in config · view on Hugging Face ↗

Ingot findings

Static battery: 1 medium finding(s). Deep battery (behavioral differential, glitch-token pass) not yet run. Weights battery: embedding-norm scan over 30527 tokens (F32, 768-dim) found 0 undertrained candidates, 0 plain-ASCII. Scanned 2026-08-20 (published from a community scan).

medium Repo ships executable Python (trust_remote_code)

The repository contains custom code files that run in-process when loaded with trust_remote_code=True. Pin the revision hash and review the code before loading.

How to fix

Review and pin the custom code; never float on `main` with trust_remote_code=True.

  1. Read every `.py` file in the repo before first load — this code runs in your process.
  2. Pin the revision: `from_pretrained(model_id, revision="<commit sha>", trust_remote_code=True)` so a later push can't swap the code under you.
  3. Prefer a version of the architecture already in `transformers` if one exists, which removes the remote-code requirement entirely.

info Embedding-norm glitch scan clean

No undertrained tokens found: every non-special token's embedding norm is above 0.3× the vocabulary median (2.427). The glitch-token data-corruption class has no candidate surface in this model.

How to fixruntime guardweight-level

Keep the affected token strings out of the model's input — the scan-derived runtime guard carries this model's exact blocklist.

  1. Fetch this model's guard artifact (`/api/v1/guard/<owner>/<model>`): the confirmed corrupting tokens and the low-norm candidate list, derived from the published scan.
  2. Screen inbound text with it (the `@ingotai/guard` package is a reference implementation) and route flagged records to a different model or human review — verbatim-copy tasks on flagged strings are the failure mode.
  3. The underlying cause is undertrained embeddings in the weights; a true fix is weight-level (continued pretraining on the affected tokens) — that is not a patch, it's a training job.

Remediation guidance addresses the documented findings only. It is evidence-driven repair, not a safety certification of the model.

Fingerprint

The durable weights-and-metadata profile of this model, rebuilt on every scan and deep-battery run. Updated 2026-08-20.

architecturempnet · 12 layers · 768-dim
parameters109.5M
vocabulary30,527 tokens
licenseapache-2.0
serializationsafetensors pickle custom code
chat templatenone
glitch-token surfaceclean no undertrained tokens
Full fingerprint
architecturesMPNetForMaskedLM
librarysentence-transformers
pipelinesentence-similarity
repo files28 — pickle: openvino/openvino_model.bin, openvino/openvino_model_qint8_quantized.bin, pytorch_model.bin
revisione8c3b32edf54
HF snapshot25.3M downloads · 1.3k likes · updated 2025-08-19 · captured 2026-08-20
embedding tensorembeddings.word_embeddings.weight · F32 · 30,527×768
embedding normsmedian 2.4273 · mean 2.3469
lineage checkno claimed base model

Verdict badge

Ship the verdict in your README — it always shows the latest published analysis:

Ingot verdict: warn

[![Ingot scan](https://ingot.tools/api/v1/models/sentence-transformers/all-mpnet-base-v2/badge.svg)](https://ingot.tools/models/sentence-transformers/all-mpnet-base-v2)
Gate it in CI