LLMVis / utils

Commit History

Added numbers to BertViz visualization, easier to map attention head numbers
67f5be3

cdpearlman commited on

added color swatches for easy mapping from attention categories to BertViz
96e2bc7

cdpearlman commited on

Fixed model-switching bug with activation store clearing
7ad3e7b

cdpearlman commited on

New models chosen and rag docs updated
f478beb

cdpearlman commited on

Attention refactor, better categorization and explanation
7fa8fb4

cdpearlman commited on

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

cdpearlman commited on

ablation experiment fixes, better UI and full sequence comparison
a938eeb

cdpearlman commited on

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

cdpearlman Cursor commited on

Switch to cost-optimized paid models: Gemini 2.5 Flash Lite + text-embedding-3-small
129c11e

cdpearlman Cursor commited on

Switch to free models: Qwen3-Next chat + local embeddings
94b077a

cdpearlman Cursor commited on

Migrate from Gemini to OpenRouter API
ef3e36a

cdpearlman Cursor commited on

Migrate from google-generativeai to google-genai SDK
ddd91a5

cdpearlman Cursor commited on

Resolve merge conflicts in README.md and todo.md
b4d0227

cdpearlman Cursor commited on

feat: Add AI chatbot with Gemini integration and RAG support
62884e7

cdpearlman Cursor commited on

cleanup for merge
b194610

cdpearlman commited on

chore: remove unused code, imports, and deprecated functions
2965a7d

cdpearlman Cursor commited on

conductor(checkpoint): Checkpoint end of Phase 3: Visualization & Feedback Loop
72f82a4

cdpearlman commited on

conductor(checkpoint): Checkpoint end of Phase 2: Frontend Control Panel
24bd049

cdpearlman commited on

fix(utils): Export generate_bertviz_model_view_html from package
5cad664

cdpearlman commited on

conductor(checkpoint): Checkpoint end of Phase 1: Backend Support for Ablation
5fc7374

cdpearlman commited on

feat(pipeline): Add ablation support to beam search and verify pipeline dispatch
d2ea949

cdpearlman commited on

feat(ablation): Unify ablation execution into execute_forward_pass
2f4e4f3

cdpearlman commited on

Fix multi-layer ablation to ablate all heads simultaneously
ae08976

cdpearlman commited on

rules change for simple git commit messages
d90df7f

cdpearlman commited on

Switch attention viz to head_view and add categorization (Agent D)
ef749ae

cdpearlman commited on

Add comprehensive test suite for utility modules (73 tests)
e13b1ba

cdpearlman commited on

Refactor: Replace heatmap with pipeline explanation visualization
3850656

cdpearlman commited on

heatmap implementation
ac745db

cdpearlman commited on

Ablation updated for full sequence, needs refactor for front-end and workflow
2ad1c2e

cdpearlman commited on

Fixed errors for beam search refactor
c19d5a8

cdpearlman commited on

Switched to beam search instead of single token
4c3d673

cdpearlman commited on

Fix storage quota error by using memory storage and add type safety checks
cc96787

cdpearlman commited on

Better explanations, moved transformer layer diagram to be more visible
080932d

cdpearlman commited on

Fix meta tensor error in safe_to_serializable
1f5efac

cdpearlman commited on

Update layer highlighting to 100% threshold for actual output token only
9d22c3c

cdpearlman commited on

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

cdpearlman commited on

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

cdpearlman commited on

Add ablation experiment before/after comparison with Reset button
d701d46

cdpearlman commited on

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

cdpearlman commited on

Add comprehensive debugging to ablation data flow
a1ae11e

cdpearlman commited on

Fix ablation: capture ablated attention module output to populate layer data
455f0c2

cdpearlman commited on

Refine layer organization: add title to diagram, move graph below layers, give Residual a box, reorder Explore button
34fa23c

cdpearlman commited on

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

cdpearlman commited on

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

cdpearlman commited on

Clean up temporary documentation
f64fe64

cdpearlman commited on

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

cdpearlman commited on

feat: implement PHASE 6 (BertViz button relocation) and PHASE 7 (CSS styling)
6dad069

cdpearlman commited on

Phase 1: Backend infrastructure for token merging, layer-wise tracking, and head ablation
ac1a7df

cdpearlman commited on

merge for ablation experiments
3f74515

cdpearlman commited on