Commit History

  1. Backend: ephemeral flag on analyze stream — leave no cache trace⁠

    gary-boon +1: Claude Opus 4.7 (1M context)
    88879ce
  2. Backend: add mask_positions intervention for What-if "Test this token"⁠

    gary-boon +1: Claude Opus 4.7 (1M context)
    f578686

  1. Merge pull request #6 from gary-boon/feature/rq1-ffn-intermediate⁠

    gary-boon
    Unverified signature
    a1b2ad2
  2. Backend: unembedding cosine emission + Devstral tokenizer fallback⁠

    garyboon +1: Claude Opus 4.7 (1M context)
    3a10cf3

  1. Emit per-token embedding L2 norms for RQ1 Step 3⁠

    garyboon +1: Claude Opus 4.7 (1M context)
    336085f
  2. Emit per-layer top-K SwiGLU intermediate activations for RQ1 Step 5⁠

    garyboon +1: Claude Opus 4.7 (1M context)
    019492b

  1. Merge: F2 backend — emit effective_probability for sampling-effective margins (#5)⁠

    gary-boon
    Unverified signature
    e11c277
  2. Merge: F1 backend — expose query_position and query_token_id (#4)⁠

    gary-boon
    Unverified signature
    778d7c8
  3. Merge: F3a — derive aggregate-row num_heads from request metadata (#1)⁠

    gary-boon
    Unverified signature
    78c7200
  4. Emit effective_probability and sampling eligibility per alternative⁠

    gary-boon
    6f43bd6
  5. Expose query_position and query_token_id in /attention/row response⁠

    gary-boon
    d2d962d
  6. Derive aggregate-row num_heads from request metadata, not live model⁠

    gary-boon
    3506846

  1. Fix empty text and incorrect is_special for Mistral control tokens⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    b5e4add

  1. Fix score-all classification in vectorised path⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    e375e45

  1. Merge branch 'main' into feature/score-all-classification

    gary-boon
    bfdde66
  2. Pin PyTorch <2.11.0 to fix CUDA driver incompatibility on HF Spaces⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    8b9ad4b
  3. Revert "Fix model selector not showing loaded GPU model on CPU-detected hardware"⁠

    gary-boon
    ff8be9d
  4. Fix model selector not showing loaded GPU model on CPU-detected hardware⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    6c5265e
  5. Refactor head classification from cascade to score-all-then-rank⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    10baadf
  6. Add FFN contribution metrics and gate activation stats to research endpoint⁠

    gary-boon +1: Claude Opus 4.6 (1M context)
    82349c1

  1. Add tuned lens as supplementary projection mode for logit lens⁠

    gary-boon +1: Claude Opus 4.6
    6f48db0
  2. Rename 'counterfactual' terminology to 'input ablation' in docstrings⁠

    gary-boon +1: Claude Opus 4.6
    0d76811
  3. Fix margin winner_token in margin_data and extract _classify_stability helper⁠

    gary-boon +1: Claude Opus 4.6
    ecf49a2
  4. Add margin-based decision analysis, interventional counterfactuals, and run comparison (v3.0)⁠

    gary-boon +1: Claude Opus 4.6
    121a2d9

  1. Add deep inspection: data-driven pattern classification, attention/MLP tracking, logit lens⁠

    gary-boon +1: Claude Opus 4.6
    54d9b6e

  1. Change default model to Devstral and optimise attention extraction⁠

    gary-boon +1: Claude Opus 4.6
    d8d197a

  1. Fix PyTorch dynamo cache directory issue in containers⁠

    gary-boon +1: Claude Opus 4.5
    9978aec

  1. Fix MistralTokenizer loading and token section boundaries⁠

    gary-boon +1: Claude Opus 4.5
    76b614d

  1. Fix MistralTokenizer not loaded during model switch⁠

    gary-boon +1: Claude Opus 4.5
    2bdf299

  1. feat: add top-k/top-p sampling and detailed logits/probability tracking⁠

    gary-boon +1: Claude Opus 4.5
    2c6343b

  1. fix: Improve token alternatives numerical stability and temperature control⁠

    gary-boon +1: Claude Opus 4.5
    bc1f0e0

  1. Store matrices as numpy arrays instead of Python lists⁠

    gary-boon +1: Claude Opus 4.5
    f2e89c2
  2. Add per-step memory cleanup for large model support⁠

    gary-boon +1: Claude Opus 4.5
    a94eb19
  3. Fix RAM exhaustion for large token generation⁠

    gary-boon +1: Claude Opus 4.5
    959074d
  4. feat: add auto_complete parameter for token generation⁠

    gary-boon +1: Claude Opus 4.5
    bb689ce
  5. fix: add QKV extraction support for Mistral/Devstral architecture⁠

    gary-boon +1: Claude Opus 4.5
    d1d37a8
  6. feat: implement lazy-loading for attention matrices⁠

    gary-boon +1: Claude Opus 4.5
    929ba88

  1. Add avg_entropy calculation for attention heads⁠

    gary-boon +1: Claude Opus 4.5
    66a46b6

  1. Revert QKV visualization fixes - need better approach for data streaming⁠

    gary-boon +1: Claude Opus 4.5
    d0b7e29
  2. Add safety checks for missing QKV keys⁠

    gary-boon +1: Claude Opus 4.5
    a79cb83
  3. Limit QKV matrices to top 5 heads per layer to reduce response size⁠

    gary-boon +1: Claude Opus 4.5
    decb5ab
  4. Fix QKV matrix extraction for Mistral/Devstral architecture⁠

    gary-boon +1: Claude Opus 4.5
    9056859
  5. Fix QKV visualization for Mistral/Devstral architecture⁠

    gary-boon +1: Claude Opus 4.5
    4ec134b

  1. Add future considerations doc for response size optimization⁠

    gary-boon +1: Claude Opus 4.5
    3e67ea2
  2. Fix: Import time module at top level for SSE events⁠

    gary-boon +1: Claude Opus 4.5
    15a862b
  3. Add SSE streaming endpoint for real-time analysis progress⁠

    gary-boon +1: Claude Opus 4.5
    172a186
  4. feat: Include token metadata in analysis response⁠

    gary-boon +1: Claude Opus 4.5
    ee0f6c9
  5. feat: Implement tier-based model filtering by device type⁠

    gary-boon +1: Claude Opus 4.5
    6bf9f5c
  6. Fix: Add attn_implementation="eager" to model switch function⁠

    gary-boon +1: Claude Opus 4.5
    f94a7ae

  1. Add Phase 5: Performance optimizations to phased plan⁠

    gary-boon +1: Claude Opus 4.5
    383a328