Skip to content

timothyckl/jlens-experiments.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J-Lens Experiments

Quarto showcase for Jacobian Lens examples from Verbalizable Representations Form a Global Workspace in Language Models.

Setup

Install Quarto separately, then create/use a Python environment with the runtime dependencies.

pip install -r requirements.txt

jlens is not installed from PyPI. Install it from a local checkout of the main Jacobian Lens project.

pip install -e /path/to/jacobian-lens

If the main project later becomes available from a public Git repo, replace the local editable install with a Git dependency.

Render

The site is configured to execute code during render, so rendered pages include cell outputs where practical. Rendering can be slow and memory-heavy.

quarto render

Contents

  • demos/overview.qmd - logit lens introduction.
  • demos/*.qmd - experiment pages.
  • assets/qwen_gloss.json.gz - vocabulary gloss data used by visualisations.
  • data/experiments/probe-swap.json - data used by the probe-swap intervention.

About

Jacobian Lens experiments for language model interpretability.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors