Llama-3.2-1B-Instruct β configuration loftq4 (W4A16-LoftQ-NF4) β SIMULATED
β οΈ This is a simulated LoftQ backbone, stored densely in bf16, and it is incomplete on its own.
LoftQ saves
Q = quantize(W - BA)β the quantized residual. It is meant to be loaded together with the rank-16 adapter in theloftq_init/subfolder of this repo, which supplies theBAterm. Used bare, this checkpoint is missing that term; at 2 bits the bare backbone degenerates into pure repetition.from peft import PeftModel model = PeftModel.from_pretrained(base, "Jeesup/Llama-3.2-1B-Instruct-safetyquant-loftq4", subfolder="loftq_init")The adapter is stored pre-divided by sqrt(alpha/r) so that peft's
(alpha/r)Β·B@AreconstructsW - Qexactly at alpha=32, r=16. peft's ownloftq_initdoes not rescale, so it is only correct when alpha == r.Stored densely because vLLM 0.11 has no 2/3-bit kernel: no memory or latency benefit.
Quantized variant used in the Safety-Aware Configuration-Conditioned LoRA study.
| field | value |
|---|---|
| scheme | W4A16-LoftQ-NF4 |
| method | loftq |
| simulated | yes β dense bf16 storage |
| weight bits | 4 |
| activation bits | 16 |
| group / block size | 64 |
| symmetric | n/a |
| calibration | none β LoftQ is data-free |
| calibration sha256 | n/a |
LoftQ baseline (Li et al., ICLR 2024, arXiv:2310.08659), 5 alternating steps. Mean relative weight error over 112 projections: 0.09368 quantize-only vs 0.087504 with the LoftQ initialization. Fine-tuned results against the GPTQ arm are in Jeesup/safety-quant-phase1 (loftq_comparison.md).
Metrics, per-prompt judge verdicts and the full report: Jeesup/safety-quant-phase0.
- Downloads last month
- -
Model tree for Jeesup/Llama-3.2-1B-Instruct-safetyquant-loftq4
Base model
meta-llama/Llama-3.2-1B-Instruct