loraspec · LoRA Subspace Certification Card

magicoder, gsm8k, wikisql, legal, customer_support

Base Model(s): mistralai/Mistral-7B-v0.1
Adapters: 5 Layers Probed: 320 Findings: 7 Run: f65f0d08-aec Backend: torch_mps
retrain_collapsed_lora
GRADE D HIGH RISK
33.7 MERGE RISK 0 (SAFE) - 100

Adapter Fleet Inventory 5 adapter(s)

Adapter ID Base Model Rank / Alpha Scaling Layers Params Weights SHA-256
magicoder
peft_safetensors
mistralai/Mistral-7B-v0.1 r=8, α=16.0 2.0000 64 3407872 8a87c71ab037eabc...
gsm8k
peft_safetensors
mistralai/Mistral-7B-v0.1 r=8, α=16.0 2.0000 64 3407872 14967b0938c1220c...
wikisql
peft_safetensors
mistralai/Mistral-7B-v0.1 r=8, α=16.0 2.0000 64 3407872 3cb132e71603716e...
legal
peft_safetensors
mistralai/Mistral-7B-v0.1 r=8, α=16.0 2.0000 64 3407872 b2797a2105756179...
customer_support
peft_safetensors
mistralai/Mistral-7B-v0.1 r=8, α=16.0 2.0000 64 3407872 70474eb7003063b3...

Pairwise Grassmann Chordal Similarity Heatmap 0.00 orthogonal → 1.00 collinear

magicoder magicoder gsm8k gsm8k wikisql wikisql legal legal customer_sup.. customer_sup.. magicoder (self) 1.00 magicoder vs gsm8k: max chordal=0.083, max sign_conflict=0.660 0.08 magicoder vs wikisql: max chordal=0.051, max sign_conflict=0.835 0.05 magicoder vs legal: max chordal=0.070, max sign_conflict=0.836 0.07 magicoder vs customer_support: max chordal=0.101, max sign_conflict=0.941 0.10 gsm8k vs magicoder: max chordal=0.083, max sign_conflict=0.660 0.08 gsm8k (self) 1.00 gsm8k vs wikisql: max chordal=0.055, max sign_conflict=0.884 0.06 gsm8k vs legal: max chordal=0.084, max sign_conflict=0.794 0.08 gsm8k vs customer_support: max chordal=0.064, max sign_conflict=0.772 0.06 wikisql vs magicoder: max chordal=0.051, max sign_conflict=0.835 0.05 wikisql vs gsm8k: max chordal=0.055, max sign_conflict=0.884 0.06 wikisql (self) 1.00 wikisql vs legal: max chordal=0.048, max sign_conflict=0.752 0.05 wikisql vs customer_support: max chordal=0.053, max sign_conflict=0.786 0.05 legal vs magicoder: max chordal=0.070, max sign_conflict=0.836 0.07 legal vs gsm8k: max chordal=0.084, max sign_conflict=0.794 0.08 legal vs wikisql: max chordal=0.048, max sign_conflict=0.752 0.05 legal (self) 1.00 legal vs customer_support: max chordal=0.075, max sign_conflict=0.802 0.07 customer_support vs magicoder: max chordal=0.101, max sign_conflict=0.941 0.10 customer_support vs gsm8k: max chordal=0.064, max sign_conflict=0.772 0.06 customer_support vs wikisql: max chordal=0.053, max sign_conflict=0.786 0.05 customer_support vs legal: max chordal=0.075, max sign_conflict=0.802 0.07 customer_support (self) 1.00
Top Shared-Layer Collisions (showing 24 of 640):
Pair Layer Chordal Sim Row Sim Geodesic Dist Sign Conflict
magicoder ↔ customer_support base_model.model.model.layers.31.self_attn.v_proj 0.1008 0.9090 3.7451 0.0341
gsm8k ↔ legal base_model.model.model.layers.0.self_attn.q_proj 0.0842 0.8612 3.7788 0.0396
magicoder ↔ gsm8k base_model.model.model.layers.0.self_attn.q_proj 0.0830 0.9000 3.7836 0.0745
legal ↔ customer_support base_model.model.model.layers.31.self_attn.v_proj 0.0746 0.8498 3.8357 0.0195
magicoder ↔ customer_support base_model.model.model.layers.1.self_attn.q_proj 0.0702 0.9718 3.8197 0.5941
magicoder ↔ legal base_model.model.model.layers.0.self_attn.q_proj 0.0697 0.9276 3.8319 0.0239
magicoder ↔ customer_support base_model.model.model.layers.30.self_attn.v_proj 0.0691 0.8190 3.8212 0.0743
magicoder ↔ customer_support base_model.model.model.layers.29.self_attn.v_proj 0.0676 0.8890 3.9055 0.0347
legal ↔ customer_support base_model.model.model.layers.29.self_attn.v_proj 0.0672 0.8221 3.8349 0.0287
magicoder ↔ legal base_model.model.model.layers.1.self_attn.q_proj 0.0651 0.8741 3.8334 0.2551
gsm8k ↔ customer_support base_model.model.model.layers.31.self_attn.v_proj 0.0645 0.6968 3.9295 0.1341
magicoder ↔ gsm8k base_model.model.model.layers.1.self_attn.q_proj 0.0627 0.7659 3.8545 0.2406
magicoder ↔ gsm8k base_model.model.model.layers.31.self_attn.v_proj 0.0608 0.7143 3.9446 0.0396
magicoder ↔ gsm8k base_model.model.model.layers.29.self_attn.v_proj 0.0601 0.7366 3.9255 0.0048
gsm8k ↔ customer_support base_model.model.model.layers.30.self_attn.v_proj 0.0586 0.6646 3.9372 0.3035
gsm8k ↔ customer_support base_model.model.model.layers.1.self_attn.q_proj 0.0581 0.7690 3.8316 0.3924
legal ↔ customer_support base_model.model.model.layers.30.self_attn.v_proj 0.0575 0.8039 3.9095 0.0481
magicoder ↔ customer_support base_model.model.model.layers.0.self_attn.q_proj 0.0569 0.9769 3.8868 0.9406
gsm8k ↔ customer_support base_model.model.model.layers.0.self_attn.q_proj 0.0567 0.8959 3.8815 0.5930
magicoder ↔ customer_support base_model.model.model.layers.28.self_attn.v_proj 0.0566 0.8781 3.9066 0.0217
gsm8k ↔ customer_support base_model.model.model.layers.29.self_attn.v_proj 0.0554 0.6977 3.9812 0.0805
magicoder ↔ gsm8k base_model.model.model.layers.30.self_attn.v_proj 0.0552 0.6437 3.9483 0.0623
gsm8k ↔ wikisql base_model.model.model.layers.1.self_attn.q_proj 0.0551 0.4471 3.8780 0.4119
gsm8k ↔ legal base_model.model.model.layers.1.self_attn.q_proj 0.0536 0.6924 3.8968 0.4572

Per-Layer Effective Rank Utilization (r_eff / r) Showing 40 of 320 layer(s) · dashed threshold=0.20

1.0 0.2 0.0 magicoder | base_model.model.model.layers.19.self_attn.q_proj: r_eff=1.17/8, ||dW||_2=0.2777 15% q_pro magicoder | base_model.model.model.layers.19.self_attn.v_proj: r_eff=1.17/8, ||dW||_2=0.1778 15% v_pro magicoder | base_model.model.model.layers.23.self_attn.q_proj: r_eff=1.13/8, ||dW||_2=0.4391 14% q_pro magicoder | base_model.model.model.layers.23.self_attn.v_proj: r_eff=1.03/8, ||dW||_2=0.2735 13% v_pro magicoder | base_model.model.model.layers.24.self_attn.v_proj: r_eff=1.05/8, ||dW||_2=0.2197 13% v_pro magicoder | base_model.model.model.layers.25.self_attn.q_proj: r_eff=1.14/8, ||dW||_2=0.3883 14% q_pro magicoder | base_model.model.model.layers.25.self_attn.v_proj: r_eff=1.06/8, ||dW||_2=0.2455 13% v_pro magicoder | base_model.model.model.layers.26.self_attn.q_proj: r_eff=1.11/8, ||dW||_2=0.4644 14% q_pro magicoder | base_model.model.model.layers.26.self_attn.v_proj: r_eff=1.07/8, ||dW||_2=0.2723 13% v_pro magicoder | base_model.model.model.layers.27.self_attn.q_proj: r_eff=1.06/8, ||dW||_2=0.4738 13% q_pro magicoder | base_model.model.model.layers.27.self_attn.v_proj: r_eff=1.04/8, ||dW||_2=0.3273 13% v_pro magicoder | base_model.model.model.layers.28.self_attn.q_proj: r_eff=1.11/8, ||dW||_2=0.5355 14% q_pro magicoder | base_model.model.model.layers.28.self_attn.v_proj: r_eff=1.03/8, ||dW||_2=0.4042 13% v_pro magicoder | base_model.model.model.layers.29.self_attn.v_proj: r_eff=1.11/8, ||dW||_2=0.2795 14% v_pro magicoder | base_model.model.model.layers.30.self_attn.q_proj: r_eff=1.07/8, ||dW||_2=0.6843 13% q_pro magicoder | base_model.model.model.layers.30.self_attn.v_proj: r_eff=1.08/8, ||dW||_2=0.4392 14% v_pro magicoder | base_model.model.model.layers.31.self_attn.v_proj: r_eff=1.09/8, ||dW||_2=0.2470 14% v_pro gsm8k | base_model.model.model.layers.28.self_attn.v_proj: r_eff=1.14/8, ||dW||_2=1.1092 14% v_pro wikisql | base_model.model.model.layers.22.self_attn.q_proj: r_eff=1.07/8, ||dW||_2=3.5313 13% q_pro wikisql | base_model.model.model.layers.27.self_attn.q_proj: r_eff=1.16/8, ||dW||_2=3.6480 14% q_pro wikisql | base_model.model.model.layers.31.self_attn.v_proj: r_eff=1.11/8, ||dW||_2=1.4716 14% v_pro legal | base_model.model.model.layers.16.self_attn.q_proj: r_eff=1.11/8, ||dW||_2=0.6508 14% q_pro legal | base_model.model.model.layers.17.self_attn.v_proj: r_eff=1.16/8, ||dW||_2=0.3557 14% v_pro legal | base_model.model.model.layers.18.self_attn.q_proj: r_eff=1.12/8, ||dW||_2=0.7482 14% q_pro legal | base_model.model.model.layers.21.self_attn.v_proj: r_eff=1.07/8, ||dW||_2=0.5696 13% v_pro legal | base_model.model.model.layers.24.self_attn.v_proj: r_eff=1.12/8, ||dW||_2=0.4315 14% v_pro legal | base_model.model.model.layers.25.self_attn.v_proj: r_eff=1.17/8, ||dW||_2=0.4504 15% v_pro legal | base_model.model.model.layers.26.self_attn.v_proj: r_eff=1.12/8, ||dW||_2=0.4165 14% v_pro legal | base_model.model.model.layers.27.self_attn.q_proj: r_eff=1.14/8, ||dW||_2=0.9396 14% q_pro legal | base_model.model.model.layers.27.self_attn.v_proj: r_eff=1.03/8, ||dW||_2=0.4815 13% v_pro legal | base_model.model.model.layers.28.self_attn.v_proj: r_eff=1.04/8, ||dW||_2=0.5258 13% v_pro legal | base_model.model.model.layers.31.self_attn.v_proj: r_eff=1.05/8, ||dW||_2=0.5522 13% v_pro customer_support | base_model.model.model.layers.16.self_attn.v_proj: r_eff=1.14/8, ||dW||_2=0.2468 14% v_pro customer_support | base_model.model.model.layers.20.self_attn.q_proj: r_eff=1.08/8, ||dW||_2=0.5427 13% q_pro customer_support | base_model.model.model.layers.23.self_attn.q_proj: r_eff=1.14/8, ||dW||_2=0.5851 14% q_pro customer_support | base_model.model.model.layers.24.self_attn.v_proj: r_eff=1.15/8, ||dW||_2=0.2932 14% v_pro customer_support | base_model.model.model.layers.26.self_attn.q_proj: r_eff=1.12/8, ||dW||_2=0.5831 14% q_pro customer_support | base_model.model.model.layers.29.self_attn.q_proj: r_eff=1.14/8, ||dW||_2=0.6157 14% q_pro customer_support | base_model.model.model.layers.29.self_attn.v_proj: r_eff=1.11/8, ||dW||_2=0.3506 14% v_pro customer_support | base_model.model.model.layers.31.self_attn.v_proj: r_eff=1.15/8, ||dW||_2=0.3879 14% v_pro

KnOTS Joint-SVD Merge Diagnostics knots_ties

Target Rank
r=16
Singular Energy Retained
99.06%
Mean Reconstruction RMSE
0.000549
Sign Conflict Reduction
-76.33%
Output SHA-256
3cfa786ec14b1ba3...
Adapters Merged: magicoder, gsm8k, wikisql, legal, customer_support

Audit Findings 7 total

Rule Severity Tier Location Details & Remediation
RULE-CONF-003
config_probe
high T0 /private/tmp/loraspec-public-hub-audit/predibase__magicoder/adapter_config.json:1
Attention-only LoRA placement omits MLP projections
Adapter 'magicoder' targets only ['q_proj', 'v_proj']; MLP gate/up/down projections are absent.
Remediation: Apply LoRA to all linear layers (attention + MLP) per LoRA Without Regret before multi-adapter composition.
RULE-CONF-003
config_probe
high T0 /private/tmp/loraspec-public-hub-audit/predibase__gsm8k/adapter_config.json:1
Attention-only LoRA placement omits MLP projections
Adapter 'gsm8k' targets only ['q_proj', 'v_proj']; MLP gate/up/down projections are absent.
Remediation: Apply LoRA to all linear layers (attention + MLP) per LoRA Without Regret before multi-adapter composition.
RULE-CONF-003
config_probe
high T0 /private/tmp/loraspec-public-hub-audit/predibase__wikisql/adapter_config.json:1
Attention-only LoRA placement omits MLP projections
Adapter 'wikisql' targets only ['q_proj', 'v_proj']; MLP gate/up/down projections are absent.
Remediation: Apply LoRA to all linear layers (attention + MLP) per LoRA Without Regret before multi-adapter composition.
RULE-CONF-003
config_probe
high T0 /private/tmp/loraspec-public-hub-audit/predibase__legal/adapter_config.json:1
Attention-only LoRA placement omits MLP projections
Adapter 'legal' targets only ['q_proj', 'v_proj']; MLP gate/up/down projections are absent.
Remediation: Apply LoRA to all linear layers (attention + MLP) per LoRA Without Regret before multi-adapter composition.
RULE-CONF-003
config_probe
high T0 /private/tmp/loraspec-public-hub-audit/predibase__customer_support/adapter_config.json:1
Attention-only LoRA placement omits MLP projections
Adapter 'customer_support' targets only ['q_proj', 'v_proj']; MLP gate/up/down projections are absent.
Remediation: Apply LoRA to all linear layers (attention + MLP) per LoRA Without Regret before multi-adapter composition.
RULE-SPEC-002
loraspec
high T1 /private/tmp/loraspec-public-hub-audit/predibase__magicoder/adapter_model.safetensors
Severe LoRA rank collapse detected
Adapter 'magicoder': mean rank utilization=0.176 (threshold 0.20), 26.6% layers exceed 85% top-1 energy.
Remediation: Truncate redundant rank via SVD compression or retrain with higher LR / all-linear placement.
RULE-SPEC-002
loraspec
high T1 /private/tmp/loraspec-public-hub-audit/predibase__customer_support/adapter_model.safetensors
Severe LoRA rank collapse detected
Adapter 'customer_support': mean rank utilization=0.199 (threshold 0.20), 12.5% layers exceed 85% top-1 energy.
Remediation: Truncate redundant rank via SVD compression or retrain with higher LR / all-linear placement.