bertviz
Route BertViz Transformer attention visualization, neuron-view, notebook, and HTML export workflows.
Skill by VectorSpaceLab
Chalk Labs
Need help deploying bertviz?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vectorspacelab-bertviz
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bertviz
What's inside
- Skill name
bertviz- Description
- Route BertViz Transformer attention visualization, neuron-view, notebook, and HTML export workflows.
- License
- Apache-2.0
- Metadata
- disco-role: operating
- Instructions
- 81 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (17)
- SKILL.md
- environment-and-install.md · references/
- repo-provenance.md · references/
- repo-routing-metadata.json · references/
- troubleshooting.md · references/
- check_bertviz_environment.py · scripts/
- SKILL.md · sub-skills/attention-views/
- api-reference.md · sub-skills/attention-views/references/
- troubleshooting.md · sub-skills/attention-views/references/
- workflows.md · sub-skills/attention-views/references/
- render_synthetic_attention.py · sub-skills/attention-views/scripts/
- SKILL.md · sub-skills/neuron-view/
- api-reference.md · sub-skills/neuron-view/references/
- model-compatibility.md · sub-skills/neuron-view/references/
- troubleshooting.md · sub-skills/neuron-view/references/
- workflows.md · sub-skills/neuron-view/references/
- validate_toy_bert_attention.py · sub-skills/neuron-view/scripts/
SKILL.md (first lines)
# BertViz
Use this repo skill when a task involves BertViz, Transformer attention
visualization, head/model view rendering, neuron-level query/key inspection, or
saving BertViz notebook visualizations as HTML.
## Install and quick check
For ordinary use:
```bash
pip install bertviz
```
For interactive notebooks also install and enable a notebook frontend such as
JupyterLab plus widgets:
```bash
pip install jupyterlab ipywidgets
```
Minimal package/API check:
```bash
python - <<'PY'
from bertviz import head_view, model_view
from bertviz.neuron_view import get_attention
print("bertviz import ok", head_view.__name__, model_view.__name__, get_attention.__name__)
PY
```
For a stronger no-network check, run [`scripts/check_bertviz_environment.py`](scripts/check_bertviz_environment.py).
## Route by task
| User need | Read next |
| --- | --- |
| Visualize standard self-attention tensors from Hugging Face or another Transformer model. | [`sub-skills/attention-views/SKILL.md`](sub-skills/attention-views/SKILL.md) |
| Render sentence-pair head/model views with `sentence_b_start`. | [`sub-skills/attention-views/SKILL.md`](sub-skills/attention-views/SKILL.md) |
| Render encoder, decoder, or cross-attention for sequence-to-sequence models. | [`sub-skills/attention-views/SKILL.md`](sub-skills/attention-views/SKILL.md) |
| Save BertViz output as standalone HTML or use it outside a notebook display call. | [`sub-skills/attention-views/SKILL.md`](sub-skills/attention-views/SKILL.md), or [`sub-skills/neuron-view/SKILL.md`](sub-skills/neuron-view/SKILL.md) for neuron view |
| Inspect query/key neuron contributions using BertViz's modified model classes. | [`sub-skills/neuron-view/SKILL.md`](sub-skills/neuron-view/SKILL.md) |
| Diagnose package installation, notebook display, PyTorch/IPython dependency, or JS asset issues. | [`references/troubleshooting.md`](references/troubleshooting.md) |
| Check whether this skill matches the current BertViz checkout/version. | [`references/repo-provenance.md`](references/repo-provenance.md) |
## Core distinctions
- `head_view` and `model_view` consume attention tensors. They are the right
choice when the model can return Hugging Face-style attention weights with
`output_attentions=True`.
- `neuron_view.show` computes a visualization payload from BertViz's modified
BERT/GPT-2/RoBERTa/XLNet classes because neuron view needs query and key
vectors, not only attention probabilities.
- BertViz is a visualization tool, not a model explanation guarantee. It helps
inspect attention patterns but should not be presented as proving causal
feature attribution.
## Repo-level references and scripts
- [`references/environment-and-install.md`](references/environment-and-install.md)
explains dependencies, notebook frontend expectations, backend assumptions,
and offline validation strategy.
- [`references/troubleshooting.md`](references/troubleshooting.md) covers
cross-cutting install/import/display/runtime symptoms.
- [`references/repo-provenance.md`](references/repo-provenance.md) records the
source snapshot and evidence paths used to build this skill.
- [`scripts/check_bertviz_environment.py`](scripts/check_bertviz_environment.py)
checks imports, function signatures, packaged JavaScript assets, and optional
neuron-view imports without downloading models.
## Safety defaults
- Do not run public notebooks or `from_pretrained(...)` examples automatically
when network/model downloads are not explicitly allowed.
- Prefer bundled no-network helpers for validation: the root environment check,
`attention-views/scripts/render_synthetic_attention.py`, and
`neuron-view/scripts/validate_toy_bert_attention.py`.
- Keep generated outputs and saved HTML in user-chosen working directories;
BertViz does not require modifying its installed package files.From VectorSpaceLab/AREX-Skill, Apache-2.0.
More from VectorSpaceLab/AREX-Skill
- 0.563score
data-designer-repo-skill
VectorSpaceLab
Use when you need to design DataDesigner configs, run preview/create/validate workflows, inspect the CLI or agent context, work with plugins or MCP tools, or…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
everos
VectorSpaceLab
Use this skill for EverOS local-first Markdown memory service setup, HTTP memory and knowledge APIs, cascade/OME operations, and observability integration.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
diffusers
VectorSpaceLab
Use this skill for Hugging Face Diffusers tasks: pipeline inference, schedulers, adapters/loaders, training recipes, modular pipelines, conversion helpers…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
espnet
VectorSpaceLab
Use when working with ESPnet speech AI toolkit: installation, ESPnet2 recipes and training, pretrained inference/model zoo, ESPnet3 stage workflows, and…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
datasets
VectorSpaceLab
Use this skill when working with Hugging Face Datasets: loading local or Hub datasets, defining Features schemas, processing/streaming datasets, converting…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
geopandas
VectorSpaceLab
Use when working with GeoPandas GeoDataFrame and GeoSeries workflows, vector geospatial I/O, CRS-aware spatial operations, mapping, geocoding, and…
SkillBFreshness: B★ 341Claude Code +9
Signals
- Stars
- 341
- Forks
- 26
- Open issues
- 0
- Last commit (this folder)
- Aug 26, 2026 (2 months ago)
- Last release
- Sep 2, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/VectorSpaceLab/AREX-Skill
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VectorSpaceLab
- 0.563score
bentoml
VectorSpaceLab
Use BentoML to author model-serving Services, build and containerize Bentos, run HTTP/gRPC servers and clients, manage models, operate the CLI and BentoCloud…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dagster
VectorSpaceLab
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
alphafold3
VectorSpaceLab
Use this skill for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
autogen
VectorSpaceLab
Use this skill for maintaining, migrating, debugging, and safely operating Microsoft AutoGen Python 0.7.x applications, including AgentChat, Core runtimes…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
browser-use
VectorSpaceLab
Use this self-contained Browser Use repo skill for Python agents that automate websites, browser sessions, custom tools, LLM/provider setup, persistent CLI…
SkillBFreshness: B★ 341Claude Code +9 - 0.563score
dash
VectorSpaceLab
Use when building, debugging, testing, or maintaining Plotly Dash applications, callbacks, server backends, component packages, renderer internals, and Dash…
SkillBFreshness: B★ 341Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get bertviz running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
bertviz skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-bertviz (last updated 2026-10-24)