Model page

pyannote/speaker-diarization-3.1 warn

downloads 9.9Mlikes 3.1klicense mitupdated 2024-05-10

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.

  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 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.

  1. 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:

Ingot verdict: warn

[![Ingot scan](https://ingot.tools/api/v1/models/pyannote/speaker-diarization-3.1/badge.svg)](https://ingot.tools/models/pyannote/speaker-diarization-3.1)
Gate it in CI