Feature Finder

Built for Goodfire

Train a sparse autoencoder on sentence embeddings, then test Claude's label for each feature.

Demo by Armaan Kazi
← Back to Demos

288 made-up sentences, embedded with MiniLM. The autoencoder trains in your browser. Claude labels features from 216 training sentences, and plain code tests each label on 72 it never saw.

loading

labelF1
method

Embeddings: all-MiniLM-L6-v2, mean pooled, computed offline. Autoencoder: 32 ReLU features, unit-norm decoder, L1 penalty 0.1, 300full-batch Adam steps, seeded. Claude sees the 12 most frequent features: up to 6 top sentences and 3 where each is silent, and returns a label plus cue words. A held-out sentence counts as active above a quarter of the feature's top training activation, and as predicted when it contains a cue. F1 compares the two.