Rhett1 commited on
Commit
7170199
·
verified ·
1 Parent(s): ab7e03d

Upload asvd_llm/heal/llama2-7b-base/README.md with huggingface_hub

Browse files
asvd_llm/heal/llama2-7b-base/README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama2
3
+ base_model: NousResearch/Llama-2-7b-hf
4
+ tags:
5
+ - asvd
6
+ - low-rank
7
+ - model-compression
8
+ - llama2
9
+ - negative-result
10
+ ---
11
+
12
+ # ⚠️ ASVD: LLaMA-2-7B base @ 4.02B, KD-healed — FAILED ARTIFACT (archived negative result)
13
+
14
+ **DO NOT USE THIS CHECKPOINT FOR INFERENCE.** It is archived for reproducibility as a
15
+ documented failure, not released as a working model.
16
+
17
+ ## What happened
18
+
19
+ ASVD (official-style: activation-aware SVD with abs_mean scaling, ppl-based sensitivity,
20
+ alpha=0.5, seed=233, 256 calibration samples) compressed LLaMA-2-7B base to **4,020,677,888**
21
+ params. The compressed model was **capability-dead on arrival** (forward ≈ random; a first
22
+ heal attempt was auto-refused by a pre-training health gate with KL=NaN). A subsequent heal
23
+ run (60M tokens, pure forward-KL distillation from the dense 7B base teacher, identical
24
+ recipe to the healthy sibling dirs) completed but **failed to restore any capability**:
25
+
26
+ | Signal (12 milestone probes) | start | 60M |
27
+ |---|---:|---:|
28
+ | held-out KL (KD-domain imitation) | 7.2970 | 0.2259 |
29
+ | **probe MMLU (limit 40/subtask, n=2280, seed 1234, fp16)** | 23.42% | **26.27%** |
30
+
31
+ KL collapsed 33x while MMLU stayed pinned at chance (25%) for the entire run — imitation on
32
+ the KD corpus recovered, knowledge did not.
33
+
34
+ Same healing recipe, same budget — healthy siblings:
35
+
36
+ | Checkpoint (this repo) | probe MMLU after heal |
37
+ |---|---:|
38
+ | **ASVD base 7B (this dir)** | **26.27% (dead)** |
39
+ | SVD-LLM V1 base 7B (`svd_llm/heal/llama2-7b-base/`) | 34.12% |
40
+ | SVD-LLM V2 base 7B (`svd_llm2/heal/llama2-7b-base/`) | 35.66% |
41
+ | TR-3 base 7B (`tr3/heal/llama2-7b-base/`) | 41.97% |
42
+ | FP16 dense 7B base teacher (same probe) | 47.41% |
43
+
44
+ Chat-line ASVD (`asvd_llm/heal/llama2-7b/`) works, so the failure is specific to this base
45
+ instance, not the method as a whole.
46
+
47
+ ## How to load (forensics only)
48
+
49
+ ```python
50
+ import json
51
+ from lowrank_linear import build, materialize_all
52
+
53
+ model = build("NousResearch/Llama-2-7b-hf",
54
+ json.load(open("ranks.json")), "state_dict_fp16.pt",
55
+ device="cuda")
56
+ materialize_all(model)
57
+ ```
58
+
59
+ Full healing provenance (trajectory of all 12 probes, SHA256 of every input) is in
60
+ `provenance.json`. Compression provenance is in the sibling `unheal` dir.
61
+
62
+ ## License
63
+
64
+ Derived from Meta's LLaMA 2 (`NousResearch/Llama-2-7b-hf`). Subject to the
65
+ **LLaMA 2 Community License** — see https://ai.meta.com/llama/license/.