Downloads · 30 days
8
18% of all-time downloads
disinfozone/kenosistron-lora
kenosistron-lora is a text generation model from disinfozone. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
This repo contains everything needed to rebuild disinfozone/kenosistron from the public base model: the adapter, the retrained speculative head, the quantization calibration data, and the scripts that connect them. Re…
Downloads · 30 days
8
18% of all-time downloads
All-time downloads
44
Public
Repo size
4.1 GB
Likes
0
Public
Click a slice to open those files.
.safetensors3.9 GB · 93%
From the Hugging Face model README
This repo contains everything needed to rebuild disinfozone/kenosistron from the public base model: the adapter, the retrained speculative head, the quantization calibration data, and the scripts that connect them. Read the main model card first; this is the parts drawer.
| File | What it is |
|---|---|
adapter_model.safetensors + adapter_config.json | The kenosistron v3 LoRA (PEFT format, rank 8, alpha 32, all-linear), trained on the Tinker service against the disinfo.zone corpus. Applies to the stock base. |
mtp_head.safetensors | The retrained MTP (multi-token prediction) draft head: 123.8M trainable params (eh_proj, attention sublayer, norms, router; the 512 routed experts stay frozen at base values). Trained with a pure KL objective toward the fine-tuned trunk's own next-token distribution over ~2M tokens of self-generated text. Greedy speculative acceptance: 61.9% to 72.1% (p<0.05). |
imatrix.oqe.json / imatrix.oqe.npz | The importance-matrix calibration used for the oQ5e quant. Reusable for other bit-levels (e.g. an oQ4e pass) without re-calibrating. |
scripts/ | The full pipeline, in order below. |
Starting from nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16 (public, ~247 GB):
scripts/merge_nemotron_tinker_lora3.py: merge the LoRA into the base at BF16 (verifies all 41,233 tensors map; preserves the mtp.* tensors and lm_head).scripts/splice_mtp.py: splice mtp_head.safetensors over the stock MTP head in the merged checkpoint (hardlinks unchanged shards; rewrites only the two shards that carry mtp.*).scripts/quant_oq5e_mtp.py: imatrix-calibrated 5-bit affine MLX quant (group 64, 8-bit embeddings, 6-bit first-layer Mamba projections), keeping the MTP head. Env-parameterized (SRC, OUT, OQ_LEVEL, OUT_SUFFIX); reuses the shipped imatrix.Also included, for the MTP-head-curious: scripts/train_mtp_head.py (the KL trainer; --ce-lambda 0 is the winning configuration, since mixing in cross-entropy against real text made the head worse than pure self-agreement), scripts/dump_triples.py (dumps trunk hiddens plus top-64 logit targets), scripts/gen_corpus.py (self-generation harness), and scripts/bench_accept.py (measures real speculative acceptance over the serving API; benchmark greedy, since sampler noise at temperature 1.3 is ~4x the effect size).
The merged result of steps 1 and 2 is also published directly as disinfozone/kenosistron-bf16 if you'd rather download 230 GB than compute it.
The adapter is standard PEFT and applies to the stock base with transformers + peft if you have the RAM for it. Note that the adapter alone gives you the kenosistron voice with the stock (misaligned) MTP head. If you serve with speculative decoding you want the retrained head spliced in too, which is the whole reason this repo exists.
The adapter, MTP head weights, imatrix, and scripts in this repo are MIT. The base model they apply to is governed by the NVIDIA Nemotron Open Model License, and merged/quantized artifacts (the sibling repos) inherit it.