peal.sparse_dictionaries.probe_sparse_autoencoder.ProbeSAEConfig¶
- class peal.sparse_dictionaries.probe_sparse_autoencoder.ProbeSAEConfig[source]¶
Bases:
SparseDictionaryConfigConfig of
ProbeSAE.- Parameters:
pretrained_model_path (
str) – Path of atorch.save-d Lightning predictor whosemodel.model.fcis the linear layer whose weight rows become the dictionary atoms.n_components (
intorNone, default2) – Number of components; informational only, the probe decides the count.sparse_dictionaries_type (
str) – Registry key, fixed to"ProbeSAE".ending (
str) – File ending the factory expects for saved dictionaries (".npz").
Methods
Attributes