LLMVis / utils

Commit History

  1. Fixed ablation experiments, drilled down on which pre-loaded ones to run

    3d71d04

  1. Bug fix: type issue with models leading to gibberish outputs

    5528a77

  1. Rename L#-H# notation to L#-D# for detector consistency⁠

    cdpearlman +1: Claude Opus 4.6
    deb2071

  1. Added numbers to BertViz visualization, easier to map attention head numbers

    67f5be3

  1. added color swatches for easy mapping from attention categories to BertViz

    96e2bc7
  2. Fixed model-switching bug with activation store clearing

    7ad3e7b

  1. New models chosen and rag docs updated

    f478beb

  1. Attention refactor, better categorization and explanation

    7fa8fb4

  1. Chatbot improvements: UI cleaning, chat streaming, typing animation, and better markdown formatting

    a684a8d
  2. ablation experiment fixes, better UI and full sequence comparison

    a938eeb

  1. feat(output): Add token scrubber with per-position top-5 next-token probabilities⁠

    cdpearlman +1: Cursor
    d60cfe2

  1. Switch to cost-optimized paid models: Gemini 2.5 Flash Lite + text-embedding-3-small⁠

    cdpearlman +1: Cursor
    129c11e
  2. Switch to free models: Qwen3-Next chat + local embeddings⁠

    cdpearlman +1: Cursor
    94b077a
  3. Migrate from Gemini to OpenRouter API⁠

    cdpearlman +1: Cursor
    ef3e36a
  4. Migrate from google-generativeai to google-genai SDK⁠

    cdpearlman +1: Cursor
    ddd91a5
  5. Resolve merge conflicts in README.md and todo.md⁠

    cdpearlman +1: Cursor
    b4d0227
  6. feat: Add AI chatbot with Gemini integration and RAG support⁠

    cdpearlman +1: Cursor
    62884e7
  7. cleanup for merge

    b194610
  8. chore: remove unused code, imports, and deprecated functions⁠

    cdpearlman +1: Cursor
    2965a7d
  9. conductor setup

    aabd66e

  1. conductor(checkpoint): Checkpoint end of Phase 3: Visualization & Feedback Loop

    72f82a4
  2. conductor(checkpoint): Checkpoint end of Phase 2: Frontend Control Panel

    24bd049
  3. fix(utils): Export generate_bertviz_model_view_html from package

    5cad664
  4. conductor(checkpoint): Checkpoint end of Phase 1: Backend Support for Ablation

    5fc7374
  5. feat(pipeline): Add ablation support to beam search and verify pipeline dispatch

    d2ea949
  6. feat(ablation): Unify ablation execution into execute_forward_pass

    2f4e4f3
  7. Fix multi-layer ablation to ablate all heads simultaneously

    ae08976

  1. rules change for simple git commit messages

    d90df7f
  2. Switch attention viz to head_view and add categorization (Agent D)

    ef749ae

  1. Add comprehensive test suite for utility modules (73 tests)

    e13b1ba

  1. Refactor: Replace heatmap with pipeline explanation visualization

    3850656
  2. heatmap implementation

    ac745db

  1. Ablation updated for full sequence, needs refactor for front-end and workflow

    2ad1c2e

  1. Fixed errors for beam search refactor

    c19d5a8

  1. Switched to beam search instead of single token

    4c3d673
  2. Fix storage quota error by using memory storage and add type safety checks

    cc96787

  1. Better explanations, moved transformer layer diagram to be more visible

    080932d

  1. Fix meta tensor error in safe_to_serializable⁠

    1f5efac
  2. Update layer highlighting to 100% threshold for actual output token only⁠

    9d22c3c

  1. Improve explanations: optimize head categorization and comparison thresholds, enhance ablation explanation, rewrite all tooltips for high school level

    b828e58
  2. Clean up: fix significant layer threshold to 50%, remove unused logit lens parameter, remove certainty calculations

    a4e6de8

  1. Add ablation experiment before/after comparison with Reset button⁠

    d701d46

  1. Fix ablation: add attention_modules to session store so ablation can find attention layers

    efbe4ad

  1. Add comprehensive debugging to ablation data flow

    a1ae11e
  2. Fix ablation: capture ablated attention module output to populate layer data

    455f0c2
  3. Refine layer organization: add title to diagram, move graph below layers, give Residual a box, reorder Explore button

    34fa23c
  4. Reorganize Layer-by-Layer Predictions: move diagram to main container, reorder sections, update arrows, increase threshold to 75%

    c127d17
  5. Fix norm_selection type mismatch and ensure norm_parameters are always selected - Changed auto-selection to return list instead of string - Updated run_analysis to handle norm_patterns as list - Added norm_parameters requirement to Run Analysis button

    b98d237
  6. Clean up temporary documentation

    f64fe64
  7. Fix token predictions not being collected - changed condition to check for block_outputs and norm_parameters instead of logit_lens_parameter

    d6f21db