callummcdougall / sae_vis

Create feature-centric and prompt-centric visualizations for sparse autoencoders (like those from Anthropic's published research).
MIT License
140 stars 27 forks source link

reformatted sae_vis/data_fetching_fns.py to comply with linting rules #49

Closed shehper closed 3 months ago

shehper commented 4 months ago

I checked that with this change, the code passes all of the following tests. I duplicated GitHub's CI workflow to make sure the versions match. Hopefully, this PR should pass the "build" tests.

poetry run ruff check && \
poetry run ruff format --check && \
poetry run pyright && \
poetry run pytest && \
poetry build
callummcdougall commented 3 months ago

Looks great, thanks (and sorry for the delay!)