Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds function that converts old .pt pretrained SAEs to new folder format #87

Merged
merged 5 commits into from
Apr 20, 2024

Conversation

evanhanders
Copy link
Contributor

Title basically says it all:

  • Adds convert_old_to_modern_saelens_format to toolkit/pretrained_saes.py
  • Adds test of above function
  • Fixes a bug for non-mps loads in legacy loader

@jbloomAus
Copy link
Owner

Apologies, to pass CI you need to run the linting / formatting checks (explained here: https://jbloomaus.github.io/SAELens/about/contributing/)

Have made a note to make this more prominent in github.

Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.74%. Comparing base (1fc652c) to head (94f1fc1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   57.03%   57.74%   +0.71%     
==========================================
  Files          16       16              
  Lines        1394     1394              
  Branches      227      227              
==========================================
+ Hits          795      805      +10     
+ Misses        558      543      -15     
- Partials       41       46       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jbloomAus jbloomAus merged commit 1cb1725 into jbloomAus:main Apr 20, 2024
6 checks passed
tom-pollak pushed a commit to tom-pollak/SAELens that referenced this pull request Oct 22, 2024
Adds function that converts old .pt pretrained SAEs to new folder format
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.

2 participants