Views
No views yet

measure.py by GrimJim)1WARNING:mergekit.graph:OOM at chunk 65536, reducing to 32768 (attempt 1, progress: 0/131075)
2WARNING:mergekit.graph:OOM at chunk 32768, reducing to 16384 (attempt 2, progress: 0/131075)
3
4[Karcher_Stock Audit] Layer: lm_head.weight
5Stats: Cos(θ): 0.564 | t-factor: 0.8843 | Karcher Iters: 2960
6 (Base) mistralai--Mistral-Nemo-Instruct-2407 : █████ ( 11.57%)
7 (Donor) Vortex5--Prototype-X-12b : ███████ ( 14.74%)
8 (Donor) Vortex5--Stellar-Witch-12B : ███████ ( 14.74%)
9 (Donor) Vortex5--Celestial-Queen-12B : ███████ ( 14.74%)
10 (Donor) Vortex5--Moonlit-Mirage-12B : ███████ ( 14.74%)
11 (Donor) Vortex5--Crimson-Constellation-12B : ███████ ( 14.74%)
12 (Donor) Vortex5--Wicked-Nebula-12B : ███████ ( 14.74%)karcher_stock Adaptive Tanh Soft-Clamp v111# ── 11. Model Stock t factor with Adaptive Soft-Clamp ─────────────
2 N = len(ws_2d)
3 ct = cos_theta.unsqueeze(-1) if cos_theta.dim() > 0 else cos_theta
4
5 # Raw Model Stock formula
6 denom = 1.0 + (N - 1) * ct
7 # Add a tiny epsilon to prevent literal division by zero
8 t_raw = (N * ct) / denom.clamp(min=1e-6)
9
10 # --- BULLETPROOF TANH CLAMP ---
11 # 1. Prevent negative infinity spikes (fallback to base model)
12 t_clamped_bottom = torch.clamp(t_raw, min=0.0)
13
14 # 2. Smoothly asymptote positive spikes to L (Maximum allowed t-factor)
15 L = 1.5
16 excess = torch.clamp(t_clamped_bottom - 1.0, min=0.0)
17 t_soft_top = 1.0 + (L - 1.0) * torch.tanh(excess / (L - 1.0))
18
19 # 3. Apply: If t <= 1.0, use exact math. If t > 1.0, use soft curve.
20 t = torch.where(t_clamped_bottom <= 1.0, t_clamped_bottom, t_soft_top)
21 # ------------------------------
karcher_stock merge method using /workspace/models/mistralai--Mistral-Nemo-Instruct-2407 as a base.1architecture: MistralForCausalLM
2base_model: /workspace/models/mistralai--Mistral-Nemo-Instruct-2407
3models:
4 - model: /workspace/models/Vortex5--Prototype-X-12b
5 - model: /workspace/models/Vortex5--Celestial-Queen-12B
6 - model: /workspace/models/Vortex5--Wicked-Nebula-12B
7 - model: /workspace/models/Vortex5--Stellar-Witch-12B
8 - model: /workspace/models/Vortex5--Moonlit-Mirage-12B
9 - model: /workspace/models/Vortex5--Crimson-Constellation-12B
10merge_method: karcher_stock # v8
11parameters:
12 filter_wise: true
13 max_iter: 10000
14 min_iter: 1000
15 tol: 1.0e-11
16dtype: float32
17out_dtype: bfloat16
18tokenizer:
19 source: union
20chat_template: auto
21name: 👻 Geodesic Phantom 12B