Kev-4B W4A16 — experimental community quantization
Community conversion of
jaredpalmer/kev-4b
. Kev selects and scores supplied options using a pointer head; it is not a text-generation chat model. This repository contains the full merged quantized backbone, tokenizer and original decision head. Do not apply the upstream LoRA again.
Status and limitations
The 4B Candidate B was loaded on an RTX 2080 and completed 512 HTTP requests without request failures. On a small synthetic 72-decision regression set versus the merged FP16 reference, mean absolute probability drift was 0.0219222, maximum drift 0.316617, and 6/72 choices changed. It
failed our strict fidelity gate
(mean <= 0.01, maximum <= 0.05, choice changes <= 5%). This is an experimental release, not evidence of task accuracy or production readiness. The gate and synthetic set are local checks, not an official Kev benchmark.
This is Candidate B, not the earlier synthetic-only calibration or mixed-tail diagnostic variants.
Format and provenance
AutoRound 0.12.3, W4A16, symmetric group size 128,
auto_round:auto_gptq
packing. Eligible projections are INT4; small hybrid projections remain 16-bit. Activations and retained weights are FP16; the original pointer head remains FP32, with its original temperature. Calibration used 256 rows (192 public Kev calibration rows and 64 independent Chinese synthetic rows), sequence length 512, 200 iterations, batch size 4. The quantization-time attention-mask replay correction is not a runtime hook.
The backbone uses the Qwen3.5 text architecture, including the 27B source named Qwen3.8.
See
release.json
and
SHA256SUMS
for public provenance and integrity.
Loading
Use Linux, a CUDA GPU and a compatible AutoRound Triton environment. The conversion environment used PyTorch 2.10.0+cu128, Transformers 5.17.0, AutoRound 0.12.3, PEFT 0.21.1 and Accelerate 1.15.0. This is an observed environment, not a validated support matrix: pinned upstream Kev declares PyTorch <2.9. The included loader is adapted from the 4B runtime; 9B/27B loader execution remains unvalidated. 27B retains BF16 and requires BF16-capable hardware. Allow GPU memory beyond the weight-file size for runtime buffers and inputs.
Clone the pinned Kev source and place it on
PYTHONPATH
in your prepared environment. Download this repository with
huggingface_hub.snapshot_download
, then run from the downloaded directory (so
load_kev.py
is importable):
import torch
from load_kev import load
from kev.api import SystemOneRequest, to_record
tokenizer, model, info = load(".", device="cuda:0")
request = SystemOneRequest.model_validate({
"state": "The parcel has been delivered.",
"questions": {"status": {"type": "choice", "criteria": {
"delivered": "Delivery is complete", "pending": "Waiting for delivery"
}}}
})
record, keys = to_record(request)
encoded = model.encode(tokenizer, record, max_state=2048, max_branch=3072, strict=True)
with torch.inference_mode():
probabilities = model.probs(encoded)
print(dict(zip(keys[0]["keys"], probabilities[0].tolist())))
The loader uses
auto_round:tritonv2_zp
; the zero-point-aware backend matters for this packing. It reuses upstream option encoding and decision semantics, and does not rely on
trust_remote_code
or generic text-generation pipelines. The
.pt
head is the original upstream file and is read with
weights_only=True
.
License and attribution
Apache-2.0. Original Kev adapter, head and code by Jared Palmer; base model by Qwen. See
LICENSE
and
NOTICE
. This is an unofficial community conversion; upstream authors do not endorse its quality. No calibration dataset, private deployment configuration or evaluation service is included.
Runs of bowmanslayer kev-4b-W4A16 on huggingface.co
30
Total runs
2
24-hour runs
6
3-day runs
11
7-day runs
30
30-day runs
More Information About kev-4b-W4A16 huggingface.co Model
kev-4b-W4A16 huggingface.co is an AI model on huggingface.co that provides kev-4b-W4A16's model effect (), which can be used instantly with this bowmanslayer kev-4b-W4A16 model. huggingface.co supports a free trial of the kev-4b-W4A16 model, and also provides paid use of the kev-4b-W4A16. Support call kev-4b-W4A16 model through api, including Node.js, Python, http.
kev-4b-W4A16 huggingface.co is an online trial and call api platform, which integrates kev-4b-W4A16's modeling effects, including api services, and provides a free online trial of kev-4b-W4A16, you can try kev-4b-W4A16 online for free by clicking the link below.
bowmanslayer kev-4b-W4A16 online free url in huggingface.co:
kev-4b-W4A16 is an open source model from GitHub that offers a free installation service, and any user can find kev-4b-W4A16 on GitHub to install. At the same time, huggingface.co provides the effect of kev-4b-W4A16 install, users can directly use kev-4b-W4A16 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.