Spaces:
Running
Running
Commit History
11 days ago
-
Correct finite-family formulas and remove unsupported capacity verdicts
3ccb7d5
-
Clarify evidence scores in EN ES FR ZH
Verified signatureReviewed mirror of GitHub source commit 7ca718bfd26aaa9efe746e914b866cf0c9516fde. Replaces confidence percentages with heuristic evidence points and explicit metadata; synchronized docs and guide; no discussion posts.f5e049e
-
Review model examples and guard dense configuration imports
56acff6 -
Measure attention entropy honestly and update multilingual help and demos
62c7d86
-
fix(x21): retire the imprint-purity recipe — nu is not identified by the data
Part II states upfront that nu "remains unconstrained by the current data": bootstrap 95% CI [-0.260, -0.008], only 11.1% of resamples within 1% of -1/(2pi), with pythia-31m driving much of the panel slope. It also withdrew the "0.3% match" framing for nu by name — a framing this tool was still shipping in five places, labelled "DERIVED - not fitted". What holds: the Lean algebra, and the AbsPE falsification control (GPT-2 family, no 2pi rotation period -> nu ~ 0, mean |nu| = 0.028 vs the RoPE panel range [-0.5, +0.3]). So the slope is consistent with -1/(2pi) but not strongly identified — too weak a footing for a shipped diagnostic. X-21 is marked retired rather than deleted: it stays callable so published runs remain reproducible, its verdict is prefixed "RETIRED", and the registry entry carries status="retired". A silent removal would hide the retraction, which is the failure mode this fix exists to correct. Marked in all four UI languages. Also: the four paper links now use Zeno…0255559
-
feat(v0.12b): all 8 recipes localized (4 langs) + docs/manual updated
- Recipes X-1, X-3, X-5, X-19, X-21, X-22, X-23 migrated to the message-code pattern (86 new py.* keys x 4 langs; English kept as fallback). All reasons, mitigations and step interpretations now follow the UI language. emergent_threshold localized via _emerg_tier() (5 capability tiers). - test_lang.mjs extended: +12 asserts (X-1/X-3/X-5/X-19 Spanish reasons and mitigations in a real Profile run, no English residue). 24 browser asserts total. - In-app docs: proper v0.12 card in the Manual (Fit Check + language work), v0.12 block in "What it gives you", clarification of where the 8 recipes run (Profile = 5 decision recipes; X-21/22/23 via Recipe/Ask), stale mode counts ("22 modes", "7 modes") replaced with countless phrasing. - README: v0.12 changelog section; Space short_description 27 -> 29 diagnostics. Verified: 109 unit tests + 28 formula tests + i18n parity (4 langs) + e2e sweep (0 JS errors x 4 langs) + test_lang.mjs in a real Spanish-locale browser. Co-Authored-By:…4e633a9 -
feat(v0.12): Fit Check mode + per-browser-language demos + X-2 results localized (4 langs)
Fit Check ("Me cabe?") - the #1 HF-forum pain, answered before downloading: - js/fit_check.js: pure-logic will-it-fit planner reusing planLaunch (single source of truth); weights/KV/scratch budget, kv_bound vs weights_bound verdicts, max-context solver, rescue-precision ladder. 22 unit tests. - Full UI: section + intent tile + mode button, 22 i18n keys x 4 langs, in-app manual card, guided demo with ?demo=fitcheck deep-link. Language fixes (bug: everything-in-English on auto-detected languages): - dt() now uses getLang() (i18n currentLang) instead of re-reading localStorage - navigator-detected languages were falling back to English in ALL demo banners/cards. - Demo button tooltip localized (was hardcoded English). - X-2 recipe results localized end-to-end: taf_browser.py emits reason/mitigation/interpretation CODES + params (English text kept as fallback); pyMsg() in main.js translates via py.* keys (26 x 4 langs); profile_model/compare_models now pass the codes throu…a5f5a54
-
feat: Memory Reality + Prediction-vs-Reality + Confidence + UX fixes
New diagnostic modes (browser-only, EN/ES/FR/ZH): - Memory Reality Check: classifies architecture (full/SWA/SSM/RWKV/linear/ TTT/hybrid) from config.json; detection validated vs 13 live HF configs. - Prediction vs Reality + BYOD: compares TAF predictions to MEASURED values (shipped dataset or Diagnose-CLI JSON); server-less contribution to the public dataset. - Confidence score on X-2 / Memory Reality / PvR (checklist of evidence factors). Honesty fix: X-2 discloses the d_horizon == T_eval tautology (D-NEW-1) and routes to measured gamma_obs; documented in docs/LIMITATIONS.md. UX: HF autocomplete on every model-id input (incl. Compare, Diagnose) and fixed "dropdown only opens once" (focus+click reopen, cancellable blur, lastQuery reset). Manual reorganised into static collapsible cards (same as the inventory) with per-topic icons. Added serve.py (no-cache dev server). Tests: +Node (memory_reality 21, confidence 6, prediction_reality 11) and pytest (confidence + X-2 tautology/c…ffe48ab
-
fix: demote δ_SWA to disabled; flag δ_post_IH and δ_instruct exploratory
Cross-panel audit (panel.csv n=22 mongo-corpus rows with γ_Padé) shows: δ_GQA = +0.11 ✓ replicates (group-mean +0.115 on n=9 yes / 13 no) δ_SWA = -0.21 ✗ ORIGINALLY FIT ON n=1 (single SWA model in panel) group-mean is +0.355 on the single yes-case → demoted to 0.0 with status='exploratory_n1_disabled' δ_post_IH = -0.15 ⚠ does NOT replicate (group-mean ~0 on n=16 yes / 6 no) → kept but tagged 'exploratory_no_replication' δ_instruct = -0.10 ⚠ n=3 yes / 19 no, p=0.06 (already commented as tentative) → tagged 'tentative_n3_p0.06' Both gamma_decompose (v1, paper sesión 28) and gamma_decompose_v2 (paper sesión 29) now emit calibration_warning + per-axis status fields so downstream consumers can detect which corrections are reliable. Tests: 22/22 pass including δ_SWA disabled regression. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>c76c38e -
fix: 6 formula corrections in TAF Agent (audit-driven)
Audit via Sócrates v0.1 found 6 issues in cli/diagnose_model.py + python/taf_browser.py. CRITICAL bugs (wrong recommendations to users): 1. D_f_closed: Phase B (γ>1) clamped to N when truth is ~3% of N. Affected LLaMA-2/3, Gemma, Mistral, Qwen2.5 — all returned ~all-tokens when paper says compress to ~50-100 tokens. 2. D_f_closed: Hagedorn buffer |γ-1|<0.01 used N·f^(1/log N) instead of N^f, giving ~2× wrong values for models near γ=1. Replaced both with discrete-truth implementation: smallest D such that ∑_{d=1}^D d^{-γ} / Σ_{d=1}^N d^{-γ} ≥ f. The paper's "exact continuous formula" is actually a continuum integral approximation that diverges 5-57% from the discrete sum (worse for higher γ). MEDIUM: 3. partition_Z(γ=1, N) used log(N+0.5), missing Euler-Mascheroni γ_E ≈ 0.577 — ~7% underestimate of H_N. Now log(N) + γ_E. 4. free_energy_F returned -log(Z) (β·F convention), now -log(Z)/γ (Helmholtz F, consistent with U-TS thermodynamic identity). LOW: 5. γ_pred used ob…fed77dc
-
v0.5: machine-verified algebraic consistency (Sage + Lean)
- python/taf_browser.py §34: verify_algebraic_consistency(γ) function - Verifies 12 D-SAGE identities discovered by Sage Groebner basis - All formally proven in Lean Mathlib4 (sesion 32, 2026-05-01) - Returns dict with n_passed/n_total + interpretation - Out-of-Phase-A handling (γ ∈ (0,1) requirement) - js/i18n.js: 10 new v05.* keys × 4 langs (EN/ES/FR/ZH = 40 keys) - index.html: help modal v0.5 section with 5 entries - Algebraic consistency check description - D-SAGE-1 quadratic identity (core) - Paper 1 η=2γ erratum note (corrected to η=γ-1) - Reproducibility links (Sage script + Lean code) Trust signal: first transformer-attention framework with formal machine-proof backing (Sage Groebner + Lean Mathlib4 dual-tool). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>94766b3
-
v0.4: add 4 diagnostic functions from sesion 31
- architectural_concentration_predict: γ_text = γ_Padé - 0.012·n_kv (R²=0.30 cross-panel) - padé_deviation_index (PDI): d_horizon_obs/T_eval ratio with traffic light - precision_shift_predict_4bit: R²(bf16) direction rule for 4-bit shifts - critical_exponents_bundle: ν_c, β_c, η_c=γ-1 (CORRECTED), α_C, γ_susc + AM-GM bound γ_susc ≥ 2√2 at γ=1-1/√2 i18n EN/ES/FR/ZH for all 4 new diagnostic labels and descriptions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>5d885d7
-
feat(v0.4.1): integrate Hagedorn safety + phase class + nearest-constant in profile_model
profile_model() now returns a `v04_diagnostics` block with: - hagedorn_safety: red/orange/green badge + message + panel-fraction (paper 2 §4.2 finding F12 — 36% LLMs in critical zone) - bimodal_phase_class: Phase A / boundary / Hagedorn zone label (paper 2 §4 finding F11 — bimodal γ_text density) - nearest_famous_constants: hits within ±0.02 of γ (paper 2 §6 finding F13 — discrete attractors, e.g. 1−1/φ) - imprint_predicted_shift: γ_random predicted via ν=−1/(2π) - compute_invariant K + in-distribution flag key_numbers block also adds: - gamma_random_predicted (X-21 prediction) - compute_invariant_K (X-22 calculation) - K_in_distribution flag New helper functions: - hagedorn_safety_alert(gamma) — categorize γ into safety zones - bimodal_phase_class(gamma) — Phase A / boundary / Hagedorn label - nearest_famous_constant(gamma, ...) — convenience wrapper These power the upcoming v0.5 phase-diagram visual + Hagedorn red-badge UI. Co-Authored-By: Claude Opus 4.7 (1M context) <nore…1f3c310 -
feat(v0.4): add 3 diagnostic recipes from sesión 29 cross-model panel
New TAF formulas (sesión 29 findings, 2026-04-28, n=22 LLM panel): - §28 ν = −1/(2π) learned-imprint slope (DERIVED + empirical err 0.3%) - §29 K = γ × log(N²·D) Chinchilla-attention invariant (CV=0.329) - §30 sign(γ_text − γ_random) IH-formation discriminator - §31 γ-cluster on famous constants (CodeLlama=1−1/φ, etc — n=4 intriguing) New Python functions (python/taf_browser.py): - gamma_random_predict(theta, T_eval, n_params_M) — F1 imprint formula - imprint_purity(...) — diagnostic with ±0.18 CI - compute_invariant_K(...) — F2 with z-score vs panel - ih_phase_check(...) — F4 Δγ probe - gamma_decompose_v2(...) — 6-axis with imprint + instruct - famous_constant_proximity(...) — golden-ratio detector New recipes: - X-21 Imprint Purity Diagnostic (predicts γ_random, classifies cleanliness) - X-22 Compute-Context Invariant (K-band membership check) - X-23 IH-Phase Detector (Δγ probe + size-consistency check) UI updates: - Help modal expanded with v0.4 section in 4 languages (EN/ES/FR/Z…abea671
-
feat: Profile + Compare modes, hero rewrite, share URL
Tier 1 features for technicians evaluating models: - HERO: 'Test ANY transformer LLM before you spend GPU/$' + architecture coverage badges (RoPE-MHA, RoPE-GQA, ALiBi, AbsPE, SWA, SSM, Any HuggingFace public model) - 📇 PROFILE mode: paste model id → all 5 recipes run at once → unified TAF Card with verdict per dimension, key numbers (paper §26), falsification status (FALSIFICATION.md F1-F23), architecture class - 🆚 COMPARE mode: 2-3 models side-by-side on same recipe → table with verdicts color-coded + key numbers per row - 🔗 Share URL: encoded params, click to copy, restored on page load - Tooltips on every form field with paper context - Help modal updated with new modes + use cases New Python functions: - profile_model(): runs all 5 recipes + assembles TAF Card - compare_models(): one recipe across N models with key-number extraction Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>0386760 -
feat: TAF Agent v0.1 — client-side transformer diagnostic
A Pyodide+WebLLM browser app that predicts transformer LLM viability (long-context, training budget, hardware fit, KV compression, custom-vs-API) using the TAF (Thermodynamic Attention Framework) formula chains from Marin 2026. Phase 1: Pyodide loads taf_browser.py (10 formulas, 11 model presets, 11 GPU catalog, deterministic Python, no server) Phase 2: WebLLM loads Llama-3.2-1B in browser → plain-English synthesis Phase 3: Free-form question router (LLM picks recipe + extracts params) Recipes (5): X-1 Custom training vs API X-2 Long Context Viability X-3 Budget Pre-flight X-5 Hardware Selection for serving X-19 KV Compression decision UI: 2 modes (Ask plain-English / Recipe + form), HF Hub config fetch for any public model, audit-trail expandable steps, mobile-responsive. Hosting: GitHub Pages (static); compute: user's browser; cost: \$0/mo. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>6ab0441