svd-safety-llama2_7b_chat_up_svdllm_jbbresp13_finetuned_keep_0p60
Built with Llama 2.
SVD-LLM compression of meta-llama/Llama-2-7b-chat-hf, targeting 40% parameter removal.
Calibration: 256 WikiText sequences + 13 JBB harmful-prompt/refusal sequences, 2048 tokens each, seed 42. The extra corpus is jbb_harm_resp:13 (26,624 tokens). Both model families use the existing Llama-2 refusal texts, packed with each family's own tokenizer. This is prompt-plus-response calibration, not prompt-only.
Recovery: SVD-LLM recovery: sequential LoRA on U then V factors, plain Alpaca-cleaned data, two epochs per training pass.
Ranks follow the matrix-shape parameter budget; truncation uses activation whitening.
The checkpoint is folded to standard dense Transformers weights: the compression
ratio describes the factorized parameter budget, not a reduction in download size.
Realized parameter counts and recovery details are recorded in compression.json.
Evaluation
Full WikiText-2 perplexity; seven-task zero-shot ARC-Easy/Challenge, HellaSwag, WinoGrande, OpenBookQA, PIQA and MathQA; XSTest-safe and OR-Bench over-refusal judged by WildGuard; full AdvBench and StrongREJECT prompt sets judged by HarmBench. StrongREJECT uses the HarmBench judge, not its native scorer. Generation limit: 512 tokens; no smoke-test sample caps.
| Metric | Value |
|---|---|
| WikiText-2 perplexity | 11.418 |
| AdvBench ASR (HarmBench) | 0.00384615 |
| StrongREJECT ASR (HarmBench) | 0.0223642 |
| Macro over-refusal (WildGuard) | 0.578752 |
All raw evaluation files, including per-prompt generations, judge records,
zero-shot sample logs and summaries, are included in utility/ and safety/.
Read these files for coverage and judge reliability. This research checkpoint
is intended for measuring safety/utility under compression; these measurements
do not establish suitability for deployment.