Latest / AI & agents

inspectus

github.com · Package · Maintained

Python library for interactive attention matrix visualizations of language models

Visit github.com ↗Share

  • attention
  • attention visualization
  • transformer attention plot
  • jupyter llm visualization
  • model interpretability
  • token visualization
Stars
719
Forks
34
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

inspectus is an open-source Python library for creating interactive visualizations of attention matrices in language models. It is designed to run in Jupyter notebooks through a simple Python API and offers several views of model behavior; the project is written in TypeScript and is listed as LLM analytics.

Repository description on GitHub: “LLM Analytics”

What it does

  • Interactive attention matrix visualizations for language models
  • Multiple views, including token visualization and distribution plots
  • Runs in Jupyter notebooks through a Python API

Good for

  • Visualize attention matrices from a Hugging Face model in a notebook
  • Plot token-level and distribution views of model behavior

Suits: ML researchers inspecting language model attention.

What you can try

Read the README on GitHub and install the Python package.

Install

pip install inspectus

Taken from the project’s README. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw inspectus on , when lakshith-403 posted it to Show HN. GitHub listed no published releases for labmlai/inspectus when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 197 points, 15 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 197 points, 15 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: labmlai/inspectus
  2. Found: lakshith-403 posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was inspectus released?
No dated release record is available. Kip found it on Show HN on 9 Jun 2024.
Is inspectus open source?
Its source is public on GitHub at labmlai/inspectus under the MIT licence.
What does inspectus run on?
Library.
Is inspectus free?
It is open source, so the code is free to read and run; check the licence for terms.
Is inspectus still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorylabmlai/inspectus
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-40623883. Summary written by KipFound’s editor.

Share

Similar tools

More in AI & agents

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.