Views
No views yet
Qwen/Qwen3.5-0.8B. It is used mainly inside the
TentaFlow application to scan external content — messages, documents,
web-search results, etc. — for hidden attacks (prompt injection / jailbreak) before it
reaches the main LLM.| Label | Meaning |
|---|---|
0 | benign (safe content) |
1 | prompt injection / tool abuse (technical attack) |
2 | jailbreak (behavioural manipulation) |
1.<|guard|>\n{text}. Build the prompt with the
model tokenizer (apply_chat_template) — do not rely on a generic chat template.Qwen/Qwen3.5-0.8B.
This checkpoint is a fine-tune for attack detection, built for the TentaFlow application.mlx-lm / mlx-swift.1from mlx_lm import load, generate
2model, tok = load("TentaFlow/TentaGuard-MLX-4bit")
3prompt = tok.apply_chat_template(
4 [{"role":"system","content":"You are a security classifier. Output ONLY 0/1/2."},
5 {"role":"user","content":"<|guard|>\n" + text}],
6 add_generation_prompt=True)
7print(generate(model, tok, prompt=prompt, max_tokens=5))