Downloads · 30 days
74
13% of all-time downloads
Hagrun/moddog-l1-safety-qwen2.5-3b
moddog-l1-safety-qwen2.5-3b is a text generation model from Hagrun. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A small, fast content-moderation classifier fine-tuned from Qwen2.5-3B-Instruct for Discord-style chat. It is the L1 fast-triage tier of the ModDog pipeline: it returns a structured JSON verdict (flag / category / con…
Downloads · 30 days
74
13% of all-time downloads
All-time downloads
569
Public
Parameters
3.1B
26.6 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors6.2 GB · 76%
From the Hugging Face model README
A small, fast content-moderation classifier fine-tuned from
Qwen2.5-3B-Instruct for Discord-style chat. It is the L1 fast-triage tier
of the ModDog pipeline: it returns a structured JSON verdict
(flag / category / confidence / reason) and is designed to be honestly
uncertain on hard cases so they escalate to a larger model rather than being
confidently mis-judged.
This release (2026-06-23) is the model running in ModDog production. It replaces the previous upload; weights here are tensor-identical to the production checkpoint.
Fast first-pass moderation triage on chat-style messages, for the
judgment-call categories: toxicity, harassment, hate_speech,
sexual_content, self_harm, violence (plus benign). The verdict is meant
to feed a graduated action ladder where low-confidence flags route to human
review, not automatic penalties.
In the ModDog pipeline this model sits behind a deterministic rule layer ("L0"), and several duties are deliberately delegated there — this model is neither trained nor evaluated for them:
spam label exists in the
verdict schema for pipeline compatibility, but do not rely on the model to
catch spam.benign to this model.If you deploy this model standalone, put your own deterministic layer in front of it for those cases — a 3B judgment model is the wrong (and most expensive) tool for pattern-matchable violations.
r2keep), selected over sibling candidates by
a ship gate that rejects any regression in high-stakes recall or any
high-confidence false positive on the curated gate set.With the production system rubric, on held-out sets never trained on:
In production, thresholding uses the flag-token logprob (full-vocab probability) passed through a quantile calibrator fit per model — not the verbalized confidence (see below).
The model's verbalized confidence field is not well-calibrated on its
own. In the ModDog product, confidence is derived from the flag-token
logprob and passed through a separate calibrator refit per model.
This repository ships the raw model only. If you threshold on confidence,
fit your own calibrator — do not treat the emitted confidence as
probability-accurate.
This model expects a detailed system rubric with few-shot examples at inference time (the ModDog production prompt is ~1.9k tokens). Measured ablations show short system prompts collapse its false-positive discipline (golden-set FPs 8 → 46 with a minimal JSON-contract prompt) and destroy calibration. The rubric's few-shot examples are load-bearing — do not deploy this model behind a terse system prompt. Prefix caching makes the long rubric cheap in practice (constant prefix processes in ~20ms warm).
self_harm is sensitive. Treat its verdicts as triage that escalates to a
human, never as an authoritative determination; this category is thinner than
the others.safetensors (this repo's primary artifact)qwen2.5-3b-moddog-r2keep-q4_k_m.gguf — the exact llama.cpp quantization
served in production