Skip to content

Conversation

@Noam-Diamant
Copy link
Contributor

As mentioned by @adamkarvonen in #47 : "The topk saes are in the trainer class, which is unfortunately a break from the typical convention in this repo". I moved to BatchTopkSAE to its right place (dictionary.py). Also, in order to solve circular imports due to the facts that both dictionary.py and batch_top_k.py imports from trainer.py after my change, I moved set_decoder_norm_to_unit_norm to dictionary.py as it isn't used only in the training, but also in the inference stage.

@Noam-Diamant
Copy link
Contributor Author

Did the same process for TopKSAE and MatryoshkaBatchTopKSAE classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant