Gemma-4-26B-A4B Decision LoRAs - Fast Decisions and Classification Based on Gemma 4
2 min readupdated
A new set of LoRA adapters for the multimodal language model google/gemma-4-26B-A4B-it optimizes decision-making, classification, and binary analysis tasks. The adapters implement a special API to return answers in exactly one token (max_tokens=1) with probability calibration. This allows you to instantly obtain structured answers (choice from options, yes/no, or scoring) without generating extra text. The model is useful for developers building fast filtering, visual control, and multimodal data analysis systems.
Key features
- System 1 and 1.5: Support for both direct dataset fine-tuning and reasoning-distilled logic from teacher models.
- Zero overhead: One-token inference with instant logprobs (log probabilities) extraction.
- Accuracy and calibration: High benchmark scores (up to 93% validation accuracy) with support for choice scales (
choice,noul,score). - vLLM integration: Ready-made architecture for working through vLLM with Automatic Prefix Caching.
What you can do
- Pipeline integration: Deploy a local fast-decision server via Docker for automated image and text classification.
- Quality analysis: Use binary predicates (yes/no) and rating scales for rapid validation of visual object parameters.
- Multimodal tasks: Combine text prompts and images to accurately select options from a list based on benchmarks like DTD or Oxford-IIIT Pet.
Example
Example request to the fast API for checking surface parameters using the deployed model:
curl -s http://localhost:8101/v1beta/decisions \
-H 'Content-Type: application/json' \
-d '{
"model": "system-1.5-v2",
"input": [{"type": "text", "text": "Finish check: satin matte anodized housing."}]
}'Read more
DetailsArchitecture: LoRA ($r=16$, $\text{lora\_alpha}=32$, $11.5\text{M}$ parameters)
Benchmarks: up to $93.0\%$ accuracy on System 1 and $84.0\%$ on System-1.5-v2
Performance: latency around $55.5\text{ ms}$ per question with caching
License: Apache 2.0










Comments