Nanosaur2-670M
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Small judge model that returns a calibrated probability on whether a reply is backed by its source, whether text is unsafe, and which task or domain it belongs to. For developers adding checks to AI pipelines.
Qwen3.5-4B-Judge-1M is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download MaziyarPanahi/Qwen3.5-4B-Judge-1M
This is a 4B judge model that answers short check questions about text instead of writing prose. It can say whether a reply is backed by a given source, whether a request or reply is unsafe, and which task or domain a text belongs to. For each option it returns a calibrated probability.
It suits developers who need a small, cheap checker inside an AI pipeline, such as a retrieval chatbot that must catch unsupported claims.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software | AI app developers | Check replies against retrieved documents | Flagging an answer the source does not support |
| Trust and safety | Moderation teams | Screen requests and replies for unsafe content | Scoring a message before it reaches a user |
| Customer support | Support platform teams | Route conversations by domain or intent | Sending a banking question to the right queue |
You can skip it if you need free-text answers, medical decisions, or a tool-calling decider.
It runs in Python on your own machine through Unsloth, with the base model from the Qwen team and a LoRA adapter on top.
| Use case | Who | What they get back |
|---|---|---|
| Claim support check | RAG developers | A probability that every claim is backed by the context |
| Safety screening | Platform teams | A probability that a request or reply is unsafe |
| Domain routing | Support teams | A probability for each domain or task option |
You need Python, the Hugging Face tool and the Unsloth library. The code loads the model by its repository name with 4096 as the maximum sequence length.
pip install -U huggingface_hub hf download MaziyarPanahi/Qwen3.5-4B-Judge-1M
You build a question with instructions and criteria, put your text into a state string, and call predict. The result is a probability per option. The model reads at most 4096 tokens.
from unsloth import FastDecisionModel
model, tokenizer = FastDecisionModel.from_pretrained("MaziyarPanahi/Qwen3.5-4B-Judge-1M", max_seq_length=4096, load_in_4bit=False)
FastDecisionModel.for_inference(model)
question = {"decision": {"type": "choice",
"instructions": "Is every factual claim in `assistant_response` supported by `authoritative_context`?",
"criteria": {"true": "Every factual claim in the response is supported by the context.",
"false": "The response contains at least one unsupported or contradicted claim."}}}
state = '{"authoritative_context": "The clinic opens at 8 a.m. on weekdays and is closed on Sundays.", '\
'"assistant_response": "The clinic is open every day from 8 a.m."}'
print(FastDecisionModel.predict(model, tokenizer, state, question))| Tool | What it does |
|---|---|
| FastDecisionModel.from_pretrained | Loads the model and tokenizer |
| FastDecisionModel.for_inference | Prepares the model for predictions |
| FastDecisionModel.predict | Returns a probability for each option |
You give it a clinic notice that says it opens at 8 a.m. on weekdays and is shut on Sundays, plus a reply claiming it is open every day. With the support question, it returns a probability for true and for false, and the false side should score high.
If you are new, think of it as a referee that reads a text and a question, then reports how sure it is of each answer. Run the example above and read the two probabilities.
If you know the field, it is Qwen3.5-4B with an Unsloth decision head, a LoRA of rank 16, trained on 39,592 rows of source-labelled decisions from OpenDecisionMix-1M. It was calibrated on 400 held-out rows. The card notes that its test and training rows share their origin.
On a 6,035 row test it matched an earlier judge on RAG plus safety, and the card says to tune thresholds for your own data.
Small judge model that returns a calibrated probability on whether a reply is backed by its source, whether text is unsafe, and which task or domain it belongs to. For developers adding checks to AI pipelines.
Made by MaziyarPanahi on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: This is a 4B judge model that answers short check questions about text instead of writing prose. It can say whether a reply is backed by a given source, whether a request or reply is unsafe, and which task or domain a text belongs to. For each option it returns a calibrated probability.
Who it suits: It suits developers who need a small, cheap checker inside an AI pipeline, such as a retrieval chatbot that must catch unsupported claims.
Industry | Who uses it | How they use it | Example
Software | AI app developers | Check replies against retrieved documents | Flagging an answer the source does not support
Trust and safety | Moderation teams | Screen requests and replies for unsafe content | Scoring a message before it reaches a user
Customer support | Support platform teams | Route conversations by domain or intent | Sending a banking question to the right queue
You can skip it if you need free-text answers, medical decisions, or a tool-calling decider.
Where to use it: It runs in Python on your own machine through Unsloth, with the base model from the Qwen team and a LoRA adapter on top.
Use case | Who | What they get back
Claim support check | RAG developers | A probability that every claim is backed by the context
Safety screening | Platform teams | A probability that a request or reply is unsafe
Domain routing | Support teams | A probability for each domain or task option
How to set it up: You need Python, the Hugging Face tool and the Unsloth library. The code loads the model by its repository name with 4096 as the maximum sequence length.
pip install -U huggingface_hub
hf download MaziyarPanahi/Qwen3.5-4B-Judge-1M
How to use it: You build a question with instructions and criteria, put your text into a state string, and call predict. The result is a probability per option. The model reads at most 4096 tokens.
from unsloth import FastDecisionModel
model, tokenizer = FastDecisionModel.from_pretrained("MaziyarPanahi/Qwen3.5-4B-Judge-1M", max_seq_length=4096, load_in_4bit=False)
FastDecisionModel.for_inference(model)
question = {"decision": {"type": "choice",
"instructions": "Is every factual claim in `assistant_response` supported by `authoritative_context`?",
"criteria": {"true": "Every factual claim in the response is supported by the context.",
"false": "The response contains at least one unsupported or contradicted claim."}}}
state = '{"authoritative_context": "The clinic opens at 8 a.m. on weekdays and is closed on Sundays.", '\
'"assistant_response": "The clinic is open every day from 8 a.m."}'
print(FastDecisionModel.predict(model, tokenizer, state, question))
Tool | What it does
FastDecisionModel.from_pretrained | Loads the model and tokenizer
FastDecisionModel.for_inference | Prepares the model for predictions
FastDecisionModel.predict | Returns a probability for each option
Example: You give it a clinic notice that says it opens at 8 a.m. on weekdays and is shut on Sundays, plus a reply claiming it is open every day. With the support question, it returns a probability for true and for false, and the false side should score high.
For newcomers and experts: If you are new, think of it as a referee that reads a text and a question, then reports how sure it is of each answer. Run the example above and read the two probabilities.
If you know the field, it is Qwen3.5-4B with an Unsloth decision head, a LoRA of rank 16, trained on 39,592 rows of source-labelled decisions from OpenDecisionMix-1M. It was calibrated on 400 held-out rows. The card notes that its test and training rows share their origin.
Your text and a question
Decision head reads the state
Calibrated probability per option
You apply your own threshold
Good to know: On a 6,035 row test it matched an earlier judge on RAG plus safety, and the card says to tune thresholds for your own data.
Title: RAG plus safety accuracy
This model: 89.5%
Earlier Judge: 89.4%
Jev 1.14: 82.2%
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download MaziyarPanahi/Qwen3.5-4B-Judge-1M
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Qwen3.5-4B-Judge-1M This page | 29 | 3 | — | apache-2.0 | |
| Qwen3.5-4B-Router-1MShares peft · decision-model · unsloth | 47 | 3 | — | apache-2.0 | |
| Kev-4BShares peft · decision-model · safetensors | 12,499 | 175 | — | apache-2.0 | |
| MNN-Pocket-0.3B-DecShares peft · decision-model · safetensors | 0 | 4 | — | apache-2.0 | |
| strands-decider-2B-qwen3.5-v1-2610Shares peft · decision-model · safetensors | 0 | 18 | — | apache-2.0 | |
| AIRealNet-2Shares safety · safetensors | 492 | 10 | 195M | mit |
well9472 · Kit
Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…
Waqf-AI · Kit
Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.
Wan-AI · Kit
Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.
Wan-AI · Kit
Generates cinematic video of a character driven by an audio track, and can also lip-sync existing video. For video creators, animators and researchers with a l…
Wan-AI · Kit
Animates a character or swaps one into a video by copying a performer's movement and expressions, as one model from the Wan2.2 video family. Use only faces and…
vllm-sr · Kit
Answers choice, yes-or-no, score, box and tracking questions about text, images or video in one call, with a probability for each answer. For people building r…