LJYAI commited on
Commit
7cbdcd4
·
verified ·
1 Parent(s): e762aae

Final CoMe Llama Base batch comparison, verified model backups, Korean report and source

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/README.md +14 -0
  2. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/backup_audit.json +31 -0
  3. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/bootstrap_come_batch_comparison.sh +48 -0
  4. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/collect_come_batch_comparison.py +55 -0
  5. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/finalize_come_batch_report.py +108 -0
  6. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/inspect_come_batch_run.py +32 -0
  7. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/launch_come_batch_comparison.py +215 -0
  8. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/monitor_come_batch_local.ps1 +19 -0
  9. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/prepare_come_batch_calibration.py +48 -0
  10. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/run_come_batch_arm.sh +33 -0
  11. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/run_llama31_base_fit_ablation.py +663 -0
  12. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/validate_native_come_replay.py +45 -0
  13. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/comparison.csv +6 -0
  14. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/comparison.json +64 -0
  15. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/manifest.json +322 -0
  16. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/project_commit.txt +1 -0
  17. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/report_ko.md +188 -0
  18. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/backup_audit.json +31 -0
  19. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_01_fit.json +272 -0
  20. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_02_fit.json +272 -0
  21. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_03_fit.json +273 -0
  22. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_04_fit.json +274 -0
  23. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_05_fit.json +272 -0
  24. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_06_fit.json +272 -0
  25. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_07_fit.json +273 -0
  26. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_08_fit.json +273 -0
  27. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/data_fingerprints.json +14 -0
  28. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/selection.json +563 -0
  29. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/selection_inputs.json +6 -0
  30. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/compact_metadata.json +91 -0
  31. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/execution_commit.txt +1 -0
  32. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_14bench.json +37 -0
  33. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_lmeval9.json +1402 -0
  34. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_opencompass5.json +44 -0
  35. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_ppl.json +40 -0
  36. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/training_elapsed.json +4 -0
  37. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1_backup.json +11 -0
  38. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_01_fit.json +272 -0
  39. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_02_fit.json +272 -0
  40. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_03_fit.json +273 -0
  41. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_04_fit.json +272 -0
  42. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_05_fit.json +272 -0
  43. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_06_fit.json +273 -0
  44. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_07_fit.json +275 -0
  45. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_08_fit.json +272 -0
  46. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/data_fingerprints.json +14 -0
  47. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/selection.json +563 -0
  48. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/selection_inputs.json +6 -0
  49. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/compact_metadata.json +91 -0
  50. runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/execution_commit.txt +1 -0
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/README.md ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Llama-3.1-8B Base CoMe MLP-only FiT batch comparison
2
+
3
+ Two new25% pruning runs: batch1 versus8. Same native91x2048 calibration,
4
+ same512x1024 FiT tokens per stage; one epoch, LR1e-4, MLP-only, previous-cycle
5
+ teacher. Update counts differ512vs64/stage; selection paths diverge atstage4.
6
+
7
+ See report_ko.md, comparison.csv and summary.json. Bench12 excludesMMLU/CMMLU.
8
+ Historical CoMe/ABPrune rows are references, not fresh benchmark reruns.
9
+ Final reconstructible model weights are stored in siblingbatch1 andbatch_large
10
+ prefixes at immutable revisions in summary.json. Both model inventories and
11
+ every payload digest independently verified in backup_audit.json.
12
+
13
+ This catalog contains no raw calibration token caches, dataset archives,
14
+ credentials, duplicate model weights or full project Git history.
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/backup_audit.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "verified": true,
3
+ "records": [
4
+ {
5
+ "verified": true,
6
+ "repo_id": "LJYAI/paper_revision",
7
+ "path_in_repo": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch1",
8
+ "revision": "e762aaea126165ec54d02c4045ad803fee0115ee",
9
+ "files": 61,
10
+ "bytes": 1746382110,
11
+ "manifest_sha256": "bb06e6c7f68e552b442830a078fd16dcb10c1c94902ef168a9dcfd6cebb4e507",
12
+ "all_payload_hashes_verified": true,
13
+ "lfs_files": 4,
14
+ "git_blob_files_read_back": 57,
15
+ "verification": "Immutable inventory/sizes, server LFS SHA256, independently downloaded Git blobs"
16
+ },
17
+ {
18
+ "verified": true,
19
+ "repo_id": "LJYAI/paper_revision",
20
+ "path_in_repo": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch_large",
21
+ "revision": "f407a63af421945571461a5fef809ee1b40c974b",
22
+ "files": 61,
23
+ "bytes": 1745975868,
24
+ "manifest_sha256": "5b7618193479ab4d38a9109ee015b548d2fa063e5ef0321a5b3cdfb1973a4a66",
25
+ "all_payload_hashes_verified": true,
26
+ "lfs_files": 4,
27
+ "git_blob_files_read_back": 57,
28
+ "verification": "Immutable inventory/sizes, server LFS SHA256, independently downloaded Git blobs"
29
+ }
30
+ ]
31
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/bootstrap_come_batch_comparison.sh ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ project="$1"; external="$2"; root="$3"; model="$4"
4
+ export HF_HOME=/workspace/.hf_home HF_TOKEN_PATH=/root/.cache/huggingface/token
5
+ export HF_DATASETS_CACHE=/workspace/.hf_datasets36 HF_DATASETS_TRUST_REMOTE_CODE=1
6
+ export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false OMP_NUM_THREADS=4
7
+ mkdir -p "$root" "$(dirname "$external")"
8
+ trap 'rc=$?; if ((rc)); then touch "$root/BOOTSTRAP_FAILED"; fi' EXIT
9
+ python -m pip install 'transformers==5.15.1' 'datasets==3.6.0' 'huggingface_hub==1.33.0' \
10
+ 'lm_eval==0.4.12' 'brotli>=1.2.0' accelerate scipy scikit-learn sentencepiece protobuf pytest
11
+ if [[ ! -d "$external/.git" ]]; then git clone "$project/vendor/abprune_experiment_base_39e.bundle" "$external"; fi
12
+ python - "$external" <<'PY'
13
+ from huggingface_hub import hf_hub_download
14
+ from pathlib import Path
15
+ import hashlib,shutil,sys
16
+ r=Path(sys.argv[1]);prefix='runs/vast-paper_revision-llama31-base-fit4-54645332-20261007/20261007-llama-base-fit4/wa/code/'
17
+ for n in ['fuse_layers.py','fuse_layers_distill.py','source_feature_transport.py']:
18
+ p=Path(hf_hub_download('LJYAI/paper_revision',prefix+n,revision='61734e7b1a77fd279fe1e2584f7a0fdc26c175c2'))
19
+ shutil.copy2(p,r/'src'/n); print('PINNED_SOURCE',n,hashlib.sha256(p.read_bytes()).hexdigest(),flush=True)
20
+ PY
21
+ if ! grep -q '^def model_is_sharded' "$external/src/progressive_loader.py"; then
22
+ git -C "$external" apply "$project/patches/0005-Add-progressive-loader-device-helpers.patch"
23
+ fi
24
+ if git -C "$external" apply --check "$project/patches/abprune_transport_instruction_masks.patch"; then
25
+ git -C "$external" apply "$project/patches/abprune_transport_instruction_masks.patch"
26
+ fi
27
+ touch "$root/DEPS_READY"
28
+ python -m venv --system-site-packages "$root/legacy"
29
+ "$root/legacy/bin/python" -m pip install 'datasets==3.1.0' 'transformers==4.52.1' 'huggingface_hub==0.36.2'
30
+ while [[ ! -f "$root/PREFETCH_COMPLETE" ]]; do
31
+ kill -0 "$(cat "$root/prefetch.pid")" 2>/dev/null || { tail -n 15 "$root/prefetch.log"; exit 1; }
32
+ sleep 5
33
+ done
34
+ "$root/legacy/bin/python" "$project/scripts/prepare_come_batch_calibration.py" --model "$model" --output "$root/calibration"
35
+ python - <<'PY'
36
+ from datasets import load_dataset
37
+ load_dataset('DKYoon/SlimPajama-6B',split='train',revision='b5f90f419b7489cdba26fdbc8c022fcb5562f968',trust_remote_code=True)
38
+ load_dataset('Salesforce/wikitext','wikitext-2-raw-v1')
39
+ PY
40
+ python "$project/scripts/prepare_offline_ppl_cache.py" "$root"
41
+ python - "$root" <<'PY'
42
+ from pathlib import Path
43
+ import json,sys
44
+ r=Path(sys.argv[1]);policy=json.loads((r/'full/base/offline_eval.json').read_text())
45
+ for arm in ('batch1','batch_large'):
46
+ p=r/'full'/arm/'offline_eval.json';p.parent.mkdir(parents=True,exist_ok=True);p.write_text(json.dumps(policy,indent=2)+'\n')
47
+ PY
48
+ touch "$root/BOOTSTRAP_COMPLETE"
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/collect_come_batch_comparison.py ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Summarize both FiT batches without mixing Bench12 with MMLU/CMMLU."""
2
+ import argparse
3
+ import json
4
+ import math
5
+ from pathlib import Path
6
+
7
+ p = argparse.ArgumentParser()
8
+ p.add_argument("root", type=Path)
9
+ p.add_argument("--output", type=Path)
10
+ a = p.parse_args()
11
+ rows = []
12
+ for arm in ("batch1", "batch_large"):
13
+ run = a.root / "full" / arm
14
+ bench = json.loads((run / "eval/final_14bench.json").read_text())
15
+ scores = bench["task_scores"]
16
+ tasks = [k for k in scores if k not in ("mmlu", "cmmlu")]
17
+ assert len(tasks) == 12
18
+ assert all(math.isfinite(v) and 0 <= v <= 1 for v in scores.values())
19
+ fits = [json.loads((run / "audit" / f"cycle_{i:02d}_fit.json").read_text())
20
+ for i in range(1, 9)]
21
+ provenance = json.loads((run / "audit/data_fingerprints.json").read_text())
22
+ ppl = json.loads((run / "eval/final_ppl.json").read_text())
23
+ metrics = ppl.get("metrics", ppl)
24
+ value = next((metrics[k] for k in ("ppl", "perplexity") if k in metrics), None)
25
+ if value is None:
26
+ raise ValueError("Missing PPL in final_ppl.json")
27
+ assert math.isfinite(value) and value > 0
28
+ batch = fits[0]["runtime"]["batch_size"]
29
+ rows.append({"arm": arm, "batch_size": batch,
30
+ "bench12": sum(scores[k] for k in tasks) / 12,
31
+ "mmlu": scores["mmlu"], "cmmlu": scores["cmmlu"], "ppl": value,
32
+ "task_scores": scores,
33
+ "training_wall_seconds": json.loads((run / "training_elapsed.json").read_text())["wall_seconds"],
34
+ "fit_seconds": sum(f["runtime"]["seconds"] for f in fits),
35
+ "peak_allocated_bytes": max(f["runtime"]["peak_allocated_bytes"] for f in fits),
36
+ "peak_reserved_bytes": max(f["runtime"]["peak_reserved_bytes"] for f in fits),
37
+ "optimizer_updates_per_stage": 512 // batch,
38
+ "fit_input_sha256": provenance["distill_loader"]["sha256"],
39
+ "fit_mask_sha256": provenance["distill_loader"]["attention_mask_sha256"],
40
+ "selection_input_sha256": json.loads((run / "audit/selection_inputs.json").read_text())["input_ids_sha256"],
41
+ "cycles": fits,
42
+ "selection_trace": json.loads((run / "audit/selection.json").read_text()),
43
+ "backup": json.loads((a.root / f"{arm}_backup.json").read_text())})
44
+ assert rows[0]["fit_input_sha256"] == rows[1]["fit_input_sha256"]
45
+ assert rows[0]["fit_mask_sha256"] == rows[1]["fit_mask_sha256"]
46
+ assert rows[0]["selection_input_sha256"] == rows[1]["selection_input_sha256"]
47
+ result = {"model": "meta-llama/Llama-3.1-8B", "removed_blocks": 8,
48
+ "method": "native CoMe plus stagewise MLP-only FiT", "accuracy_scale": "fraction",
49
+ "profile": json.loads((a.root / "batch_profile.json").read_text()), "rows": rows,
50
+ "qualification": "Same calibration and FiT examples/epochs/LR/loss; larger batch has fewer updates and may alter later pair selections"}
51
+ output = a.output or a.root / "summary.json"
52
+ output.parent.mkdir(parents=True, exist_ok=True)
53
+ output.write_text(json.dumps(result, indent=2) + "\n")
54
+ for row in rows:
55
+ print({k: row[k] for k in ("arm", "batch_size", "bench12", "mmlu", "cmmlu", "ppl", "training_wall_seconds")})
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/finalize_come_batch_report.py ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Register the completed two-arm experiment and write a precise comparison CSV."""
2
+ import csv
3
+ import json
4
+ from pathlib import Path
5
+ import shutil
6
+ import subprocess
7
+
8
+ repo = Path(__file__).resolve().parents[1]
9
+ root = repo / "results/llama31_come_batch_20261126"
10
+ summary = json.loads((root / "summary.json").read_text(encoding="utf-8"))
11
+ journal_commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=repo, text=True).strip()
12
+
13
+ def catalog_row(path, record):
14
+ with path.open(encoding="utf-8-sig", newline="") as stream:
15
+ return next(r for r in csv.DictReader(stream) if r["record_id"] == record)
16
+
17
+ come = catalog_row(repo / "results/laco_come_experiment_catalog.csv", "llama31_base_come_allowrepeat_8block")
18
+ ab = catalog_row(repo / "results/instruct_pruning_experiment_catalog.csv", "llama31_base_transport_8block")
19
+ nofit = next(r for r in json.loads((repo / "results/llama31_base_nofit_transport_bench14_20261009/summary.json").read_text())["rows"] if r["transport"] == "on")
20
+ references = [
21
+ {"method": "CoMe", "fit_batch": None, "bench12": float(come["zs12_mean"]),
22
+ "mmlu": float(come["mmlu"]), "cmmlu": float(come["cmmlu"]), "ppl": float(come["ppl"]),
23
+ "source": "llama31_base_come_allowrepeat_8block", "new_run": False},
24
+ {"method": "ABPrune without FiT", "fit_batch": None, "bench12": nofit["zs12"],
25
+ "mmlu": nofit["mmlu"], "cmmlu": nofit["cmmlu"], "ppl": nofit["ppl"],
26
+ "source": "llama31_base_nofit_transport_bench14_20261009/on", "new_run": False},
27
+ {"method": "ABPrune + FiT", "fit_batch": 1, "bench12": float(ab["zs12_mean"]),
28
+ "mmlu": float(ab["mmlu"]), "cmmlu": float(ab["cmmlu"]), "ppl": float(ab["ppl"]),
29
+ "source": "llama31_base_transport_8block", "new_run": False},
30
+ ]
31
+ comparison = references + [{
32
+ "method": "CoMe + MLP FiT", "fit_batch": row["batch_size"],
33
+ **{k: row[k] for k in ("bench12", "mmlu", "cmmlu", "ppl", "training_wall_seconds")},
34
+ "source": row["arm"], "new_run": True,
35
+ "hf_path": row["backup"]["path_in_repo"], "hf_revision": row["backup"]["revision"],
36
+ } for row in summary["rows"]]
37
+ (root / "comparison.json").write_text(json.dumps({"rows": comparison,
38
+ "accuracy_scale": "fraction", "model": "Llama-3.1-8B Base", "removed_blocks": 8,
39
+ "reference_rows": "Historical results, not fresh benchmark reruns"}, indent=2) + "\n", encoding="utf-8")
40
+ with (root / "comparison.csv").open("w", encoding="utf-8-sig", newline="") as stream:
41
+ fields = ["method", "fit_batch", "bench12_pct", "mmlu_pct", "cmmlu_pct", "ppl",
42
+ "training_wall_seconds", "new_run", "source", "hf_revision"]
43
+ writer = csv.DictWriter(stream, fields)
44
+ writer.writeheader()
45
+ for row in comparison:
46
+ record = {k: row.get(k, "") for k in fields}
47
+ record.update({k + "_pct": row[k] * 100 for k in ("bench12", "mmlu", "cmmlu")})
48
+ writer.writerow(record)
49
+
50
+ audit_source = repo / "outputs/come-fit-batch-20261126/model_backup_audit.json"
51
+ audit = json.loads(audit_source.read_text(encoding="utf-8"))
52
+ assert audit["verified"] and len(audit["records"]) == 2
53
+ assert all(r["all_payload_hashes_verified"] for r in audit["records"])
54
+ shutil.copy2(audit_source, root / "backup_audit.json")
55
+
56
+ catalog = repo / "results/instruct_pruning_experiment_catalog.csv"
57
+ encoding = "utf-8-sig" if catalog.read_bytes().startswith(b"\xef\xbb\xbf") else "utf-8"
58
+ with catalog.open(encoding=encoding, newline="") as stream:
59
+ reader = csv.DictReader(stream)
60
+ fields, rows = reader.fieldnames, list(reader)
61
+ for row in summary["rows"]:
62
+ name, batch, receipt = row["arm"], row["batch_size"], row["backup"]
63
+ record_id = f"llama31_base_come_mlp_fit_batch{batch}_8block_20261126"
64
+ settings = {"method": "native stagewise CoMe + MLP-only FiT", "selection": {
65
+ "dataset": "DKYoon/SlimPajama-6B", "revision": "b5f90f419b7489cdba26fdbc8c022fcb5562f968",
66
+ "rows": 256, "packed_windows": 91, "sequence_length": 2048, "seed": 10,
67
+ "batch_size": 1, "minimum_retention": .97, "allow_repeat": True,
68
+ "metric": "angular_last", "input_ids_sha256": row["selection_input_sha256"]},
69
+ "training": {"samples": 512, "sequence_length": 1024, "tokens_per_stage": 524288,
70
+ "epochs_per_stage": 1, "batch_size": batch, "grad_accumulation": 1, "lr": 1e-4,
71
+ "weight_decay": 0, "clip": 1, "hidden_mse": 1, "mlp_mse": 1, "attention_mse": 0,
72
+ "kl_weight": .02, "temperature": 4, "seed": 42, "teacher": "previous_cycle",
73
+ "scope": "mlp", "input_ids_sha256": row["fit_input_sha256"], "mask_sha256": row["fit_mask_sha256"]}}
74
+ scores = row["task_scores"]
75
+ record = {key: "" for key in fields}
76
+ record.update({"record_id": record_id, "model_name": "meta-llama/Llama-3.1-8B",
77
+ "model_revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b", "model_variant": "Base",
78
+ "method": "CoMe+MLP-FiT", "blocks_removed": 8,
79
+ "selector": "Frozen historical SlimPajama256 native CoMe angular_last; dynamic reselection after FiT",
80
+ "removed_interval": "non-contiguous; see selection trace", "ppl": row["ppl"],
81
+ "zs12_count": 12, "zs12_mean": row["bench12"], "mmlu": row["mmlu"], "cmmlu": row["cmmlu"],
82
+ "macro14_mean": sum(scores.values()) / 14, "metric_scale": "accuracy_fraction_0_to_1",
83
+ "experiment_settings": f"Native CoMe256rows/91x2048/seed10; FiT512x1024/1epoch/LR1e-4/MLP-only/batch{batch}/seed42",
84
+ "experiment_settings_json": json.dumps(settings, separators=(",", ":")),
85
+ "experiment_date": "2026-11-26", "status": "complete",
86
+ "storage_host": "vast-paper_revision-come-fit-batch-20261126-62635207", "vast_instance": 62635207,
87
+ "weight_path": f"/workspace/come-fit-batch-20261126/full/{name}/compact/stage_08",
88
+ "hf_backup_path": f"hf://LJYAI/paper_revision/{receipt['path_in_repo']}@{receipt['revision']}",
89
+ "backup_status": "verified_huggingface_backup", "journal_commit": journal_commit,
90
+ "code_commit": (root / name / "execution_commit.txt").read_text().strip(),
91
+ "protocol_path": f"hf://LJYAI/paper_revision/{receipt['path_in_repo']}/protocol.md@{receipt['revision']}",
92
+ "ppl_result_path": f"results/llama31_come_batch_20261126/{name}/final_ppl.json",
93
+ "bench14_result_path": f"results/llama31_come_batch_20261126/{name}/final_14bench.json",
94
+ "evaluation_protocol": "Packed WikiText2 seq2048 BF16; canonical OpenCompass5 full-prompt PPL; lm-eval0.4.12 zero-shot auto:4, full offline131 cache",
95
+ "experiment_log": "exp_md/2026-11-26_llama31-come-mlp-batch-comparison.md",
96
+ "notes": f"Paired batch comparison; exact shared native selection/FiT inputs; {512//batch}updates/stage; pruning wall{row['training_wall_seconds']}s. Native replay matches all8 historical scores and merge groups."})
97
+ record.update(scores)
98
+ record = {k: v for k, v in record.items() if k in fields}
99
+ rows = [r for r in rows if r["record_id"] != record_id] + [record]
100
+ with catalog.open("w", encoding=encoding, newline="") as stream:
101
+ writer = csv.DictWriter(stream, fields, quoting=csv.QUOTE_ALL, lineterminator="\n")
102
+ writer.writeheader()
103
+ writer.writerows(rows)
104
+ with catalog.open(encoding="utf-8-sig", newline="") as stream:
105
+ parsed = list(csv.reader(stream))
106
+ assert all(len(row) == len(fields) for row in parsed)
107
+ assert len({r["record_id"] for r in rows}) == len(rows)
108
+ print("FINAL_COMPARISON_AND_TWO_CANONICAL_RECORDS_WRITTEN")
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/inspect_come_batch_run.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Read-only compact progress snapshot for five-minute experiment checks."""
2
+ import argparse
3
+ import json
4
+ from pathlib import Path
5
+ import subprocess
6
+ import time
7
+
8
+ p = argparse.ArgumentParser()
9
+ p.add_argument("root", type=Path)
10
+ a = p.parse_args()
11
+ root = a.root
12
+ snapshot = {"utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
13
+ "status": json.loads((root / "status.json").read_text()), "arms": {}}
14
+ for name in ("batch1", "batch_large"):
15
+ r = root / "full" / name
16
+ audits = sorted((r / "audit").glob("cycle_*_fit.json"))
17
+ row = {"trained_cycles": len(audits), "training_complete": (r / "TRAIN_COMPLETE").exists(),
18
+ "evaluation_complete": (r / "EVAL_COMPLETE").exists(),
19
+ "backup_complete": (r / "BACKUP_COMPLETE").exists()}
20
+ for key, relative in (("training", "logs/train.log"), ("evaluation", "logs/eval14.log")):
21
+ log = r / relative
22
+ if log.exists():
23
+ lines = log.read_text(errors="replace").replace("\r", "\n").splitlines()
24
+ row[key + "_last_line"] = next((line for line in reversed(lines) if line.strip()), "")[-500:]
25
+ row[key + "_log_age_seconds"] = time.time() - log.stat().st_mtime
26
+ if audits:
27
+ fit = json.loads(audits[-1].read_text())
28
+ row["last_fit_runtime"] = fit.get("runtime")
29
+ snapshot["arms"][name] = row
30
+ snapshot["gpu"] = subprocess.check_output(
31
+ ["nvidia-smi", "--query-gpu=index,utilization.gpu,memory.used", "--format=csv,noheader"], text=True).splitlines()
32
+ print(json.dumps(snapshot, ensure_ascii=True))
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/launch_come_batch_comparison.py ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Run only the two user-requested Llama CoMe arms, then evaluate and back up."""
2
+ import argparse
3
+ from concurrent.futures import ThreadPoolExecutor
4
+ import json
5
+ import os
6
+ from pathlib import Path
7
+ import shutil
8
+ import subprocess
9
+ import sys
10
+ import threading
11
+ import time
12
+
13
+ p = argparse.ArgumentParser()
14
+ p.add_argument("--project", type=Path, required=True)
15
+ p.add_argument("--external", type=Path, required=True)
16
+ p.add_argument("--root", type=Path, required=True)
17
+ p.add_argument("--model", required=True)
18
+ p.add_argument("--session", required=True)
19
+ a = p.parse_args()
20
+ root = a.root
21
+ env = dict(os.environ, HF_HOME="/workspace/.hf_home", HF_TOKEN_PATH="/root/.cache/huggingface/token",
22
+ HF_DATASETS_CACHE="/workspace/.hf_datasets36", HF_DATASETS_TRUST_REMOTE_CODE="1",
23
+ PYTHONUNBUFFERED="1", TOKENIZERS_PARALLELISM="false", OMP_NUM_THREADS="4",
24
+ PYTHONPATH=f"{a.project}/src:{a.external}/src")
25
+ state = {"experiment": "llama31_base_come_mlp_batch_20261126", "session": a.session,
26
+ "scope": ["batch1", "batch_large"], "phase": "waiting_bootstrap", "arms": {}}
27
+ state_lock = threading.RLock()
28
+ stopping = threading.Event()
29
+
30
+ def save():
31
+ with state_lock:
32
+ state["updated_utc"] = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())
33
+ temp = root / "status.partial"
34
+ temp.write_text(json.dumps(state, indent=2) + "\n")
35
+ temp.replace(root / "status.json")
36
+
37
+ def run(command, log, gpu=None, check=True):
38
+ run_env = dict(env)
39
+ if gpu is not None:
40
+ run_env["CUDA_VISIBLE_DEVICES"] = str(gpu)
41
+ log.parent.mkdir(parents=True, exist_ok=True)
42
+ with log.open("a") as stream:
43
+ result = subprocess.run([str(x) for x in command], env=run_env, stdout=stream,
44
+ stderr=subprocess.STDOUT, cwd=a.project)
45
+ if check and result.returncode:
46
+ raise RuntimeError(f"Command failed ({result.returncode}); see {log}")
47
+ return result.returncode
48
+
49
+ def wait_marker(name):
50
+ while not (root / name).exists():
51
+ if stopping.is_set():
52
+ raise RuntimeError("Supervisor stopped after another preparation failure")
53
+ if (root / "BOOTSTRAP_FAILED").exists() or (root / "EVAL_PREP_FAILED").exists():
54
+ raise RuntimeError("Preparation failed; inspect retained logs")
55
+ time.sleep(5)
56
+
57
+ def training_command(out, batch, gpu, cycles=8, tokens=524288):
58
+ return ["bash", a.project / "scripts/run_come_batch_arm.sh", a.project, a.external,
59
+ out, a.model, root / "calibration/selection.pt", batch, gpu, cycles, tokens]
60
+
61
+ def prepare_eval():
62
+ try:
63
+ wait_marker("BOOTSTRAP_COMPLETE")
64
+ for name in ("opencompass5-data.tar.gz", "llama31-eval-cache-131-20261008.tar.gz"):
65
+ while not (root / "EVAL_ARCHIVES_READY").exists():
66
+ if stopping.is_set():
67
+ raise RuntimeError("Supervisor stopped")
68
+ time.sleep(5)
69
+ destination = root / ("eval_data" if name.startswith("opencompass") else "lmeval_cache")
70
+ destination.mkdir(exist_ok=True)
71
+ command = ["tar", "-xzf", root / name, "-C", destination]
72
+ if name.startswith("llama31-eval"):
73
+ command += ["--strip-components=1"]
74
+ run(command, root / "eval_prepare.log")
75
+ run([sys.executable, a.project / "scripts/prepare_lmeval9_local_cache.py",
76
+ root / "lmeval_cache", "--validate-local"], root / "eval_prepare.log")
77
+ (root / "EVAL_READY").touch()
78
+ except Exception:
79
+ (root / "EVAL_PREP_FAILED").touch()
80
+ raise
81
+
82
+ def complete_arm(name, batch, gpu):
83
+ out = root / "full" / name
84
+ out.mkdir(parents=True, exist_ok=True)
85
+ state["arms"][name] = {"phase": "training", "batch_size": batch, "gpu": gpu,
86
+ "started_utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime())}
87
+ save()
88
+ if not (out / "TRAIN_COMPLETE").exists():
89
+ started = time.time()
90
+ run(training_command(out, batch, gpu), root / f"{name}_pipeline.log")
91
+ (out / "training_elapsed.json").write_text(json.dumps({
92
+ "wall_seconds": time.time() - started,
93
+ "completed_utc": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()),
94
+ }, indent=2) + "\n")
95
+ for cycle in range(1, 9):
96
+ fit = json.loads((out / "audit" / f"cycle_{cycle:02d}_fit.json").read_text())
97
+ assert fit["trained"] and fit["num_trainable_mlp_gates"] == 3
98
+ assert fit["num_trainable_attn_gates"] == 0 and fit["num_trainable_other_gates"] == 0
99
+ assert fit["runtime"]["batch_size"] == batch and fit["runtime"]["dataset_tokens"] == 524288
100
+ assert fit["ablation"]["source_feature_transport"] is False
101
+ fingerprints = json.loads((out / "audit/data_fingerprints.json").read_text())
102
+ assert fingerprints["distill_loader"]["sha256"] == "2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0"
103
+ state["arms"][name]["phase"] = "evaluation"
104
+ save()
105
+ (out / "eval").mkdir(exist_ok=True)
106
+ if not (out / "eval/final_ppl.json").exists():
107
+ run([sys.executable, a.project / "scripts/evaluate_abprune_compact_ppl.py",
108
+ "--model", a.model, "--revision", "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
109
+ "--compact-stage", out / "compact/stage_08", "--anchor", 21, "--cycles", 8,
110
+ "--original-layers", 32, "--seq-len", 2048, "--batch-size", 8,
111
+ "--output", out / "eval/final_ppl.json"], root / f"{name}_ppl.log", gpu)
112
+ wait_marker("EVAL_READY")
113
+ eval_env = dict(env, LMEVAL_LOCAL_CACHE=str(root / "lmeval_cache"),
114
+ MODEL_REVISION="d04e592bb4f6aa9cfee91e2e20afa771667e1d4b")
115
+ log = root / f"{name}_eval.log"
116
+ with log.open("a") as stream:
117
+ subprocess.run(["bash", str(a.project / "scripts/eval_llama31_fit_ablation_one.sh"),
118
+ str(a.project), str(out), a.model, str(root / "eval_data/data"),
119
+ sys.executable, "21", "8", str(gpu)], env=eval_env,
120
+ stdout=stream, stderr=subprocess.STDOUT, check=True)
121
+ (out / "EVAL_COMPLETE").touch()
122
+ state["arms"][name]["phase"] = "backup"
123
+ save()
124
+ backup = root / "backup" / name
125
+ if not backup.exists():
126
+ run([sys.executable, a.project / "scripts/package_final_fit_backup.py", out, backup,
127
+ a.project, a.external, "--protocol", "exp_md/2026-11-26_llama31-come-mlp-batch-comparison.md"],
128
+ root / f"{name}_backup.log")
129
+ # Package the real new launcher and calibration provenance, never raw token caches.
130
+ for filename in ("launch_come_batch_comparison.py", "run_come_batch_arm.sh",
131
+ "prepare_come_batch_calibration.py", "validate_native_come_replay.py"):
132
+ shutil.copy2(a.project / "scripts" / filename, backup / "code" / filename)
133
+ shutil.copy2(root / "calibration/selection.json", backup / "selection_provenance.json")
134
+ shutil.copy2(root / "native_replay.json", backup / "native_replay.json")
135
+ shutil.copy2(root / "batch_profile.json", backup / "batch_profile.json")
136
+ shutil.copy2(out / "training_elapsed.json", backup / "training_elapsed.json")
137
+ (backup / "code/project_commit.txt").write_text(subprocess.check_output(
138
+ ["git", "rev-parse", "HEAD"], cwd=a.project, text=True))
139
+ run([sys.executable, a.project / "scripts/write_tree_manifest.py", backup], root / f"{name}_backup.log")
140
+ upload_env = dict(env, HF_HUB_OFFLINE="0", HF_DATASETS_OFFLINE="0", TRANSFORMERS_OFFLINE="0")
141
+ receipt = root / f"{name}_backup.json"
142
+ with receipt.open("w") as stream:
143
+ subprocess.run([sys.executable, str(a.project / "scripts/upload_verified_hf_tree.py"), str(backup),
144
+ "--repo-id", "LJYAI/paper_revision", "--path-in-repo",
145
+ f"runs/{a.session}/20261126-llama31-come-mlp-batch/{name}",
146
+ "--commit-message", f"Matched native CoMe Llama Base MLP FiT {name}"],
147
+ env=upload_env, stdout=stream, check=True)
148
+ (out / "BACKUP_COMPLETE").touch()
149
+ state["arms"][name]["phase"] = "complete"
150
+ save()
151
+
152
+ save()
153
+ pool = ThreadPoolExecutor(max_workers=3)
154
+ eval_future = pool.submit(prepare_eval)
155
+ try:
156
+ wait_marker("BOOTSTRAP_COMPLETE")
157
+ state["phase"] = "validation"
158
+ save()
159
+ run([sys.executable, "-m", "pytest", "-q", str(a.project / "tests/test_come.py")], root / "tests.log")
160
+ run([sys.executable, a.project / "scripts/run_llama31_base_fit_ablation.py",
161
+ "--external-root", a.external, "--initializer", "come", "--fit-come-mlp",
162
+ "--audit-root", root / "algebra", "--self-test"], root / "tests.log", 0)
163
+ if not (root / "native_replay.json").exists():
164
+ run([root / "legacy/bin/python", a.project / "scripts/validate_native_come_replay.py",
165
+ "--model", a.model, "--selection", root / "calibration/selection.pt",
166
+ "--output", root / "native_replay.json"], root / "native_replay.log", 0)
167
+ assert json.loads((root / "native_replay.json").read_text())["passed"]
168
+ state["phase"] = "batch_profiling"
169
+ save()
170
+ profiles = []
171
+ for batch in (1, 2, 4, 8):
172
+ probe = root / "probes" / f"batch{batch}"
173
+ audit = probe / "audit/cycle_01_fit.json"
174
+ if (probe / "TRAIN_COMPLETE").exists() and audit.exists():
175
+ rc = 0
176
+ else:
177
+ rc = run(training_command(probe, batch, 1, cycles=1, tokens=65536),
178
+ root / "batch_profile.log", check=False)
179
+ row = {"batch_size": batch, "return_code": rc, "completed": rc == 0 and audit.exists()}
180
+ if row["completed"]:
181
+ fit = json.loads(audit.read_text())
182
+ assert fit["trained"] and fit["num_trainable_mlp_gates"] == 3
183
+ row.update(fit["runtime"])
184
+ row["memory_margin_bytes"] = row["gpu_total_bytes"] - row["peak_reserved_bytes"]
185
+ profiles.append(row)
186
+ (root / "batch_profile.json").write_text(json.dumps({"profiles": profiles}, indent=2) + "\n")
187
+ eligible = [r for r in profiles if r["completed"] and r["batch_size"] > 1 and
188
+ r["memory_margin_bytes"] >= 4 * 1024**3]
189
+ if not eligible:
190
+ raise RuntimeError("No larger batch met the measured memory margin")
191
+ chosen = max(eligible, key=lambda r: r["tokens_per_second"])["batch_size"]
192
+ profile = {"profiles": profiles, "selected_larger_batch": chosen,
193
+ "selection_rule": "Fastest measured successful larger batch with >=4GiB margin",
194
+ "training_updates_per_stage": {"batch1": 512, "batch_large": 512 // chosen}}
195
+ (root / "batch_profile.json").write_text(json.dumps(profile, indent=2) + "\n")
196
+ state["phase"] = "production"
197
+ state["larger_batch"] = chosen
198
+ save()
199
+ jobs = [pool.submit(complete_arm, "batch1", 1, 0),
200
+ pool.submit(complete_arm, "batch_large", chosen, 1)]
201
+ for job in jobs:
202
+ job.result()
203
+ eval_future.result()
204
+ state["phase"] = "complete"
205
+ save()
206
+ (root / "COMPLETE").touch()
207
+ except Exception as exc:
208
+ stopping.set()
209
+ state["phase"] = "failed"
210
+ state["error"] = str(exc)
211
+ save()
212
+ (root / "FAILED").touch()
213
+ raise
214
+ finally:
215
+ pool.shutdown(wait=False, cancel_futures=True)
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/monitor_come_batch_local.ps1 ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [CmdletBinding()]
2
+ param(
3
+ [ValidatePattern('^[A-Za-z0-9._-]+$')][string]$HostAlias = 'vast-paper_revision-come-fit-batch-20261126-62635207',
4
+ [int]$IntervalSeconds = 300,
5
+ [switch]$Once
6
+ )
7
+ $ErrorActionPreference = 'Stop'
8
+ $repo = (Resolve-Path (Join-Path $PSScriptRoot '..')).Path
9
+ $log = Join-Path $repo 'outputs/come-fit-batch-20261126/progress.jsonl'
10
+ $remote = 'python /workspace/paper_revision/sessions/vast-paper_revision-come-fit-batch-20261126-62635207/scripts/inspect_come_batch_run.py /workspace/come-fit-batch-20261126'
11
+ do {
12
+ $snapshot = & ssh -o BatchMode=yes -o ConnectTimeout=20 $HostAlias $remote 2>$null
13
+ if ($LASTEXITCODE -ne 0) { throw 'Read-only SSH progress check failed.' }
14
+ $state = ($snapshot -join "`n") | ConvertFrom-Json
15
+ $snapshot | Add-Content -LiteralPath $log -Encoding utf8
16
+ '{0} phase={1} trained_cycles: batch1={2}/8 batch8={3}/8' -f $state.utc,$state.status.phase,$state.arms.batch1.trained_cycles,$state.arms.batch_large.trained_cycles
17
+ if ($Once -or $state.status.phase -in @('complete','failed')) { break }
18
+ Start-Sleep -Seconds $IntervalSeconds
19
+ } while ($true)
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/prepare_come_batch_calibration.py ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Freeze historical native CoMe inputs using its pinned legacy loader environment."""
2
+ import argparse
3
+ import hashlib
4
+ import json
5
+ from pathlib import Path
6
+
7
+ import torch
8
+ from datasets import load_dataset
9
+ from transformers import AutoTokenizer
10
+
11
+ p = argparse.ArgumentParser()
12
+ p.add_argument("--model", required=True)
13
+ p.add_argument("--output", type=Path, required=True)
14
+ a = p.parse_args()
15
+ a.output.mkdir(parents=True, exist_ok=True)
16
+ tokenizer = AutoTokenizer.from_pretrained(a.model, local_files_only=True)
17
+ revision = "b5f90f419b7489cdba26fdbc8c022fcb5562f968"
18
+ dataset = load_dataset("DKYoon/SlimPajama-6B", split="train", streaming=True,
19
+ revision=revision).shuffle(seed=10, buffer_size=10000)
20
+ tokens, documents = [], []
21
+ for index, row in enumerate(dataset):
22
+ text = row.get("text")
23
+ documents.append(hashlib.sha256((text or "").encode()).hexdigest())
24
+ if isinstance(text, str):
25
+ tokens.extend(tokenizer.encode(text, add_special_tokens=False))
26
+ if index == 255:
27
+ break
28
+ if len(documents) != 256:
29
+ raise ValueError("Incomplete historical source-row selection")
30
+ batches = []
31
+ checksum = hashlib.sha256()
32
+ for start in range(0, len(tokens) - 2047, 2048):
33
+ ids = torch.tensor(tokens[start:start + 2048], dtype=torch.long).unsqueeze(0)
34
+ checksum.update(ids.numpy().astype("<i8").tobytes())
35
+ batches.append({"input_ids": ids, "attention_mask": torch.ones_like(ids)})
36
+ if len(batches) != 91:
37
+ raise ValueError(f"Historical CoMe calibration expected 91 windows, got {len(batches)}")
38
+ torch.save(batches, a.output / "selection.pt")
39
+ import datasets, transformers
40
+ metadata = {"dataset": "DKYoon/SlimPajama-6B", "revision": revision,
41
+ "source_rows": 256, "packed_windows": len(batches), "sequence_length": 2048,
42
+ "seed": 10, "shuffle_buffer": 10000, "batch_size": 1,
43
+ "input_ids_sha256": checksum.hexdigest(), "document_sha256": documents,
44
+ "datasets_version": datasets.__version__, "transformers_version": transformers.__version__,
45
+ "historical_input_hash_available": False,
46
+ "validation": "Historical arguments and window count; native replay checked separately"}
47
+ (a.output / "selection.json").write_text(json.dumps(metadata, indent=2) + "\n")
48
+ print("FROZEN_NATIVE_COME_INPUTS", len(batches), checksum.hexdigest(), flush=True)
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/run_come_batch_arm.sh ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ project="$1"; external="$2"; root="$3"; model="$4"; selection="$5"; batch="$6"; gpu="$7"
4
+ cycles="${8:-8}"; tokens="${9:-524288}"
5
+ export CUDA_VISIBLE_DEVICES="$gpu" HF_HOME=/workspace/.hf_home HF_TOKEN_PATH=/root/.cache/huggingface/token
6
+ export HF_DATASETS_CACHE=/workspace/.hf_datasets36 HF_DATASETS_TRUST_REMOTE_CODE=1
7
+ export HF_HUB_OFFLINE=1 HF_DATASETS_OFFLINE=1 TRANSFORMERS_OFFLINE=1
8
+ export PYTHONUNBUFFERED=1 TOKENIZERS_PARALLELISM=false OMP_NUM_THREADS=4
9
+ export PYTHONPATH="$external/src:$project/src${PYTHONPATH:+:$PYTHONPATH}"
10
+ export ABPRUNE_DATASET_REVISION=b5f90f419b7489cdba26fdbc8c022fcb5562f968
11
+ mkdir -p "$root/logs" "$root/audit" "$root/run"
12
+ selection_hash=$(python - "$selection" <<'PY'
13
+ import json,sys
14
+ from pathlib import Path
15
+ print(json.loads(Path(sys.argv[1]).with_suffix('.json').read_text())['input_ids_sha256'])
16
+ PY
17
+ )
18
+ python "$project/scripts/run_llama31_base_fit_ablation.py" \
19
+ --external-root "$external" --initializer come --fit-come-mlp --audit-root "$root/audit" \
20
+ --selection-data "$selection" --selection-hash "$selection_hash" --record-fit-runtime \
21
+ --model-id meta-llama/Llama-3.1-8B --base-revision d04e592bb4f6aa9cfee91e2e20afa771667e1d4b \
22
+ --come-minimum-retention .97 --come-power 1 --model "$model" --output_dir "$root/run" \
23
+ --layer 21 --num_progressive "$cycles" --dataset slimpajama --dataset_config none \
24
+ --target_tokens "$tokens" --num_samples 64 --seq_len 1024 --batch_size 2 \
25
+ --distill_seq_len 1024 --distill_batch_size "$batch" --distill_epochs 1 --distill_lr 1e-4 \
26
+ --distill_weight_decay 0 --distill_max_grad_norm 1 --distill_grad_accum_steps 1 \
27
+ --distill_kl_weight .02 --distill_kl_temp 4 --distill_hidden_mse_weight 1 \
28
+ --distill_mlp_mse_weight 1 --distill_attn_mse_weight 0 --reparam_eta 0 --reparam_gamma 0 \
29
+ --reparam_param_subset mlp --reparam_fisher_init_subset same --reparam_train_subset mlp \
30
+ --reparam_rho_objective none --reparam_additive_u --redistrib_teacher_source previous_cycle \
31
+ --fisher_mode param --eps 0 --no_head_permute_merge --no_head_permute_select \
32
+ --dtype bfloat16 --eval_dtype bfloat16 --lora_epochs 0 --skip_eval --skip_final_model_save \
33
+ --distill_log_steps 10 --seed 42 >> "$root/logs/train.log" 2>&1
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/run_llama31_base_fit_ablation.py ADDED
@@ -0,0 +1,663 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Non-Fisher initialization controls on the historical additive-U FiT engine.
3
+
4
+ Wa/Wb/average use the fixed anchor. MKA uses the corrected, committed MKA
5
+ selector, merges its seven projections, then fits only the three MLP weights.
6
+ The opt-in fixed-span-merge-only mode instead retains our selection/transport,
7
+ replaces just the three MLP initializers, and freezes anchor attention/norms.
8
+ No fake Fisher tensor is used to derive initialization; empty placeholders
9
+ only satisfy the unmodified engine's call signature. Audits mark this clearly.
10
+ """
11
+ from __future__ import annotations
12
+
13
+ import argparse
14
+ import hashlib
15
+ import json
16
+ import math
17
+ import os
18
+ import sys
19
+ import time
20
+ from pathlib import Path
21
+
22
+
23
+ def install_exact_layer(distill, torch, state):
24
+ original = distill.ReparamMergedLayer
25
+
26
+ class ExactInitializationLayer(original):
27
+ def __init__(self, layer_a, layer_b, targets, **kwargs):
28
+ assert kwargs.get("additive_u"), "Controls require additive-U"
29
+ assert not kwargs.get("tensor_rho")
30
+ super().__init__(layer_a, layer_b, targets, **kwargs)
31
+ self.exact_lambda = float(state["lambda"])
32
+ self.initialization_errors = {}
33
+ self.fit_attention = bool(state.get("fit_attention", False))
34
+ self.fit_full_block = bool(state.get("fit_full_block", False))
35
+ self.fit_come_mlp = bool(state.get("fit_come_mlp", False))
36
+ fixed_merge_only = bool(state.get("fixed_span_merge_only", False))
37
+ fixed_initial = None
38
+ if fixed_merge_only:
39
+ from fusegpt.fixed_span_merge_init import MLP_NAMES, build_initialization
40
+ assert set(self._name_map) == set(MLP_NAMES), self._name_map
41
+ assert state.get("transport_completed"), "Initialize only after transport"
42
+ fixed_initial, fixed_audit = build_initialization(
43
+ layer_a, layer_b, state["initializer"], state["merge_payload"])
44
+ if (state["initializer"] == "mka" and not fixed_merge_only) or self.fit_attention:
45
+ from fusegpt.fit_ablation_mka import PROJECTION_WEIGHTS
46
+ for name, safe in list(self._name_map.items()):
47
+ if name not in PROJECTION_WEIGHTS:
48
+ del self._name_map[name]
49
+ del self.u[safe]
50
+ del self.gates[safe]
51
+ if self.fit_come_mlp and not fixed_merge_only:
52
+ assert len(self._name_map) == 3 and all(n.startswith("mlp.") for n in self._name_map)
53
+ for name, initial in state["come_initial"].items():
54
+ if name not in self._name_map:
55
+ self.register_buffer("frozen_initial__" + name.replace(".", "__"),
56
+ initial.to(layer_a.get_parameter(name).device).clone(), persistent=False)
57
+ with torch.no_grad():
58
+ for name, safe in self._name_map.items():
59
+ a = layer_a.get_parameter(name).detach().float()
60
+ b = layer_b.get_parameter(name).detach().float()
61
+ # This is a fitting-scope ablation, not an attention merge.
62
+ # Keep anchor attention exactly; only MLP uses Wa/Wb lambda.
63
+ ratio = 1. if self.fit_attention and name.startswith("self_attn.") else self.exact_lambda
64
+ if fixed_merge_only:
65
+ initial = fixed_initial[name].to(a.device).clone()
66
+ elif state["initializer"] == "come":
67
+ initial = state["come_initial"][name].to(a.device).clone()
68
+ elif ratio == 1:
69
+ initial = a.clone()
70
+ elif ratio == 0:
71
+ initial = b.clone()
72
+ else:
73
+ initial = torch.lerp(b, a, ratio)
74
+ self.register_buffer("initial__" + safe, initial, persistent=False)
75
+ self.u[safe].zero_()
76
+ assert torch.isfinite(initial).all(), name
77
+ self.initialization_errors[name] = 0.0
78
+ state["initialization_audit"] = {
79
+ "lambda": self.exact_lambda, "endpoint_clamping": False,
80
+ "initial_u_nonzero": 0, "merged_parameters": list(self._name_map),
81
+ "parameterization": "W_initial + U_add", "fisher_computed": False,
82
+ "fit_scope": "full_block_including_norms" if self.fit_full_block else (
83
+ "attention_and_mlp" if self.fit_attention else "mlp"),
84
+ "attention_initialization": "CoMe_channel_merge" if state["initializer"] == "come" else (
85
+ "anchor_Wa" if self.fit_attention else (
86
+ "MKA_merge" if state["initializer"] == "mka" else "anchor_Wa")
87
+ ),
88
+ }
89
+ if fixed_merge_only:
90
+ state["initialization_audit"].update({"fixed_span_merge_only": True,
91
+ "attention_initialization": "anchor_Wa", "norm_initialization": "anchor_Wa",
92
+ "norms_trainable": False, "initialized_parameters": list(self._name_map),
93
+ "selection_policy": state.get("selection_policy", "fixed_anchor21_remove_original_22_30"),
94
+ "merge_rule_audit": fixed_audit})
95
+ state.pop("merge_payload")
96
+ elif state["initializer"] == "come":
97
+ assert len(state["come_initial"]) == 9, "Pinned Llama block has7 projections and2 norms"
98
+ if self.fit_full_block:
99
+ assert set(self._name_map) == set(state["come_initial"]), "All block parameters must have U"
100
+ state["initialization_audit"].update({"lambda": None, "norm_initialization": "CoMe_pair_mean",
101
+ "CoMe": state["come_audit"], "norms_trainable": self.fit_full_block,
102
+ "initialized_parameters": list(state["come_initial"]),
103
+ "frozen_CoMe_parameters": [n for n in state["come_initial"] if n not in self._name_map]})
104
+ state.pop("come_initial")
105
+
106
+ def gate_lambdas(self):
107
+ return {name: torch.tensor(
108
+ 1. if self.fit_attention and name.startswith("self_attn.") else self.exact_lambda,
109
+ device=self.u[safe].device)
110
+ for name, safe in self._name_map.items()}
111
+
112
+ def _merged_params(self):
113
+ result = {}
114
+ for name, param in self.layer_a.named_parameters():
115
+ safe = self._name_map.get(name)
116
+ frozen = getattr(self, "frozen_initial__" + name.replace(".", "__"), param.detach())
117
+ result[name] = (frozen.to(param.dtype) if safe is None else
118
+ (getattr(self, "initial__" + safe) + self.u[safe]).to(param.dtype))
119
+ return result
120
+
121
+ def materialize_into_layer_a(self):
122
+ with torch.no_grad():
123
+ for name, param in self.layer_a.named_parameters():
124
+ frozen = getattr(self, "frozen_initial__" + name.replace(".", "__"), None)
125
+ if frozen is not None:
126
+ param.copy_(frozen.to(param.dtype))
127
+ for name, safe in self._name_map.items():
128
+ param = self.layer_a.get_parameter(name)
129
+ param.copy_((getattr(self, "initial__" + safe) + self.u[safe]).to(param.dtype))
130
+ return len(self._name_map)
131
+
132
+ distill.ReparamMergedLayer = ExactInitializationLayer
133
+ # The old diagnostic names its reference "Fisher displacement". That is
134
+ # not the reference direction in these controls, so do not emit it.
135
+ distill._sequential_u_fisher_orthogonality = lambda layer: {}
136
+ return ExactInitializationLayer
137
+
138
+
139
+ def algebra_test(torch, distill):
140
+ class Layer(torch.nn.Module):
141
+ def __init__(self):
142
+ super().__init__()
143
+ self.mlp = torch.nn.Module()
144
+ self.mlp.up_proj = torch.nn.Linear(4, 5, bias=False)
145
+
146
+ torch.manual_seed(42)
147
+ state = {"initializer": "average", "lambda": .5}
148
+ cls = install_exact_layer(distill, torch, state)
149
+ a, b = Layer(), Layer()
150
+ for ratio in (0., .5, 1.):
151
+ state["lambda"] = ratio
152
+ layer = cls(a, b, {"mlp.up_proj.weight": ratio},
153
+ param_subset="mlp", additive_u=True)
154
+ actual = layer._merged_params()["mlp.up_proj.weight"]
155
+ expected = a.mlp.up_proj.weight if ratio == 1 else (
156
+ b.mlp.up_proj.weight if ratio == 0 else
157
+ torch.lerp(b.mlp.up_proj.weight, a.mlp.up_proj.weight, ratio))
158
+ expected = expected.detach().clone()
159
+ assert torch.equal(actual, expected)
160
+ actual.sum().backward()
161
+ u = layer.u["mlp__up_proj__weight"]
162
+ assert torch.equal(u.grad, torch.ones_like(u)), "Average must not mask FiT gradients"
163
+ with torch.no_grad():
164
+ u.add_(.01)
165
+ layer.materialize_into_layer_a()
166
+ assert torch.equal(a.mlp.up_proj.weight, expected + .01)
167
+ print("EXACT_INITIALIZATION_AND_AVERAGE_U_GRADIENT_OK", flush=True)
168
+
169
+
170
+ def attention_algebra_test(torch, distill):
171
+ class Layer(torch.nn.Module):
172
+ def __init__(self):
173
+ super().__init__()
174
+ self.self_attn = torch.nn.Module()
175
+ self.mlp = torch.nn.Module()
176
+ for name in ("q_proj", "k_proj", "v_proj", "o_proj"):
177
+ setattr(self.self_attn, name, torch.nn.Linear(4, 4, bias=False))
178
+ for name in ("gate_proj", "up_proj", "down_proj"):
179
+ setattr(self.mlp, name, torch.nn.Linear(4, 4, bias=False))
180
+ self.input_layernorm = torch.nn.LayerNorm(4)
181
+
182
+ state = {"initializer": "wa", "lambda": 1., "fit_attention": True}
183
+ cls = install_exact_layer(distill, torch, state)
184
+ for ratio in (0., 1.):
185
+ state["lambda"] = ratio
186
+ a, b = Layer(), Layer()
187
+ targets = {name: ratio for name, _ in a.named_parameters()}
188
+ layer = cls(a, b, targets, param_subset="all", additive_u=True)
189
+ assert len(layer._name_map) == 7
190
+ merged = layer._merged_params()
191
+ for name, safe in layer._name_map.items():
192
+ expected = (a if name.startswith("self_attn.") or ratio == 1 else b).get_parameter(name)
193
+ assert torch.equal(merged[name], expected.detach()), name
194
+ assert torch.equal(merged["input_layernorm.weight"], a.input_layernorm.weight)
195
+ sum(merged[name].sum() for name in layer._name_map).backward()
196
+ assert all(torch.equal(u.grad, torch.ones_like(u)) for u in layer.u.values())
197
+ print("ATTENTION_FIT_EXACT_ANCHOR_ATTENTION_MLP_ENDPOINTS_7_U_GRADIENTS_OK", flush=True)
198
+
199
+
200
+ def come_algebra_test(torch, distill, mlp_only=False):
201
+ from types import SimpleNamespace
202
+ from fusegpt import come
203
+
204
+ class Layer(torch.nn.Module):
205
+ def __init__(self):
206
+ super().__init__()
207
+ self.self_attn = torch.nn.Module()
208
+ self.self_attn.config = SimpleNamespace(num_attention_heads=2, num_key_value_heads=2)
209
+ self.self_attn.head_dim = 2
210
+ for n in ("q_proj", "k_proj", "v_proj", "o_proj"):
211
+ setattr(self.self_attn, n, torch.nn.Linear(4, 4, bias=False))
212
+ self.mlp = torch.nn.Module()
213
+ self.mlp.gate_proj = torch.nn.Linear(4, 6, bias=False)
214
+ self.mlp.up_proj = torch.nn.Linear(4, 6, bias=False)
215
+ self.mlp.down_proj = torch.nn.Linear(6, 4, bias=False)
216
+ self.input_layernorm = torch.nn.RMSNorm(4)
217
+ self.post_attention_layernorm = torch.nn.RMSNorm(4)
218
+
219
+ import copy
220
+ a, b = Layer(), Layer()
221
+ with torch.no_grad():
222
+ a.input_layernorm.weight.fill_(2)
223
+ b.input_layernorm.weight.fill_(4)
224
+ untouched = {n: p.detach().clone() for n, p in a.named_parameters()}
225
+ pair = [copy.deepcopy(a), copy.deepcopy(b)]
226
+ come.merge_attention(pair, [.5, .5], [torch.tensor([0., 1.]), torch.tensor([1., 0.])])
227
+ come.merge_mlp(pair, [.5, .5], [torch.arange(6.), torch.arange(6.).flip(0)])
228
+ come.merge_norms(pair)
229
+ expected = {n: p.detach().clone() for n, p in pair[0].named_parameters()}
230
+ state = {"initializer": "come", "lambda": 1., "fit_full_block": not mlp_only,
231
+ "fit_come_mlp": mlp_only,
232
+ "come_initial": expected, "come_audit": {"self_test": True}}
233
+ cls = install_exact_layer(distill, torch, state)
234
+ layer = cls(a, b, {n: 1. for n in expected}, param_subset="mlp" if mlp_only else "all", additive_u=True)
235
+ merged = layer._merged_params()
236
+ assert len(layer._name_map) == (3 if mlp_only else 9)
237
+ assert all(torch.equal(merged[n], expected[n]) for n in expected)
238
+ assert all(torch.equal(p, untouched[n]) for n, p in a.named_parameters())
239
+ assert bool((merged["input_layernorm.weight"] == 3).all())
240
+ sum(v.sum() for v in merged.values()).backward()
241
+ assert all(torch.equal(u.grad, torch.ones_like(u)) for u in layer.u.values())
242
+ assert state["initialization_audit"]["attention_initialization"] == "CoMe_channel_merge"
243
+ if mlp_only:
244
+ assert not state["initialization_audit"]["norms_trainable"]
245
+ assert len(state["initialization_audit"]["frozen_CoMe_parameters"]) == 6
246
+ with torch.no_grad():
247
+ for u in layer.u.values():
248
+ u.add_(.01)
249
+ layer.materialize_into_layer_a()
250
+ for n, p in a.named_parameters():
251
+ assert torch.equal(p, expected[n] + .01 if n.startswith("mlp.") else expected[n]), n
252
+ print("COME_NATIVE_MERGE_MLP3_U_FROZEN_ATTN_NORMS_OK" if mlp_only else
253
+ "COME_NATIVE_MERGE_9_U_GRADIENTS_NORMS_TEACHER_UNCHANGED_OK", flush=True)
254
+
255
+
256
+ def main():
257
+ parser = argparse.ArgumentParser(allow_abbrev=False)
258
+ parser.add_argument("--external-root", type=Path, required=True)
259
+ parser.add_argument("--initializer", choices=("wa", "wb", "average", "mka", "come"), required=True)
260
+ parser.add_argument("--fixed-anchor", type=int, default=21)
261
+ parser.add_argument("--original-layers", type=int, default=32,
262
+ help="Original decoder depth; defaults preserve the Llama controls")
263
+ parser.add_argument("--audit-root", type=Path, required=True)
264
+ parser.add_argument("--mka-data", type=Path)
265
+ parser.add_argument("--selection-data", type=Path,
266
+ help="Frozen native calibration batches; separate from FiT inputs")
267
+ parser.add_argument("--selection-hash",
268
+ help="Required input_ids SHA256 for frozen selection batches")
269
+ parser.add_argument("--record-fit-runtime", action="store_true")
270
+ parser.add_argument("--mka-samples", type=int, default=100)
271
+ parser.add_argument("--self-test", action="store_true")
272
+ parser.add_argument("--model-id", default="meta-llama/Llama-3.1-8B")
273
+ parser.add_argument("--base-revision", default="d04e592bb4f6aa9cfee91e2e20afa771667e1d4b")
274
+ parser.add_argument("--instruction-data", action="store_true")
275
+ parser.add_argument("--fit-attention", action="store_true",
276
+ help="Train seven projection U tensors; initialize attention from anchor Wa")
277
+ parser.add_argument("--fit-full-block", action="store_true",
278
+ help="CoMe initialization; train all9 block weights including both norms")
279
+ parser.add_argument("--fit-come-mlp", action="store_true",
280
+ help="CoMe initializes all9 weights; fit only3 MLP weights, freeze merged attention/norms")
281
+ parser.add_argument("--fixed-span-merge-only", action="store_true",
282
+ help="Fixed our span, transport ON, replace ONLY3 MLP initial weights with CoMe/MKA")
283
+ parser.add_argument("--come-minimum-retention", type=float, default=.97)
284
+ parser.add_argument("--come-power", type=float, default=1.)
285
+ parser.add_argument("--one-shot", type=int, default=1,
286
+ help="Absorb this many blocks in a single cycle (Wa only).")
287
+ opt, forwarded = parser.parse_known_args()
288
+ if opt.fit_attention:
289
+ assert opt.initializer in ("wa", "wb") and opt.one_shot == 1
290
+ assert (opt.fit_full_block or opt.fit_come_mlp) == (opt.initializer == "come" and not opt.fixed_span_merge_only)
291
+ assert not (opt.fit_full_block and opt.fit_come_mlp)
292
+ if opt.fixed_span_merge_only:
293
+ assert opt.initializer in ("come", "mka") and opt.one_shot == 1
294
+ count = int(forwarded[forwarded.index("--num_progressive") + 1])
295
+ assert opt.original_layers > 1 and 0 <= opt.fixed_anchor < opt.original_layers - 1
296
+ assert 1 <= count <= opt.original_layers - opt.fixed_anchor - 1
297
+ assert int(forwarded[forwarded.index("--layer") + 1]) == opt.fixed_anchor
298
+ assert not (opt.fit_attention or opt.fit_full_block or opt.fit_come_mlp or opt.self_test)
299
+ assert "--source_feature_transport" in forwarded
300
+ for key in ("--reparam_param_subset", "--reparam_train_subset"):
301
+ assert forwarded[forwarded.index(key) + 1] == "mlp"
302
+ elif opt.initializer == "come":
303
+ assert not opt.fit_attention and opt.one_shot == 1
304
+ assert "--source_feature_transport" not in forwarded
305
+ if not opt.self_test:
306
+ subset = "mlp" if opt.fit_come_mlp else "all"
307
+ assert forwarded[forwarded.index("--reparam_param_subset") + 1] == subset
308
+ assert forwarded[forwarded.index("--reparam_train_subset") + 1] == subset
309
+ if opt.one_shot != 1:
310
+ assert opt.initializer == "wa" and opt.one_shot == 8
311
+ assert forwarded[forwarded.index("--num_progressive") + 1] == "1"
312
+ assert forwarded[forwarded.index("--redistrib_teacher_source") + 1] == "base_model"
313
+ assert forwarded[forwarded.index("--reparam_absorb_count") + 1] == "8"
314
+ assert "--source_feature_transport" not in forwarded
315
+ sys.path.insert(0, str(opt.external_root / "src"))
316
+ sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src"))
317
+ import torch
318
+ import fuse_layers as base
319
+ import fuse_layers_distill as distill
320
+ if opt.self_test:
321
+ if opt.initializer == "come":
322
+ come_algebra_test(torch, distill, mlp_only=opt.fit_come_mlp)
323
+ else:
324
+ (attention_algebra_test if opt.fit_attention else algebra_test)(torch, distill)
325
+ return
326
+ if opt.instruction_data:
327
+ assert opt.model_id in ("meta-llama/Llama-3.1-8B-Instruct", "Qwen/Qwen3-8B")
328
+ os.environ["ABPRUNE_EXTERNAL_SRC"] = str(opt.external_root / "src")
329
+ import run_external_abprune_instruct_order as instruction
330
+
331
+ opt.audit_root.mkdir(parents=True, exist_ok=True)
332
+ selection_batches = None
333
+ if opt.selection_data:
334
+ if opt.initializer not in ("come", "mka") or opt.fixed_span_merge_only:
335
+ raise ValueError("Frozen selection inputs require native CoMe or MKA")
336
+ selection_batches = torch.load(opt.selection_data, weights_only=True, map_location="cpu")
337
+ checksum = hashlib.sha256()
338
+ count = 0
339
+ for batch in selection_batches:
340
+ ids, mask = batch["input_ids"], batch["attention_mask"]
341
+ if ids.ndim != 2 or ids.shape != mask.shape or not bool(mask.all()):
342
+ raise ValueError("Frozen native inputs must be unpadded matrices")
343
+ checksum.update(ids.numpy().astype("<i8").tobytes())
344
+ count += ids.shape[0]
345
+ measured = checksum.hexdigest()
346
+ if not opt.selection_hash or measured != opt.selection_hash:
347
+ raise ValueError("Frozen native calibration hash mismatch")
348
+ (opt.audit_root / "selection_inputs.json").write_text(json.dumps({
349
+ "input_ids_sha256": measured, "sequences": count,
350
+ "source": str(opt.selection_data), "independent_of_fit_loader": True,
351
+ }, indent=2) + "\n")
352
+ state = {"initializer": opt.initializer, "fit_attention": opt.fit_attention,
353
+ "fixed_span_merge_only": opt.fixed_span_merge_only,
354
+ "fit_full_block": opt.fit_full_block,
355
+ "fit_come_mlp": opt.fit_come_mlp,
356
+ "lambda": {"wa": 1., "wb": 0., "average": .5, "mka": .5, "come": 1.}[opt.initializer],
357
+ "records": [], "active": list(range(opt.original_layers)),
358
+ "lineage": [[i] for i in range(opt.original_layers)],
359
+ "selection_policy": f"fixed_anchor{opt.fixed_anchor}_remove_original_{opt.fixed_anchor + 1}_{opt.fixed_anchor + 1 + int(forwarded[forwarded.index('--num_progressive') + 1])}"}
360
+ install_exact_layer(distill, torch, state)
361
+
362
+ def no_fisher(*args, **kwargs):
363
+ print("[fit-ablation] Fisher bypassed: non-Fisher initializer", flush=True)
364
+ return ({}, {}), 0, ({}, {})
365
+
366
+ def no_contextual_fisher(**kwargs):
367
+ values = no_fisher()
368
+ return (*values, {"computed": False, "reason": "non-Fisher initializer",
369
+ "anchor_candidate_mean_nll": 0., "transported_source_candidate_mean_nll": 0.})
370
+
371
+ def priors(**kwargs):
372
+ a, b = kwargs["layer_a"], dict(kwargs["layer_b"].named_parameters())
373
+ return {name: state["lambda"] for name, param in a.named_parameters()
374
+ if name in b and param.shape == b[name].shape}
375
+
376
+ base.compute_fisher = no_fisher
377
+ base.compute_same_anchor_contextual_fisher = no_contextual_fisher
378
+ base.compute_fisher_gate_priors = priors
379
+ base.summarize_fisher_gate_prior_inputs = lambda **kw: {
380
+ "computed": False, "initializer": opt.initializer, "prior_mean": state["lambda"]}
381
+ if opt.fixed_span_merge_only:
382
+ original_transport = base.fit_and_apply_source_feature_transport
383
+
384
+ def tracked_transport(**kwargs):
385
+ from fusegpt.fixed_span_merge_init import MLP_NAMES, tensor_hash
386
+ before = {n: tensor_hash(kwargs["layer_b"].get_parameter(n)) for n in MLP_NAMES}
387
+ result = original_transport(**kwargs)
388
+ after = {n: tensor_hash(kwargs["layer_b"].get_parameter(n)) for n in MLP_NAMES}
389
+ state["transport_completed"] = True
390
+ state["transport_operands"] = {"before": before, "after": after,
391
+ "changed": [n for n in MLP_NAMES if before[n] != after[n]]}
392
+ return result
393
+
394
+ base.fit_and_apply_source_feature_transport = tracked_transport
395
+
396
+ original_prepare = base.prepare_all_data
397
+
398
+ def prepare(*args, **kwargs):
399
+ if opt.instruction_data:
400
+ config = args[0]
401
+ assert not config.dataset and config.target_tokens == 0
402
+ assert config.instruction_dataset == "Open-Orca/SlimOrca"
403
+ data = original_prepare(*args, **kwargs)
404
+ fingerprints = {}
405
+ for name in ("calib_loader", "distill_loader"):
406
+ loader = getattr(data, name)
407
+ checksum = hashlib.sha256()
408
+ mask_checksum = hashlib.sha256()
409
+ valid_tokens = 0
410
+ for item in loader.dataset:
411
+ ids = item[0] if isinstance(item, (tuple, list)) else item["input_ids"]
412
+ mask = item[1] if isinstance(item, (tuple, list)) else item["attention_mask"]
413
+ checksum.update(ids.cpu().numpy().astype("<i8").tobytes())
414
+ mask_checksum.update(mask.cpu().numpy().astype("<i8").tobytes())
415
+ valid_tokens += int(mask.sum())
416
+ fingerprints[name] = {"sequences": len(loader.dataset), "sha256": checksum.hexdigest(),
417
+ "attention_mask_sha256": mask_checksum.hexdigest(), "valid_tokens": valid_tokens}
418
+ (opt.audit_root / "data_fingerprints.json").write_text(json.dumps(fingerprints, indent=2) + "\n")
419
+ if opt.fit_attention or opt.initializer == "come" or opt.fixed_span_merge_only:
420
+ size = fingerprints["distill_loader"]["sequences"]
421
+ if opt.model_id == "meta-llama/Llama-3.1-8B" and size == 512:
422
+ assert fingerprints["calib_loader"]["sha256"] == "fa4a6219f7a7b17364eef6b5b7771533b57a407f1d26db1d483bbd955814ce38"
423
+ assert fingerprints["distill_loader"]["sha256"] == "2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0"
424
+ elif opt.model_id == "meta-llama/Llama-3.1-8B-Instruct" and opt.instruction_data and size == 500:
425
+ assert fingerprints["calib_loader"]["sha256"] == "98ff6481a347ebc9444154a51f379c5c71746abe3b417b47186d9f61cbedeeb2"
426
+ assert fingerprints["distill_loader"]["sha256"] == "c75cb58ff76dce06a57127e87633f2fbad04d7d7c9c824e5150c14fd8556cda3"
427
+ assert fingerprints["distill_loader"]["attention_mask_sha256"] == "1e9ccfe6387a9565982ab4ee99f2a3b8c54afebe957ab11ef16e2097c4b8f825"
428
+ elif opt.model_id == "Qwen/Qwen3-8B" and opt.instruction_data:
429
+ assert fingerprints["calib_loader"]["sha256"] == "0d438c8d712c08b428287c97ff2422cc63c99cc0564a27ec53afcae788f042bb"
430
+ assert fingerprints["calib_loader"]["attention_mask_sha256"] == "fdcd61583ffdd02ccfd992f92343facc38a41d794a316746d9b9b7836ebb65b5"
431
+ if size == 500:
432
+ assert fingerprints["distill_loader"]["sha256"] == "b9885f1464a0b145f1c59bc60190bfa73ad388902cbd245e532aa082044a61e7"
433
+ assert fingerprints["distill_loader"]["attention_mask_sha256"] == "f5380885dd835321800a18abd00245d32d60aef9c78ea43a1f16effc26457718"
434
+ print("ATTENTION_FIT_DATA_FINGERPRINTS_CHECKED_BEFORE_TRAINING", flush=True)
435
+ if opt.one_shot > 1 and fingerprints["distill_loader"]["sequences"] == 512:
436
+ assert fingerprints["calib_loader"]["sha256"] == "fa4a6219f7a7b17364eef6b5b7771533b57a407f1d26db1d483bbd955814ce38"
437
+ assert fingerprints["distill_loader"]["sha256"] == "2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0"
438
+ print("ONE_SHOT_DATA_MATCHES_PREVIOUS_PROGRESSIVE", flush=True)
439
+ return data
440
+
441
+ base.prepare_all_data = prepare
442
+ geometry_batches = None
443
+
444
+ def select(args, model, layers, dataloader, cosine_loader, scores, start, excluded):
445
+ nonlocal geometry_batches
446
+ if opt.fixed_span_merge_only:
447
+ from fusegpt.fit_ablation_come import valid_calibration_batches
448
+ index = opt.fixed_anchor
449
+ assert state["active"][index] == opt.fixed_anchor
450
+ assert state["active"][index + 1] == opt.fixed_anchor + 1 + len(state["records"])
451
+ state["transport_completed"] = False
452
+ batches = valid_calibration_batches(dataloader)
453
+ if opt.initializer == "come":
454
+ from fusegpt import come
455
+ measured = come.collect_calibration_scores(model, batches, sbi_metric="angular_last")
456
+ leaves = len(state["lineage"][index]) + len(state["lineage"][index + 1])
457
+ minimum = opt.come_minimum_retention ** (1 / (leaves - 1))
458
+ ratios = come.compute_retention_ratios(
459
+ measured.block_importance[index:index+2], power=opt.come_power, minimum=minimum)
460
+ state["merge_payload"] = {"ratios": ratios,
461
+ "neuron_scores": measured.mlp_neurons[index:index+2]}
462
+ extra = {"minimum_retention": opt.come_minimum_retention,
463
+ "adjusted_minimum": minimum, "power": opt.come_power,
464
+ "retention_ratios": ratios, "block_importance": measured.block_importance[index:index+2]}
465
+ del measured
466
+ else:
467
+ from fusegpt import fit_ablation_mka as mka
468
+ config = mka.GeometryConfig()
469
+ assert len(batches) >= 64, "MKA geometry requires the matched64-record calibration view"
470
+ features = mka.collect_features(model, batches, pooling=config.pooling)
471
+ manifolds = [mka.diffusion_embedding(x, config) for x in features]
472
+ del features
473
+ matrix, entropies = mka.npib_matrix([x[0] for x in manifolds], config)
474
+ state["lambda"] = mka.upstream_lambda(matrix, index, index+1, config.beta)
475
+ state["merge_payload"] = {"lambda_left": state["lambda"]}
476
+ extra = {"npib_matrix": matrix.tolist(), "entropies": entropies,
477
+ "row_means": matrix.mean(1).tolist(), "geometry_samples": len(batches),
478
+ "geometry_sequence_length": int(batches[0]["input_ids"].shape[1])}
479
+ del manifolds, matrix
480
+ extra.update({"selection_policy": f"fixed_anchor{opt.fixed_anchor}", "source_lineage":
481
+ [state["lineage"][index][:], state["lineage"][index+1][:]],
482
+ "score_data": "same_calib_loader_as_transport", "data_seed": 42,
483
+ "mka_mi_seed": 0 if opt.initializer == "mka" else None,
484
+ "initializer_weights_after_transport": True})
485
+ del batches
486
+ elif opt.initializer == "come":
487
+ from fusegpt.fit_ablation_come import select_and_initialize
488
+ index, initial, extra = select_and_initialize(
489
+ model, selection_batches if selection_batches is not None else dataloader, state["lineage"],
490
+ minimum=opt.come_minimum_retention, power=opt.come_power)
491
+ state["come_initial"] = initial
492
+ state["come_audit"] = extra
493
+ elif opt.initializer == "mka":
494
+ from fusegpt import fit_ablation_mka as mka
495
+ if geometry_batches is None:
496
+ if selection_batches is not None:
497
+ geometry_batches = selection_batches
498
+ elif opt.mka_data and opt.mka_data.is_file():
499
+ geometry_batches = torch.load(opt.mka_data, weights_only=True)
500
+ else:
501
+ from transformers import AutoTokenizer
502
+ tokenizer = AutoTokenizer.from_pretrained(args.model)
503
+ if opt.instruction_data:
504
+ import copy
505
+ geometry_args = copy.copy(args)
506
+ geometry_args.seed = 0
507
+ records = instruction.load_slimorca_records(geometry_args, opt.mka_samples,
508
+ "ABPRUNE_MKA_DATA_INDICES_FILE")
509
+ dataset = base.FixedSeqDataset(records, tokenizer, 512)
510
+ geometry_batches = [{"input_ids": ids[None, :], "attention_mask": mask[None, :]}
511
+ for ids, mask in dataset]
512
+ assert len(geometry_batches) == opt.mka_samples
513
+ checksum = hashlib.sha256()
514
+ for batch in geometry_batches:
515
+ checksum.update(batch["input_ids"].numpy().astype("<i8").tobytes())
516
+ metadata = {"dataset": "Open-Orca/SlimOrca", "revision": os.environ["ABPRUNE_DATASET_REVISION"],
517
+ "samples": len(records), "sequence_length": 512, "seed": 0,
518
+ "format": "first user-assistant turn; model chat template; right padding masked",
519
+ "input_ids_sha256": checksum.hexdigest()}
520
+ else:
521
+ geometry_batches, metadata = mka.sample_slimpajama(
522
+ tokenizer, samples=opt.mka_samples, sequence_length=512, seed=0)
523
+ if opt.mka_data:
524
+ opt.mka_data.parent.mkdir(parents=True, exist_ok=True)
525
+ torch.save(geometry_batches, opt.mka_data)
526
+ opt.mka_data.with_suffix(".json").write_text(json.dumps(metadata, indent=2) + "\n")
527
+ config = mka.GeometryConfig()
528
+ print(f"[fit-ablation] MKA geometry: {len(layers)} layers", flush=True)
529
+ features = mka.collect_features(model, geometry_batches)
530
+ manifold = [mka.diffusion_embedding(x, config) for x in features]
531
+ del features
532
+ matrix, entropies = mka.npib_matrix([x[0] for x in manifold], config)
533
+ index = mka.select_pair(matrix)
534
+ state["lambda"] = mka.upstream_lambda(matrix, index, index + 1, config.beta)
535
+ extra = {"npib_matrix": matrix.tolist(), "entropies": entropies,
536
+ "pair_npib": float(matrix[index, index+1]),
537
+ "source_lineage": [state["lineage"][index][:], state["lineage"][index+1][:]]}
538
+ else:
539
+ index, extra = opt.fixed_anchor, {}
540
+ assert len(layers) == len(state["active"])
541
+ record = {"cycle": len(state["records"]) + 1, "pair_index": index,
542
+ "initializer": opt.initializer,
543
+ "lambda_left": None if opt.initializer == "come" else state["lambda"],
544
+ "recipient_original_layer": state["active"][index], "recipient_side": "left",
545
+ "removed_original_layer": state["active"][index+1], **extra}
546
+ state["records"].append(record)
547
+ record["removed_original_layers"] = state["active"][index+1:index+1+opt.one_shot]
548
+ for _ in range(opt.one_shot):
549
+ state["active"].pop(index+1)
550
+ state["lineage"][index] += state["lineage"].pop(index+1)
551
+ record["active_original_layers"] = state["active"][:]
552
+ (opt.audit_root / "selection.json").write_text(json.dumps(state["records"], indent=2) + "\n")
553
+ print("[fit-ablation] selection " + json.dumps({k:v for k,v in record.items() if k != "npib_matrix"}), flush=True)
554
+ return index, None, {"method": opt.initializer, "fisher_computed": False}
555
+
556
+ base.resolve_layer_idx = select
557
+ original_fit = base.distill_reparam_merge
558
+
559
+ def fit(**kwargs):
560
+ if opt.fixed_span_merge_only:
561
+ from fusegpt.fixed_span_merge_init import frozen_hashes
562
+ anchor_layer = kwargs["student_layers"][kwargs["layer_idx"]]
563
+ frozen_before = frozen_hashes(anchor_layer)
564
+ if opt.one_shot > 1:
565
+ assert len(kwargs["teacher_layers"]) == 32
566
+ assert len(kwargs["student_layers"]) == 32
567
+ assert kwargs["layer_idx"] == 21 and kwargs["absorb_count"] == 8
568
+ print("ONE_SHOT_FIXED_DENSE_TEACHER_BOUNDARY=29 STUDENT_BOUNDARY=21 DROP=22:30", flush=True)
569
+ if opt.record_fit_runtime:
570
+ forward_shapes = {}
571
+ hooks = []
572
+ def trace_forward(label):
573
+ def capture(module, positional, named):
574
+ ids = named.get("input_ids")
575
+ if ids is None and positional:
576
+ ids = positional[0]
577
+ if torch.is_tensor(ids):
578
+ key = label + ":" + "x".join(str(v) for v in ids.shape)
579
+ forward_shapes[key] = forward_shapes.get(key, 0) + 1
580
+ return capture
581
+ for label in ("student", "teacher"):
582
+ hooks.append(kwargs[label + "_model"].register_forward_pre_hook(
583
+ trace_forward(label), with_kwargs=True))
584
+ torch.cuda.synchronize()
585
+ torch.cuda.reset_peak_memory_stats()
586
+ fit_started = time.perf_counter()
587
+ try:
588
+ merged, gates, stats = original_fit(**kwargs)
589
+ finally:
590
+ if opt.record_fit_runtime:
591
+ for hook in hooks:
592
+ hook.remove()
593
+ if opt.record_fit_runtime:
594
+ torch.cuda.synchronize()
595
+ elapsed = time.perf_counter() - fit_started
596
+ loader = kwargs["dataloader"]
597
+ tokens = sum(int(item[1].sum()) for item in loader.dataset)
598
+ stats["runtime"] = {
599
+ "seconds": elapsed, "dataset_tokens": tokens,
600
+ "tokens_per_second": tokens * float(kwargs["args"].distill_epochs) / elapsed,
601
+ "batch_size": int(kwargs["args"].distill_batch_size),
602
+ "batches_per_epoch": len(loader),
603
+ "grad_accumulation": int(kwargs["args"].distill_grad_accum_steps),
604
+ "peak_allocated_bytes": torch.cuda.max_memory_allocated(),
605
+ "peak_reserved_bytes": torch.cuda.max_memory_reserved(),
606
+ "gpu_total_bytes": torch.cuda.get_device_properties(0).total_memory,
607
+ "actual_forward_shapes": forward_shapes,
608
+ }
609
+ if opt.fixed_span_merge_only:
610
+ frozen_after = frozen_hashes(anchor_layer)
611
+ assert frozen_after == frozen_before, "Attention/norm changed during MLP-only FiT"
612
+ audit = state["initialization_audit"]["merge_rule_audit"]
613
+ assert audit["transported_source_mlp_sha256"] == state["transport_operands"]["after"]
614
+ state["initialization_audit"].update({"frozen_attention_norm_unchanged": True,
615
+ "transport_operands": state["transport_operands"]})
616
+ stats["ablation"] = {**state["initialization_audit"],
617
+ "source_feature_transport": bool(kwargs["args"].source_feature_transport),
618
+ "initializer": opt.initializer,
619
+ "removed_count_per_cycle": opt.one_shot,
620
+ "teacher_boundary_current_layer": kwargs["layer_idx"] + opt.one_shot,
621
+ "teacher_boundary_original_layer": state["records"][-1]["removed_original_layers"][-1]}
622
+ (opt.audit_root / f"cycle_{kwargs['progressive_cycle']:02d}_fit.json").write_text(
623
+ json.dumps(stats, indent=2) + "\n")
624
+ return merged, gates, stats
625
+
626
+ base.distill_reparam_merge = fit
627
+ sys.argv = [sys.argv[0], *forwarded]
628
+ base.main()
629
+ # Correct legacy Fisher-specific labels and add reconstructible topology.
630
+ output = Path(forwarded[forwarded.index("--output_dir") + 1])
631
+ for record in state["records"]:
632
+ path = output / f"cycle_{record['cycle']}" / "cycle_metadata.json"
633
+ data = json.loads(path.read_text())
634
+ data.update({k: record[k] for k in ("recipient_original_layer", "removed_original_layer", "recipient_side", "active_original_layers")})
635
+ data["fisher_computed"] = False
636
+ data["merge_initializer"] = opt.initializer
637
+ data["fixed_span_merge_only"] = opt.fixed_span_merge_only
638
+ data["removed_original_layers"] = record["removed_original_layers"]
639
+ data["same_anchor_contextual_fisher"] = {"computed": False}
640
+ if data.get("source_feature_transport"):
641
+ data["source_feature_transport"]["fisher_order"] = "source transport; non-Fisher initialization; additive-U FiT"
642
+ reparam = data.get("distill", {}).get("reparam_stats")
643
+ if reparam:
644
+ reparam["lambda_init"] = opt.initializer
645
+ path.write_text(json.dumps(data, indent=2) + "\n")
646
+ if opt.one_shot > 1:
647
+ import subprocess
648
+ subprocess.run([sys.executable, str(Path(__file__).with_name("package_qwen3_1_7b_one_shot_compact.py")),
649
+ "--run-root", str(output), "--output-root", str(opt.audit_root.parent / "compact"),
650
+ "--model", opt.model_id, "--base-revision", opt.base_revision,
651
+ "--run-id", "llama31_base_wa_oneshot_8block", "--anchor", str(opt.fixed_anchor),
652
+ "--removed-count", str(opt.one_shot)], check=True)
653
+ else:
654
+ from fusegpt.abprune_compact import package
655
+ package(argparse.Namespace(run_root=output, output_root=opt.audit_root.parent / "compact",
656
+ model=opt.model_id, base_revision=opt.base_revision,
657
+ run_id=f"{opt.model_id.split('/')[-1].lower().replace('-', '_')}_fit_{opt.initializer}_{'fixed_span_transport_mlp_' if opt.fixed_span_merge_only else ('full_block_' if opt.fit_full_block else ('attn_mlp_' if opt.fit_attention else ''))}{len(state['records'])}block", cycles=len(state["records"]),
658
+ start_cycle=1, layer_order=" ".join(str(r["pair_index"]) for r in state["records"])))
659
+ (opt.audit_root.parent / "TRAIN_COMPLETE").touch()
660
+
661
+
662
+ if __name__ == "__main__":
663
+ main()
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/code/validate_native_come_replay.py ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Check restored native CoMe calibration against its historical merge trace."""
2
+ import argparse
3
+ from dataclasses import asdict
4
+ import json
5
+ from pathlib import Path
6
+ import urllib.request
7
+
8
+ import torch
9
+ from transformers import AutoModelForCausalLM
10
+ from fusegpt import come
11
+
12
+ p = argparse.ArgumentParser()
13
+ p.add_argument("--model", required=True)
14
+ p.add_argument("--selection", type=Path, required=True)
15
+ p.add_argument("--output", type=Path, required=True)
16
+ a = p.parse_args()
17
+ reference_url = ("https://huggingface.co/LJYAI/paper_revision/resolve/"
18
+ "d74c1f84be13a3ab3233a5a08d7970f02d211f5a/"
19
+ "runs/vast-paper_revision-come-llama31-8b-54114105/"
20
+ "20261004-come-llama31-8b-8block-allowrepeat/come_pruning.json")
21
+ reference = json.load(urllib.request.urlopen(reference_url, timeout=60))
22
+ model = AutoModelForCausalLM.from_pretrained(a.model, torch_dtype=torch.bfloat16,
23
+ device_map="cuda:0", attn_implementation="sdpa",
24
+ local_files_only=True)
25
+ model.eval()
26
+ batches = torch.load(a.selection, weights_only=True, map_location="cpu")
27
+ records = [asdict(r) for r in come.progressive_prune(
28
+ model, batches, target_layers=24, power=1., minimum_retention=.97,
29
+ allow_repeat=True, sbi_metric="angular_last")]
30
+ checks = []
31
+ for actual, old in zip(records, reference["merges"]):
32
+ discrete = all(actual[k] == old[k] for k in
33
+ ("source_layers", "retained_attention_groups", "retained_mlp_neurons"))
34
+ error = abs(actual["pair_score"] - old["pair_score"])
35
+ checks.append({"step": actual["step"], "discrete_merge_match": discrete,
36
+ "pair_score_absolute_error": error})
37
+ result = {"reference": reference_url, "records": records, "checks": checks,
38
+ "passed": len(checks) == 8 and all(c["discrete_merge_match"] and
39
+ c["pair_score_absolute_error"] < .002 for c in checks),
40
+ "scope": "Merge trace and scoring agreement; historical input hash was not saved"}
41
+ a.output.parent.mkdir(parents=True, exist_ok=True)
42
+ a.output.write_text(json.dumps(result, indent=2) + "\n")
43
+ if not result["passed"]:
44
+ raise ValueError("Historical native CoMe replay differs; production must not start")
45
+ print("EIGHT_STAGE_NATIVE_COME_REPLAY_VERIFIED", checks, flush=True)
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/comparison.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ method,fit_batch,bench12_pct,mmlu_pct,cmmlu_pct,ppl,training_wall_seconds,new_run,source,hf_revision
2
+ CoMe,,55.1597298504693,55.8182595071927,40.86513555517182,22.769869082395516,,False,llama31_base_come_allowrepeat_8block,
3
+ ABPrune without FiT,,51.455659033826976,34.261501210653755,28.829217751683643,31.988051928028295,,False,llama31_base_nofit_transport_bench14_20261009/on,
4
+ ABPrune + FiT,1,56.93100685265902,37.4661729098419,36.57399412882059,17.896455416608784,,False,llama31_base_transport_8block,
5
+ CoMe + MLP FiT,1,56.03341033262276,59.74220196553197,44.43964772923502,19.21783208596286,1981.2216973304749,True,batch1,e762aaea126165ec54d02c4045ad803fee0115ee
6
+ CoMe + MLP FiT,8,56.14634439798502,57.17134311351659,45.74339492315662,18.171799138402875,1406.9505376815796,True,batch_large,f407a63af421945571461a5fef809ee1b40c974b
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/comparison.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "rows": [
3
+ {
4
+ "method": "CoMe",
5
+ "fit_batch": null,
6
+ "bench12": 0.551597298504693,
7
+ "mmlu": 0.558182595071927,
8
+ "cmmlu": 0.40865135555171817,
9
+ "ppl": 22.769869082395516,
10
+ "source": "llama31_base_come_allowrepeat_8block",
11
+ "new_run": false
12
+ },
13
+ {
14
+ "method": "ABPrune without FiT",
15
+ "fit_batch": null,
16
+ "bench12": 0.5145565903382697,
17
+ "mmlu": 0.34261501210653755,
18
+ "cmmlu": 0.28829217751683645,
19
+ "ppl": 31.988051928028295,
20
+ "source": "llama31_base_nofit_transport_bench14_20261009/on",
21
+ "new_run": false
22
+ },
23
+ {
24
+ "method": "ABPrune + FiT",
25
+ "fit_batch": 1,
26
+ "bench12": 0.5693100685265902,
27
+ "mmlu": 0.37466172909841905,
28
+ "cmmlu": 0.36573994128820586,
29
+ "ppl": 17.896455416608784,
30
+ "source": "llama31_base_transport_8block",
31
+ "new_run": false
32
+ },
33
+ {
34
+ "method": "CoMe + MLP FiT",
35
+ "fit_batch": 1,
36
+ "bench12": 0.5603341033262276,
37
+ "mmlu": 0.5974220196553197,
38
+ "cmmlu": 0.4443964772923502,
39
+ "ppl": 19.21783208596286,
40
+ "training_wall_seconds": 1981.2216973304749,
41
+ "source": "batch1",
42
+ "new_run": true,
43
+ "hf_path": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch1",
44
+ "hf_revision": "e762aaea126165ec54d02c4045ad803fee0115ee"
45
+ },
46
+ {
47
+ "method": "CoMe + MLP FiT",
48
+ "fit_batch": 8,
49
+ "bench12": 0.5614634439798502,
50
+ "mmlu": 0.5717134311351659,
51
+ "cmmlu": 0.4574339492315662,
52
+ "ppl": 18.171799138402875,
53
+ "training_wall_seconds": 1406.9505376815796,
54
+ "source": "batch_large",
55
+ "new_run": true,
56
+ "hf_path": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch_large",
57
+ "hf_revision": "f407a63af421945571461a5fef809ee1b40c974b"
58
+ }
59
+ ],
60
+ "accuracy_scale": "fraction",
61
+ "model": "Llama-3.1-8B Base",
62
+ "removed_blocks": 8,
63
+ "reference_rows": "Historical results, not fresh benchmark reruns"
64
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/manifest.json ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema": "sha256-tree-v1",
3
+ "files": [
4
+ {
5
+ "path": "README.md",
6
+ "size": 800,
7
+ "sha256": "cfcff68dd844633a757a57d4ce602eb161a8824e90a286e467bb3e70df19b11e"
8
+ },
9
+ {
10
+ "path": "backup_audit.json",
11
+ "size": 1265,
12
+ "sha256": "d9b05ff8bbd49bb9ac695db8ded04a7538b455c2d27291469485b8ce6217189a"
13
+ },
14
+ {
15
+ "path": "code/bootstrap_come_batch_comparison.sh",
16
+ "size": 2779,
17
+ "sha256": "d7f4fa21a815ac57fe9cfdd4b3ae8bc857ed732edd201bc235b5e9b640b78f30"
18
+ },
19
+ {
20
+ "path": "code/collect_come_batch_comparison.py",
21
+ "size": 3232,
22
+ "sha256": "3cfc552e5578fcacacdfd0957acb109afe925ae2e9cdbbf78600766fd95392d8"
23
+ },
24
+ {
25
+ "path": "code/finalize_come_batch_report.py",
26
+ "size": 7381,
27
+ "sha256": "c618c08750bf8ac260c404f3d155ea4d982abd88410deff1ea6d3ee34e720541"
28
+ },
29
+ {
30
+ "path": "code/inspect_come_batch_run.py",
31
+ "size": 1538,
32
+ "sha256": "5397f6f4e3cc5763348f56ba4fff7b96b57a3939967e5bb29a8134306bf6fe2b"
33
+ },
34
+ {
35
+ "path": "code/launch_come_batch_comparison.py",
36
+ "size": 11202,
37
+ "sha256": "748494eca06669afe0940507df4050c5b25434b0b2868d318024ea05a4d64385"
38
+ },
39
+ {
40
+ "path": "code/monitor_come_batch_local.ps1",
41
+ "size": 1125,
42
+ "sha256": "e5aacfe2c3e4e477f447bc183d171165b8ddb5494e22afbbd33e17dde4ed9949"
43
+ },
44
+ {
45
+ "path": "code/prepare_come_batch_calibration.py",
46
+ "size": 2339,
47
+ "sha256": "f6f07a369fb83f86add9b2594beed6823428d68db0d56e2373c75911093f41ad"
48
+ },
49
+ {
50
+ "path": "code/run_come_batch_arm.sh",
51
+ "size": 2234,
52
+ "sha256": "7447cde1a8d1fd9f6d04fedd14dc4a2fee57016cb54a919085411375054c131c"
53
+ },
54
+ {
55
+ "path": "code/run_llama31_base_fit_ablation.py",
56
+ "size": 39630,
57
+ "sha256": "33146146e1dd4bd27977b1b3f1a3d1f8a09d4e12549ffe51e26fbe982eb0f0e2"
58
+ },
59
+ {
60
+ "path": "code/validate_native_come_replay.py",
61
+ "size": 2342,
62
+ "sha256": "639296537e990f5ad097773a7ed259ae188fbb63a74c606d29bb96dd6c3def56"
63
+ },
64
+ {
65
+ "path": "comparison.csv",
66
+ "size": 834,
67
+ "sha256": "eb44d47e5d0eae0d0d4d074d553048b6624362535e6d041cc2ae3a1e4e9cc924"
68
+ },
69
+ {
70
+ "path": "comparison.json",
71
+ "size": 2032,
72
+ "sha256": "2184025cfa25924065280798a721f76a085f3e8ee2dcb4531632938803bfba53"
73
+ },
74
+ {
75
+ "path": "project_commit.txt",
76
+ "size": 41,
77
+ "sha256": "d5a0b2a3696a97d472357f7085bfa3e6083dac0ccd2855b7cff5a9a063b7d987"
78
+ },
79
+ {
80
+ "path": "report_ko.md",
81
+ "size": 11554,
82
+ "sha256": "9ceec4f585b1c65b3e25779848ddcccbfc8b146ff257d60ad783bb13545e033a"
83
+ },
84
+ {
85
+ "path": "results/llama31_come_batch_20261126/backup_audit.json",
86
+ "size": 1265,
87
+ "sha256": "d9b05ff8bbd49bb9ac695db8ded04a7538b455c2d27291469485b8ce6217189a"
88
+ },
89
+ {
90
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_01_fit.json",
91
+ "size": 6897,
92
+ "sha256": "6994448886f7b4a2435294e645662e1dc3c7c19ff17afe9fbdecd96ab4b4330e"
93
+ },
94
+ {
95
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_02_fit.json",
96
+ "size": 6892,
97
+ "sha256": "107f38dfe1f7f229ca468f44861a4e6987d92c1caea7575bbcf4171126cbd921"
98
+ },
99
+ {
100
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_03_fit.json",
101
+ "size": 6943,
102
+ "sha256": "ae739f766c38bc9d8d6c25147da57303ed48fe4d5af9f7222b25803386c40ec8"
103
+ },
104
+ {
105
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_04_fit.json",
106
+ "size": 6954,
107
+ "sha256": "f100ea076fc934c0b20e9b24aa670da29e972b9222fc73aae3ce8ee61d0b88a2"
108
+ },
109
+ {
110
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_05_fit.json",
111
+ "size": 6895,
112
+ "sha256": "6523c7d763310bd981cc862fe32e549f7e8db1464ae6fc4ac741a2667891c03e"
113
+ },
114
+ {
115
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_06_fit.json",
116
+ "size": 6890,
117
+ "sha256": "98f3591cb43176cc86431c0ae95421b5ceb429bea4f7314664121c3cff8dd9d8"
118
+ },
119
+ {
120
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_07_fit.json",
121
+ "size": 6942,
122
+ "sha256": "43e4fcbc6d36e246266559c99b7cfd3ccbe027e69f93a68af0f77e0fe9d21477"
123
+ },
124
+ {
125
+ "path": "results/llama31_come_batch_20261126/batch1/audit/cycle_08_fit.json",
126
+ "size": 6937,
127
+ "sha256": "86709fe7b0ba1dd4bb79955b344adcf1f3c82060296acc7945e0edeb8f04ebf9"
128
+ },
129
+ {
130
+ "path": "results/llama31_come_batch_20261126/batch1/audit/data_fingerprints.json",
131
+ "size": 509,
132
+ "sha256": "0a3902dc3badda0d88f08e0b1bbaa24c9257efabf1170fa2704d006da446d9ce"
133
+ },
134
+ {
135
+ "path": "results/llama31_come_batch_20261126/batch1/audit/selection.json",
136
+ "size": 9235,
137
+ "sha256": "6bbb51358a1de777072ea7fb55b3ebeb6485312d66e2610a4393da4d289e5b44"
138
+ },
139
+ {
140
+ "path": "results/llama31_come_batch_20261126/batch1/audit/selection_inputs.json",
141
+ "size": 224,
142
+ "sha256": "b68383745233687f6e5486103a0334b27e1b92617bb27dff15dbfd9ee3f969e2"
143
+ },
144
+ {
145
+ "path": "results/llama31_come_batch_20261126/batch1/compact_metadata.json",
146
+ "size": 1801,
147
+ "sha256": "bb4e140a0603409eb662b2255e26130132947702fc73e598be5e1dcbf91e7c82"
148
+ },
149
+ {
150
+ "path": "results/llama31_come_batch_20261126/batch1/execution_commit.txt",
151
+ "size": 41,
152
+ "sha256": "ace2a81cceafb89fb335882f49d2bbad245f56f4807dd005e57cb7925aad878c"
153
+ },
154
+ {
155
+ "path": "results/llama31_come_batch_20261126/batch1/final_14bench.json",
156
+ "size": 883,
157
+ "sha256": "4e968993f7e89417aa450c8efde349df3384c6ad3ed4f6df98a796b776537a93"
158
+ },
159
+ {
160
+ "path": "results/llama31_come_batch_20261126/batch1/final_lmeval9.json",
161
+ "size": 42740,
162
+ "sha256": "9b11839b57ce093dc9995d2df4451bed2a02356178ef4a48d9331319beda182b"
163
+ },
164
+ {
165
+ "path": "results/llama31_come_batch_20261126/batch1/final_opencompass5.json",
166
+ "size": 1105,
167
+ "sha256": "e3864ebfad363dc44df08d8322b08faa85feadae0cd53fadaa290d7a876d8673"
168
+ },
169
+ {
170
+ "path": "results/llama31_come_batch_20261126/batch1/final_ppl.json",
171
+ "size": 1237,
172
+ "sha256": "64456c1afc4837514b2f00648a2aa2c7fdd4e397eb7b6fed3301b14dd9f99528"
173
+ },
174
+ {
175
+ "path": "results/llama31_come_batch_20261126/batch1/training_elapsed.json",
176
+ "size": 84,
177
+ "sha256": "3f92c8012bd081ce460816c6854f6e17d228caec17dc425a0b109f3666fd507e"
178
+ },
179
+ {
180
+ "path": "results/llama31_come_batch_20261126/batch1_backup.json",
181
+ "size": 403,
182
+ "sha256": "53e2977331ca7865a82eb7ce6ce867a63b18e22601b64a3e2b57b8873e59c4b1"
183
+ },
184
+ {
185
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_01_fit.json",
186
+ "size": 6903,
187
+ "sha256": "796bf7e87c401dfd06cd3b3af2cd2012d6a29da5548c6d52216dd6d46576c189"
188
+ },
189
+ {
190
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_02_fit.json",
191
+ "size": 6906,
192
+ "sha256": "c6087877e61f40ddf8fc12940c055bd53a75e93574bbd4bb2a6edd055c1ba55c"
193
+ },
194
+ {
195
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_03_fit.json",
196
+ "size": 6942,
197
+ "sha256": "2653fab6daa3b1830c4289e7835ddc1b43e80e5a16e70bd54839c5fdb10838d8"
198
+ },
199
+ {
200
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_04_fit.json",
201
+ "size": 6905,
202
+ "sha256": "6884502d51ed9252857f0317119e25a44ad8db6f568d65451392a0d76b7f7f6f"
203
+ },
204
+ {
205
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_05_fit.json",
206
+ "size": 6898,
207
+ "sha256": "6fce7d62dfa4da52f80645249606fbae738718135d8aa1ea57d982b1785272c0"
208
+ },
209
+ {
210
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_06_fit.json",
211
+ "size": 6946,
212
+ "sha256": "d22383453115f1e595b7403a202216aeb5b55e1d251efc2d154c82ac9701d8d3"
213
+ },
214
+ {
215
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_07_fit.json",
216
+ "size": 6976,
217
+ "sha256": "8ce3a11e7a9e991e2010df3acf1ba25d92d69114b2b6c90d561ad011276bd08c"
218
+ },
219
+ {
220
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/cycle_08_fit.json",
221
+ "size": 6904,
222
+ "sha256": "139aa38d5a1bf0aa3b47f469a4a7a73817d42d67b8df8c609974dceb8106047b"
223
+ },
224
+ {
225
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/data_fingerprints.json",
226
+ "size": 509,
227
+ "sha256": "0a3902dc3badda0d88f08e0b1bbaa24c9257efabf1170fa2704d006da446d9ce"
228
+ },
229
+ {
230
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/selection.json",
231
+ "size": 9208,
232
+ "sha256": "ced3dbedd1c32d1d515949761d2baed029a93a34a395d7fb422a67e9d9895074"
233
+ },
234
+ {
235
+ "path": "results/llama31_come_batch_20261126/batch_large/audit/selection_inputs.json",
236
+ "size": 224,
237
+ "sha256": "b68383745233687f6e5486103a0334b27e1b92617bb27dff15dbfd9ee3f969e2"
238
+ },
239
+ {
240
+ "path": "results/llama31_come_batch_20261126/batch_large/compact_metadata.json",
241
+ "size": 1801,
242
+ "sha256": "82cc9ae762985f06d4bfa8e51a0a903020a6dec1c62415986d8b6bfc33a3edfc"
243
+ },
244
+ {
245
+ "path": "results/llama31_come_batch_20261126/batch_large/execution_commit.txt",
246
+ "size": 41,
247
+ "sha256": "ace2a81cceafb89fb335882f49d2bbad245f56f4807dd005e57cb7925aad878c"
248
+ },
249
+ {
250
+ "path": "results/llama31_come_batch_20261126/batch_large/final_14bench.json",
251
+ "size": 884,
252
+ "sha256": "32faa4efd075db12ce68715ea0f8f6ec5d7ac361db08e99197ebd4bd68eb81b3"
253
+ },
254
+ {
255
+ "path": "results/llama31_come_batch_20261126/batch_large/final_lmeval9.json",
256
+ "size": 42797,
257
+ "sha256": "54bd0fed5b232fb399a2ffe209a861c80ada040b77eb7bd58fc34e5157146ba5"
258
+ },
259
+ {
260
+ "path": "results/llama31_come_batch_20261126/batch_large/final_opencompass5.json",
261
+ "size": 1109,
262
+ "sha256": "74b74d1269d96c1d4e99459deeed52a307950b16224759fcca257a9bad57bcbf"
263
+ },
264
+ {
265
+ "path": "results/llama31_come_batch_20261126/batch_large/final_ppl.json",
266
+ "size": 1244,
267
+ "sha256": "5cacc51e3d914924be0467e4ebafe46f05a09af004da611dbfcbe6612a87e89e"
268
+ },
269
+ {
270
+ "path": "results/llama31_come_batch_20261126/batch_large/training_elapsed.json",
271
+ "size": 84,
272
+ "sha256": "f4c87cde204ae92bf59a008784a98b3914870666ca9081c13e28d490c44afa30"
273
+ },
274
+ {
275
+ "path": "results/llama31_come_batch_20261126/batch_large_backup.json",
276
+ "size": 408,
277
+ "sha256": "e32e7f4c813fd290b4b8ebf8e2917b352d2486064883f3aa20f9d4cc68f536da"
278
+ },
279
+ {
280
+ "path": "results/llama31_come_batch_20261126/batch_profile.json",
281
+ "size": 2313,
282
+ "sha256": "41c92cece75f9c57f9c3a3dcb58c8fbce2db329584c143bb061fd9afcdc2d423"
283
+ },
284
+ {
285
+ "path": "results/llama31_come_batch_20261126/comparison.csv",
286
+ "size": 834,
287
+ "sha256": "eb44d47e5d0eae0d0d4d074d553048b6624362535e6d041cc2ae3a1e4e9cc924"
288
+ },
289
+ {
290
+ "path": "results/llama31_come_batch_20261126/comparison.json",
291
+ "size": 2032,
292
+ "sha256": "2184025cfa25924065280798a721f76a085f3e8ee2dcb4531632938803bfba53"
293
+ },
294
+ {
295
+ "path": "results/llama31_come_batch_20261126/final_status.json",
296
+ "size": 550,
297
+ "sha256": "3df3d1e761180f12cc6a6934a772386250248218b4602935114c97a1e7729226"
298
+ },
299
+ {
300
+ "path": "results/llama31_come_batch_20261126/native_replay.json",
301
+ "size": 4596,
302
+ "sha256": "05c7a8a0862acee6782c9f1383575a098c28b42fdb5326162c60533061ba6ce4"
303
+ },
304
+ {
305
+ "path": "results/llama31_come_batch_20261126/selection_provenance.json",
306
+ "size": 18982,
307
+ "sha256": "3a883c340d595e34a8339f368da9160a636aaaf2d9e3c87aa74c3bac3da11720"
308
+ },
309
+ {
310
+ "path": "results/llama31_come_batch_20261126/summary.json",
311
+ "size": 177199,
312
+ "sha256": "e7dc99adf416d617df86e2cc4847b1a7a5fb99da7d2745fbfce0a1a277641fb8"
313
+ },
314
+ {
315
+ "path": "summary.json",
316
+ "size": 177199,
317
+ "sha256": "e7dc99adf416d617df86e2cc4847b1a7a5fb99da7d2745fbfce0a1a277641fb8"
318
+ }
319
+ ],
320
+ "total_files": 63,
321
+ "total_bytes": 702599
322
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/project_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 3795dd1932615d850010d0bf9216ea1a440242e8
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/report_ko.md ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Llama-3.1-8B Base CoMe MLP-only FiT batch comparison
2
+
3
+ ## 최종 결과 요약
4
+
5
+ Llama-3.1-8B **Base, 8블록 제거(25%)**. 이번 신규 실험은 CoMe의
6
+ MLP-only FiT batch 1과 8 두 개다. Bench12는 MMLU·CMMLU를 제외한
7
+ 12개 task의 동일 가중 평균이다. 정확도는 %, PPL은 낮을수록 좋다.
8
+
9
+ | 방법 | Bench12 | MMLU | CMMLU | PPL | pruning·학습 시간 |
10
+ | --- | ---: | ---: | ---: | ---: | ---: |
11
+ | CoMe, FiT 없음 — 기존 결과 | 55.16 | 55.82 | 40.87 | 22.77 | — |
12
+ | ABPrune, FiT 없음 — 기존 결과 | 51.46 | 34.26 | 28.83 | 31.99 | — |
13
+ | ABPrune + FiT — 기존 결과 | 56.93 | 37.47 | 36.57 | 17.90 | — |
14
+ | **CoMe + FiT, batch 1 — 신규** | **56.03** | **59.74** | **44.44** | **19.22** | **33분 1초** |
15
+ | **CoMe + FiT, batch 8 — 신규** | **56.15** | **57.17** | **45.74** | **18.17** | **23분 27초** |
16
+
17
+ 두 신규 실험은 calibration 91×2048와 FiT 학습 512×1024의 토큰·마스크를
18
+ 동일하게 고정했다. 기존 CoMe의 8단계 병합 대상·유지 채널 수·pair score도
19
+ 모두 동일하게 재현했다. MLP의 gate/up/down만 학습하고 attention·norm은
20
+ 병합 초기화 후 고정했다. LR·loss·epoch는 같고, 단계당 업데이트는
21
+ batch 1이 512회, batch 8이 64회다. 4단계부터 병합 경로도 달라졌다.
22
+
23
+ Batch 8은 전체 pruning·학습을 **9분 34초(약 29%)** 단축했다. Bench12는
24
+ batch 1보다 **0.11%p** 높고, MMLU는 **2.57%p** 낮으며, CMMLU는
25
+ **1.30%p** 높다. 모든 정확도에서 더 좋은 batch라는 결론은 아니다.
26
+
27
+ 리뷰의 동일 FiT 레시피 비교에는 batch 1을 사용한다. CoMe는 FiT 적용으로
28
+ Bench12가 **55.16→56.03(+0.87%p)**가 됐다. 기존 ABPrune+FiT의
29
+ 56.93보다 **0.90%p** 낮지만, MMLU·CMMLU에서는 CoMe+FiT가 높다.
30
+ 이는 두 전체 방법의 비교이며 병합 식 하나만의 효과를 분리한 실험은 아니다.
31
+
32
+ 두 모델 백업의 총 **122개 파일**을 불변 revision의 inventory·크기·LFS
33
+ SHA256 및 일반 Git 파일의 직접 readback으로 독립 검증했다.
34
+ 정밀 수치는 `results/llama31_come_batch_20261126/comparison.csv`,
35
+ 전체 원본·단계별 audit·백업 증거는 같은 디렉터리에 있다.
36
+
37
+ 아래는 준비·검증·실행의 상세 기록이다.
38
+
39
+ Prepared 2026-11-26 KST. User narrowed the initial four-arm proposal to
40
+ Llama-3.1-8B Base CoMe, eight blocks removed (25%), comparing FiT batch 1
41
+ with a larger batch selected by short measured GPU probes. Do not launch
42
+ MKA or Qwen in this experiment. No external agents are used.
43
+
44
+ Instance 62635207, offer 36695153, machine 45380: two A100 SXM4 80GB,
45
+ 260GB disk, advertised host RAM 257882MiB. Rate including disk quoted
46
+ 2.578888888888889 USD/hour, network additional. Cheaper offer 58281683
47
+ returned no_such_ask; provider inventory verified that no instance was created.
48
+ Image pytorch/pytorch:2.8.0-cuda12.8-cudnn9-devel.
49
+
50
+ Source model meta-llama/Llama-3.1-8B at
51
+ d04e592bb4f6aa9cfee91e2e20afa771667e1d4b. Historical native CoMe reference:
52
+ LJYAI/paper_revision at d74c1f84be13a3ab3233a5a08d7970f02d211f5a,
53
+ runs/vast-paper_revision-come-llama31-8b-54114105/20261004-come-llama31-8b-8block-allowrepeat.
54
+ Restore historical calibration protocol: SlimPajama 256 source rows,
55
+ seed 10, streaming shuffle buffer 10000, concatenate then pack full
56
+ 2048-token windows (historically 91), scoring batch 1. Pin dataset revision
57
+ b5f90f419b7489cdba26fdbc8c022fcb5562f968 and record actual input hash.
58
+ The old CoMe artifact has no input hash; a matching argument list alone
59
+ does not prove identical historical bytes. Validate first-stage scores and
60
+ no-FiT replay before claiming historical reproduction.
61
+
62
+ Native CoMe angular_last, power 1, minimum retention .97, allow_repeat true,
63
+ lineage-dependent minimum adjustment. Recompute pair selection after each
64
+ FiT stage; do not impose ABPrune's fixed interval. Initialize CoMe attention,
65
+ MLP and norms normally; train only gate/up/down MLP weights using additive
66
+ FP32 U initialized to zero. Freeze all other weights, no Transport/Fisher.
67
+
68
+ Matched FiT: SlimPajama512 x1024, 524288 tokens per stage, one epoch/stage,
69
+ seed42, LR1e-4, weight_decay0, clip1, accumulation1, hiddenMSE1, MLPMSE1,
70
+ attentionMSE0, KL.02/temp4, previous-cycle teacher, BF16 model. Expected
71
+ training input SHA256 2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0.
72
+ Same input order and loss/learning recipe in both arms. Larger batches
73
+ necessarily reduce optimizer updates; record this explicitly rather than
74
+ claiming identical optimization trajectories or an isolated hardware speedup.
75
+ Probe batch1/2/4/8 as memory permits; choose using measured tokens/sec with
76
+ memory margin. Keep probe artifacts separate from production.
77
+
78
+ Prepare canonical offline Bench12, MMLU, CMMLU and packed WikiText2 PPL
79
+ before production finishes. Back up final reconstructible weights, code,
80
+ calibration provenance, training audits, probe measurements and evaluation.
81
+ Do not upload raw calibration token caches or dataset archives to the public
82
+ Hub. Use the existing public LJYAI/paper_revision repository and a unique
83
+ runs/<session-alias>/20261126-llama31-come-mlp-batch/ path.
84
+ Recover remote commits by SSH Git bundle; only the local controller pushes
85
+ to GitHub. Check pruning progress every five minutes.
86
+
87
+ Status: rental created, SSH/bootstrap and validation pending. No results yet.
88
+
89
+ ## Validated calibration and production launch
90
+
91
+ Session vast-paper_revision-come-fit-batch-20261126-62635207; remote branch
92
+ codex/vast-paper_revision-come-fit-batch-20261126-62635207, remote root
93
+ /workspace/come-fit-batch-20261126. Production began 2026-11-26 14:07:11 KST.
94
+ GPU0 batch1; GPU1 batch8. Both native CoMe, eight removals, MLP-only FiT.
95
+
96
+ Historical native CoMe replay passed all eight stages: selected source groups,
97
+ retained attention/MLP counts and every pair_score equal the historical
98
+ reference exactly (all score absolute errors zero). Restored91x2048 selection
99
+ input SHA2560d5ee3894a716120c8f738c25d05838ca6871137f7b471d4616da55cab4a7361.
100
+ Legacy calibration loader datasets3.1.0/transformers4.52.1; main torch2.8.0cu128,
101
+ transformers5.15.1/datasets3.6.0/hub1.33.0/lm-eval0.4.12. Nine CoMe tests
102
+ and exact MLP-only initializer/frozen attention/norm algebra passed.
103
+
104
+ Measured64-sequence first-stage probes (FiT time only): batch1 30.4706s,
105
+ 2150.80tokens/s; batch2 24.0681s,2722.94tokens/s; batch4 21.7107s,3018.61tokens/s;
106
+ batch8 20.9455s,3128.88tokens/s. All successful. Actual teacher/student forward
107
+ shapes confirm each batch setting. Batch8 peak allocated59915162624bytes,
108
+ reserved72267857920bytes; total85093777408bytes,12.83GB reserve margin.
109
+ Choose batch8 under predefined fastest-successful-with4GiB-margin rule.
110
+ The production comparison has512 versus64 updates/stage, same one epoch
111
+ and512x1024 input tokens. This is a batch/optimization comparison, not an
112
+ identical-update hardware speed experiment.
113
+
114
+ Setup repairs before production: upgraded incompatible Brotli1.1 decoder
115
+ to1.2.1, resumed existing model/dataset downloads. Corrected one nested
116
+ lm-eval archive directory; validated all131 configurations offline. Owned
117
+ probe supervisor was replaced before production; completed probes reused,
118
+ one incomplete probe preserved separately. No production training was restarted.
119
+ Both evaluation archives passed SHA256 and tar validation. Raw token caches
120
+ and dataset archives are not committed or included in public output packages.
121
+
122
+ Status: both production arms active; no final results yet.
123
+
124
+ ## Batch8 pruning and PPL checkpoint
125
+
126
+ Batch8 completed all eight MLP-only FiT stages at2026-11-26 14:30:38KST.
127
+ Whole production training wall1406.9505376815796seconds (23m26.95s).
128
+ Packed WikiText2 NLL2.8998708944794136/PPL18.171799138402875;141sequences,
129
+ 288627 predicted tokens. Full benchmark evaluation remains active; no final
130
+ accuracy claim. All eight stage audits confirm three MLP U tensors trainable,
131
+ zero attention/norm gates trainable,524288tokens and physicalbatch8.
132
+ Both arms have exactly matching calibration and FiT token/mask hashes.
133
+ Their merge paths diverge at stage4 after different-sized gradient updates.
134
+ Batch1 remains in production. No production was interrupted/restarted.
135
+
136
+ ## Both pruning arms completed
137
+
138
+ Batch1 completed at2026-11-26 14:40:12KST, wall1981.2216973304749seconds
139
+ (33m1.22s), packed WikiText2 PPL19.21783208596286/NLL2.955838602485386.
140
+ Batch8 wall1406.95seconds is28.985percent shorter, including native selection,
141
+ teacher setup, FiT and compact export. Merge paths diverged after stage3,
142
+ so this whole-pipeline difference is not an identical-topology hardware test.
143
+ First-stage identical-topology FiT times were244.00875vs166.41331seconds.
144
+ All16production stage audits passed MLP3/attention0/norm0 trainable checks.
145
+ Both production512x1024 input/mask hashes and91x2048 selection hashes match.
146
+ Batch8 OpenCompass5 finished; both remaining benchmark evaluations active.
147
+ No final Bench12/MMLU/CMMLU accuracy or final model-backup claim yet.
148
+
149
+ ## Final evaluated results and model backups
150
+
151
+ All evaluations and model uploads completed by2026-11-26 15:03:00KST.
152
+ Bench12 is the equal mean of12tasks excludingMMLU/CMMLU. Accuracy below is
153
+ percentage; PPL lower is better. No combined14-task average is substituted.
154
+
155
+ | FiT batch | Bench12 | MMLU | CMMLU | PPL | Pruning/training seconds |
156
+ | --- | ---: | ---: | ---: | ---: | ---: |
157
+ |1|56.03341033262276|59.74220196553197|44.43964772923502|19.21783208596286|1981.2216973304749|
158
+ |8|56.14634439798502|57.17134311351659|45.74339492315662|18.171799138402875|1406.9505376815796|
159
+
160
+ Batch8 has+0.112934pp Bench12,-2.570859pp MMLU,+1.303747pp CMMLU versus
161
+ batch1. Whole pruning/training saves574.27116s/28.9856percent. All inputs,
162
+ MLP-only fitting scope, one epoch, LR and loss weights match; optimizer
163
+ updates are512vs64/stage and the selection trajectories differ fromstage4.
164
+ Do not claim equal optimizer trajectories or universal accuracy improvement.
165
+ The reviewer-matched historical ABPrune recipe usesbatch1; batch8 is an
166
+ additional efficiency/optimization comparison.
167
+
168
+ Exact supervisor command (run from the session project, under nohup):
169
+ ```bash
170
+ python scripts/launch_come_batch_comparison.py --project /workspace/paper_revision/sessions/vast-paper_revision-come-fit-batch-20261126-62635207 --external /workspace/external/come-fit-batch --root /workspace/come-fit-batch-20261126 --model /workspace/models/llama31-base-d04e592 --session vast-paper_revision-come-fit-batch-20261126-62635207
171
+ ```
172
+ Bootstrap command:
173
+ ```bash
174
+ bash scripts/bootstrap_come_batch_comparison.sh /workspace/paper_revision/sessions/vast-paper_revision-come-fit-batch-20261126-62635207 /workspace/external/come-fit-batch /workspace/come-fit-batch-20261126 /workspace/models/llama31-base-d04e592
175
+ ```
176
+
177
+ Both final compact packages have4retained block states, all32->24 topology
178
+ metadata, code, audits, calibration provenance and raw evaluations. Existing
179
+ public model repository LJYAI/paper_revision only. Prefix
180
+ runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/<batch1|batch_large>.
181
+ Immutable revisions and receipts are in results/llama31_come_batch_20261126/.
182
+ Only final weights backed up; raw token/data caches and duplicate intermediate
183
+ weights excluded. Local controller independently verifies every payload via
184
+ immutable inventory, LFS SHA256 and Git-blob readback.
185
+
186
+ Follow-up: user will decide further experiments after these two results.
187
+ No MKA/Qwen or other production arm was launched. Complete local recovery,
188
+ comparison catalog and verified backup before any instance return.
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/backup_audit.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "verified": true,
3
+ "records": [
4
+ {
5
+ "verified": true,
6
+ "repo_id": "LJYAI/paper_revision",
7
+ "path_in_repo": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch1",
8
+ "revision": "e762aaea126165ec54d02c4045ad803fee0115ee",
9
+ "files": 61,
10
+ "bytes": 1746382110,
11
+ "manifest_sha256": "bb06e6c7f68e552b442830a078fd16dcb10c1c94902ef168a9dcfd6cebb4e507",
12
+ "all_payload_hashes_verified": true,
13
+ "lfs_files": 4,
14
+ "git_blob_files_read_back": 57,
15
+ "verification": "Immutable inventory/sizes, server LFS SHA256, independently downloaded Git blobs"
16
+ },
17
+ {
18
+ "verified": true,
19
+ "repo_id": "LJYAI/paper_revision",
20
+ "path_in_repo": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch_large",
21
+ "revision": "f407a63af421945571461a5fef809ee1b40c974b",
22
+ "files": 61,
23
+ "bytes": 1745975868,
24
+ "manifest_sha256": "5b7618193479ab4d38a9109ee015b548d2fa063e5ef0321a5b3cdfb1973a4a66",
25
+ "all_payload_hashes_verified": true,
26
+ "lfs_files": 4,
27
+ "git_blob_files_read_back": 57,
28
+ "verification": "Immutable inventory/sizes, server LFS SHA256, independently downloaded Git blobs"
29
+ }
30
+ ]
31
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_01_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.03428747348054256,
129
+ "mean_abs": 1.3302734649706899e-06,
130
+ "max_abs": 0.0014433860778808594
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -2.757805510728282e-07,
146
+ "std": 0.002080975531301442,
147
+ "rms": 0.0020809755495753025,
148
+ "mean_abs": 0.0016784935834861937,
149
+ "min": -0.0172578115016222,
150
+ "max": 0.014859556220471859,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -1.3589020194818398e-06,
154
+ "std": 0.0021155210440088664,
155
+ "rms": 0.002115521480453239,
156
+ "mean_abs": 0.0017079285212925502,
157
+ "min": -0.0172578115016222,
158
+ "max": 0.014285493642091751
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 5.212931942618784e-07,
162
+ "std": 0.002058647332262585,
163
+ "rms": 0.002058647398263834,
164
+ "mean_abs": 0.0016620662063360214,
165
+ "min": -0.014133176766335964,
166
+ "max": 0.012997659854590893
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 1.0267172001476865e-08,
170
+ "std": 0.0020683127106527594,
171
+ "rms": 0.002068312710678243,
172
+ "mean_abs": 0.0016654860228300095,
173
+ "min": -0.013734914362430573,
174
+ "max": 0.014859556220471859
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 244.00875137001276,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2148.6442476195216,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 38429250560,
195
+ "peak_reserved_bytes": 40194015232,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 25
220
+ ],
221
+ [
222
+ 26
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.030000000000000027,
227
+ 0.97
228
+ ],
229
+ "retained_attention_groups": [
230
+ 0,
231
+ 8
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 430,
235
+ 13906
236
+ ],
237
+ "pair_score": 0.1301000171474048,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 26,
270
+ "teacher_boundary_original_layer": 26
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_02_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.01879206632949177,
129
+ "mean_abs": 6.514094257865855e-07,
130
+ "max_abs": 0.001150965690612793
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -3.14474898134774e-06,
146
+ "std": 0.0021212429120281632,
147
+ "rms": 0.002121245243076782,
148
+ "mean_abs": 0.0016878367889495123,
149
+ "min": -0.02054733596742153,
150
+ "max": 0.02496427670121193,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -9.278660789797349e-06,
154
+ "std": 0.0020910136942034834,
155
+ "rms": 0.0020910342806593463,
156
+ "mean_abs": 0.001666638201900891,
157
+ "min": -0.014441047795116901,
158
+ "max": 0.014801579527556896
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -2.4477191930470455e-07,
162
+ "std": 0.002093608702133609,
163
+ "rms": 0.002093608716442226,
164
+ "mean_abs": 0.0016653191830430711,
165
+ "min": -0.01545793004333973,
166
+ "max": 0.014619092456996441
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 8.91857650588333e-08,
170
+ "std": 0.002177939924657729,
171
+ "rms": 0.0021779399264837897,
172
+ "mean_abs": 0.0017315529819045747,
173
+ "min": -0.02054733596742153,
174
+ "max": 0.02496427670121193
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 235.24227997660637,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2228.7150084250916,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 37699550720,
195
+ "peak_reserved_bytes": 50186944512,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 23
220
+ ],
221
+ [
222
+ 24
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.97,
227
+ 0.03000000000000003
228
+ ],
229
+ "retained_attention_groups": [
230
+ 8,
231
+ 0
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 13906,
235
+ 430
236
+ ],
237
+ "pair_score": 0.13651073019910645,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 24,
270
+ "teacher_boundary_original_layer": 24
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_03_fit.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.032942889840363566,
129
+ "mean_abs": 1.1353166926363927e-06,
130
+ "max_abs": 0.0031757354736328125
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -1.930274639302557e-06,
146
+ "std": 0.0023134057793016065,
147
+ "rms": 0.0023134065845990532,
148
+ "mean_abs": 0.0018374128710655939,
149
+ "min": -0.016302242875099182,
150
+ "max": 0.017005421221256256,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -6.409515793036137e-06,
154
+ "std": 0.0023192075321483954,
155
+ "rms": 0.0023192163890130113,
156
+ "mean_abs": 0.0018431395292282104,
157
+ "min": -0.016302242875099182,
158
+ "max": 0.017005421221256256
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 4.660962206669085e-07,
162
+ "std": 0.002308790014346501,
163
+ "rms": 0.00230879006139402,
164
+ "mean_abs": 0.0018340327910014562,
165
+ "min": -0.014965139329433441,
166
+ "max": 0.015452438965439796
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 1.5259565446155777e-07,
170
+ "std": 0.0023122010827466935,
171
+ "rms": 0.002312201087782033,
172
+ "mean_abs": 0.0018350662929671152,
173
+ "min": -0.014886658638715744,
174
+ "max": 0.016428718343377113
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 229.6008151434362,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2283.4762135860315,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 36827102720,
195
+ "peak_reserved_bytes": 50438602752,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 22
220
+ ],
221
+ [
222
+ 23,
223
+ 24
224
+ ]
225
+ ],
226
+ "retention_ratios": [
227
+ 0.9848857801796105,
228
+ 0.015114219820389515
229
+ ],
230
+ "retained_attention_groups": [
231
+ 8,
232
+ 0
233
+ ],
234
+ "retained_mlp_neurons": [
235
+ 14120,
236
+ 216
237
+ ],
238
+ "pair_score": 0.1411252580173723,
239
+ "minimum_retention": 0.97,
240
+ "adjusted_minimum": 0.9848857801796105,
241
+ "power": 1.0,
242
+ "allow_repeat": true,
243
+ "sbi_metric": "angular_last",
244
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
245
+ "teacher_mutated_during_initialization": false
246
+ },
247
+ "norms_trainable": false,
248
+ "initialized_parameters": [
249
+ "self_attn.q_proj.weight",
250
+ "self_attn.k_proj.weight",
251
+ "self_attn.v_proj.weight",
252
+ "self_attn.o_proj.weight",
253
+ "mlp.gate_proj.weight",
254
+ "mlp.up_proj.weight",
255
+ "mlp.down_proj.weight",
256
+ "input_layernorm.weight",
257
+ "post_attention_layernorm.weight"
258
+ ],
259
+ "frozen_CoMe_parameters": [
260
+ "self_attn.q_proj.weight",
261
+ "self_attn.k_proj.weight",
262
+ "self_attn.v_proj.weight",
263
+ "self_attn.o_proj.weight",
264
+ "input_layernorm.weight",
265
+ "post_attention_layernorm.weight"
266
+ ],
267
+ "source_feature_transport": false,
268
+ "initializer": "come",
269
+ "removed_count_per_cycle": 1,
270
+ "teacher_boundary_current_layer": 23,
271
+ "teacher_boundary_original_layer": 23
272
+ }
273
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_04_fit.json ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.04882664648440162,
129
+ "mean_abs": 9.032714409667755e-07,
130
+ "max_abs": 0.008369147777557373
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -1.4233098898416972e-06,
146
+ "std": 0.00200246652818084,
147
+ "rms": 0.002002467034009716,
148
+ "mean_abs": 0.0015821387281730061,
149
+ "min": -0.021971173584461212,
150
+ "max": 0.018398746848106384,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -4.689603104322616e-06,
154
+ "std": 0.0019921744419628953,
155
+ "rms": 0.0019921799616469016,
156
+ "mean_abs": 0.0015751062227146967,
157
+ "min": -0.018206428736448288,
158
+ "max": 0.018398746848106384
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -1.4778252729489134e-07,
162
+ "std": 0.0019949484667568175,
163
+ "rms": 0.001994948472230562,
164
+ "mean_abs": 0.0015769843012094498,
165
+ "min": -0.021971173584461212,
166
+ "max": 0.01701006107032299
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 5.67455962092416e-07,
170
+ "std": 0.0020201539392923095,
171
+ "rms": 0.002020154018990756,
172
+ "mean_abs": 0.0015943256605948722,
173
+ "min": -0.017869168892502785,
174
+ "max": 0.015971221029758453
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 223.75774060562253,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2343.105532711237,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 35954654720,
195
+ "peak_reserved_bytes": 49117396992,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 21
220
+ ],
221
+ [
222
+ 22,
223
+ 23,
224
+ 24
225
+ ]
226
+ ],
227
+ "retention_ratios": [
228
+ 0.9898982992491293,
229
+ 0.010101700750870692
230
+ ],
231
+ "retained_attention_groups": [
232
+ 8,
233
+ 0
234
+ ],
235
+ "retained_mlp_neurons": [
236
+ 14192,
237
+ 144
238
+ ],
239
+ "pair_score": 0.15916384363567437,
240
+ "minimum_retention": 0.97,
241
+ "adjusted_minimum": 0.9898982992491293,
242
+ "power": 1.0,
243
+ "allow_repeat": true,
244
+ "sbi_metric": "angular_last",
245
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
246
+ "teacher_mutated_during_initialization": false
247
+ },
248
+ "norms_trainable": false,
249
+ "initialized_parameters": [
250
+ "self_attn.q_proj.weight",
251
+ "self_attn.k_proj.weight",
252
+ "self_attn.v_proj.weight",
253
+ "self_attn.o_proj.weight",
254
+ "mlp.gate_proj.weight",
255
+ "mlp.up_proj.weight",
256
+ "mlp.down_proj.weight",
257
+ "input_layernorm.weight",
258
+ "post_attention_layernorm.weight"
259
+ ],
260
+ "frozen_CoMe_parameters": [
261
+ "self_attn.q_proj.weight",
262
+ "self_attn.k_proj.weight",
263
+ "self_attn.v_proj.weight",
264
+ "self_attn.o_proj.weight",
265
+ "input_layernorm.weight",
266
+ "post_attention_layernorm.weight"
267
+ ],
268
+ "source_feature_transport": false,
269
+ "initializer": "come",
270
+ "removed_count_per_cycle": 1,
271
+ "teacher_boundary_current_layer": 22,
272
+ "teacher_boundary_original_layer": 22
273
+ }
274
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_05_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.022090461784340168,
129
+ "mean_abs": 7.542782571233277e-07,
130
+ "max_abs": 0.0012729167938232422
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": 1.7345203916972553e-06,
146
+ "std": 0.0028189815021431083,
147
+ "rms": 0.0028189820357685867,
148
+ "mean_abs": 0.0022511213485683712,
149
+ "min": -0.01768740825355053,
150
+ "max": 0.017870118841528893,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": 5.015552492945322e-06,
154
+ "std": 0.002853192430567511,
155
+ "rms": 0.002853196838918505,
156
+ "mean_abs": 0.002278133960706847,
157
+ "min": -0.01768740825355053,
158
+ "max": 0.017870118841528893
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 1.9100564583953072e-07,
162
+ "std": 0.002800397680494349,
163
+ "rms": 0.0028003976870082732,
164
+ "mean_abs": 0.002237338572740555,
165
+ "min": -0.017309879884123802,
166
+ "max": 0.0176011361181736
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -2.9969636930867895e-09,
170
+ "std": 0.0028030375928505126,
171
+ "rms": 0.002803037592852115,
172
+ "mean_abs": 0.002237891512257712,
173
+ "min": -0.016535742208361626,
174
+ "max": 0.01660945639014244
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 216.49279695749283,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2421.7341517507443,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 35224953344,
195
+ "peak_reserved_bytes": 47794094080,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 19
220
+ ],
221
+ [
222
+ 20
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.97,
227
+ 0.030000000000000037
228
+ ],
229
+ "retained_attention_groups": [
230
+ 8,
231
+ 0
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 13906,
235
+ 430
236
+ ],
237
+ "pair_score": 0.16446514214788163,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 20,
270
+ "teacher_boundary_original_layer": 20
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_06_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.2904314331612782,
129
+ "mean_abs": 6.113408398093833e-06,
130
+ "max_abs": 0.021493911743164062
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": 2.902813678572004e-06,
146
+ "std": 0.0016783932498182956,
147
+ "rms": 0.0016783957600526975,
148
+ "mean_abs": 0.0013033111712762288,
149
+ "min": -0.015433321706950665,
150
+ "max": 0.01671634241938591,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": 8.6020164807061e-06,
154
+ "std": 0.0017817472556307013,
155
+ "rms": 0.001781768020151633,
156
+ "mean_abs": 0.0013890841177531651,
157
+ "min": -0.015433321706950665,
158
+ "max": 0.01671634241938591
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -1.4485143700377584e-07,
162
+ "std": 0.001603376082646981,
163
+ "rms": 0.0016033760891900307,
164
+ "mean_abs": 0.0012371630540915898,
165
+ "min": -0.01487010344862938,
166
+ "max": 0.01472483016550541
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 2.5127599201368866e-07,
170
+ "std": 0.0016448479437101793,
171
+ "rms": 0.0016448479629033283,
172
+ "mean_abs": 0.0012836863419839314,
173
+ "min": -0.01273497287184,
174
+ "max": 0.015598004683852196
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 223.9032757356763,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2341.5825350359582,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 33639788032,
195
+ "peak_reserved_bytes": 46472888320,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 28
220
+ ],
221
+ [
222
+ 29
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.030000000000000037,
227
+ 0.97
228
+ ],
229
+ "retained_attention_groups": [
230
+ 0,
231
+ 8
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 430,
235
+ 13906
236
+ ],
237
+ "pair_score": 0.16874282299489765,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 24,
270
+ "teacher_boundary_original_layer": 29
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_07_fit.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.028268911828549733,
129
+ "mean_abs": 1.0670624500822408e-06,
130
+ "max_abs": 0.0014638900756835938
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": 1.6107931466129749e-06,
146
+ "std": 0.001949270155863692,
147
+ "rms": 0.0019492708214087194,
148
+ "mean_abs": 0.0015418906030910356,
149
+ "min": -0.01517658494412899,
150
+ "max": 0.014788596890866756,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": 4.757416068709322e-06,
154
+ "std": 0.0020931224195304774,
155
+ "rms": 0.0020931278260413935,
156
+ "mean_abs": 0.0016607594277177537,
157
+ "min": -0.01517658494412899,
158
+ "max": 0.013422775082290173
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -8.30829987665181e-08,
162
+ "std": 0.001882691541388252,
163
+ "rms": 0.0018826915432214745,
164
+ "mean_abs": 0.0014878319842474802,
165
+ "min": -0.014109527692198753,
166
+ "max": 0.012462868355214596
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 1.5804636989612065e-07,
170
+ "std": 0.0018636680599133496,
171
+ "rms": 0.001863668066614826,
172
+ "mean_abs": 0.0014770803973078728,
173
+ "min": -0.012291017919778824,
174
+ "max": 0.014788596890866756
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 204.2844872623682,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2566.4601704516235,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 33337310720,
195
+ "peak_reserved_bytes": 45151682560,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 18
220
+ ],
221
+ [
222
+ 19,
223
+ 20
224
+ ]
225
+ ],
226
+ "retention_ratios": [
227
+ 0.9848857801796105,
228
+ 0.015114219820389518
229
+ ],
230
+ "retained_attention_groups": [
231
+ 8,
232
+ 0
233
+ ],
234
+ "retained_mlp_neurons": [
235
+ 14120,
236
+ 216
237
+ ],
238
+ "pair_score": 0.17818070620625884,
239
+ "minimum_retention": 0.97,
240
+ "adjusted_minimum": 0.9848857801796105,
241
+ "power": 1.0,
242
+ "allow_repeat": true,
243
+ "sbi_metric": "angular_last",
244
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
245
+ "teacher_mutated_during_initialization": false
246
+ },
247
+ "norms_trainable": false,
248
+ "initialized_parameters": [
249
+ "self_attn.q_proj.weight",
250
+ "self_attn.k_proj.weight",
251
+ "self_attn.v_proj.weight",
252
+ "self_attn.o_proj.weight",
253
+ "mlp.gate_proj.weight",
254
+ "mlp.up_proj.weight",
255
+ "mlp.down_proj.weight",
256
+ "input_layernorm.weight",
257
+ "post_attention_layernorm.weight"
258
+ ],
259
+ "frozen_CoMe_parameters": [
260
+ "self_attn.q_proj.weight",
261
+ "self_attn.k_proj.weight",
262
+ "self_attn.v_proj.weight",
263
+ "self_attn.o_proj.weight",
264
+ "input_layernorm.weight",
265
+ "post_attention_layernorm.weight"
266
+ ],
267
+ "source_feature_transport": false,
268
+ "initializer": "come",
269
+ "removed_count_per_cycle": 1,
270
+ "teacher_boundary_current_layer": 19,
271
+ "teacher_boundary_original_layer": 19
272
+ }
273
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/cycle_08_fit.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 1.2930088915745046,
129
+ "mean_abs": 8.186485501937568e-06,
130
+ "max_abs": 0.160064697265625
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -5.740566848544404e-07,
146
+ "std": 0.0016090276754360433,
147
+ "rms": 0.001609027777839834,
148
+ "mean_abs": 0.0012552617117762566,
149
+ "min": -0.01535560842603445,
150
+ "max": 0.01914811320602894,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -1.7336390426083068e-06,
154
+ "std": 0.0017040962226200834,
155
+ "rms": 0.001704097104466869,
156
+ "mean_abs": 0.0013263262808322906,
157
+ "min": -0.01535560842603445,
158
+ "max": 0.01914811320602894
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -2.6240247409857277e-07,
162
+ "std": 0.0015051376997938766,
163
+ "rms": 0.0015051377226672185,
164
+ "mean_abs": 0.0011681548452803067,
165
+ "min": -0.012771247886121273,
166
+ "max": 0.014503324404358864
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 2.738714621435585e-07,
170
+ "std": 0.0016116837744814512,
171
+ "rms": 0.0016116837977507732,
172
+ "mean_abs": 0.0012713040092161723,
173
+ "min": -0.012590393424034119,
174
+ "max": 0.011956783942878246
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 207.76645781844854,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 2523.4487101769614,
191
+ "batch_size": 1,
192
+ "batches_per_epoch": 512,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 31894793728,
195
+ "peak_reserved_bytes": 43830476800,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:1x1024": 512,
199
+ "student:1x1024": 512
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 27
220
+ ],
221
+ [
222
+ 28,
223
+ 29
224
+ ]
225
+ ],
226
+ "retention_ratios": [
227
+ 0.015114219820389515,
228
+ 0.9848857801796105
229
+ ],
230
+ "retained_attention_groups": [
231
+ 0,
232
+ 8
233
+ ],
234
+ "retained_mlp_neurons": [
235
+ 216,
236
+ 14120
237
+ ],
238
+ "pair_score": 0.1897892183982409,
239
+ "minimum_retention": 0.97,
240
+ "adjusted_minimum": 0.9848857801796105,
241
+ "power": 1.0,
242
+ "allow_repeat": true,
243
+ "sbi_metric": "angular_last",
244
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
245
+ "teacher_mutated_during_initialization": false
246
+ },
247
+ "norms_trainable": false,
248
+ "initialized_parameters": [
249
+ "self_attn.q_proj.weight",
250
+ "self_attn.k_proj.weight",
251
+ "self_attn.v_proj.weight",
252
+ "self_attn.o_proj.weight",
253
+ "mlp.gate_proj.weight",
254
+ "mlp.up_proj.weight",
255
+ "mlp.down_proj.weight",
256
+ "input_layernorm.weight",
257
+ "post_attention_layernorm.weight"
258
+ ],
259
+ "frozen_CoMe_parameters": [
260
+ "self_attn.q_proj.weight",
261
+ "self_attn.k_proj.weight",
262
+ "self_attn.v_proj.weight",
263
+ "self_attn.o_proj.weight",
264
+ "input_layernorm.weight",
265
+ "post_attention_layernorm.weight"
266
+ ],
267
+ "source_feature_transport": false,
268
+ "initializer": "come",
269
+ "removed_count_per_cycle": 1,
270
+ "teacher_boundary_current_layer": 22,
271
+ "teacher_boundary_original_layer": 28
272
+ }
273
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/data_fingerprints.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calib_loader": {
3
+ "sequences": 64,
4
+ "sha256": "fa4a6219f7a7b17364eef6b5b7771533b57a407f1d26db1d483bbd955814ce38",
5
+ "attention_mask_sha256": "b1476de1907209012e63fa502715fd97db26e595352faa808d8c10433a1472a4",
6
+ "valid_tokens": 65536
7
+ },
8
+ "distill_loader": {
9
+ "sequences": 512,
10
+ "sha256": "2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0",
11
+ "attention_mask_sha256": "c8e7f8e30cd532b82e6af4b98d596bc7106f29f9fb2b398b44355e624898a30d",
12
+ "valid_tokens": 524288
13
+ }
14
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/selection.json ADDED
@@ -0,0 +1,563 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "cycle": 1,
4
+ "pair_index": 25,
5
+ "initializer": "come",
6
+ "lambda_left": null,
7
+ "recipient_original_layer": 25,
8
+ "recipient_side": "left",
9
+ "removed_original_layer": 26,
10
+ "source_lineage": [
11
+ [
12
+ 25
13
+ ],
14
+ [
15
+ 26
16
+ ]
17
+ ],
18
+ "retention_ratios": [
19
+ 0.030000000000000027,
20
+ 0.97
21
+ ],
22
+ "retained_attention_groups": [
23
+ 0,
24
+ 8
25
+ ],
26
+ "retained_mlp_neurons": [
27
+ 430,
28
+ 13906
29
+ ],
30
+ "pair_score": 0.1301000171474048,
31
+ "minimum_retention": 0.97,
32
+ "adjusted_minimum": 0.97,
33
+ "power": 1.0,
34
+ "allow_repeat": true,
35
+ "sbi_metric": "angular_last",
36
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
37
+ "teacher_mutated_during_initialization": false,
38
+ "removed_original_layers": [
39
+ 26
40
+ ],
41
+ "active_original_layers": [
42
+ 0,
43
+ 1,
44
+ 2,
45
+ 3,
46
+ 4,
47
+ 5,
48
+ 6,
49
+ 7,
50
+ 8,
51
+ 9,
52
+ 10,
53
+ 11,
54
+ 12,
55
+ 13,
56
+ 14,
57
+ 15,
58
+ 16,
59
+ 17,
60
+ 18,
61
+ 19,
62
+ 20,
63
+ 21,
64
+ 22,
65
+ 23,
66
+ 24,
67
+ 25,
68
+ 27,
69
+ 28,
70
+ 29,
71
+ 30,
72
+ 31
73
+ ]
74
+ },
75
+ {
76
+ "cycle": 2,
77
+ "pair_index": 23,
78
+ "initializer": "come",
79
+ "lambda_left": null,
80
+ "recipient_original_layer": 23,
81
+ "recipient_side": "left",
82
+ "removed_original_layer": 24,
83
+ "source_lineage": [
84
+ [
85
+ 23
86
+ ],
87
+ [
88
+ 24
89
+ ]
90
+ ],
91
+ "retention_ratios": [
92
+ 0.97,
93
+ 0.03000000000000003
94
+ ],
95
+ "retained_attention_groups": [
96
+ 8,
97
+ 0
98
+ ],
99
+ "retained_mlp_neurons": [
100
+ 13906,
101
+ 430
102
+ ],
103
+ "pair_score": 0.13651073019910645,
104
+ "minimum_retention": 0.97,
105
+ "adjusted_minimum": 0.97,
106
+ "power": 1.0,
107
+ "allow_repeat": true,
108
+ "sbi_metric": "angular_last",
109
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
110
+ "teacher_mutated_during_initialization": false,
111
+ "removed_original_layers": [
112
+ 24
113
+ ],
114
+ "active_original_layers": [
115
+ 0,
116
+ 1,
117
+ 2,
118
+ 3,
119
+ 4,
120
+ 5,
121
+ 6,
122
+ 7,
123
+ 8,
124
+ 9,
125
+ 10,
126
+ 11,
127
+ 12,
128
+ 13,
129
+ 14,
130
+ 15,
131
+ 16,
132
+ 17,
133
+ 18,
134
+ 19,
135
+ 20,
136
+ 21,
137
+ 22,
138
+ 23,
139
+ 25,
140
+ 27,
141
+ 28,
142
+ 29,
143
+ 30,
144
+ 31
145
+ ]
146
+ },
147
+ {
148
+ "cycle": 3,
149
+ "pair_index": 22,
150
+ "initializer": "come",
151
+ "lambda_left": null,
152
+ "recipient_original_layer": 22,
153
+ "recipient_side": "left",
154
+ "removed_original_layer": 23,
155
+ "source_lineage": [
156
+ [
157
+ 22
158
+ ],
159
+ [
160
+ 23,
161
+ 24
162
+ ]
163
+ ],
164
+ "retention_ratios": [
165
+ 0.9848857801796105,
166
+ 0.015114219820389515
167
+ ],
168
+ "retained_attention_groups": [
169
+ 8,
170
+ 0
171
+ ],
172
+ "retained_mlp_neurons": [
173
+ 14120,
174
+ 216
175
+ ],
176
+ "pair_score": 0.1411252580173723,
177
+ "minimum_retention": 0.97,
178
+ "adjusted_minimum": 0.9848857801796105,
179
+ "power": 1.0,
180
+ "allow_repeat": true,
181
+ "sbi_metric": "angular_last",
182
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
183
+ "teacher_mutated_during_initialization": false,
184
+ "removed_original_layers": [
185
+ 23
186
+ ],
187
+ "active_original_layers": [
188
+ 0,
189
+ 1,
190
+ 2,
191
+ 3,
192
+ 4,
193
+ 5,
194
+ 6,
195
+ 7,
196
+ 8,
197
+ 9,
198
+ 10,
199
+ 11,
200
+ 12,
201
+ 13,
202
+ 14,
203
+ 15,
204
+ 16,
205
+ 17,
206
+ 18,
207
+ 19,
208
+ 20,
209
+ 21,
210
+ 22,
211
+ 25,
212
+ 27,
213
+ 28,
214
+ 29,
215
+ 30,
216
+ 31
217
+ ]
218
+ },
219
+ {
220
+ "cycle": 4,
221
+ "pair_index": 21,
222
+ "initializer": "come",
223
+ "lambda_left": null,
224
+ "recipient_original_layer": 21,
225
+ "recipient_side": "left",
226
+ "removed_original_layer": 22,
227
+ "source_lineage": [
228
+ [
229
+ 21
230
+ ],
231
+ [
232
+ 22,
233
+ 23,
234
+ 24
235
+ ]
236
+ ],
237
+ "retention_ratios": [
238
+ 0.9898982992491293,
239
+ 0.010101700750870692
240
+ ],
241
+ "retained_attention_groups": [
242
+ 8,
243
+ 0
244
+ ],
245
+ "retained_mlp_neurons": [
246
+ 14192,
247
+ 144
248
+ ],
249
+ "pair_score": 0.15916384363567437,
250
+ "minimum_retention": 0.97,
251
+ "adjusted_minimum": 0.9898982992491293,
252
+ "power": 1.0,
253
+ "allow_repeat": true,
254
+ "sbi_metric": "angular_last",
255
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
256
+ "teacher_mutated_during_initialization": false,
257
+ "removed_original_layers": [
258
+ 22
259
+ ],
260
+ "active_original_layers": [
261
+ 0,
262
+ 1,
263
+ 2,
264
+ 3,
265
+ 4,
266
+ 5,
267
+ 6,
268
+ 7,
269
+ 8,
270
+ 9,
271
+ 10,
272
+ 11,
273
+ 12,
274
+ 13,
275
+ 14,
276
+ 15,
277
+ 16,
278
+ 17,
279
+ 18,
280
+ 19,
281
+ 20,
282
+ 21,
283
+ 25,
284
+ 27,
285
+ 28,
286
+ 29,
287
+ 30,
288
+ 31
289
+ ]
290
+ },
291
+ {
292
+ "cycle": 5,
293
+ "pair_index": 19,
294
+ "initializer": "come",
295
+ "lambda_left": null,
296
+ "recipient_original_layer": 19,
297
+ "recipient_side": "left",
298
+ "removed_original_layer": 20,
299
+ "source_lineage": [
300
+ [
301
+ 19
302
+ ],
303
+ [
304
+ 20
305
+ ]
306
+ ],
307
+ "retention_ratios": [
308
+ 0.97,
309
+ 0.030000000000000037
310
+ ],
311
+ "retained_attention_groups": [
312
+ 8,
313
+ 0
314
+ ],
315
+ "retained_mlp_neurons": [
316
+ 13906,
317
+ 430
318
+ ],
319
+ "pair_score": 0.16446514214788163,
320
+ "minimum_retention": 0.97,
321
+ "adjusted_minimum": 0.97,
322
+ "power": 1.0,
323
+ "allow_repeat": true,
324
+ "sbi_metric": "angular_last",
325
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
326
+ "teacher_mutated_during_initialization": false,
327
+ "removed_original_layers": [
328
+ 20
329
+ ],
330
+ "active_original_layers": [
331
+ 0,
332
+ 1,
333
+ 2,
334
+ 3,
335
+ 4,
336
+ 5,
337
+ 6,
338
+ 7,
339
+ 8,
340
+ 9,
341
+ 10,
342
+ 11,
343
+ 12,
344
+ 13,
345
+ 14,
346
+ 15,
347
+ 16,
348
+ 17,
349
+ 18,
350
+ 19,
351
+ 21,
352
+ 25,
353
+ 27,
354
+ 28,
355
+ 29,
356
+ 30,
357
+ 31
358
+ ]
359
+ },
360
+ {
361
+ "cycle": 6,
362
+ "pair_index": 23,
363
+ "initializer": "come",
364
+ "lambda_left": null,
365
+ "recipient_original_layer": 28,
366
+ "recipient_side": "left",
367
+ "removed_original_layer": 29,
368
+ "source_lineage": [
369
+ [
370
+ 28
371
+ ],
372
+ [
373
+ 29
374
+ ]
375
+ ],
376
+ "retention_ratios": [
377
+ 0.030000000000000037,
378
+ 0.97
379
+ ],
380
+ "retained_attention_groups": [
381
+ 0,
382
+ 8
383
+ ],
384
+ "retained_mlp_neurons": [
385
+ 430,
386
+ 13906
387
+ ],
388
+ "pair_score": 0.16874282299489765,
389
+ "minimum_retention": 0.97,
390
+ "adjusted_minimum": 0.97,
391
+ "power": 1.0,
392
+ "allow_repeat": true,
393
+ "sbi_metric": "angular_last",
394
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
395
+ "teacher_mutated_during_initialization": false,
396
+ "removed_original_layers": [
397
+ 29
398
+ ],
399
+ "active_original_layers": [
400
+ 0,
401
+ 1,
402
+ 2,
403
+ 3,
404
+ 4,
405
+ 5,
406
+ 6,
407
+ 7,
408
+ 8,
409
+ 9,
410
+ 10,
411
+ 11,
412
+ 12,
413
+ 13,
414
+ 14,
415
+ 15,
416
+ 16,
417
+ 17,
418
+ 18,
419
+ 19,
420
+ 21,
421
+ 25,
422
+ 27,
423
+ 28,
424
+ 30,
425
+ 31
426
+ ]
427
+ },
428
+ {
429
+ "cycle": 7,
430
+ "pair_index": 18,
431
+ "initializer": "come",
432
+ "lambda_left": null,
433
+ "recipient_original_layer": 18,
434
+ "recipient_side": "left",
435
+ "removed_original_layer": 19,
436
+ "source_lineage": [
437
+ [
438
+ 18
439
+ ],
440
+ [
441
+ 19,
442
+ 20
443
+ ]
444
+ ],
445
+ "retention_ratios": [
446
+ 0.9848857801796105,
447
+ 0.015114219820389518
448
+ ],
449
+ "retained_attention_groups": [
450
+ 8,
451
+ 0
452
+ ],
453
+ "retained_mlp_neurons": [
454
+ 14120,
455
+ 216
456
+ ],
457
+ "pair_score": 0.17818070620625884,
458
+ "minimum_retention": 0.97,
459
+ "adjusted_minimum": 0.9848857801796105,
460
+ "power": 1.0,
461
+ "allow_repeat": true,
462
+ "sbi_metric": "angular_last",
463
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
464
+ "teacher_mutated_during_initialization": false,
465
+ "removed_original_layers": [
466
+ 19
467
+ ],
468
+ "active_original_layers": [
469
+ 0,
470
+ 1,
471
+ 2,
472
+ 3,
473
+ 4,
474
+ 5,
475
+ 6,
476
+ 7,
477
+ 8,
478
+ 9,
479
+ 10,
480
+ 11,
481
+ 12,
482
+ 13,
483
+ 14,
484
+ 15,
485
+ 16,
486
+ 17,
487
+ 18,
488
+ 21,
489
+ 25,
490
+ 27,
491
+ 28,
492
+ 30,
493
+ 31
494
+ ]
495
+ },
496
+ {
497
+ "cycle": 8,
498
+ "pair_index": 21,
499
+ "initializer": "come",
500
+ "lambda_left": null,
501
+ "recipient_original_layer": 27,
502
+ "recipient_side": "left",
503
+ "removed_original_layer": 28,
504
+ "source_lineage": [
505
+ [
506
+ 27
507
+ ],
508
+ [
509
+ 28,
510
+ 29
511
+ ]
512
+ ],
513
+ "retention_ratios": [
514
+ 0.015114219820389515,
515
+ 0.9848857801796105
516
+ ],
517
+ "retained_attention_groups": [
518
+ 0,
519
+ 8
520
+ ],
521
+ "retained_mlp_neurons": [
522
+ 216,
523
+ 14120
524
+ ],
525
+ "pair_score": 0.1897892183982409,
526
+ "minimum_retention": 0.97,
527
+ "adjusted_minimum": 0.9848857801796105,
528
+ "power": 1.0,
529
+ "allow_repeat": true,
530
+ "sbi_metric": "angular_last",
531
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
532
+ "teacher_mutated_during_initialization": false,
533
+ "removed_original_layers": [
534
+ 28
535
+ ],
536
+ "active_original_layers": [
537
+ 0,
538
+ 1,
539
+ 2,
540
+ 3,
541
+ 4,
542
+ 5,
543
+ 6,
544
+ 7,
545
+ 8,
546
+ 9,
547
+ 10,
548
+ 11,
549
+ 12,
550
+ 13,
551
+ 14,
552
+ 15,
553
+ 16,
554
+ 17,
555
+ 18,
556
+ 21,
557
+ 25,
558
+ 27,
559
+ 30,
560
+ 31
561
+ ]
562
+ }
563
+ ]
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/audit/selection_inputs.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "input_ids_sha256": "0d5ee3894a716120c8f738c25d05838ca6871137f7b471d4616da55cab4a7361",
3
+ "sequences": 91,
4
+ "source": "/workspace/come-fit-batch-20261126/calibration/selection.pt",
5
+ "independent_of_fit_loader": true
6
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/compact_metadata.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "abprune_compact_stage_v2",
3
+ "model": "meta-llama/Llama-3.1-8B",
4
+ "base_model_revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
5
+ "run_id": "llama_3.1_8b_fit_come_8block",
6
+ "target_prune_count": 8,
7
+ "stage": 8,
8
+ "removed_count": 8,
9
+ "original_layer_count": 32,
10
+ "layer_order": [
11
+ 25,
12
+ 23,
13
+ 22,
14
+ 21,
15
+ 19,
16
+ 23,
17
+ 18,
18
+ 21
19
+ ],
20
+ "latest_pair_index": 21,
21
+ "latest_recipient_side": "left",
22
+ "latest_recipient_original_layer": 27,
23
+ "latest_removed_original_layer": 28,
24
+ "removed_original_layers": [
25
+ 19,
26
+ 20,
27
+ 22,
28
+ 23,
29
+ 24,
30
+ 26,
31
+ 28,
32
+ 29
33
+ ],
34
+ "active_original_layers": [
35
+ 0,
36
+ 1,
37
+ 2,
38
+ 3,
39
+ 4,
40
+ 5,
41
+ 6,
42
+ 7,
43
+ 8,
44
+ 9,
45
+ 10,
46
+ 11,
47
+ 12,
48
+ 13,
49
+ 14,
50
+ 15,
51
+ 16,
52
+ 17,
53
+ 18,
54
+ 21,
55
+ 25,
56
+ 27,
57
+ 30,
58
+ 31
59
+ ],
60
+ "retained_layer_states": [
61
+ {
62
+ "original_layer": 18,
63
+ "state_file": "layer_original_0018.pt",
64
+ "sha256": "4dc56c86e2f16dbb667fca1832990d957ecbb6e3e71a3e002488b1f605b67993",
65
+ "source_cycle": 7,
66
+ "recipient_side": "left"
67
+ },
68
+ {
69
+ "original_layer": 21,
70
+ "state_file": "layer_original_0021.pt",
71
+ "sha256": "4dadbf3fb21655343a8dd68b568621ba6e981343a55619b12e4df0dda1e8dff5",
72
+ "source_cycle": 4,
73
+ "recipient_side": "left"
74
+ },
75
+ {
76
+ "original_layer": 25,
77
+ "state_file": "layer_original_0025.pt",
78
+ "sha256": "32d610b4ccaee569d85e7bfd1f9e162945a07d1c2aaee4dee52dbc874a792044",
79
+ "source_cycle": 1,
80
+ "recipient_side": "left"
81
+ },
82
+ {
83
+ "original_layer": 27,
84
+ "state_file": "layer_original_0027.pt",
85
+ "sha256": "bd5333232b50285f286cdf61fe40dfc94c98e0bcf901ee4761d02fdc2866a314",
86
+ "source_cycle": 8,
87
+ "recipient_side": "left"
88
+ }
89
+ ],
90
+ "source_cycle": "cycle_8"
91
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/execution_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 00ccb5932e71748846bfa537f463c205b0be02fe
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_14bench.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "task_scores": {
3
+ "race_high": 0.4834190966266438,
4
+ "race_middle": 0.5591922005571031,
5
+ "c3": 0.5589041095890411,
6
+ "cmnli": 0.326934074013561,
7
+ "chid": 0.5198019801980198,
8
+ "piqa": 0.705114254624592,
9
+ "winogrande": 0.7071823204419889,
10
+ "hellaswag": 0.6236805417247561,
11
+ "arc_challenge": 0.3984641638225256,
12
+ "arc_easy": 0.6233164983164983,
13
+ "openbookqa": 0.34,
14
+ "sciq": 0.878,
15
+ "mmlu": 0.5974220196553197,
16
+ "cmmlu": 0.4443964772923502
17
+ },
18
+ "macro_mean_14": 0.5547019812044571,
19
+ "tasks": [
20
+ "race_high",
21
+ "race_middle",
22
+ "c3",
23
+ "cmnli",
24
+ "chid",
25
+ "piqa",
26
+ "winogrande",
27
+ "hellaswag",
28
+ "arc_challenge",
29
+ "arc_easy",
30
+ "openbookqa",
31
+ "sciq",
32
+ "mmlu",
33
+ "cmmlu"
34
+ ],
35
+ "opencompass_protocol": "OpenCompass 0.5.4 canonical PPL prompts; full-prompt mean CE; lowest PPL",
36
+ "lm_eval_num_fewshot": 0
37
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_lmeval9.json ADDED
@@ -0,0 +1,1402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/models/llama31-base-d04e592",
3
+ "revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
4
+ "compact_stage": "/workspace/come-fit-batch-20261126/full/batch1/compact/stage_08",
5
+ "cycle": 8,
6
+ "anchor": 21,
7
+ "tasks": [
8
+ "piqa",
9
+ "winogrande",
10
+ "hellaswag",
11
+ "arc_challenge",
12
+ "arc_easy",
13
+ "openbookqa",
14
+ "sciq",
15
+ "mmlu",
16
+ "cmmlu"
17
+ ],
18
+ "num_fewshot": 0,
19
+ "batch_size": "auto:4",
20
+ "limit": null,
21
+ "dataset_cache": "/workspace/come-fit-batch-20261126/lmeval_cache",
22
+ "preferred_metrics": {
23
+ "piqa": "acc_norm,none",
24
+ "winogrande": "acc,none",
25
+ "hellaswag": "acc_norm,none",
26
+ "arc_challenge": "acc_norm,none",
27
+ "arc_easy": "acc_norm,none",
28
+ "openbookqa": "acc_norm,none",
29
+ "sciq": "acc_norm,none",
30
+ "mmlu": "acc,none",
31
+ "cmmlu": "acc,none"
32
+ },
33
+ "task_scores": {
34
+ "piqa": 0.705114254624592,
35
+ "winogrande": 0.7071823204419889,
36
+ "hellaswag": 0.6236805417247561,
37
+ "arc_challenge": 0.3984641638225256,
38
+ "arc_easy": 0.6233164983164983,
39
+ "openbookqa": 0.34,
40
+ "sciq": 0.878,
41
+ "mmlu": 0.5974220196553197,
42
+ "cmmlu": 0.4443964772923502
43
+ },
44
+ "macro_mean_all_rows": 0.5908418084308923,
45
+ "lm_eval_results": {
46
+ "piqa": {
47
+ "name": "piqa",
48
+ "alias": "piqa",
49
+ "sample_len": 1838,
50
+ "acc,none": 0.6931447225244831,
51
+ "acc_stderr,none": "N/A",
52
+ "acc_norm,none": 0.705114254624592,
53
+ "acc_norm_stderr,none": "N/A"
54
+ },
55
+ "winogrande": {
56
+ "name": "winogrande",
57
+ "alias": "winogrande",
58
+ "sample_len": 1267,
59
+ "acc,none": 0.7071823204419889,
60
+ "acc_stderr,none": "N/A"
61
+ },
62
+ "hellaswag": {
63
+ "name": "hellaswag",
64
+ "alias": "hellaswag",
65
+ "sample_len": 10042,
66
+ "acc,none": 0.4563831905994822,
67
+ "acc_stderr,none": "N/A",
68
+ "acc_norm,none": 0.6236805417247561,
69
+ "acc_norm_stderr,none": "N/A"
70
+ },
71
+ "arc_challenge": {
72
+ "name": "arc_challenge",
73
+ "alias": "arc_challenge",
74
+ "sample_len": 1172,
75
+ "acc,none": 0.3626279863481229,
76
+ "acc_stderr,none": "N/A",
77
+ "acc_norm,none": 0.3984641638225256,
78
+ "acc_norm_stderr,none": "N/A"
79
+ },
80
+ "arc_easy": {
81
+ "name": "arc_easy",
82
+ "alias": "arc_easy",
83
+ "sample_len": 2376,
84
+ "acc,none": 0.6262626262626263,
85
+ "acc_stderr,none": "N/A",
86
+ "acc_norm,none": 0.6233164983164983,
87
+ "acc_norm_stderr,none": "N/A"
88
+ },
89
+ "openbookqa": {
90
+ "name": "openbookqa",
91
+ "alias": "openbookqa",
92
+ "sample_len": 500,
93
+ "acc,none": 0.232,
94
+ "acc_stderr,none": "N/A",
95
+ "acc_norm,none": 0.34,
96
+ "acc_norm_stderr,none": "N/A"
97
+ },
98
+ "sciq": {
99
+ "name": "sciq",
100
+ "alias": "sciq",
101
+ "sample_len": 1000,
102
+ "acc,none": 0.905,
103
+ "acc_stderr,none": "N/A",
104
+ "acc_norm,none": 0.878,
105
+ "acc_norm_stderr,none": "N/A"
106
+ },
107
+ "mmlu_abstract_algebra": {
108
+ "name": "mmlu_abstract_algebra",
109
+ "alias": "abstract_algebra",
110
+ "sample_len": 100,
111
+ "acc,none": 0.32,
112
+ "acc_stderr,none": "N/A"
113
+ },
114
+ "mmlu_anatomy": {
115
+ "name": "mmlu_anatomy",
116
+ "alias": "anatomy",
117
+ "sample_len": 135,
118
+ "acc,none": 0.6370370370370371,
119
+ "acc_stderr,none": "N/A"
120
+ },
121
+ "mmlu_astronomy": {
122
+ "name": "mmlu_astronomy",
123
+ "alias": "astronomy",
124
+ "sample_len": 152,
125
+ "acc,none": 0.6710526315789473,
126
+ "acc_stderr,none": "N/A"
127
+ },
128
+ "mmlu_college_biology": {
129
+ "name": "mmlu_college_biology",
130
+ "alias": "college_biology",
131
+ "sample_len": 144,
132
+ "acc,none": 0.7638888888888888,
133
+ "acc_stderr,none": "N/A"
134
+ },
135
+ "mmlu_college_chemistry": {
136
+ "name": "mmlu_college_chemistry",
137
+ "alias": "college_chemistry",
138
+ "sample_len": 100,
139
+ "acc,none": 0.44,
140
+ "acc_stderr,none": "N/A"
141
+ },
142
+ "mmlu_college_computer_science": {
143
+ "name": "mmlu_college_computer_science",
144
+ "alias": "college_computer_science",
145
+ "sample_len": 100,
146
+ "acc,none": 0.45,
147
+ "acc_stderr,none": "N/A"
148
+ },
149
+ "mmlu_college_mathematics": {
150
+ "name": "mmlu_college_mathematics",
151
+ "alias": "college_mathematics",
152
+ "sample_len": 100,
153
+ "acc,none": 0.31,
154
+ "acc_stderr,none": "N/A"
155
+ },
156
+ "mmlu_college_physics": {
157
+ "name": "mmlu_college_physics",
158
+ "alias": "college_physics",
159
+ "sample_len": 102,
160
+ "acc,none": 0.38235294117647056,
161
+ "acc_stderr,none": "N/A"
162
+ },
163
+ "mmlu_computer_security": {
164
+ "name": "mmlu_computer_security",
165
+ "alias": "computer_security",
166
+ "sample_len": 100,
167
+ "acc,none": 0.75,
168
+ "acc_stderr,none": "N/A"
169
+ },
170
+ "mmlu_conceptual_physics": {
171
+ "name": "mmlu_conceptual_physics",
172
+ "alias": "conceptual_physics",
173
+ "sample_len": 235,
174
+ "acc,none": 0.5063829787234042,
175
+ "acc_stderr,none": "N/A"
176
+ },
177
+ "mmlu_electrical_engineering": {
178
+ "name": "mmlu_electrical_engineering",
179
+ "alias": "electrical_engineering",
180
+ "sample_len": 145,
181
+ "acc,none": 0.5586206896551724,
182
+ "acc_stderr,none": "N/A"
183
+ },
184
+ "mmlu_elementary_mathematics": {
185
+ "name": "mmlu_elementary_mathematics",
186
+ "alias": "elementary_mathematics",
187
+ "sample_len": 378,
188
+ "acc,none": 0.41005291005291006,
189
+ "acc_stderr,none": "N/A"
190
+ },
191
+ "mmlu_high_school_biology": {
192
+ "name": "mmlu_high_school_biology",
193
+ "alias": "high_school_biology",
194
+ "sample_len": 310,
195
+ "acc,none": 0.7225806451612903,
196
+ "acc_stderr,none": "N/A"
197
+ },
198
+ "mmlu_high_school_chemistry": {
199
+ "name": "mmlu_high_school_chemistry",
200
+ "alias": "high_school_chemistry",
201
+ "sample_len": 203,
202
+ "acc,none": 0.5073891625615764,
203
+ "acc_stderr,none": "N/A"
204
+ },
205
+ "mmlu_high_school_computer_science": {
206
+ "name": "mmlu_high_school_computer_science",
207
+ "alias": "high_school_computer_science",
208
+ "sample_len": 100,
209
+ "acc,none": 0.65,
210
+ "acc_stderr,none": "N/A"
211
+ },
212
+ "mmlu_high_school_mathematics": {
213
+ "name": "mmlu_high_school_mathematics",
214
+ "alias": "high_school_mathematics",
215
+ "sample_len": 270,
216
+ "acc,none": 0.337037037037037,
217
+ "acc_stderr,none": "N/A"
218
+ },
219
+ "mmlu_high_school_physics": {
220
+ "name": "mmlu_high_school_physics",
221
+ "alias": "high_school_physics",
222
+ "sample_len": 151,
223
+ "acc,none": 0.3973509933774834,
224
+ "acc_stderr,none": "N/A"
225
+ },
226
+ "mmlu_high_school_statistics": {
227
+ "name": "mmlu_high_school_statistics",
228
+ "alias": "high_school_statistics",
229
+ "sample_len": 216,
230
+ "acc,none": 0.41203703703703703,
231
+ "acc_stderr,none": "N/A"
232
+ },
233
+ "mmlu_machine_learning": {
234
+ "name": "mmlu_machine_learning",
235
+ "alias": "machine_learning",
236
+ "sample_len": 112,
237
+ "acc,none": 0.4375,
238
+ "acc_stderr,none": "N/A"
239
+ },
240
+ "mmlu_business_ethics": {
241
+ "name": "mmlu_business_ethics",
242
+ "alias": "business_ethics",
243
+ "sample_len": 100,
244
+ "acc,none": 0.56,
245
+ "acc_stderr,none": "N/A"
246
+ },
247
+ "mmlu_clinical_knowledge": {
248
+ "name": "mmlu_clinical_knowledge",
249
+ "alias": "clinical_knowledge",
250
+ "sample_len": 265,
251
+ "acc,none": 0.7358490566037735,
252
+ "acc_stderr,none": "N/A"
253
+ },
254
+ "mmlu_college_medicine": {
255
+ "name": "mmlu_college_medicine",
256
+ "alias": "college_medicine",
257
+ "sample_len": 173,
258
+ "acc,none": 0.5953757225433526,
259
+ "acc_stderr,none": "N/A"
260
+ },
261
+ "mmlu_global_facts": {
262
+ "name": "mmlu_global_facts",
263
+ "alias": "global_facts",
264
+ "sample_len": 100,
265
+ "acc,none": 0.39,
266
+ "acc_stderr,none": "N/A"
267
+ },
268
+ "mmlu_human_aging": {
269
+ "name": "mmlu_human_aging",
270
+ "alias": "human_aging",
271
+ "sample_len": 223,
272
+ "acc,none": 0.6636771300448431,
273
+ "acc_stderr,none": "N/A"
274
+ },
275
+ "mmlu_management": {
276
+ "name": "mmlu_management",
277
+ "alias": "management",
278
+ "sample_len": 103,
279
+ "acc,none": 0.7864077669902912,
280
+ "acc_stderr,none": "N/A"
281
+ },
282
+ "mmlu_marketing": {
283
+ "name": "mmlu_marketing",
284
+ "alias": "marketing",
285
+ "sample_len": 234,
286
+ "acc,none": 0.8504273504273504,
287
+ "acc_stderr,none": "N/A"
288
+ },
289
+ "mmlu_medical_genetics": {
290
+ "name": "mmlu_medical_genetics",
291
+ "alias": "medical_genetics",
292
+ "sample_len": 100,
293
+ "acc,none": 0.76,
294
+ "acc_stderr,none": "N/A"
295
+ },
296
+ "mmlu_miscellaneous": {
297
+ "name": "mmlu_miscellaneous",
298
+ "alias": "miscellaneous",
299
+ "sample_len": 783,
300
+ "acc,none": 0.7943805874840357,
301
+ "acc_stderr,none": "N/A"
302
+ },
303
+ "mmlu_nutrition": {
304
+ "name": "mmlu_nutrition",
305
+ "alias": "nutrition",
306
+ "sample_len": 306,
307
+ "acc,none": 0.673202614379085,
308
+ "acc_stderr,none": "N/A"
309
+ },
310
+ "mmlu_professional_accounting": {
311
+ "name": "mmlu_professional_accounting",
312
+ "alias": "professional_accounting",
313
+ "sample_len": 282,
314
+ "acc,none": 0.475177304964539,
315
+ "acc_stderr,none": "N/A"
316
+ },
317
+ "mmlu_professional_medicine": {
318
+ "name": "mmlu_professional_medicine",
319
+ "alias": "professional_medicine",
320
+ "sample_len": 272,
321
+ "acc,none": 0.6323529411764706,
322
+ "acc_stderr,none": "N/A"
323
+ },
324
+ "mmlu_virology": {
325
+ "name": "mmlu_virology",
326
+ "alias": "virology",
327
+ "sample_len": 166,
328
+ "acc,none": 0.5301204819277109,
329
+ "acc_stderr,none": "N/A"
330
+ },
331
+ "mmlu_econometrics": {
332
+ "name": "mmlu_econometrics",
333
+ "alias": "econometrics",
334
+ "sample_len": 114,
335
+ "acc,none": 0.4298245614035088,
336
+ "acc_stderr,none": "N/A"
337
+ },
338
+ "mmlu_high_school_geography": {
339
+ "name": "mmlu_high_school_geography",
340
+ "alias": "high_school_geography",
341
+ "sample_len": 198,
342
+ "acc,none": 0.7575757575757576,
343
+ "acc_stderr,none": "N/A"
344
+ },
345
+ "mmlu_high_school_government_and_politics": {
346
+ "name": "mmlu_high_school_government_and_politics",
347
+ "alias": "high_school_government_and_politics",
348
+ "sample_len": 193,
349
+ "acc,none": 0.8238341968911918,
350
+ "acc_stderr,none": "N/A"
351
+ },
352
+ "mmlu_high_school_macroeconomics": {
353
+ "name": "mmlu_high_school_macroeconomics",
354
+ "alias": "high_school_macroeconomics",
355
+ "sample_len": 390,
356
+ "acc,none": 0.5487179487179488,
357
+ "acc_stderr,none": "N/A"
358
+ },
359
+ "mmlu_high_school_microeconomics": {
360
+ "name": "mmlu_high_school_microeconomics",
361
+ "alias": "high_school_microeconomics",
362
+ "sample_len": 238,
363
+ "acc,none": 0.6260504201680672,
364
+ "acc_stderr,none": "N/A"
365
+ },
366
+ "mmlu_high_school_psychology": {
367
+ "name": "mmlu_high_school_psychology",
368
+ "alias": "high_school_psychology",
369
+ "sample_len": 545,
370
+ "acc,none": 0.7724770642201835,
371
+ "acc_stderr,none": "N/A"
372
+ },
373
+ "mmlu_human_sexuality": {
374
+ "name": "mmlu_human_sexuality",
375
+ "alias": "human_sexuality",
376
+ "sample_len": 131,
377
+ "acc,none": 0.7099236641221374,
378
+ "acc_stderr,none": "N/A"
379
+ },
380
+ "mmlu_professional_psychology": {
381
+ "name": "mmlu_professional_psychology",
382
+ "alias": "professional_psychology",
383
+ "sample_len": 612,
384
+ "acc,none": 0.6683006535947712,
385
+ "acc_stderr,none": "N/A"
386
+ },
387
+ "mmlu_public_relations": {
388
+ "name": "mmlu_public_relations",
389
+ "alias": "public_relations",
390
+ "sample_len": 110,
391
+ "acc,none": 0.6454545454545455,
392
+ "acc_stderr,none": "N/A"
393
+ },
394
+ "mmlu_security_studies": {
395
+ "name": "mmlu_security_studies",
396
+ "alias": "security_studies",
397
+ "sample_len": 245,
398
+ "acc,none": 0.6163265306122448,
399
+ "acc_stderr,none": "N/A"
400
+ },
401
+ "mmlu_sociology": {
402
+ "name": "mmlu_sociology",
403
+ "alias": "sociology",
404
+ "sample_len": 201,
405
+ "acc,none": 0.8208955223880597,
406
+ "acc_stderr,none": "N/A"
407
+ },
408
+ "mmlu_us_foreign_policy": {
409
+ "name": "mmlu_us_foreign_policy",
410
+ "alias": "us_foreign_policy",
411
+ "sample_len": 100,
412
+ "acc,none": 0.81,
413
+ "acc_stderr,none": "N/A"
414
+ },
415
+ "mmlu_formal_logic": {
416
+ "name": "mmlu_formal_logic",
417
+ "alias": "formal_logic",
418
+ "sample_len": 126,
419
+ "acc,none": 0.3888888888888889,
420
+ "acc_stderr,none": "N/A"
421
+ },
422
+ "mmlu_high_school_european_history": {
423
+ "name": "mmlu_high_school_european_history",
424
+ "alias": "high_school_european_history",
425
+ "sample_len": 165,
426
+ "acc,none": 0.7575757575757576,
427
+ "acc_stderr,none": "N/A"
428
+ },
429
+ "mmlu_high_school_us_history": {
430
+ "name": "mmlu_high_school_us_history",
431
+ "alias": "high_school_us_history",
432
+ "sample_len": 204,
433
+ "acc,none": 0.7892156862745098,
434
+ "acc_stderr,none": "N/A"
435
+ },
436
+ "mmlu_high_school_world_history": {
437
+ "name": "mmlu_high_school_world_history",
438
+ "alias": "high_school_world_history",
439
+ "sample_len": 237,
440
+ "acc,none": 0.8059071729957806,
441
+ "acc_stderr,none": "N/A"
442
+ },
443
+ "mmlu_international_law": {
444
+ "name": "mmlu_international_law",
445
+ "alias": "international_law",
446
+ "sample_len": 121,
447
+ "acc,none": 0.768595041322314,
448
+ "acc_stderr,none": "N/A"
449
+ },
450
+ "mmlu_jurisprudence": {
451
+ "name": "mmlu_jurisprudence",
452
+ "alias": "jurisprudence",
453
+ "sample_len": 108,
454
+ "acc,none": 0.6666666666666666,
455
+ "acc_stderr,none": "N/A"
456
+ },
457
+ "mmlu_logical_fallacies": {
458
+ "name": "mmlu_logical_fallacies",
459
+ "alias": "logical_fallacies",
460
+ "sample_len": 163,
461
+ "acc,none": 0.7361963190184049,
462
+ "acc_stderr,none": "N/A"
463
+ },
464
+ "mmlu_moral_disputes": {
465
+ "name": "mmlu_moral_disputes",
466
+ "alias": "moral_disputes",
467
+ "sample_len": 346,
468
+ "acc,none": 0.653179190751445,
469
+ "acc_stderr,none": "N/A"
470
+ },
471
+ "mmlu_moral_scenarios": {
472
+ "name": "mmlu_moral_scenarios",
473
+ "alias": "moral_scenarios",
474
+ "sample_len": 895,
475
+ "acc,none": 0.2871508379888268,
476
+ "acc_stderr,none": "N/A"
477
+ },
478
+ "mmlu_philosophy": {
479
+ "name": "mmlu_philosophy",
480
+ "alias": "philosophy",
481
+ "sample_len": 311,
482
+ "acc,none": 0.6495176848874598,
483
+ "acc_stderr,none": "N/A"
484
+ },
485
+ "mmlu_prehistory": {
486
+ "name": "mmlu_prehistory",
487
+ "alias": "prehistory",
488
+ "sample_len": 324,
489
+ "acc,none": 0.7006172839506173,
490
+ "acc_stderr,none": "N/A"
491
+ },
492
+ "mmlu_professional_law": {
493
+ "name": "mmlu_professional_law",
494
+ "alias": "professional_law",
495
+ "sample_len": 1534,
496
+ "acc,none": 0.4576271186440678,
497
+ "acc_stderr,none": "N/A"
498
+ },
499
+ "mmlu_world_religions": {
500
+ "name": "mmlu_world_religions",
501
+ "alias": "world_religions",
502
+ "sample_len": 171,
503
+ "acc,none": 0.7777777777777778,
504
+ "acc_stderr,none": "N/A"
505
+ },
506
+ "cmmlu_agronomy": {
507
+ "name": "cmmlu_agronomy",
508
+ "alias": "cmmlu_agronomy",
509
+ "sample_len": 169,
510
+ "acc,none": 0.4556213017751479,
511
+ "acc_stderr,none": "N/A",
512
+ "acc_norm,none": 0.4556213017751479,
513
+ "acc_norm_stderr,none": "N/A"
514
+ },
515
+ "cmmlu_anatomy": {
516
+ "name": "cmmlu_anatomy",
517
+ "alias": "cmmlu_anatomy",
518
+ "sample_len": 148,
519
+ "acc,none": 0.3310810810810811,
520
+ "acc_stderr,none": "N/A",
521
+ "acc_norm,none": 0.3310810810810811,
522
+ "acc_norm_stderr,none": "N/A"
523
+ },
524
+ "cmmlu_ancient_chinese": {
525
+ "name": "cmmlu_ancient_chinese",
526
+ "alias": "cmmlu_ancient_chinese",
527
+ "sample_len": 164,
528
+ "acc,none": 0.2926829268292683,
529
+ "acc_stderr,none": "N/A",
530
+ "acc_norm,none": 0.2926829268292683,
531
+ "acc_norm_stderr,none": "N/A"
532
+ },
533
+ "cmmlu_arts": {
534
+ "name": "cmmlu_arts",
535
+ "alias": "cmmlu_arts",
536
+ "sample_len": 160,
537
+ "acc,none": 0.54375,
538
+ "acc_stderr,none": "N/A",
539
+ "acc_norm,none": 0.54375,
540
+ "acc_norm_stderr,none": "N/A"
541
+ },
542
+ "cmmlu_astronomy": {
543
+ "name": "cmmlu_astronomy",
544
+ "alias": "cmmlu_astronomy",
545
+ "sample_len": 165,
546
+ "acc,none": 0.32727272727272727,
547
+ "acc_stderr,none": "N/A",
548
+ "acc_norm,none": 0.32727272727272727,
549
+ "acc_norm_stderr,none": "N/A"
550
+ },
551
+ "cmmlu_business_ethics": {
552
+ "name": "cmmlu_business_ethics",
553
+ "alias": "cmmlu_business_ethics",
554
+ "sample_len": 209,
555
+ "acc,none": 0.44976076555023925,
556
+ "acc_stderr,none": "N/A",
557
+ "acc_norm,none": 0.44976076555023925,
558
+ "acc_norm_stderr,none": "N/A"
559
+ },
560
+ "cmmlu_chinese_civil_service_exam": {
561
+ "name": "cmmlu_chinese_civil_service_exam",
562
+ "alias": "cmmlu_chinese_civil_service_exam",
563
+ "sample_len": 160,
564
+ "acc,none": 0.4125,
565
+ "acc_stderr,none": "N/A",
566
+ "acc_norm,none": 0.4125,
567
+ "acc_norm_stderr,none": "N/A"
568
+ },
569
+ "cmmlu_chinese_driving_rule": {
570
+ "name": "cmmlu_chinese_driving_rule",
571
+ "alias": "cmmlu_chinese_driving_rule",
572
+ "sample_len": 131,
573
+ "acc,none": 0.549618320610687,
574
+ "acc_stderr,none": "N/A",
575
+ "acc_norm,none": 0.549618320610687,
576
+ "acc_norm_stderr,none": "N/A"
577
+ },
578
+ "cmmlu_chinese_food_culture": {
579
+ "name": "cmmlu_chinese_food_culture",
580
+ "alias": "cmmlu_chinese_food_culture",
581
+ "sample_len": 136,
582
+ "acc,none": 0.36764705882352944,
583
+ "acc_stderr,none": "N/A",
584
+ "acc_norm,none": 0.36764705882352944,
585
+ "acc_norm_stderr,none": "N/A"
586
+ },
587
+ "cmmlu_chinese_foreign_policy": {
588
+ "name": "cmmlu_chinese_foreign_policy",
589
+ "alias": "cmmlu_chinese_foreign_policy",
590
+ "sample_len": 107,
591
+ "acc,none": 0.5233644859813084,
592
+ "acc_stderr,none": "N/A",
593
+ "acc_norm,none": 0.5233644859813084,
594
+ "acc_norm_stderr,none": "N/A"
595
+ },
596
+ "cmmlu_chinese_history": {
597
+ "name": "cmmlu_chinese_history",
598
+ "alias": "cmmlu_chinese_history",
599
+ "sample_len": 323,
600
+ "acc,none": 0.48606811145510836,
601
+ "acc_stderr,none": "N/A",
602
+ "acc_norm,none": 0.48606811145510836,
603
+ "acc_norm_stderr,none": "N/A"
604
+ },
605
+ "cmmlu_chinese_literature": {
606
+ "name": "cmmlu_chinese_literature",
607
+ "alias": "cmmlu_chinese_literature",
608
+ "sample_len": 204,
609
+ "acc,none": 0.3235294117647059,
610
+ "acc_stderr,none": "N/A",
611
+ "acc_norm,none": 0.3235294117647059,
612
+ "acc_norm_stderr,none": "N/A"
613
+ },
614
+ "cmmlu_chinese_teacher_qualification": {
615
+ "name": "cmmlu_chinese_teacher_qualification",
616
+ "alias": "cmmlu_chinese_teacher_qualification",
617
+ "sample_len": 179,
618
+ "acc,none": 0.5307262569832403,
619
+ "acc_stderr,none": "N/A",
620
+ "acc_norm,none": 0.5307262569832403,
621
+ "acc_norm_stderr,none": "N/A"
622
+ },
623
+ "cmmlu_clinical_knowledge": {
624
+ "name": "cmmlu_clinical_knowledge",
625
+ "alias": "cmmlu_clinical_knowledge",
626
+ "sample_len": 237,
627
+ "acc,none": 0.42616033755274263,
628
+ "acc_stderr,none": "N/A",
629
+ "acc_norm,none": 0.42616033755274263,
630
+ "acc_norm_stderr,none": "N/A"
631
+ },
632
+ "cmmlu_college_actuarial_science": {
633
+ "name": "cmmlu_college_actuarial_science",
634
+ "alias": "cmmlu_college_actuarial_science",
635
+ "sample_len": 106,
636
+ "acc,none": 0.19811320754716982,
637
+ "acc_stderr,none": "N/A",
638
+ "acc_norm,none": 0.19811320754716982,
639
+ "acc_norm_stderr,none": "N/A"
640
+ },
641
+ "cmmlu_college_education": {
642
+ "name": "cmmlu_college_education",
643
+ "alias": "cmmlu_college_education",
644
+ "sample_len": 107,
645
+ "acc,none": 0.616822429906542,
646
+ "acc_stderr,none": "N/A",
647
+ "acc_norm,none": 0.616822429906542,
648
+ "acc_norm_stderr,none": "N/A"
649
+ },
650
+ "cmmlu_college_engineering_hydrology": {
651
+ "name": "cmmlu_college_engineering_hydrology",
652
+ "alias": "cmmlu_college_engineering_hydrology",
653
+ "sample_len": 106,
654
+ "acc,none": 0.4528301886792453,
655
+ "acc_stderr,none": "N/A",
656
+ "acc_norm,none": 0.4528301886792453,
657
+ "acc_norm_stderr,none": "N/A"
658
+ },
659
+ "cmmlu_college_law": {
660
+ "name": "cmmlu_college_law",
661
+ "alias": "cmmlu_college_law",
662
+ "sample_len": 108,
663
+ "acc,none": 0.3611111111111111,
664
+ "acc_stderr,none": "N/A",
665
+ "acc_norm,none": 0.3611111111111111,
666
+ "acc_norm_stderr,none": "N/A"
667
+ },
668
+ "cmmlu_college_mathematics": {
669
+ "name": "cmmlu_college_mathematics",
670
+ "alias": "cmmlu_college_mathematics",
671
+ "sample_len": 105,
672
+ "acc,none": 0.3047619047619048,
673
+ "acc_stderr,none": "N/A",
674
+ "acc_norm,none": 0.3047619047619048,
675
+ "acc_norm_stderr,none": "N/A"
676
+ },
677
+ "cmmlu_college_medical_statistics": {
678
+ "name": "cmmlu_college_medical_statistics",
679
+ "alias": "cmmlu_college_medical_statistics",
680
+ "sample_len": 106,
681
+ "acc,none": 0.44339622641509435,
682
+ "acc_stderr,none": "N/A",
683
+ "acc_norm,none": 0.44339622641509435,
684
+ "acc_norm_stderr,none": "N/A"
685
+ },
686
+ "cmmlu_college_medicine": {
687
+ "name": "cmmlu_college_medicine",
688
+ "alias": "cmmlu_college_medicine",
689
+ "sample_len": 273,
690
+ "acc,none": 0.42857142857142855,
691
+ "acc_stderr,none": "N/A",
692
+ "acc_norm,none": 0.42857142857142855,
693
+ "acc_norm_stderr,none": "N/A"
694
+ },
695
+ "cmmlu_computer_science": {
696
+ "name": "cmmlu_computer_science",
697
+ "alias": "cmmlu_computer_science",
698
+ "sample_len": 204,
699
+ "acc,none": 0.5343137254901961,
700
+ "acc_stderr,none": "N/A",
701
+ "acc_norm,none": 0.5343137254901961,
702
+ "acc_norm_stderr,none": "N/A"
703
+ },
704
+ "cmmlu_computer_security": {
705
+ "name": "cmmlu_computer_security",
706
+ "alias": "cmmlu_computer_security",
707
+ "sample_len": 171,
708
+ "acc,none": 0.6257309941520468,
709
+ "acc_stderr,none": "N/A",
710
+ "acc_norm,none": 0.6257309941520468,
711
+ "acc_norm_stderr,none": "N/A"
712
+ },
713
+ "cmmlu_conceptual_physics": {
714
+ "name": "cmmlu_conceptual_physics",
715
+ "alias": "cmmlu_conceptual_physics",
716
+ "sample_len": 147,
717
+ "acc,none": 0.38095238095238093,
718
+ "acc_stderr,none": "N/A",
719
+ "acc_norm,none": 0.38095238095238093,
720
+ "acc_norm_stderr,none": "N/A"
721
+ },
722
+ "cmmlu_construction_project_management": {
723
+ "name": "cmmlu_construction_project_management",
724
+ "alias": "cmmlu_construction_project_management",
725
+ "sample_len": 139,
726
+ "acc,none": 0.3597122302158273,
727
+ "acc_stderr,none": "N/A",
728
+ "acc_norm,none": 0.3597122302158273,
729
+ "acc_norm_stderr,none": "N/A"
730
+ },
731
+ "cmmlu_economics": {
732
+ "name": "cmmlu_economics",
733
+ "alias": "cmmlu_economics",
734
+ "sample_len": 159,
735
+ "acc,none": 0.4779874213836478,
736
+ "acc_stderr,none": "N/A",
737
+ "acc_norm,none": 0.4779874213836478,
738
+ "acc_norm_stderr,none": "N/A"
739
+ },
740
+ "cmmlu_education": {
741
+ "name": "cmmlu_education",
742
+ "alias": "cmmlu_education",
743
+ "sample_len": 163,
744
+ "acc,none": 0.4723926380368098,
745
+ "acc_stderr,none": "N/A",
746
+ "acc_norm,none": 0.4723926380368098,
747
+ "acc_norm_stderr,none": "N/A"
748
+ },
749
+ "cmmlu_electrical_engineering": {
750
+ "name": "cmmlu_electrical_engineering",
751
+ "alias": "cmmlu_electrical_engineering",
752
+ "sample_len": 172,
753
+ "acc,none": 0.4011627906976744,
754
+ "acc_stderr,none": "N/A",
755
+ "acc_norm,none": 0.4011627906976744,
756
+ "acc_norm_stderr,none": "N/A"
757
+ },
758
+ "cmmlu_elementary_chinese": {
759
+ "name": "cmmlu_elementary_chinese",
760
+ "alias": "cmmlu_elementary_chinese",
761
+ "sample_len": 252,
762
+ "acc,none": 0.36507936507936506,
763
+ "acc_stderr,none": "N/A",
764
+ "acc_norm,none": 0.36507936507936506,
765
+ "acc_norm_stderr,none": "N/A"
766
+ },
767
+ "cmmlu_elementary_commonsense": {
768
+ "name": "cmmlu_elementary_commonsense",
769
+ "alias": "cmmlu_elementary_commonsense",
770
+ "sample_len": 198,
771
+ "acc,none": 0.43434343434343436,
772
+ "acc_stderr,none": "N/A",
773
+ "acc_norm,none": 0.43434343434343436,
774
+ "acc_norm_stderr,none": "N/A"
775
+ },
776
+ "cmmlu_elementary_information_and_technology": {
777
+ "name": "cmmlu_elementary_information_and_technology",
778
+ "alias": "cmmlu_elementary_information_and_technology",
779
+ "sample_len": 238,
780
+ "acc,none": 0.6554621848739496,
781
+ "acc_stderr,none": "N/A",
782
+ "acc_norm,none": 0.6554621848739496,
783
+ "acc_norm_stderr,none": "N/A"
784
+ },
785
+ "cmmlu_elementary_mathematics": {
786
+ "name": "cmmlu_elementary_mathematics",
787
+ "alias": "cmmlu_elementary_mathematics",
788
+ "sample_len": 230,
789
+ "acc,none": 0.3347826086956522,
790
+ "acc_stderr,none": "N/A",
791
+ "acc_norm,none": 0.3347826086956522,
792
+ "acc_norm_stderr,none": "N/A"
793
+ },
794
+ "cmmlu_ethnology": {
795
+ "name": "cmmlu_ethnology",
796
+ "alias": "cmmlu_ethnology",
797
+ "sample_len": 135,
798
+ "acc,none": 0.35555555555555557,
799
+ "acc_stderr,none": "N/A",
800
+ "acc_norm,none": 0.35555555555555557,
801
+ "acc_norm_stderr,none": "N/A"
802
+ },
803
+ "cmmlu_food_science": {
804
+ "name": "cmmlu_food_science",
805
+ "alias": "cmmlu_food_science",
806
+ "sample_len": 143,
807
+ "acc,none": 0.46153846153846156,
808
+ "acc_stderr,none": "N/A",
809
+ "acc_norm,none": 0.46153846153846156,
810
+ "acc_norm_stderr,none": "N/A"
811
+ },
812
+ "cmmlu_genetics": {
813
+ "name": "cmmlu_genetics",
814
+ "alias": "cmmlu_genetics",
815
+ "sample_len": 176,
816
+ "acc,none": 0.4090909090909091,
817
+ "acc_stderr,none": "N/A",
818
+ "acc_norm,none": 0.4090909090909091,
819
+ "acc_norm_stderr,none": "N/A"
820
+ },
821
+ "cmmlu_global_facts": {
822
+ "name": "cmmlu_global_facts",
823
+ "alias": "cmmlu_global_facts",
824
+ "sample_len": 149,
825
+ "acc,none": 0.47651006711409394,
826
+ "acc_stderr,none": "N/A",
827
+ "acc_norm,none": 0.47651006711409394,
828
+ "acc_norm_stderr,none": "N/A"
829
+ },
830
+ "cmmlu_high_school_biology": {
831
+ "name": "cmmlu_high_school_biology",
832
+ "alias": "cmmlu_high_school_biology",
833
+ "sample_len": 169,
834
+ "acc,none": 0.41420118343195267,
835
+ "acc_stderr,none": "N/A",
836
+ "acc_norm,none": 0.41420118343195267,
837
+ "acc_norm_stderr,none": "N/A"
838
+ },
839
+ "cmmlu_high_school_chemistry": {
840
+ "name": "cmmlu_high_school_chemistry",
841
+ "alias": "cmmlu_high_school_chemistry",
842
+ "sample_len": 132,
843
+ "acc,none": 0.2878787878787879,
844
+ "acc_stderr,none": "N/A",
845
+ "acc_norm,none": 0.2878787878787879,
846
+ "acc_norm_stderr,none": "N/A"
847
+ },
848
+ "cmmlu_high_school_geography": {
849
+ "name": "cmmlu_high_school_geography",
850
+ "alias": "cmmlu_high_school_geography",
851
+ "sample_len": 118,
852
+ "acc,none": 0.4491525423728814,
853
+ "acc_stderr,none": "N/A",
854
+ "acc_norm,none": 0.4491525423728814,
855
+ "acc_norm_stderr,none": "N/A"
856
+ },
857
+ "cmmlu_high_school_mathematics": {
858
+ "name": "cmmlu_high_school_mathematics",
859
+ "alias": "cmmlu_high_school_mathematics",
860
+ "sample_len": 164,
861
+ "acc,none": 0.3231707317073171,
862
+ "acc_stderr,none": "N/A",
863
+ "acc_norm,none": 0.3231707317073171,
864
+ "acc_norm_stderr,none": "N/A"
865
+ },
866
+ "cmmlu_high_school_physics": {
867
+ "name": "cmmlu_high_school_physics",
868
+ "alias": "cmmlu_high_school_physics",
869
+ "sample_len": 110,
870
+ "acc,none": 0.35454545454545455,
871
+ "acc_stderr,none": "N/A",
872
+ "acc_norm,none": 0.35454545454545455,
873
+ "acc_norm_stderr,none": "N/A"
874
+ },
875
+ "cmmlu_high_school_politics": {
876
+ "name": "cmmlu_high_school_politics",
877
+ "alias": "cmmlu_high_school_politics",
878
+ "sample_len": 143,
879
+ "acc,none": 0.4195804195804196,
880
+ "acc_stderr,none": "N/A",
881
+ "acc_norm,none": 0.4195804195804196,
882
+ "acc_norm_stderr,none": "N/A"
883
+ },
884
+ "cmmlu_human_sexuality": {
885
+ "name": "cmmlu_human_sexuality",
886
+ "alias": "cmmlu_human_sexuality",
887
+ "sample_len": 126,
888
+ "acc,none": 0.5,
889
+ "acc_stderr,none": "N/A",
890
+ "acc_norm,none": 0.5,
891
+ "acc_norm_stderr,none": "N/A"
892
+ },
893
+ "cmmlu_international_law": {
894
+ "name": "cmmlu_international_law",
895
+ "alias": "cmmlu_international_law",
896
+ "sample_len": 185,
897
+ "acc,none": 0.3783783783783784,
898
+ "acc_stderr,none": "N/A",
899
+ "acc_norm,none": 0.3783783783783784,
900
+ "acc_norm_stderr,none": "N/A"
901
+ },
902
+ "cmmlu_journalism": {
903
+ "name": "cmmlu_journalism",
904
+ "alias": "cmmlu_journalism",
905
+ "sample_len": 172,
906
+ "acc,none": 0.47093023255813954,
907
+ "acc_stderr,none": "N/A",
908
+ "acc_norm,none": 0.47093023255813954,
909
+ "acc_norm_stderr,none": "N/A"
910
+ },
911
+ "cmmlu_jurisprudence": {
912
+ "name": "cmmlu_jurisprudence",
913
+ "alias": "cmmlu_jurisprudence",
914
+ "sample_len": 411,
915
+ "acc,none": 0.44282238442822386,
916
+ "acc_stderr,none": "N/A",
917
+ "acc_norm,none": 0.44282238442822386,
918
+ "acc_norm_stderr,none": "N/A"
919
+ },
920
+ "cmmlu_legal_and_moral_basis": {
921
+ "name": "cmmlu_legal_and_moral_basis",
922
+ "alias": "cmmlu_legal_and_moral_basis",
923
+ "sample_len": 214,
924
+ "acc,none": 0.6962616822429907,
925
+ "acc_stderr,none": "N/A",
926
+ "acc_norm,none": 0.6962616822429907,
927
+ "acc_norm_stderr,none": "N/A"
928
+ },
929
+ "cmmlu_logical": {
930
+ "name": "cmmlu_logical",
931
+ "alias": "cmmlu_logical",
932
+ "sample_len": 123,
933
+ "acc,none": 0.3902439024390244,
934
+ "acc_stderr,none": "N/A",
935
+ "acc_norm,none": 0.3902439024390244,
936
+ "acc_norm_stderr,none": "N/A"
937
+ },
938
+ "cmmlu_machine_learning": {
939
+ "name": "cmmlu_machine_learning",
940
+ "alias": "cmmlu_machine_learning",
941
+ "sample_len": 122,
942
+ "acc,none": 0.4672131147540984,
943
+ "acc_stderr,none": "N/A",
944
+ "acc_norm,none": 0.4672131147540984,
945
+ "acc_norm_stderr,none": "N/A"
946
+ },
947
+ "cmmlu_management": {
948
+ "name": "cmmlu_management",
949
+ "alias": "cmmlu_management",
950
+ "sample_len": 210,
951
+ "acc,none": 0.5571428571428572,
952
+ "acc_stderr,none": "N/A",
953
+ "acc_norm,none": 0.5571428571428572,
954
+ "acc_norm_stderr,none": "N/A"
955
+ },
956
+ "cmmlu_marketing": {
957
+ "name": "cmmlu_marketing",
958
+ "alias": "cmmlu_marketing",
959
+ "sample_len": 180,
960
+ "acc,none": 0.5333333333333333,
961
+ "acc_stderr,none": "N/A",
962
+ "acc_norm,none": 0.5333333333333333,
963
+ "acc_norm_stderr,none": "N/A"
964
+ },
965
+ "cmmlu_marxist_theory": {
966
+ "name": "cmmlu_marxist_theory",
967
+ "alias": "cmmlu_marxist_theory",
968
+ "sample_len": 189,
969
+ "acc,none": 0.5608465608465608,
970
+ "acc_stderr,none": "N/A",
971
+ "acc_norm,none": 0.5608465608465608,
972
+ "acc_norm_stderr,none": "N/A"
973
+ },
974
+ "cmmlu_modern_chinese": {
975
+ "name": "cmmlu_modern_chinese",
976
+ "alias": "cmmlu_modern_chinese",
977
+ "sample_len": 116,
978
+ "acc,none": 0.3275862068965517,
979
+ "acc_stderr,none": "N/A",
980
+ "acc_norm,none": 0.3275862068965517,
981
+ "acc_norm_stderr,none": "N/A"
982
+ },
983
+ "cmmlu_nutrition": {
984
+ "name": "cmmlu_nutrition",
985
+ "alias": "cmmlu_nutrition",
986
+ "sample_len": 145,
987
+ "acc,none": 0.38620689655172413,
988
+ "acc_stderr,none": "N/A",
989
+ "acc_norm,none": 0.38620689655172413,
990
+ "acc_norm_stderr,none": "N/A"
991
+ },
992
+ "cmmlu_philosophy": {
993
+ "name": "cmmlu_philosophy",
994
+ "alias": "cmmlu_philosophy",
995
+ "sample_len": 105,
996
+ "acc,none": 0.5428571428571428,
997
+ "acc_stderr,none": "N/A",
998
+ "acc_norm,none": 0.5428571428571428,
999
+ "acc_norm_stderr,none": "N/A"
1000
+ },
1001
+ "cmmlu_professional_accounting": {
1002
+ "name": "cmmlu_professional_accounting",
1003
+ "alias": "cmmlu_professional_accounting",
1004
+ "sample_len": 175,
1005
+ "acc,none": 0.48,
1006
+ "acc_stderr,none": "N/A",
1007
+ "acc_norm,none": 0.48,
1008
+ "acc_norm_stderr,none": "N/A"
1009
+ },
1010
+ "cmmlu_professional_law": {
1011
+ "name": "cmmlu_professional_law",
1012
+ "alias": "cmmlu_professional_law",
1013
+ "sample_len": 211,
1014
+ "acc,none": 0.33649289099526064,
1015
+ "acc_stderr,none": "N/A",
1016
+ "acc_norm,none": 0.33649289099526064,
1017
+ "acc_norm_stderr,none": "N/A"
1018
+ },
1019
+ "cmmlu_professional_medicine": {
1020
+ "name": "cmmlu_professional_medicine",
1021
+ "alias": "cmmlu_professional_medicine",
1022
+ "sample_len": 376,
1023
+ "acc,none": 0.3271276595744681,
1024
+ "acc_stderr,none": "N/A",
1025
+ "acc_norm,none": 0.3271276595744681,
1026
+ "acc_norm_stderr,none": "N/A"
1027
+ },
1028
+ "cmmlu_professional_psychology": {
1029
+ "name": "cmmlu_professional_psychology",
1030
+ "alias": "cmmlu_professional_psychology",
1031
+ "sample_len": 232,
1032
+ "acc,none": 0.4870689655172414,
1033
+ "acc_stderr,none": "N/A",
1034
+ "acc_norm,none": 0.4870689655172414,
1035
+ "acc_norm_stderr,none": "N/A"
1036
+ },
1037
+ "cmmlu_public_relations": {
1038
+ "name": "cmmlu_public_relations",
1039
+ "alias": "cmmlu_public_relations",
1040
+ "sample_len": 174,
1041
+ "acc,none": 0.4425287356321839,
1042
+ "acc_stderr,none": "N/A",
1043
+ "acc_norm,none": 0.4425287356321839,
1044
+ "acc_norm_stderr,none": "N/A"
1045
+ },
1046
+ "cmmlu_security_study": {
1047
+ "name": "cmmlu_security_study",
1048
+ "alias": "cmmlu_security_study",
1049
+ "sample_len": 135,
1050
+ "acc,none": 0.5037037037037037,
1051
+ "acc_stderr,none": "N/A",
1052
+ "acc_norm,none": 0.5037037037037037,
1053
+ "acc_norm_stderr,none": "N/A"
1054
+ },
1055
+ "cmmlu_sociology": {
1056
+ "name": "cmmlu_sociology",
1057
+ "alias": "cmmlu_sociology",
1058
+ "sample_len": 226,
1059
+ "acc,none": 0.5088495575221239,
1060
+ "acc_stderr,none": "N/A",
1061
+ "acc_norm,none": 0.5088495575221239,
1062
+ "acc_norm_stderr,none": "N/A"
1063
+ },
1064
+ "cmmlu_sports_science": {
1065
+ "name": "cmmlu_sports_science",
1066
+ "alias": "cmmlu_sports_science",
1067
+ "sample_len": 165,
1068
+ "acc,none": 0.44242424242424244,
1069
+ "acc_stderr,none": "N/A",
1070
+ "acc_norm,none": 0.44242424242424244,
1071
+ "acc_norm_stderr,none": "N/A"
1072
+ },
1073
+ "cmmlu_traditional_chinese_medicine": {
1074
+ "name": "cmmlu_traditional_chinese_medicine",
1075
+ "alias": "cmmlu_traditional_chinese_medicine",
1076
+ "sample_len": 185,
1077
+ "acc,none": 0.3891891891891892,
1078
+ "acc_stderr,none": "N/A",
1079
+ "acc_norm,none": 0.3891891891891892,
1080
+ "acc_norm_stderr,none": "N/A"
1081
+ },
1082
+ "cmmlu_virology": {
1083
+ "name": "cmmlu_virology",
1084
+ "alias": "cmmlu_virology",
1085
+ "sample_len": 169,
1086
+ "acc,none": 0.5207100591715976,
1087
+ "acc_stderr,none": "N/A",
1088
+ "acc_norm,none": 0.5207100591715976,
1089
+ "acc_norm_stderr,none": "N/A"
1090
+ },
1091
+ "cmmlu_world_history": {
1092
+ "name": "cmmlu_world_history",
1093
+ "alias": "cmmlu_world_history",
1094
+ "sample_len": 161,
1095
+ "acc,none": 0.546583850931677,
1096
+ "acc_stderr,none": "N/A",
1097
+ "acc_norm,none": 0.546583850931677,
1098
+ "acc_norm_stderr,none": "N/A"
1099
+ },
1100
+ "cmmlu_world_religions": {
1101
+ "name": "cmmlu_world_religions",
1102
+ "alias": "cmmlu_world_religions",
1103
+ "sample_len": 160,
1104
+ "acc,none": 0.55,
1105
+ "acc_stderr,none": "N/A",
1106
+ "acc_norm,none": 0.55,
1107
+ "acc_norm_stderr,none": "N/A"
1108
+ },
1109
+ "mmlu_stem": {
1110
+ "alias": "stem",
1111
+ "name": "mmlu_stem",
1112
+ "sample_len": 3153,
1113
+ "acc,none": 0.507453219156359,
1114
+ "acc_stderr,none": "N/A",
1115
+ "sample_count": {
1116
+ "acc,none": 3153
1117
+ }
1118
+ },
1119
+ "mmlu_other": {
1120
+ "alias": "other",
1121
+ "name": "mmlu_other",
1122
+ "sample_len": 3107,
1123
+ "acc,none": 0.6820083682008368,
1124
+ "acc_stderr,none": "N/A",
1125
+ "sample_count": {
1126
+ "acc,none": 3107
1127
+ }
1128
+ },
1129
+ "mmlu_social_sciences": {
1130
+ "alias": "social sciences",
1131
+ "name": "mmlu_social_sciences",
1132
+ "sample_len": 3077,
1133
+ "acc,none": 0.6863828404289892,
1134
+ "acc_stderr,none": "N/A",
1135
+ "sample_count": {
1136
+ "acc,none": 3077
1137
+ }
1138
+ },
1139
+ "mmlu_humanities": {
1140
+ "alias": "humanities",
1141
+ "name": "mmlu_humanities",
1142
+ "sample_len": 4705,
1143
+ "acc,none": 0.5436769394261424,
1144
+ "acc_stderr,none": "N/A",
1145
+ "sample_count": {
1146
+ "acc,none": 4705
1147
+ }
1148
+ },
1149
+ "mmlu": {
1150
+ "alias": "mmlu",
1151
+ "name": "mmlu",
1152
+ "sample_len": 14042,
1153
+ "acc,none": 0.5974220196553197,
1154
+ "acc_stderr,none": "N/A",
1155
+ "sample_count": {
1156
+ "acc,none": 14042
1157
+ }
1158
+ },
1159
+ "cmmlu": {
1160
+ "alias": "cmmlu",
1161
+ "name": "cmmlu",
1162
+ "sample_len": 11582,
1163
+ "acc,none": 0.4443964772923502,
1164
+ "acc_stderr,none": "N/A",
1165
+ "acc_norm,none": 0.4443964772923502,
1166
+ "acc_norm_stderr,none": "N/A",
1167
+ "sample_count": {
1168
+ "acc,none": 11582,
1169
+ "acc_norm,none": 11582
1170
+ }
1171
+ }
1172
+ },
1173
+ "lm_eval_groups": {
1174
+ "mmlu_stem": {
1175
+ "alias": "stem",
1176
+ "name": "mmlu_stem",
1177
+ "sample_len": 3153,
1178
+ "acc,none": 0.507453219156359,
1179
+ "acc_stderr,none": "N/A",
1180
+ "sample_count": {
1181
+ "acc,none": 3153
1182
+ }
1183
+ },
1184
+ "mmlu_other": {
1185
+ "alias": "other",
1186
+ "name": "mmlu_other",
1187
+ "sample_len": 3107,
1188
+ "acc,none": 0.6820083682008368,
1189
+ "acc_stderr,none": "N/A",
1190
+ "sample_count": {
1191
+ "acc,none": 3107
1192
+ }
1193
+ },
1194
+ "mmlu_social_sciences": {
1195
+ "alias": "social sciences",
1196
+ "name": "mmlu_social_sciences",
1197
+ "sample_len": 3077,
1198
+ "acc,none": 0.6863828404289892,
1199
+ "acc_stderr,none": "N/A",
1200
+ "sample_count": {
1201
+ "acc,none": 3077
1202
+ }
1203
+ },
1204
+ "mmlu_humanities": {
1205
+ "alias": "humanities",
1206
+ "name": "mmlu_humanities",
1207
+ "sample_len": 4705,
1208
+ "acc,none": 0.5436769394261424,
1209
+ "acc_stderr,none": "N/A",
1210
+ "sample_count": {
1211
+ "acc,none": 4705
1212
+ }
1213
+ },
1214
+ "mmlu": {
1215
+ "alias": "mmlu",
1216
+ "name": "mmlu",
1217
+ "sample_len": 14042,
1218
+ "acc,none": 0.5974220196553197,
1219
+ "acc_stderr,none": "N/A",
1220
+ "sample_count": {
1221
+ "acc,none": 14042
1222
+ }
1223
+ },
1224
+ "cmmlu": {
1225
+ "alias": "cmmlu",
1226
+ "name": "cmmlu",
1227
+ "sample_len": 11582,
1228
+ "acc,none": 0.4443964772923502,
1229
+ "acc_stderr,none": "N/A",
1230
+ "acc_norm,none": 0.4443964772923502,
1231
+ "acc_norm_stderr,none": "N/A",
1232
+ "sample_count": {
1233
+ "acc,none": 11582,
1234
+ "acc_norm,none": 11582
1235
+ }
1236
+ }
1237
+ },
1238
+ "lm_eval_versions": {
1239
+ "arc_challenge": 1.0,
1240
+ "arc_easy": 1.0,
1241
+ "cmmlu": "1.0",
1242
+ "cmmlu_agronomy": 1.0,
1243
+ "cmmlu_anatomy": 1.0,
1244
+ "cmmlu_ancient_chinese": 1.0,
1245
+ "cmmlu_arts": 1.0,
1246
+ "cmmlu_astronomy": 1.0,
1247
+ "cmmlu_business_ethics": 1.0,
1248
+ "cmmlu_chinese_civil_service_exam": 1.0,
1249
+ "cmmlu_chinese_driving_rule": 1.0,
1250
+ "cmmlu_chinese_food_culture": 1.0,
1251
+ "cmmlu_chinese_foreign_policy": 1.0,
1252
+ "cmmlu_chinese_history": 1.0,
1253
+ "cmmlu_chinese_literature": 1.0,
1254
+ "cmmlu_chinese_teacher_qualification": 1.0,
1255
+ "cmmlu_clinical_knowledge": 1.0,
1256
+ "cmmlu_college_actuarial_science": 1.0,
1257
+ "cmmlu_college_education": 1.0,
1258
+ "cmmlu_college_engineering_hydrology": 1.0,
1259
+ "cmmlu_college_law": 1.0,
1260
+ "cmmlu_college_mathematics": 1.0,
1261
+ "cmmlu_college_medical_statistics": 1.0,
1262
+ "cmmlu_college_medicine": 1.0,
1263
+ "cmmlu_computer_science": 1.0,
1264
+ "cmmlu_computer_security": 1.0,
1265
+ "cmmlu_conceptual_physics": 1.0,
1266
+ "cmmlu_construction_project_management": 1.0,
1267
+ "cmmlu_economics": 1.0,
1268
+ "cmmlu_education": 1.0,
1269
+ "cmmlu_electrical_engineering": 1.0,
1270
+ "cmmlu_elementary_chinese": 1.0,
1271
+ "cmmlu_elementary_commonsense": 1.0,
1272
+ "cmmlu_elementary_information_and_technology": 1.0,
1273
+ "cmmlu_elementary_mathematics": 1.0,
1274
+ "cmmlu_ethnology": 1.0,
1275
+ "cmmlu_food_science": 1.0,
1276
+ "cmmlu_genetics": 1.0,
1277
+ "cmmlu_global_facts": 1.0,
1278
+ "cmmlu_high_school_biology": 1.0,
1279
+ "cmmlu_high_school_chemistry": 1.0,
1280
+ "cmmlu_high_school_geography": 1.0,
1281
+ "cmmlu_high_school_mathematics": 1.0,
1282
+ "cmmlu_high_school_physics": 1.0,
1283
+ "cmmlu_high_school_politics": 1.0,
1284
+ "cmmlu_human_sexuality": 1.0,
1285
+ "cmmlu_international_law": 1.0,
1286
+ "cmmlu_journalism": 1.0,
1287
+ "cmmlu_jurisprudence": 1.0,
1288
+ "cmmlu_legal_and_moral_basis": 1.0,
1289
+ "cmmlu_logical": 1.0,
1290
+ "cmmlu_machine_learning": 1.0,
1291
+ "cmmlu_management": 1.0,
1292
+ "cmmlu_marketing": 1.0,
1293
+ "cmmlu_marxist_theory": 1.0,
1294
+ "cmmlu_modern_chinese": 1.0,
1295
+ "cmmlu_nutrition": 1.0,
1296
+ "cmmlu_philosophy": 1.0,
1297
+ "cmmlu_professional_accounting": 1.0,
1298
+ "cmmlu_professional_law": 1.0,
1299
+ "cmmlu_professional_medicine": 1.0,
1300
+ "cmmlu_professional_psychology": 1.0,
1301
+ "cmmlu_public_relations": 1.0,
1302
+ "cmmlu_security_study": 1.0,
1303
+ "cmmlu_sociology": 1.0,
1304
+ "cmmlu_sports_science": 1.0,
1305
+ "cmmlu_traditional_chinese_medicine": 1.0,
1306
+ "cmmlu_virology": 1.0,
1307
+ "cmmlu_world_history": 1.0,
1308
+ "cmmlu_world_religions": 1.0,
1309
+ "hellaswag": 1.0,
1310
+ "mmlu": "2",
1311
+ "mmlu_abstract_algebra": 1.0,
1312
+ "mmlu_anatomy": 1.0,
1313
+ "mmlu_astronomy": 1.0,
1314
+ "mmlu_business_ethics": 1.0,
1315
+ "mmlu_clinical_knowledge": 1.0,
1316
+ "mmlu_college_biology": 1.0,
1317
+ "mmlu_college_chemistry": 1.0,
1318
+ "mmlu_college_computer_science": 1.0,
1319
+ "mmlu_college_mathematics": 1.0,
1320
+ "mmlu_college_medicine": 1.0,
1321
+ "mmlu_college_physics": 1.0,
1322
+ "mmlu_computer_security": 1.0,
1323
+ "mmlu_conceptual_physics": 1.0,
1324
+ "mmlu_econometrics": 1.0,
1325
+ "mmlu_electrical_engineering": 1.0,
1326
+ "mmlu_elementary_mathematics": 1.0,
1327
+ "mmlu_formal_logic": 1.0,
1328
+ "mmlu_global_facts": 1.0,
1329
+ "mmlu_high_school_biology": 1.0,
1330
+ "mmlu_high_school_chemistry": 1.0,
1331
+ "mmlu_high_school_computer_science": 1.0,
1332
+ "mmlu_high_school_european_history": 1.0,
1333
+ "mmlu_high_school_geography": 1.0,
1334
+ "mmlu_high_school_government_and_politics": 1.0,
1335
+ "mmlu_high_school_macroeconomics": 1.0,
1336
+ "mmlu_high_school_mathematics": 1.0,
1337
+ "mmlu_high_school_microeconomics": 1.0,
1338
+ "mmlu_high_school_physics": 1.0,
1339
+ "mmlu_high_school_psychology": 1.0,
1340
+ "mmlu_high_school_statistics": 1.0,
1341
+ "mmlu_high_school_us_history": 1.0,
1342
+ "mmlu_high_school_world_history": 1.0,
1343
+ "mmlu_human_aging": 1.0,
1344
+ "mmlu_human_sexuality": 1.0,
1345
+ "mmlu_humanities": "2",
1346
+ "mmlu_international_law": 1.0,
1347
+ "mmlu_jurisprudence": 1.0,
1348
+ "mmlu_logical_fallacies": 1.0,
1349
+ "mmlu_machine_learning": 1.0,
1350
+ "mmlu_management": 1.0,
1351
+ "mmlu_marketing": 1.0,
1352
+ "mmlu_medical_genetics": 1.0,
1353
+ "mmlu_miscellaneous": 1.0,
1354
+ "mmlu_moral_disputes": 1.0,
1355
+ "mmlu_moral_scenarios": 1.0,
1356
+ "mmlu_nutrition": 1.0,
1357
+ "mmlu_other": "2",
1358
+ "mmlu_philosophy": 1.0,
1359
+ "mmlu_prehistory": 1.0,
1360
+ "mmlu_professional_accounting": 1.0,
1361
+ "mmlu_professional_law": 1.0,
1362
+ "mmlu_professional_medicine": 1.0,
1363
+ "mmlu_professional_psychology": 1.0,
1364
+ "mmlu_public_relations": 1.0,
1365
+ "mmlu_security_studies": 1.0,
1366
+ "mmlu_social_sciences": "2",
1367
+ "mmlu_sociology": 1.0,
1368
+ "mmlu_stem": "2",
1369
+ "mmlu_us_foreign_policy": 1.0,
1370
+ "mmlu_virology": 1.0,
1371
+ "mmlu_world_religions": 1.0,
1372
+ "openbookqa": 1.0,
1373
+ "piqa": 1.0,
1374
+ "sciq": 1.0,
1375
+ "winogrande": 1.0
1376
+ },
1377
+ "lm_eval_config": {
1378
+ "model": "/workspace/models/llama31-base-d04e592",
1379
+ "model_args": null,
1380
+ "model_num_parameters": 6285365248,
1381
+ "model_dtype": "torch.bfloat16",
1382
+ "model_revision": "main",
1383
+ "model_sha": "",
1384
+ "batch_size": "auto:4",
1385
+ "batch_sizes": [
1386
+ 64,
1387
+ 64,
1388
+ 64,
1389
+ 64,
1390
+ 64
1391
+ ],
1392
+ "device": null,
1393
+ "use_cache": null,
1394
+ "limit": null,
1395
+ "bootstrap_iters": 0,
1396
+ "gen_kwargs": null,
1397
+ "random_seed": 0,
1398
+ "numpy_seed": 1234,
1399
+ "torch_seed": 1234,
1400
+ "fewshot_seed": 1234
1401
+ }
1402
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_opencompass5.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/models/llama31-base-d04e592",
3
+ "revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
4
+ "compact_stage": "/workspace/come-fit-batch-20261126/full/batch1/compact/stage_08",
5
+ "cycle": 8,
6
+ "anchor": 21,
7
+ "tokenizer": "/workspace/models/llama31-base-d04e592",
8
+ "protocol": "OpenCompass 0.5.4 canonical PPL prompts; full-prompt mean CE; lowest PPL",
9
+ "max_batch": 32,
10
+ "token_budget": 8192,
11
+ "limit": null,
12
+ "results": {
13
+ "race-middle": {
14
+ "accuracy": 0.5591922005571031,
15
+ "correct": 803,
16
+ "samples": 1436,
17
+ "choices": 5744
18
+ },
19
+ "race-high": {
20
+ "accuracy": 0.4834190966266438,
21
+ "correct": 1691,
22
+ "samples": 3498,
23
+ "choices": 13992
24
+ },
25
+ "C3": {
26
+ "accuracy": 0.5589041095890411,
27
+ "correct": 1020,
28
+ "samples": 1825,
29
+ "choices": 7300
30
+ },
31
+ "cmnli": {
32
+ "accuracy": 0.326934074013561,
33
+ "correct": 4002,
34
+ "samples": 12241,
35
+ "choices": 36723
36
+ },
37
+ "chid-dev": {
38
+ "accuracy": 0.5198019801980198,
39
+ "correct": 105,
40
+ "samples": 202,
41
+ "choices": 1414
42
+ }
43
+ }
44
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/final_ppl.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "/workspace/models/llama31-base-d04e592",
3
+ "revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
4
+ "compact_stage": "/workspace/come-fit-batch-20261126/full/batch1/compact/stage_08",
5
+ "dataset": "Salesforce/wikitext:wikitext-2-raw-v1:test",
6
+ "offline_policy": {
7
+ "wikitext_cache": "/workspace/come-fit-batch-20261126/wikitext2_cache",
8
+ "dataset": "Salesforce/wikitext",
9
+ "config": "wikitext-2-raw-v1",
10
+ "splits": {
11
+ "test": 4358,
12
+ "train": 36718,
13
+ "validation": 3760
14
+ },
15
+ "fingerprints": {
16
+ "test": "a46124b21ac53738",
17
+ "train": "5d4fb603254a7a5b",
18
+ "validation": "51d84d52d095f90d"
19
+ }
20
+ },
21
+ "protocol": "HCHC experiment.py: filter empty rows, join with double newline, then tokenize the complete stream once",
22
+ "sequence_length": 2048,
23
+ "batch_size": 8,
24
+ "dtype": "bfloat16",
25
+ "metrics": {
26
+ "nll": 2.955838602485386,
27
+ "perplexity": 19.21783208596286,
28
+ "tokens": 288627,
29
+ "sequences": 141,
30
+ "source_tokens": 288936
31
+ },
32
+ "anchor": 21,
33
+ "cycles": 8,
34
+ "original_layers": 32,
35
+ "decoder_layers": 24,
36
+ "post_merge_residual_scale": null,
37
+ "post_merge_residual_scales": [],
38
+ "parameterization": "unscaled compact ABPrune",
39
+ "linear_patch": null
40
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1/training_elapsed.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "wall_seconds": 1981.2216973304749,
3
+ "completed_utc": "2026-11-26T05:40:12Z"
4
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch1_backup.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "verified": true,
3
+ "repo_id": "LJYAI/paper_revision",
4
+ "path_in_repo": "runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/batch1",
5
+ "revision": "e762aaea126165ec54d02c4045ad803fee0115ee",
6
+ "manifest_files": 60,
7
+ "manifest_bytes": 1746372181,
8
+ "all_manifest_sizes_match": true,
9
+ "remote_manifest_hash_match": true,
10
+ "all_payload_hashes_match": false
11
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_01_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.02744064130599323,
129
+ "mean_abs": 8.667406118114568e-07,
130
+ "max_abs": 0.0015723109245300293
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -2.580416770840765e-07,
146
+ "std": 0.0008769054406538229,
147
+ "rms": 0.0008769054786200063,
148
+ "mean_abs": 0.0007105266364912192,
149
+ "min": -0.005197564139962196,
150
+ "max": 0.004788219463080168,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -9.258293565445846e-07,
154
+ "std": 0.0008819757684329053,
155
+ "rms": 0.0008819762543644876,
156
+ "mean_abs": 0.0007150690071284771,
157
+ "min": -0.00470720836892724,
158
+ "max": 0.004788219463080168
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 1.6730676374468851e-07,
162
+ "std": 0.0008738760079079404,
163
+ "rms": 0.0008738760239236867,
164
+ "mean_abs": 0.0007085012538092477,
165
+ "min": -0.005197564139962196,
166
+ "max": 0.0045333062298595905
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -1.5602438452333445e-08,
170
+ "std": 0.0008748418351944699,
171
+ "rms": 0.0008748418353336013,
172
+ "mean_abs": 0.0007080096485359329,
173
+ "min": -0.004926930647343397,
174
+ "max": 0.004520420450717211
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 166.41331393644214,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3150.5171527335856,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 59915162624,
195
+ "peak_reserved_bytes": 72267857920,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 25
220
+ ],
221
+ [
222
+ 26
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.030000000000000027,
227
+ 0.97
228
+ ],
229
+ "retained_attention_groups": [
230
+ 0,
231
+ 8
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 430,
235
+ 13906
236
+ ],
237
+ "pair_score": 0.1301000171474048,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 26,
270
+ "teacher_boundary_original_layer": 26
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_02_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.010594702220976778,
129
+ "mean_abs": 4.0761564637900196e-07,
130
+ "max_abs": 0.0009065568447113037
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -2.1932258581121764e-06,
146
+ "std": 0.0008882742057132049,
147
+ "rms": 0.0008882769133412675,
148
+ "mean_abs": 0.0007107394436995188,
149
+ "min": -0.005895901937037706,
150
+ "max": 0.0058640302158892155,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -6.6032937736183935e-06,
154
+ "std": 0.0008685584322563278,
155
+ "rms": 0.0008685835329617012,
156
+ "mean_abs": 0.0006964329097952161,
157
+ "min": -0.005532654467970133,
158
+ "max": 0.005065529607236385
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 1.223738276426697e-07,
162
+ "std": 0.0008844161542076956,
163
+ "rms": 0.0008844161626739328,
164
+ "mean_abs": 0.0007077863972101893,
165
+ "min": -0.004983870778232813,
166
+ "max": 0.005139563698321581
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -9.875762836080477e-08,
170
+ "std": 0.0009113058279420171,
171
+ "rms": 0.0009113058332931675,
172
+ "mean_abs": 0.0007279990240931511,
173
+ "min": -0.005895901937037706,
174
+ "max": 0.0058640302158892155
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 161.49022544547915,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3246.561818547992,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 60184681984,
195
+ "peak_reserved_bytes": 82988498944,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 23
220
+ ],
221
+ [
222
+ 24
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.97,
227
+ 0.03000000000000003
228
+ ],
229
+ "retained_attention_groups": [
230
+ 8,
231
+ 0
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 13906,
235
+ 430
236
+ ],
237
+ "pair_score": 0.13651073019910645,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 24,
270
+ "teacher_boundary_original_layer": 24
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_03_fit.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.019041405401186113,
129
+ "mean_abs": 5.655812120017973e-07,
130
+ "max_abs": 0.0015671253204345703
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -1.2744451396429213e-06,
146
+ "std": 0.0009069113605169059,
147
+ "rms": 0.0009069122559790661,
148
+ "mean_abs": 0.0007278330269313994,
149
+ "min": -0.0052828723564744,
150
+ "max": 0.005463248118758202,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -4.152906642827604e-06,
154
+ "std": 0.000898426015669409,
155
+ "rms": 0.0008984356138673451,
156
+ "mean_abs": 0.0007213178489889417,
157
+ "min": -0.004973367787897587,
158
+ "max": 0.005178375169634819
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 1.0451419387079244e-07,
162
+ "std": 0.0009060273066899778,
163
+ "rms": 0.0009060273127180613,
164
+ "mean_abs": 0.0007272659401808466,
165
+ "min": -0.005163776688277721,
166
+ "max": 0.004933398216962814
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 2.2505703002804823e-07,
170
+ "std": 0.0009161863488549399,
171
+ "rms": 0.0009161863764970599,
172
+ "mean_abs": 0.0007349152916244098,
173
+ "min": -0.0052828723564744,
174
+ "max": 0.005463248118758202
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 156.91506969183683,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3341.2214711413085,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 59312233984,
195
+ "peak_reserved_bytes": 83089162240,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 22
220
+ ],
221
+ [
222
+ 23,
223
+ 24
224
+ ]
225
+ ],
226
+ "retention_ratios": [
227
+ 0.9848857801796105,
228
+ 0.015114219820389518
229
+ ],
230
+ "retained_attention_groups": [
231
+ 8,
232
+ 0
233
+ ],
234
+ "retained_mlp_neurons": [
235
+ 14120,
236
+ 216
237
+ ],
238
+ "pair_score": 0.14334001089190387,
239
+ "minimum_retention": 0.97,
240
+ "adjusted_minimum": 0.9848857801796105,
241
+ "power": 1.0,
242
+ "allow_repeat": true,
243
+ "sbi_metric": "angular_last",
244
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
245
+ "teacher_mutated_during_initialization": false
246
+ },
247
+ "norms_trainable": false,
248
+ "initialized_parameters": [
249
+ "self_attn.q_proj.weight",
250
+ "self_attn.k_proj.weight",
251
+ "self_attn.v_proj.weight",
252
+ "self_attn.o_proj.weight",
253
+ "mlp.gate_proj.weight",
254
+ "mlp.up_proj.weight",
255
+ "mlp.down_proj.weight",
256
+ "input_layernorm.weight",
257
+ "post_attention_layernorm.weight"
258
+ ],
259
+ "frozen_CoMe_parameters": [
260
+ "self_attn.q_proj.weight",
261
+ "self_attn.k_proj.weight",
262
+ "self_attn.v_proj.weight",
263
+ "self_attn.o_proj.weight",
264
+ "input_layernorm.weight",
265
+ "post_attention_layernorm.weight"
266
+ ],
267
+ "source_feature_transport": false,
268
+ "initializer": "come",
269
+ "removed_count_per_cycle": 1,
270
+ "teacher_boundary_current_layer": 23,
271
+ "teacher_boundary_original_layer": 23
272
+ }
273
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_04_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.019315686926969947,
129
+ "mean_abs": 4.0852365773822557e-07,
130
+ "max_abs": 0.0019450783729553223
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -1.515430226174344e-07,
146
+ "std": 0.0009212914749782561,
147
+ "rms": 0.0009212914874418944,
148
+ "mean_abs": 0.0007406433467708883,
149
+ "min": -0.005235540214926004,
150
+ "max": 0.004946873057633638,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -7.852995622670278e-07,
154
+ "std": 0.0009348594578460925,
155
+ "rms": 0.0009348597876792501,
156
+ "mean_abs": 0.0007521470875612327,
157
+ "min": -0.004774733912199736,
158
+ "max": 0.004917034413665533
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": 3.808262200826513e-07,
162
+ "std": 0.0009060700377276481,
163
+ "rms": 0.0009060701177593219,
164
+ "mean_abs": 0.0007277775688895158,
165
+ "min": -0.005121738649904728,
166
+ "max": 0.0048048608005046844
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -5.0155725667926683e-08,
170
+ "std": 0.0009227177960064575,
171
+ "rms": 0.0009227177973696027,
172
+ "mean_abs": 0.0007420053838619164,
173
+ "min": -0.005235540214926004,
174
+ "max": 0.004946873057633638
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 151.83006623759866,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3453.123699357033,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 59581751808,
195
+ "peak_reserved_bytes": 82978013184,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 20
220
+ ],
221
+ [
222
+ 21
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.030000000000000034,
227
+ 0.97
228
+ ],
229
+ "retained_attention_groups": [
230
+ 0,
231
+ 8
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 430,
235
+ 13906
236
+ ],
237
+ "pair_score": 0.16033791234860054,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 21,
270
+ "teacher_boundary_original_layer": 21
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_05_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.15348014579292946,
129
+ "mean_abs": 1.7561340947785148e-06,
130
+ "max_abs": 0.015614509582519531
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": 2.9791878898235847e-06,
146
+ "std": 0.0009207999813735123,
147
+ "rms": 0.0009208048008443177,
148
+ "mean_abs": 0.0007326445054440271,
149
+ "min": -0.0052110678516328335,
150
+ "max": 0.005262143909931183,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": 9.171812312810548e-06,
154
+ "std": 0.0009502906750756,
155
+ "rms": 0.0009503349353131984,
156
+ "mean_abs": 0.000762384118778365,
157
+ "min": -0.005158312153071165,
158
+ "max": 0.004908312577754259
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -1.4899447770793423e-07,
162
+ "std": 0.0008936779493152703,
163
+ "rms": 0.0008936779617354907,
164
+ "mean_abs": 0.0007115161445524011,
165
+ "min": -0.004829178564250469,
166
+ "max": 0.005262143909931183
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -8.52541656318603e-08,
170
+ "std": 0.0009175225599063578,
171
+ "rms": 0.000917522563867172,
172
+ "mean_abs": 0.0007240332530013152,
173
+ "min": -0.0052110678516328335,
174
+ "max": 0.005232791416347027
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 150.96306661516428,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3472.955417211531,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 52999474688,
195
+ "peak_reserved_bytes": 76147589120,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 28
220
+ ],
221
+ [
222
+ 29
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.030000000000000023,
227
+ 0.97
228
+ ],
229
+ "retained_attention_groups": [
230
+ 0,
231
+ 8
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 430,
235
+ 13906
236
+ ],
237
+ "pair_score": 0.16310638328502466,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 25,
270
+ "teacher_boundary_original_layer": 29
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_06_fit.json ADDED
@@ -0,0 +1,273 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.05374775269633811,
129
+ "mean_abs": 7.167697428182388e-07,
130
+ "max_abs": 0.008440017700195312
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -1.1240819468466292e-06,
146
+ "std": 0.0008734954648093555,
147
+ "rms": 0.0008734961880871233,
148
+ "mean_abs": 0.0006974035474870886,
149
+ "min": -0.005502020008862019,
150
+ "max": 0.005998895037919283,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -3.3401382617220018e-06,
154
+ "std": 0.0008562591992498779,
155
+ "rms": 0.0008562657139134146,
156
+ "mean_abs": 0.0006855506716029984,
157
+ "min": -0.005502020008862019,
158
+ "max": 0.005998895037919283
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -2.913573179544723e-08,
162
+ "std": 0.0008573348727816762,
163
+ "rms": 0.0008573348732767517,
164
+ "mean_abs": 0.0006858013304216522,
165
+ "min": -0.005315137095749378,
166
+ "max": 0.0047070845030248165
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -2.9718470224387214e-09,
170
+ "std": 0.0009059650732998817,
171
+ "rms": 0.0009059650733047559,
172
+ "mean_abs": 0.0007208586404366153,
173
+ "min": -0.005345210898667574,
174
+ "max": 0.005340684205293655
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 145.81447018310428,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3595.582793268963,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 53268992512,
195
+ "peak_reserved_bytes": 76036440064,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 25,
220
+ 26
221
+ ],
222
+ [
223
+ 27
224
+ ]
225
+ ],
226
+ "retention_ratios": [
227
+ 0.9848857801796105,
228
+ 0.015114219820389522
229
+ ],
230
+ "retained_attention_groups": [
231
+ 8,
232
+ 0
233
+ ],
234
+ "retained_mlp_neurons": [
235
+ 14120,
236
+ 216
237
+ ],
238
+ "pair_score": 0.1707429221861965,
239
+ "minimum_retention": 0.97,
240
+ "adjusted_minimum": 0.9848857801796105,
241
+ "power": 1.0,
242
+ "allow_repeat": true,
243
+ "sbi_metric": "angular_last",
244
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
245
+ "teacher_mutated_during_initialization": false
246
+ },
247
+ "norms_trainable": false,
248
+ "initialized_parameters": [
249
+ "self_attn.q_proj.weight",
250
+ "self_attn.k_proj.weight",
251
+ "self_attn.v_proj.weight",
252
+ "self_attn.o_proj.weight",
253
+ "mlp.gate_proj.weight",
254
+ "mlp.up_proj.weight",
255
+ "mlp.down_proj.weight",
256
+ "input_layernorm.weight",
257
+ "post_attention_layernorm.weight"
258
+ ],
259
+ "frozen_CoMe_parameters": [
260
+ "self_attn.q_proj.weight",
261
+ "self_attn.k_proj.weight",
262
+ "self_attn.v_proj.weight",
263
+ "self_attn.o_proj.weight",
264
+ "input_layernorm.weight",
265
+ "post_attention_layernorm.weight"
266
+ ],
267
+ "source_feature_transport": false,
268
+ "initializer": "come",
269
+ "removed_count_per_cycle": 1,
270
+ "teacher_boundary_current_layer": 23,
271
+ "teacher_boundary_original_layer": 27
272
+ }
273
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_07_fit.json ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.029067402180348523,
129
+ "mean_abs": 5.960819072199575e-07,
130
+ "max_abs": 0.0034813880920410156
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -9.727789780472882e-07,
146
+ "std": 0.0008929140742718847,
147
+ "rms": 0.0008929146041653462,
148
+ "mean_abs": 0.0007204362413003331,
149
+ "min": -0.005415159277617931,
150
+ "max": 0.005458366125822067,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -2.673748115609799e-06,
154
+ "std": 0.0008933668536911937,
155
+ "rms": 0.0008933708547983242,
156
+ "mean_abs": 0.0007216190653187888,
157
+ "min": -0.0051304991357028484,
158
+ "max": 0.005172984674572945
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -4.1757743929338176e-08,
162
+ "std": 0.0008882241196927266,
163
+ "rms": 0.0008882241206742971,
164
+ "mean_abs": 0.0007165083661675453,
165
+ "min": -0.005252189002931118,
166
+ "max": 0.0054378933273255825
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": -2.028310746027273e-07,
170
+ "std": 0.0008971264443232677,
171
+ "rms": 0.0008971264672522787,
172
+ "mean_abs": 0.0007231812924146652,
173
+ "min": -0.005415159277617931,
174
+ "max": 0.005458366125822067
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 140.56228664144874,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3729.933629618394,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 53538510336,
195
+ "peak_reserved_bytes": 75654758400,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 20,
220
+ 21
221
+ ],
222
+ [
223
+ 22,
224
+ 23,
225
+ 24
226
+ ]
227
+ ],
228
+ "retention_ratios": [
229
+ 0.9924141172814958,
230
+ 0.007585882718504244
231
+ ],
232
+ "retained_attention_groups": [
233
+ 8,
234
+ 0
235
+ ],
236
+ "retained_mlp_neurons": [
237
+ 14228,
238
+ 108
239
+ ],
240
+ "pair_score": 0.17542642878962086,
241
+ "minimum_retention": 0.97,
242
+ "adjusted_minimum": 0.9924141172814958,
243
+ "power": 1.0,
244
+ "allow_repeat": true,
245
+ "sbi_metric": "angular_last",
246
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
247
+ "teacher_mutated_during_initialization": false
248
+ },
249
+ "norms_trainable": false,
250
+ "initialized_parameters": [
251
+ "self_attn.q_proj.weight",
252
+ "self_attn.k_proj.weight",
253
+ "self_attn.v_proj.weight",
254
+ "self_attn.o_proj.weight",
255
+ "mlp.gate_proj.weight",
256
+ "mlp.up_proj.weight",
257
+ "mlp.down_proj.weight",
258
+ "input_layernorm.weight",
259
+ "post_attention_layernorm.weight"
260
+ ],
261
+ "frozen_CoMe_parameters": [
262
+ "self_attn.q_proj.weight",
263
+ "self_attn.k_proj.weight",
264
+ "self_attn.v_proj.weight",
265
+ "self_attn.o_proj.weight",
266
+ "input_layernorm.weight",
267
+ "post_attention_layernorm.weight"
268
+ ],
269
+ "source_feature_transport": false,
270
+ "initializer": "come",
271
+ "removed_count_per_cycle": 1,
272
+ "teacher_boundary_current_layer": 21,
273
+ "teacher_boundary_original_layer": 22
274
+ }
275
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/cycle_08_fit.json ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "enabled": true,
3
+ "epochs": 1.0,
4
+ "requested_epochs": 1.0,
5
+ "skip_train": false,
6
+ "trained": true,
7
+ "lr": 0.0001,
8
+ "hidden_mse_weight": 1.0,
9
+ "attn_mse_weight": 0.0,
10
+ "mlp_mse_weight": 1.0,
11
+ "eta": 0.0,
12
+ "gamma": 0.0,
13
+ "attn_reg_scale": 1.0,
14
+ "mlp_reg_scale": 1.0,
15
+ "param_subset": "mlp",
16
+ "train_subset": "mlp",
17
+ "num_gates": 3,
18
+ "num_attn_gates": 0,
19
+ "num_mlp_gates": 3,
20
+ "num_other_gates": 0,
21
+ "num_trainable_attn_gates": 0,
22
+ "num_trainable_mlp_gates": 3,
23
+ "num_trainable_other_gates": 0,
24
+ "lambda_init_summary": {
25
+ "num_tensors": 3,
26
+ "num_elements": 3,
27
+ "mean": 0.9998999834060669,
28
+ "std": 0.0,
29
+ "min": 0.9998999834060669,
30
+ "max": 0.9998999834060669,
31
+ "mean_abs_from_0_5": 0.4998999834060669,
32
+ "per_tensor": {
33
+ "mlp.gate_proj.weight": {
34
+ "mean": 0.9998999834060669,
35
+ "std": 0.0,
36
+ "min": 0.9998999834060669,
37
+ "max": 0.9998999834060669,
38
+ "mean_abs_from_0_5": 0.4998999834060669
39
+ },
40
+ "mlp.up_proj.weight": {
41
+ "mean": 0.9998999834060669,
42
+ "std": 0.0,
43
+ "min": 0.9998999834060669,
44
+ "max": 0.9998999834060669,
45
+ "mean_abs_from_0_5": 0.4998999834060669
46
+ },
47
+ "mlp.down_proj.weight": {
48
+ "mean": 0.9998999834060669,
49
+ "std": 0.0,
50
+ "min": 0.9998999834060669,
51
+ "max": 0.9998999834060669,
52
+ "mean_abs_from_0_5": 0.4998999834060669
53
+ }
54
+ }
55
+ },
56
+ "lambda_final_summary": {
57
+ "num_tensors": 3,
58
+ "num_elements": 3,
59
+ "mean": 1.0,
60
+ "std": 0.0,
61
+ "min": 1.0,
62
+ "max": 1.0,
63
+ "mean_abs_from_0_5": 0.5,
64
+ "per_tensor": {
65
+ "mlp.gate_proj.weight": {
66
+ "mean": 1.0,
67
+ "std": 0.0,
68
+ "min": 1.0,
69
+ "max": 1.0,
70
+ "mean_abs_from_0_5": 0.5
71
+ },
72
+ "mlp.up_proj.weight": {
73
+ "mean": 1.0,
74
+ "std": 0.0,
75
+ "min": 1.0,
76
+ "max": 1.0,
77
+ "mean_abs_from_0_5": 0.5
78
+ },
79
+ "mlp.down_proj.weight": {
80
+ "mean": 1.0,
81
+ "std": 0.0,
82
+ "min": 1.0,
83
+ "max": 1.0,
84
+ "mean_abs_from_0_5": 0.5
85
+ }
86
+ }
87
+ },
88
+ "lambda_delta_from_init": {
89
+ "num_tensors": 3,
90
+ "num_elements": 3,
91
+ "mean_abs": 0.0,
92
+ "rms": 0.0,
93
+ "max_abs": 0.0,
94
+ "per_tensor": {
95
+ "mlp.gate_proj.weight": {
96
+ "mean_abs": 0.0,
97
+ "rms": 0.0,
98
+ "max_abs": 0.0
99
+ },
100
+ "mlp.up_proj.weight": {
101
+ "mean_abs": 0.0,
102
+ "rms": 0.0,
103
+ "max_abs": 0.0
104
+ },
105
+ "mlp.down_proj.weight": {
106
+ "mean_abs": 0.0,
107
+ "rms": 0.0,
108
+ "max_abs": 0.0
109
+ }
110
+ }
111
+ },
112
+ "first_grad_summary": {
113
+ "joint": {
114
+ "step": 1,
115
+ "phase": "joint",
116
+ "gate": {
117
+ "num_tensors": 3,
118
+ "num_tensors_without_grad": 3,
119
+ "num_elements": 0,
120
+ "l2": 0.0,
121
+ "mean_abs": null,
122
+ "max_abs": 0.0
123
+ },
124
+ "u": {
125
+ "num_tensors": 3,
126
+ "num_tensors_without_grad": 0,
127
+ "num_elements": 176160768,
128
+ "l2": 0.010478013855337143,
129
+ "mean_abs": 3.9469597097541694e-07,
130
+ "max_abs": 0.0014314651489257812
131
+ },
132
+ "rho": {
133
+ "num_tensors": 0,
134
+ "num_tensors_without_grad": 0,
135
+ "num_elements": 0,
136
+ "l2": 0.0,
137
+ "mean_abs": null,
138
+ "max_abs": 0.0
139
+ }
140
+ }
141
+ },
142
+ "u_delta_summary": {
143
+ "num_tensors": 3,
144
+ "num_elements": 176160768,
145
+ "mean": -3.3563545881201035e-07,
146
+ "std": 0.0009114009222733797,
147
+ "rms": 0.0009114009840744787,
148
+ "mean_abs": 0.0007323025548387141,
149
+ "min": -0.004844650626182556,
150
+ "max": 0.004866721574217081,
151
+ "per_tensor": {
152
+ "mlp.gate_proj.weight": {
153
+ "mean": -1.0190544474296206e-06,
154
+ "std": 0.000922180979942027,
155
+ "rms": 0.0009221815429940051,
156
+ "mean_abs": 0.0007417261866586548,
157
+ "min": -0.004844650626182556,
158
+ "max": 0.004866721574217081
159
+ },
160
+ "mlp.up_proj.weight": {
161
+ "mean": -1.023592537714129e-08,
162
+ "std": 0.0009100210556627429,
163
+ "rms": 0.0009100210557203098,
164
+ "mean_abs": 0.0007310241593846253,
165
+ "min": -0.00471655186265707,
166
+ "max": 0.004668879322707653
167
+ },
168
+ "mlp.down_proj.weight": {
169
+ "mean": 2.238399637073079e-08,
170
+ "std": 0.0009018858800988238,
171
+ "rms": 0.0009018858803765992,
172
+ "mean_abs": 0.0007241573184728622,
173
+ "min": -0.004519485868513584,
174
+ "max": 0.004798949230462313
175
+ }
176
+ }
177
+ },
178
+ "rho_objective": "none",
179
+ "rho_schedule": "joint",
180
+ "additive_u": true,
181
+ "rho_epochs": 0.0,
182
+ "rho_lr": null,
183
+ "rho_bounds": null,
184
+ "rho_after_phase": null,
185
+ "rho_final": {},
186
+ "u_fisher_orthogonality": {},
187
+ "runtime": {
188
+ "seconds": 136.09887152165174,
189
+ "dataset_tokens": 524288,
190
+ "tokens_per_second": 3852.2582453344726,
191
+ "batch_size": 8,
192
+ "batches_per_epoch": 64,
193
+ "grad_accumulation": 1,
194
+ "peak_allocated_bytes": 53808028160,
195
+ "peak_reserved_bytes": 75543609344,
196
+ "gpu_total_bytes": 85093777408,
197
+ "actual_forward_shapes": {
198
+ "teacher:8x1024": 64,
199
+ "student:8x1024": 64
200
+ }
201
+ },
202
+ "ablation": {
203
+ "lambda": null,
204
+ "endpoint_clamping": false,
205
+ "initial_u_nonzero": 0,
206
+ "merged_parameters": [
207
+ "mlp.gate_proj.weight",
208
+ "mlp.up_proj.weight",
209
+ "mlp.down_proj.weight"
210
+ ],
211
+ "parameterization": "W_initial + U_add",
212
+ "fisher_computed": false,
213
+ "fit_scope": "mlp",
214
+ "attention_initialization": "CoMe_channel_merge",
215
+ "norm_initialization": "CoMe_pair_mean",
216
+ "CoMe": {
217
+ "source_lineage": [
218
+ [
219
+ 18
220
+ ],
221
+ [
222
+ 19
223
+ ]
224
+ ],
225
+ "retention_ratios": [
226
+ 0.97,
227
+ 0.030000000000000034
228
+ ],
229
+ "retained_attention_groups": [
230
+ 8,
231
+ 0
232
+ ],
233
+ "retained_mlp_neurons": [
234
+ 13906,
235
+ 430
236
+ ],
237
+ "pair_score": 0.17804037509383736,
238
+ "minimum_retention": 0.97,
239
+ "adjusted_minimum": 0.97,
240
+ "power": 1.0,
241
+ "allow_repeat": true,
242
+ "sbi_metric": "angular_last",
243
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
244
+ "teacher_mutated_during_initialization": false
245
+ },
246
+ "norms_trainable": false,
247
+ "initialized_parameters": [
248
+ "self_attn.q_proj.weight",
249
+ "self_attn.k_proj.weight",
250
+ "self_attn.v_proj.weight",
251
+ "self_attn.o_proj.weight",
252
+ "mlp.gate_proj.weight",
253
+ "mlp.up_proj.weight",
254
+ "mlp.down_proj.weight",
255
+ "input_layernorm.weight",
256
+ "post_attention_layernorm.weight"
257
+ ],
258
+ "frozen_CoMe_parameters": [
259
+ "self_attn.q_proj.weight",
260
+ "self_attn.k_proj.weight",
261
+ "self_attn.v_proj.weight",
262
+ "self_attn.o_proj.weight",
263
+ "input_layernorm.weight",
264
+ "post_attention_layernorm.weight"
265
+ ],
266
+ "source_feature_transport": false,
267
+ "initializer": "come",
268
+ "removed_count_per_cycle": 1,
269
+ "teacher_boundary_current_layer": 19,
270
+ "teacher_boundary_original_layer": 19
271
+ }
272
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/data_fingerprints.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "calib_loader": {
3
+ "sequences": 64,
4
+ "sha256": "fa4a6219f7a7b17364eef6b5b7771533b57a407f1d26db1d483bbd955814ce38",
5
+ "attention_mask_sha256": "b1476de1907209012e63fa502715fd97db26e595352faa808d8c10433a1472a4",
6
+ "valid_tokens": 65536
7
+ },
8
+ "distill_loader": {
9
+ "sequences": 512,
10
+ "sha256": "2b2d044c8c040f67891817ecc110f0fa0de2f469db4c6731114ff7816bbf1cd0",
11
+ "attention_mask_sha256": "c8e7f8e30cd532b82e6af4b98d596bc7106f29f9fb2b398b44355e624898a30d",
12
+ "valid_tokens": 524288
13
+ }
14
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/selection.json ADDED
@@ -0,0 +1,563 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "cycle": 1,
4
+ "pair_index": 25,
5
+ "initializer": "come",
6
+ "lambda_left": null,
7
+ "recipient_original_layer": 25,
8
+ "recipient_side": "left",
9
+ "removed_original_layer": 26,
10
+ "source_lineage": [
11
+ [
12
+ 25
13
+ ],
14
+ [
15
+ 26
16
+ ]
17
+ ],
18
+ "retention_ratios": [
19
+ 0.030000000000000027,
20
+ 0.97
21
+ ],
22
+ "retained_attention_groups": [
23
+ 0,
24
+ 8
25
+ ],
26
+ "retained_mlp_neurons": [
27
+ 430,
28
+ 13906
29
+ ],
30
+ "pair_score": 0.1301000171474048,
31
+ "minimum_retention": 0.97,
32
+ "adjusted_minimum": 0.97,
33
+ "power": 1.0,
34
+ "allow_repeat": true,
35
+ "sbi_metric": "angular_last",
36
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
37
+ "teacher_mutated_during_initialization": false,
38
+ "removed_original_layers": [
39
+ 26
40
+ ],
41
+ "active_original_layers": [
42
+ 0,
43
+ 1,
44
+ 2,
45
+ 3,
46
+ 4,
47
+ 5,
48
+ 6,
49
+ 7,
50
+ 8,
51
+ 9,
52
+ 10,
53
+ 11,
54
+ 12,
55
+ 13,
56
+ 14,
57
+ 15,
58
+ 16,
59
+ 17,
60
+ 18,
61
+ 19,
62
+ 20,
63
+ 21,
64
+ 22,
65
+ 23,
66
+ 24,
67
+ 25,
68
+ 27,
69
+ 28,
70
+ 29,
71
+ 30,
72
+ 31
73
+ ]
74
+ },
75
+ {
76
+ "cycle": 2,
77
+ "pair_index": 23,
78
+ "initializer": "come",
79
+ "lambda_left": null,
80
+ "recipient_original_layer": 23,
81
+ "recipient_side": "left",
82
+ "removed_original_layer": 24,
83
+ "source_lineage": [
84
+ [
85
+ 23
86
+ ],
87
+ [
88
+ 24
89
+ ]
90
+ ],
91
+ "retention_ratios": [
92
+ 0.97,
93
+ 0.03000000000000003
94
+ ],
95
+ "retained_attention_groups": [
96
+ 8,
97
+ 0
98
+ ],
99
+ "retained_mlp_neurons": [
100
+ 13906,
101
+ 430
102
+ ],
103
+ "pair_score": 0.13651073019910645,
104
+ "minimum_retention": 0.97,
105
+ "adjusted_minimum": 0.97,
106
+ "power": 1.0,
107
+ "allow_repeat": true,
108
+ "sbi_metric": "angular_last",
109
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
110
+ "teacher_mutated_during_initialization": false,
111
+ "removed_original_layers": [
112
+ 24
113
+ ],
114
+ "active_original_layers": [
115
+ 0,
116
+ 1,
117
+ 2,
118
+ 3,
119
+ 4,
120
+ 5,
121
+ 6,
122
+ 7,
123
+ 8,
124
+ 9,
125
+ 10,
126
+ 11,
127
+ 12,
128
+ 13,
129
+ 14,
130
+ 15,
131
+ 16,
132
+ 17,
133
+ 18,
134
+ 19,
135
+ 20,
136
+ 21,
137
+ 22,
138
+ 23,
139
+ 25,
140
+ 27,
141
+ 28,
142
+ 29,
143
+ 30,
144
+ 31
145
+ ]
146
+ },
147
+ {
148
+ "cycle": 3,
149
+ "pair_index": 22,
150
+ "initializer": "come",
151
+ "lambda_left": null,
152
+ "recipient_original_layer": 22,
153
+ "recipient_side": "left",
154
+ "removed_original_layer": 23,
155
+ "source_lineage": [
156
+ [
157
+ 22
158
+ ],
159
+ [
160
+ 23,
161
+ 24
162
+ ]
163
+ ],
164
+ "retention_ratios": [
165
+ 0.9848857801796105,
166
+ 0.015114219820389518
167
+ ],
168
+ "retained_attention_groups": [
169
+ 8,
170
+ 0
171
+ ],
172
+ "retained_mlp_neurons": [
173
+ 14120,
174
+ 216
175
+ ],
176
+ "pair_score": 0.14334001089190387,
177
+ "minimum_retention": 0.97,
178
+ "adjusted_minimum": 0.9848857801796105,
179
+ "power": 1.0,
180
+ "allow_repeat": true,
181
+ "sbi_metric": "angular_last",
182
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
183
+ "teacher_mutated_during_initialization": false,
184
+ "removed_original_layers": [
185
+ 23
186
+ ],
187
+ "active_original_layers": [
188
+ 0,
189
+ 1,
190
+ 2,
191
+ 3,
192
+ 4,
193
+ 5,
194
+ 6,
195
+ 7,
196
+ 8,
197
+ 9,
198
+ 10,
199
+ 11,
200
+ 12,
201
+ 13,
202
+ 14,
203
+ 15,
204
+ 16,
205
+ 17,
206
+ 18,
207
+ 19,
208
+ 20,
209
+ 21,
210
+ 22,
211
+ 25,
212
+ 27,
213
+ 28,
214
+ 29,
215
+ 30,
216
+ 31
217
+ ]
218
+ },
219
+ {
220
+ "cycle": 4,
221
+ "pair_index": 20,
222
+ "initializer": "come",
223
+ "lambda_left": null,
224
+ "recipient_original_layer": 20,
225
+ "recipient_side": "left",
226
+ "removed_original_layer": 21,
227
+ "source_lineage": [
228
+ [
229
+ 20
230
+ ],
231
+ [
232
+ 21
233
+ ]
234
+ ],
235
+ "retention_ratios": [
236
+ 0.030000000000000034,
237
+ 0.97
238
+ ],
239
+ "retained_attention_groups": [
240
+ 0,
241
+ 8
242
+ ],
243
+ "retained_mlp_neurons": [
244
+ 430,
245
+ 13906
246
+ ],
247
+ "pair_score": 0.16033791234860054,
248
+ "minimum_retention": 0.97,
249
+ "adjusted_minimum": 0.97,
250
+ "power": 1.0,
251
+ "allow_repeat": true,
252
+ "sbi_metric": "angular_last",
253
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
254
+ "teacher_mutated_during_initialization": false,
255
+ "removed_original_layers": [
256
+ 21
257
+ ],
258
+ "active_original_layers": [
259
+ 0,
260
+ 1,
261
+ 2,
262
+ 3,
263
+ 4,
264
+ 5,
265
+ 6,
266
+ 7,
267
+ 8,
268
+ 9,
269
+ 10,
270
+ 11,
271
+ 12,
272
+ 13,
273
+ 14,
274
+ 15,
275
+ 16,
276
+ 17,
277
+ 18,
278
+ 19,
279
+ 20,
280
+ 22,
281
+ 25,
282
+ 27,
283
+ 28,
284
+ 29,
285
+ 30,
286
+ 31
287
+ ]
288
+ },
289
+ {
290
+ "cycle": 5,
291
+ "pair_index": 24,
292
+ "initializer": "come",
293
+ "lambda_left": null,
294
+ "recipient_original_layer": 28,
295
+ "recipient_side": "left",
296
+ "removed_original_layer": 29,
297
+ "source_lineage": [
298
+ [
299
+ 28
300
+ ],
301
+ [
302
+ 29
303
+ ]
304
+ ],
305
+ "retention_ratios": [
306
+ 0.030000000000000023,
307
+ 0.97
308
+ ],
309
+ "retained_attention_groups": [
310
+ 0,
311
+ 8
312
+ ],
313
+ "retained_mlp_neurons": [
314
+ 430,
315
+ 13906
316
+ ],
317
+ "pair_score": 0.16310638328502466,
318
+ "minimum_retention": 0.97,
319
+ "adjusted_minimum": 0.97,
320
+ "power": 1.0,
321
+ "allow_repeat": true,
322
+ "sbi_metric": "angular_last",
323
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
324
+ "teacher_mutated_during_initialization": false,
325
+ "removed_original_layers": [
326
+ 29
327
+ ],
328
+ "active_original_layers": [
329
+ 0,
330
+ 1,
331
+ 2,
332
+ 3,
333
+ 4,
334
+ 5,
335
+ 6,
336
+ 7,
337
+ 8,
338
+ 9,
339
+ 10,
340
+ 11,
341
+ 12,
342
+ 13,
343
+ 14,
344
+ 15,
345
+ 16,
346
+ 17,
347
+ 18,
348
+ 19,
349
+ 20,
350
+ 22,
351
+ 25,
352
+ 27,
353
+ 28,
354
+ 30,
355
+ 31
356
+ ]
357
+ },
358
+ {
359
+ "cycle": 6,
360
+ "pair_index": 22,
361
+ "initializer": "come",
362
+ "lambda_left": null,
363
+ "recipient_original_layer": 25,
364
+ "recipient_side": "left",
365
+ "removed_original_layer": 27,
366
+ "source_lineage": [
367
+ [
368
+ 25,
369
+ 26
370
+ ],
371
+ [
372
+ 27
373
+ ]
374
+ ],
375
+ "retention_ratios": [
376
+ 0.9848857801796105,
377
+ 0.015114219820389522
378
+ ],
379
+ "retained_attention_groups": [
380
+ 8,
381
+ 0
382
+ ],
383
+ "retained_mlp_neurons": [
384
+ 14120,
385
+ 216
386
+ ],
387
+ "pair_score": 0.1707429221861965,
388
+ "minimum_retention": 0.97,
389
+ "adjusted_minimum": 0.9848857801796105,
390
+ "power": 1.0,
391
+ "allow_repeat": true,
392
+ "sbi_metric": "angular_last",
393
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
394
+ "teacher_mutated_during_initialization": false,
395
+ "removed_original_layers": [
396
+ 27
397
+ ],
398
+ "active_original_layers": [
399
+ 0,
400
+ 1,
401
+ 2,
402
+ 3,
403
+ 4,
404
+ 5,
405
+ 6,
406
+ 7,
407
+ 8,
408
+ 9,
409
+ 10,
410
+ 11,
411
+ 12,
412
+ 13,
413
+ 14,
414
+ 15,
415
+ 16,
416
+ 17,
417
+ 18,
418
+ 19,
419
+ 20,
420
+ 22,
421
+ 25,
422
+ 28,
423
+ 30,
424
+ 31
425
+ ]
426
+ },
427
+ {
428
+ "cycle": 7,
429
+ "pair_index": 20,
430
+ "initializer": "come",
431
+ "lambda_left": null,
432
+ "recipient_original_layer": 20,
433
+ "recipient_side": "left",
434
+ "removed_original_layer": 22,
435
+ "source_lineage": [
436
+ [
437
+ 20,
438
+ 21
439
+ ],
440
+ [
441
+ 22,
442
+ 23,
443
+ 24
444
+ ]
445
+ ],
446
+ "retention_ratios": [
447
+ 0.9924141172814958,
448
+ 0.007585882718504244
449
+ ],
450
+ "retained_attention_groups": [
451
+ 8,
452
+ 0
453
+ ],
454
+ "retained_mlp_neurons": [
455
+ 14228,
456
+ 108
457
+ ],
458
+ "pair_score": 0.17542642878962086,
459
+ "minimum_retention": 0.97,
460
+ "adjusted_minimum": 0.9924141172814958,
461
+ "power": 1.0,
462
+ "allow_repeat": true,
463
+ "sbi_metric": "angular_last",
464
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
465
+ "teacher_mutated_during_initialization": false,
466
+ "removed_original_layers": [
467
+ 22
468
+ ],
469
+ "active_original_layers": [
470
+ 0,
471
+ 1,
472
+ 2,
473
+ 3,
474
+ 4,
475
+ 5,
476
+ 6,
477
+ 7,
478
+ 8,
479
+ 9,
480
+ 10,
481
+ 11,
482
+ 12,
483
+ 13,
484
+ 14,
485
+ 15,
486
+ 16,
487
+ 17,
488
+ 18,
489
+ 19,
490
+ 20,
491
+ 25,
492
+ 28,
493
+ 30,
494
+ 31
495
+ ]
496
+ },
497
+ {
498
+ "cycle": 8,
499
+ "pair_index": 18,
500
+ "initializer": "come",
501
+ "lambda_left": null,
502
+ "recipient_original_layer": 18,
503
+ "recipient_side": "left",
504
+ "removed_original_layer": 19,
505
+ "source_lineage": [
506
+ [
507
+ 18
508
+ ],
509
+ [
510
+ 19
511
+ ]
512
+ ],
513
+ "retention_ratios": [
514
+ 0.97,
515
+ 0.030000000000000034
516
+ ],
517
+ "retained_attention_groups": [
518
+ 8,
519
+ 0
520
+ ],
521
+ "retained_mlp_neurons": [
522
+ 13906,
523
+ 430
524
+ ],
525
+ "pair_score": 0.17804037509383736,
526
+ "minimum_retention": 0.97,
527
+ "adjusted_minimum": 0.97,
528
+ "power": 1.0,
529
+ "allow_repeat": true,
530
+ "sbi_metric": "angular_last",
531
+ "calibration_padding": "trim_right_padding_before_native_CoMe_scoring",
532
+ "teacher_mutated_during_initialization": false,
533
+ "removed_original_layers": [
534
+ 19
535
+ ],
536
+ "active_original_layers": [
537
+ 0,
538
+ 1,
539
+ 2,
540
+ 3,
541
+ 4,
542
+ 5,
543
+ 6,
544
+ 7,
545
+ 8,
546
+ 9,
547
+ 10,
548
+ 11,
549
+ 12,
550
+ 13,
551
+ 14,
552
+ 15,
553
+ 16,
554
+ 17,
555
+ 18,
556
+ 20,
557
+ 25,
558
+ 28,
559
+ 30,
560
+ 31
561
+ ]
562
+ }
563
+ ]
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/audit/selection_inputs.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "input_ids_sha256": "0d5ee3894a716120c8f738c25d05838ca6871137f7b471d4616da55cab4a7361",
3
+ "sequences": 91,
4
+ "source": "/workspace/come-fit-batch-20261126/calibration/selection.pt",
5
+ "independent_of_fit_loader": true
6
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/compact_metadata.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "abprune_compact_stage_v2",
3
+ "model": "meta-llama/Llama-3.1-8B",
4
+ "base_model_revision": "d04e592bb4f6aa9cfee91e2e20afa771667e1d4b",
5
+ "run_id": "llama_3.1_8b_fit_come_8block",
6
+ "target_prune_count": 8,
7
+ "stage": 8,
8
+ "removed_count": 8,
9
+ "original_layer_count": 32,
10
+ "layer_order": [
11
+ 25,
12
+ 23,
13
+ 22,
14
+ 20,
15
+ 24,
16
+ 22,
17
+ 20,
18
+ 18
19
+ ],
20
+ "latest_pair_index": 18,
21
+ "latest_recipient_side": "left",
22
+ "latest_recipient_original_layer": 18,
23
+ "latest_removed_original_layer": 19,
24
+ "removed_original_layers": [
25
+ 19,
26
+ 21,
27
+ 22,
28
+ 23,
29
+ 24,
30
+ 26,
31
+ 27,
32
+ 29
33
+ ],
34
+ "active_original_layers": [
35
+ 0,
36
+ 1,
37
+ 2,
38
+ 3,
39
+ 4,
40
+ 5,
41
+ 6,
42
+ 7,
43
+ 8,
44
+ 9,
45
+ 10,
46
+ 11,
47
+ 12,
48
+ 13,
49
+ 14,
50
+ 15,
51
+ 16,
52
+ 17,
53
+ 18,
54
+ 20,
55
+ 25,
56
+ 28,
57
+ 30,
58
+ 31
59
+ ],
60
+ "retained_layer_states": [
61
+ {
62
+ "original_layer": 18,
63
+ "state_file": "layer_original_0018.pt",
64
+ "sha256": "e35273f2c0e5f573b4ec13a7818a257f085823b4137ad87acb642e1585e2f68e",
65
+ "source_cycle": 8,
66
+ "recipient_side": "left"
67
+ },
68
+ {
69
+ "original_layer": 20,
70
+ "state_file": "layer_original_0020.pt",
71
+ "sha256": "555e0dce8b43622a118ef5fd2577d51a93860dcebf685154ff8a4e417f03c4f5",
72
+ "source_cycle": 7,
73
+ "recipient_side": "left"
74
+ },
75
+ {
76
+ "original_layer": 25,
77
+ "state_file": "layer_original_0025.pt",
78
+ "sha256": "5ef8829c96ed6778f7473498b118c04e262f686d84ecc65ae55e0cd52f9113ca",
79
+ "source_cycle": 6,
80
+ "recipient_side": "left"
81
+ },
82
+ {
83
+ "original_layer": 28,
84
+ "state_file": "layer_original_0028.pt",
85
+ "sha256": "07e5059a9b0ed43779e0c8e33e8cfdff1f77a8a6e92ccc0d9f5148fb8dc9a635",
86
+ "source_cycle": 5,
87
+ "recipient_side": "left"
88
+ }
89
+ ],
90
+ "source_cycle": "cycle_8"
91
+ }
runs/vast-paper_revision-come-fit-batch-20261126-62635207/20261126-llama31-come-mlp-batch/catalog/results/llama31_come_batch_20261126/batch_large/execution_commit.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 00ccb5932e71748846bfa537f463c205b0be02fe