BertViz
Visualize attention in Transformer language models such as BERT and GPT-2.
- Maintained
- Apache-2.0
- Python
- Machine learning visualization tools
- GitHub stars
- 8.2K#78 in the directory
- PyPI downloads / week
- 635
- Commits, last 12 months
- 1
- Contributors
- 5
- Last commit
- Latest release
- v1.4.1Jun 1, 2025
Overview
BertViz is an open-source ML visualization tool released under the Apache-2.0 license. Its GitHub repository has 8,193 stars, 888 forks, and 5 contributors. It is maintained with 1 commit in the last 12 months; the most recent commit was on Jan 8, 2026. The latest release, v1.4.1, was published on Jun 1, 2025. On PyPI it is downloaded about 635 times per week.
Its GitHub description: BertViz: Visualize Attention in Transformer Models
GitHub topics: natural-language-processingmachine-learningvisualizationneural-networkpytorchnlpberttransformergpt2robertatransformers
Install
Development activity
Commits per month to the default branch over the last 12 complete months.
Show data as a table
| Month | Commits |
|---|---|
| Oct 2025 | 0 |
| Nov 2025 | 0 |
| Dec 2025 | 0 |
| Jan 2026 | 1 |
| Feb 2026 | 0 |
| Mar 2026 | 0 |
| Apr 2026 | 0 |
| May 2026 | 0 |
| Jun 2026 | 0 |
| Jul 2026 | 0 |
| Aug 2026 | 0 |
| Sep 2026 | 0 |
Popularity among Machine learning visualization tools
Show data as a table
| Tool | Stars |
|---|---|
| Netron | 33,544 |
| PlotNeuralNet | 25,009 |
| Opik | 22,373 |
| Phoenix | 11,704 |
| FiftyOne | 11,143 |
| Visdom | 10,318 |
| BertViz | 8,193 |
Alternatives to BertViz
-
Netron
Viewer for neural network, deep learning and machine learning models.
-
PlotNeuralNet
LaTeX code for drawing neural network architecture diagrams.
-
Opik
Formerly CometLLM. Debug, evaluate, and monitor LLM applications with tracing and dashboards.
-
Phoenix
ML observability in a notebook with UMAP visualizations
-
FiftyOne
Tool for visualizing, curating and evaluating computer vision datasets and models.
-
Visdom
Tool for real-time visualization and monitoring of live data such as ML experiments.
BertViz FAQ
Is BertViz open source?
Is BertViz still maintained?
How do I install BertViz?
pip install bertviz.What are the best alternatives to BertViz?
What language is BertViz written in?
Data: GitHub API, PyPI. Updated Oct 4, 2026.