Downloads · 30 days
236
100% of all-time downloads
Jeesup/svd-safety-l2_basis_remove50
svd-safety-l2_basis_remove50 is a text generation model from Jeesup. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama2.
A Llama-2-7b-chat checkpoint compressed with Basis Sharing (ICLR 2025; shared bases over groups of 2 adjacent layers) to 50.0% of dense parameters, then recovered with a coefficient-only LoRA fine-tune that keeps both…
Downloads · 30 days
236
100% of all-time downloads
All-time downloads
236
Public
Parameters
6.7B
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors13.5 GB · 100%
From the Hugging Face model README
A Llama-2-7b-chat checkpoint compressed with Basis Sharing (ICLR 2025; shared bases over groups of 2 adjacent layers) to 50.0% of dense parameters, then recovered with a coefficient-only LoRA fine-tune that keeps both the parameter budget and the shared bases exactly.
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.
| field | value |
|---|---|
| base (uncompressed) | meta-llama/Llama-2-7b-chat-hf |
| compression | Basis Sharing (ICLR 2025; shared bases over groups of 2 adjacent layers), 50.00% of parameters removed |
| resulting parameter fraction | 0.4998 |
| seed | 42 |
| recovery | LoRA r=8 on the per-layer coefficients only (bases frozen, budget unchanged), 2 epochs, lr 0.0001, batch 64, alpaca-cleaned |
| metric | value |
|---|---|
| AdvBench ASR (HarmBench judge) | 0.5846 |
| StrongREJECT ASR (HarmBench judge) | 0.3387 |
| Macro over-refusal (WildGuard) | 0.0930 |
| WikiText-2 perplexity | 13.2061 |
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.
Llama 2 Community License. LICENSE.txt and USE_POLICY.md are included in this
repository, and use of this derivative is bound by both. Built with Llama 2.