Blaizzy/model-activation-visualiser

model activation visualiser

★ 2Forks 0GitHub ↗Compare

README

image

model activation visualiser

installation

if uv is installed:

uv run --with git+https://github.com/attentionmech/mav mav --model gpt2 --prompt "hello mello"

otherwise:

  1. venv setup and activate
  2. pip install git+https://github.com/attentionmech/mav
  3. mav --model gpt2 --prompt "hello mello"

(can replace with other hf models like meta-llama/Llama-3.2-1B or HuggingFaceTB/SmolLM-135M)

Contributors

attentionmech

Issues