Needle-1.0
a compact model for classification and scoring
2 min readupdated
Needle-1.0 is a 4-billion-parameter discriminative model built for classification and scoring tasks rather than text generation. It is based on Qwen/Qwen3.5-4B with a rank-16 LoRA (a small add-on layer for the base model) and a specialized refinement mechanism. The model takes a context, a question, and allowed answer options as input, and outputs the selected choices with calibrated probabilities. It is ideal for developers who need to reliably route prompts, evaluate content, or distribute tasks based on specific criteria.
Key features
- Based on the efficient Qwen3.5-4B model with 32 layers.
- Returns calibrated probabilities instead of free-form text.
- Uses the lightweight tinygrad library to run.
- Supports context lengths up to 64K tokens.
What you can do
- Set up precise tool routing for AI agents.
- Automate ticket handling and prioritization in customer support.
- Perform moderation and content reviews against defined criteria.
- Evaluate work or answers using a ready-made rubric with a scoring system.
Example
The model is used through the tinygrad library to classify texts and retrieve probabilities for fixed answer options in accordance with the repository's technical documentation.
Read more
DetailsMetrics: JevBench hard — 77.48% (Accuracy), PubMedQA — 72.00% (Accuracy), Atlan — 84.03% (Accuracy).
Precision: W4A16.
Architecture: Qwen3.5-4B with rank-16 LoRA and a 3-cycle reading mechanism.
License: Apache-2.0.










Comments