Downloads · 30 days
18
100% of all-time downloads
aflowx/quire-lora-kev-4b
quire-lora-kev-4b is a machine learning model from aflowx. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as apache-2.0.
A LoRA adapter for Qwen/Qwen3.5-4B, trained as an experiment for Quire, a system for typed decisions read from a frozen language model's logits.
Downloads · 30 days
18
100% of all-time downloads
All-time downloads
18
Public
Repo size
130 MB
Likes
0
Public
Click a slice to open those files.
.safetensors130 MB · 100%
From the Hugging Face model README
A LoRA adapter for Qwen/Qwen3.5-4B, trained as an experiment for Quire, a system for typed decisions read from a frozen language model's logits.
This adapter is not part of Quire's released configuration. Quire ships the frozen model. We publish this adapter so the fine-tuning results in Quire's docs can be reproduced: it improves short classification but costs accuracy and calibration on long, multi-condition decisions.
Qwen/Qwen3.5-4B, BF16q/k/v/o_proj, Gated DeltaNet in_proj_qkv/z/a/b and out_proj, MLP gate/up/down_proj); 32.5M trainable parametersplain style. Use the same style when you load the adapter.decision-v7 development split (1,352 items): 0.876.
JevBench v1.3, the 231 public items, plain prompt, paired against the frozen model with the same prompt and orderings:
| easy /48 | standard /72 | hard /111 | hard-tier ECE | |
|---|---|---|---|---|
| frozen Qwen3.5-4B, 2 orderings | 48 | 63 | 72 | 0.102 |
| + this adapter, 2 orderings | 48 | 68 | 59 (−13, p = 0.019) | 0.342 |
| + this adapter at 0.25 strength, 1 ordering | 48 | 69 | 71 | 0.120 |
At full strength the adapter gains binary-judgement items but loses 13 hard items, and its confidence stops tracking its accuracy: calibration error more than triples. At a quarter strength both effects mostly disappear. The per-item result files and commands are in Quire's results/ directory.
pip install "quire[torch,lora] @ git+https://github.com/aflowx/quire"
quire-serve --backend torch --model Qwen/Qwen3.5-4B --style plain \
--adapter aflowx/quire-lora-kev-4b --adapter-scale 1.0
--adapter-scale multiplies the LoRA delta (0 is the frozen model, 1 the adapter as trained). In Python the adapter is a standard PEFT adapter:
from peft import PeftModel
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-4B", dtype="bfloat16")
model = PeftModel.from_pretrained(model, "aflowx/quire-lora-kev-4b").merge_and_unload()
Apache-2.0, the same as the base model. The training data comes from public datasets under their own terms; see kev's data manifest.