CoolFace
Modelpublic

Jeesup/svd-safety-l2_swift_remove40_swapgapiter_b010

sourceHugging Facellama2updated 3d agoView on Hugging Face
0likes339downloads
Model Card

svd-safety-l2swiftremove40swapgapiterb010

A Llama-2-7b-chat checkpoint compressed with Swift-SVD with LoRA recovery (base checkpoint Jeesup/svd-safety-l2_swift_remove40) to 60.0% of dense parameters, then edited by 10 of 10 rounds of iterative parameter-neutral swap selected by the `gap_iter` rule (up to 0.1% of dense parameters per round; the full run's budget is 1.0%).

This is a research artifact from a study of how SVD compression damages safety behaviour and which component-selection rule best repairs it. It is one cell of a grid over selection rules and budgets; it is not a general-purpose chat model.

Provenance

fieldvalue
base (uncompressed)meta-llama/Llama-2-7b-chat-hf
compressionSwift-SVD with LoRA recovery (base checkpoint Jeesup/svd-safety-l2_swift_remove40), 40.02% of parameters removed
selection rulegap_iter
restore budget1.000% of dense parameters
components restored6502
components swapped out6502
resulting parameter fraction0.5998
seed42
iterative rounds applied10 of 10
per-round chunk0.100% of dense parameters
parameters swapped in64,717,568 (1.00% of dense projection parameters)
evictionmatrix-local (each insertion evicts a component of the same matrix)
swap valueinsert (insertion value only; sigma-ordered eviction)

Measured

metricvalue
AdvBench ASR (HarmBench judge)0.0558
StrongREJECT ASR (HarmBench judge)0.1342
Macro over-refusal (WildGuard)0.1442
WikiText-2 perplexity11.7512

Intended use and limitations

This checkpoint exists to measure safety/utility trade-offs under compression. Several arms in the grid are deliberately safety-degraded relative to Llama-2-7b-chat: compression alone raises attack-success rate, and the point of the study is to quantify that and test recovery. Treat any given cell as an experimental subject, not as a deployable assistant, and evaluate it yourself before drawing conclusions from it.

Licence

Llama 2 Community License. LICENSE.txt and USE_POLICY.md are included in this repository, and use of this derivative is bound by them. Built with Llama 2.