sparse-autoencoder-training

Train Sparse Autoencoders to decompose neural network activations into interpretable features.

4|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/ragnarokhaa/hermes --skill sparse-autoencoder-training-ragnarokhaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sparse-autoencoder-training
Source: https://github.com/ragnarokhaa/hermes/tree/main/hermes-cerul-tech-news-package/hermes-cerul-tech-news-package/hermes-agent/optional-skills/mlops/saelens
Command: npx skills add https://github.com/ragnarokhaa/hermes --skill sparse-autoencoder-training-ragnarokhaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sae-lens>=6.0.0, transformer-lens>=2.0.0, torch>=2.0.0, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses the challenge of interpreting neural network activations by utilizing Sparse Autoencoders (SAEs) to decompose them into sparse, interpretable features.

Core Features & Use Cases

  • Feature Decomposition: Decompose polysemantic neural network activations into sparse, monosemantic features.
  • Superposition Analysis: Analyze the superposition of features in language models.
  • Use Case: When studying the internal representations of language models, this Skill helps to understand the underlying concepts and representations by providing a window into the model's activations.

Quick Start

Train a Sparse Autoencoder on the provided text data and analyze its features.

Frequently Asked Questions about sparse-autoencoder-training

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decompose neural network activations into interpretable features?

To decompose neural network activations into interpretable features, you train a Sparse Autoencoder to resolve polysemantic activations into sparse, monosemantic representations. This process provides a clear window into the underlying concepts learned by language models.

What is feature superposition in language models and how is it analyzed?

Feature superposition in language models occurs when multiple concepts overlap within a single activation space. You analyze this superposition by training Sparse Autoencoders to untangle these dense representations into distinct, monosemantic features for interpretability research.

Can I use transformer-lens and sae-lens to analyze language model internal representations?

Yes, you can use transformer-lens and sae-lens to analyze language model internal representations. This Skill relies on these specific libraries alongside PyTorch to extract and train Sparse Autoencoders directly on model activations for interpretability.

What is the best way to train a Sparse Autoencoder on text data for interpretability?

The best way to train a Sparse Autoencoder for interpretability is to extract internal activations from a language model and apply SAE training scripts to map them. This decomposes complex activations into sparse features that represent distinct concepts.

Do I need PyTorch to train Sparse Autoencoders for neural network interpretability?

Yes, you need PyTorch version 2.0.0 or higher to train Sparse Autoencoders for neural network interpretability. The training process depends on PyTorch alongside the sae-lens and transformer-lens libraries to process activations effectively.