constructing-llm-probes

Official

Probe and interpret LLMs with built-in diagnostics

Authorconcordance-co
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Probes provide a structured way to uncover what information is encoded in LLM activations, enabling researchers to assess interpretability, compare models, and localize signals across layers and spans.

Core Features & Use Cases

  • Activation extraction across layers with output_hidden_states
  • Train linear and nonlinear probes (Logistic Regression, Ridge, MLP) to test hypotheses
  • Analysis tools: PCA, SAE, logit lens, and causal interventions
  • Use cases: determine what information (syntax, sentiment, facts) is captured, compare models, and localize signals in specific layers/spans

Quick Start

Run a minimal probing workflow to extract hidden states, train a linear or nonlinear probe, and evaluate across layers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: constructing-llm-probes
Download link: https://github.com/concordance-co/xenon/archive/main.zip#constructing-llm-probes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.