pyannote/speaker-diarization-3.1 warn
chat template: not in config · view on Hugging Face ↗
Ingot findings
Static battery: 1 medium, 1 info finding(s). Deep battery (behavioral differential, glitch-token pass) not yet run. 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.
- Read every `.py` file in the repo before first load — this code runs in your process.
- 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.
- Prefer a version of the architecture already in `transformers` if one exists, which removes the remote-code requirement entirely.
info Gated repository
Access requires accepting the owner's terms; check the gate conditions for redistribution and field-of-use limits.
How to fix
Read the gate terms before building on the model.
- Check the gate conditions on the Hugging Face repo for redistribution and field-of-use limits — they bind your deployment, not just your download.
Remediation guidance addresses the documented findings only. It is evidence-driven repair, not a safety certification of the model.
Verdict badge
Ship the verdict in your README — it always shows the latest published analysis:
[](https://ingot.tools/models/pyannote/speaker-diarization-3.1)