Instructions to use knoveleng/Concord-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knoveleng/Concord-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="knoveleng/Concord-4B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("knoveleng/Concord-4B") model = AutoModelForMultimodalLM.from_pretrained("knoveleng/Concord-4B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use knoveleng/Concord-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "knoveleng/Concord-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "knoveleng/Concord-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/knoveleng/Concord-4B
- SGLang
How to use knoveleng/Concord-4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "knoveleng/Concord-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "knoveleng/Concord-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "knoveleng/Concord-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "knoveleng/Concord-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use knoveleng/Concord-4B with Docker Model Runner:
docker model run hf.co/knoveleng/Concord-4B
Concord-4B
A 4B decision model: one forward pass, one answer.
Concord /หkษล.kษหd/ (US /หkษหล.kษหrd/), said "KONG-kord": agreement
At a glance ยท Results ยท Quick start ยท The paper behind the recipe ยท Limitations ยท Citation
At a glance
Concord-4B answers multiple-choice decision questions (classification, NLI, routing, question answering with options) by reading the probability of each option letter at the first answer position. It generates no text.
| Base | Qwen/Qwen3.5-4B |
| Built from | H2O-Lightning-4B and d3-mini (both Apache-2.0) |
| Recipe | H2O-Lightning-4B in all layers + 0.5 ร d3-mini in layers 16โ31 |
| Training | None: a weight-space merge |
| Parameters | 4.7B (text model 4.2B; vision encoder unchanged) |
| Input โ output | Record, question and lettered options โ one probability per option |
| License | Apache-2.0 |
Why use it
- Best permissively licensed 4B model on the Decision Index average in our comparison: 72.0, level with H2O-Lightning-4B (71.8).
- Higher on JevBench than H2O-Lightning-4B: 92.0, against 90.0.
- Higher on our private two-task set: 84.4, against 82.6 for H2O-Lightning-4B and 79.0 for d3-mini.
Results
| Model | CLINC150 | JevBench | In-house* | DI avg (39) |
|---|---|---|---|---|
| Qwen3.5-4B (base) | 90.8 | 76.8 | 77.8 | 51.5 |
| Intern-Decision-4B | 89.2 | 86.9 | 84.0 | 55.7 |
| nexus-decision-4b | 95.0 | 85.1 | 82.2 | 58.6 |
| rycerzes-Qwen3.5-4B-Decision | 90.8 | 85.0 | 69.4 | 62.3 |
| torchcast-decision-4b | 94.2 | 92.1 | 74.1 | 62.7 |
| d3-mini | 98.3 | 86.6 | 79.0 | 64.2 |
| EpochEcho-decision-4b | 90.8 | 85.4 | 75.8 | 64.8 |
| karpo-decision-4Bโ | 97.5 | 86.2 | 83.5 | 71.3 |
| H2O-Lightning-4B | 98.3 | 90.0 | 82.6 | 71.8 |
| StartLux-4B-Instantโ | 98.3 | 91.8 | 85.3 | 73.3 |
| Concord-4B | 98.3 | 92.0 | 84.4 | 72.0 |
Accuracy (%). Every model is run with the same prompt and the same option-letter readout, on up to 120 items per
benchmark. The columns shown are the benchmarks where Concord-4B is best or within 1 point of the best; DI avg
always covers all 39 Decision Index benchmarks. Bold = best per column. *In-house = our private two-task set. โ Non-commercial or custom license, so not usable as a merge ingredient. Complete table:
results.md.
Quick start
import torch
from transformers import AutoModelForImageTextToText, AutoTokenizer
repo = "knoveleng/Concord-4B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForImageTextToText.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto").eval()
def decide(record, question, options):
letters = [chr(65 + i) for i in range(len(options))]
opts = "\n".join(f"{l}. {o}" for l, o in zip(letters, options))
text = f"{record}\n\nQuestion: {question}\n\nOptions:\n{opts}\n\nAnswer with the label of the best option."
prompt = tok.apply_chat_template([{"role": "user", "content": text}], tokenize=False,
add_generation_prompt=True, enable_thinking=False)
ids = tok(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
with torch.no_grad():
logits = model(**ids).logits[0, -1]
label_ids = [tok.encode(l, add_special_tokens=False)[0] for l in letters]
probs = torch.softmax(logits[label_ids].float(), -1)
return dict(zip(options, probs.tolist()))
print(decide("Invoice #4411: 3 laptops, shipped to Hanoi, paid by bank transfer.",
"Which department should handle this record?", ["Sales", "IT procurement", "HR", "Legal"]))
{'Sales': 0.168, 'IT procurement': 0.777, 'HR': 0.028, 'Legal': 0.027} # rounded to three decimals
This is the setup every number on this card was measured with. Up to 62 options are supported (the labels AโZ, aโz and 0โ9 are single tokens).
The paper behind the recipe
Concord-4B was built with what we learned in our paper "One Offset, Many Models: A Weight-Space Audit of Decision Models". The paper takes released decision models apart in weight space and measures which part of each release produces its gain. Three of its findings shaped this model:
- Releases of one base share a common part. Much of what decision tuning adds does not depend on the input and is nearly the same from release to release. One strong release already carries it, so averaging many releases is not needed to get it.
- What a release adds beyond the common part is its own, and these gains do not add up. In the paper's audit on Qwen3.5-4B, the equal-weight average of two, three and five releases is 1.9, 3.1 and 4.7 points below H2O-Lightning-4B alone on the Decision Index. So Concord-4B keeps one release at full weight instead of averaging.
- Where a second release helps depends on the layers. Adding d3-mini at half weight to layers 16โ31 of H2O-Lightning-4B raises JevBench by 1.9 points and leaves the Decision Index average where it was; in layers 0โ15 it brings no such gain. So d3-mini enters only the second half.
layers 0 โ 15 โ 16 โ 31
H2O-Lightning-4B โโโโโโโ 1.0 โโโโโโโโ โ โโโโโโโ 1.0 โโโโโโโโ
d3-mini โ โโโโโโโ 0.5 โโโโโโโโ
The exact merge is in merge_recipe.json. No training of any kind is involved.
Limitations
- Built for multiple-choice decisions with lettered options. Free-text generation was not evaluated.
- The vision encoder and the multi-token prediction head are the base model's, unchanged and not evaluated.
- All scores come from our own harness with one prompt format; other prompts can give other numbers.
- Concord-4B matches H2O-Lightning-4B on the Decision Index average; it does not exceed it. StartLux-4B-Instant, which has a non-commercial license, scores higher.
License and attribution
Apache-2.0. Built from Qwen3.5-4B, H2O-Lightning-4B and d3-mini (all Apache-2.0). We thank the authors of these models for releasing them under permissive licenses.
Citation
The paper is in preparation; this entry will be updated when it is public.
@misc{concord2026,
title = {One Offset, Many Models: A Weight-Space Audit of Decision Models},
author = {{Knovel Engineering}},
year = {2026},
note = {In preparation. Models: https://huggingface.co/knoveleng/Concord-2B, https://huggingface.co/knoveleng/Concord-4B}
}
- Downloads last month
- 11