Spaces:
Running
Running
Commit History
-
Tutorial, feedback, and github buttons added
e1f91c2
-
Moved glossary button to header instead of hidden in sidebar
42ae447
-
Added pre-built prompts for app and chatbot
018a9f2
-
Fixed glossary UI to be cleaner
1cce926
-
Chatbot improvements: UI cleaning, chat streaming, typing animation, and better markdown formatting
a684a8d
-
Add drag-to-resize on chat window left edge
Co-authored-by: Cursor <cursoragent@cursor.com>718dfcb
-
feat: Add AI chatbot with Gemini integration and RAG support
Co-authored-by: Cursor <cursoragent@cursor.com>62884e7
-
Add educational explanations to pipeline stages (Agent C): embedding lookup table, MLP knowledge storage, attention viz guide
3e6c5b6
-
Refactor: Replace heatmap with pipeline explanation visualization
3850656 -
heatmap implementation
ac745db
-
feat: implement PHASE 6 (BertViz button relocation) and PHASE 7 (CSS styling)
- Added single full BertViz button below all layer accordions - Created callback to show full model BertViz with all layers and heads using model_view - Removed old unused layer-specific BertViz callback - Added CSS styling for full BertViz button with hover effects and animations - Verified all CSS styling for tokenization panel, transformer layers, flow diagrams, and experiments sections - Updated todo.md to mark PHASES 6 and 7 as completed6dad069 -
Complete PHASE 5: Individual Layer Panel Refactor
- Replaced top 5 bar chart with delta chart showing changes in global top 5 token probabilities - Created _create_token_probability_delta_chart() and _create_comparison_delta_chart() functions - Added visual flow diagram showing transformer layer architecture with hover tooltips - Enhanced attention head categorization with detailed descriptions for each category - Added BertViz usage instructions with helpful tips for reading visualizations - Implemented Explore These Changes button with collapsible experiments section - Added attention head ablation interface with multi-select capability - Created callbacks for toggling experiments, handling head selection, and running ablations - All changes support both single and comparison modes - Added CSS styling for flow diagram boxes with hover effects1977521 -
Implement PHASE 4: Transformer Layers Panel Redesign - Added line graph showing top 5 tokens probabilities across layers - Implemented collapsible container for transformer layers with stacked visual - Added yellow highlighting for significant layers - Supports both single and comparison modes
47efaf4 -
Implement PHASE 3: Tokenization Explanation Section - Created components/tokenization_panel.py with three-column layout - Added HTML/CSS-based static tokenization diagram - Integrated tokenization panel into main_panel.py - Added update_tokenization_display() callback - Added CSS styling with hover effects and connecting lines - Implemented comparison mode support with vertical stacking
f0bb174 -
PHASE 2: UI Component Removal & Cleanup - Removed Check Token feature, Bottom Experiments section, certainty display, and top_attended section from layer accordions. Cleaned up related CSS.
313afef
-
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
-
Improve layer spacing and header text
- Increased spacing between layers: token chips now have 1.5rem bottom margin - Reduced accordion bottom margin to 0.25rem (small gap to token chips) - Token chips stay close to their layer (0.25rem gap) - Removed 'likely' from header text for cleaner display6fac99b -
Replace Cytoscape with accordion-based layer view
- Added html.Details/Summary accordion panels for each layer - Display plain-language headers: 'Layer L{N}: likely {token} (p={prob})' - Added token chips showing top-3 predictions between layers - Gated old Cytoscape graph behind USE_LEGACY_CYTOSCAPE feature flag - Added CSS for accordion styling with ellipsis truncation - Created extract_layer_data() utility function - All panels closed by default for compact flow view5c05f37
-
Feature updates: collapsible sidebar, toggle compare button, check token submit button, fix second graph visibility, improve check token debug output
3bbf674 -
Add compare prompts feature with dual visualization
9267d3e -
Add CSS styling for sidebar toggle button
acc04a5
-
Full visualization reorganization, handles model selection, parameter selection, visualizes graphs w/ bertviz onclick
1a93ca4