LLMVis / utils

Commit History

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

pycache shit
e5b425f

cdpearlman commited on

completed ablation experiment implementation
65dd6b7

cdpearlman commited on

Fix experiments section visibility and improve ablation logic - Fix experiments section callback to show properly after analysis - Change mean ablation to use mean across ALL layers and tokens (not just selected layer) - Update UI description to clarify meaningless mean activation - Remove prevent_initial_call to ensure proper initialization
1e7c9a1

cdpearlman commited on

Add Experiments panel with mean ablation feature - Remove Divergent Layers summary from comparison panel (keep badges) - Add collapsible Experiments section after analysis - Implement Ablation Study with layer selection buttons - Add mean ablation function to replace layer activations with mean - Run ablation on both prompts and update results - Gray out ablated layer in accordion with visual indicator - Add CSS styling for experiments panel and ablated layers
67f8e53

cdpearlman commited on

Added prompt comparison visualizations
8b99060

cdpearlman commited on

Fix callback error: remove non-existent second-visualization-section output
2fbcc18

cdpearlman commited on

Fix meta tensor serialization error in safe_to_serializable
0e396c0

cdpearlman commited on

Add attention head categorization with colored badges to each layer accordion
0b846ef

cdpearlman commited on

Fix attention view display: always show section, remove Analysis Results, add debugging
4cd795f

cdpearlman commited on

Add simplified attention view with top-3 attended tokens and BertViz toggle button
977a3ff

cdpearlman commited on

feat: Add top-5 predictions with deltas, certainty meter, and bar charts in accordion panels
1221d69

cdpearlman commited on

Improve layer spacing and header text
6fac99b

cdpearlman commited on

Fix accordion data flow and remove all legacy Cytoscape code
44b60b5

cdpearlman commited on

Replace Cytoscape with accordion-based layer view
5c05f37

cdpearlman commited on

cleanup and planning for next series of features
5f164c5

cdpearlman commited on

Refactor Check Token: Replace 4th edge with probability line graph
431ab15

cdpearlman commited on

cleaned up file system
3783a85

cdpearlman commited on

Implement edge hover tooltips with floating divs for better UX
2588505

cdpearlman commited on

Replace edge hover info with tooltip bubbles on visualization
78bb537

cdpearlman commited on

Fix: Export categorize_single_layer_heads from utils package
d2086cb

cdpearlman commited on

Refactor: Move attention head categorization to on-demand per-layer display - Removed automatic Attention Head Categorization section from main panel - Created categorize_single_layer_heads() for per-layer categorization - Updated run_analysis to skip automatic head categorization - Enhanced node click callback to show layer-specific categorization - Analysis Results section now displays both BertViz and categorized heads on node click
17ec583

cdpearlman commited on

Fix BertViz category visualization tensor stacking error and add head index labels
d0dc16d

cdpearlman commited on

Feature update: Reorganize attention head categorization with BertViz visualizations for each category
8e9f963

cdpearlman commited on

Feature update: Check token now tries both with/without leading space and uses higher probability variant
7c6af85

cdpearlman commited on

Feature 6: Implement two-prompt difference analysis with divergent layer highlighting
55e225f

cdpearlman commited on

Feature 5: Implement attention head detection and categorization with visual display
24b78dc

cdpearlman commited on

Feature 4: Replace BertViz head_view with model_view for hierarchical attention visualization
d5dc3e0

cdpearlman commited on

Feature updates: collapsible sidebar, toggle compare button, check token submit button, fix second graph visibility, improve check token debug output
3bbf674

cdpearlman commited on

Add check token feature with 4th edge and minimum opacity
08f5ebe

cdpearlman commited on

Using final layer output instead of mlp for simpler computation
f33c95a

cdpearlman commited on

simplified vocab space projection
1dd1822

cdpearlman commited on

merged with pyvene
de60077

cdpearlman commited on

Added model config for automatic model parameter detection
c6cb681

cdpearlman commited on

Uses pyvene instead of just pytorch hooks, setting up for activation patching
7fd64d2

cdpearlman commited on

Full visualization reorganization, handles model selection, parameter selection, visualizes graphs w/ bertviz onclick
1a93ca4

cdpearlman commited on