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

API for generating autointerp + scoring for neuronpedia #108

Merged
merged 4 commits into from
Apr 29, 2024
Merged

Conversation

hijohnnylin
Copy link
Collaborator

Description

This adds the ability to pull a neuronpedia feature, do autointerp and scoring on it locally (with openai key that's stored locally), then uploads it to neuronpedia.

Type of change

  • New feature (non-breaking change which adds functionality)

Copy link

codecov bot commented Apr 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.15%. Comparing base (0184671) to head (ca4ff56).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   58.15%   58.15%           
=======================================
  Files          17       17           
  Lines        1429     1429           
  Branches      237      237           
=======================================
  Hits          831      831           
  Misses        547      547           
  Partials       51       51           

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

pyproject.toml Outdated
@@ -8,6 +8,7 @@ packages = [{include = "sae_lens"}]

[tool.poetry.dependencies]
python = "^3.10"
neuron-explainer = { git = "https://github.com/hijohnnylin/automated-interpretability.git", subdirectory = "neuron-explainer" }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can have dependencies on a git repo while still being publishable on PyPI. This would also need to be published on PyPI as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah thanks! converting this PR to draft until i do this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alrighty it's done and ready for review

@hijohnnylin hijohnnylin marked this pull request as draft April 27, 2024 17:54
@hijohnnylin hijohnnylin marked this pull request as ready for review April 27, 2024 19:22
Copy link
Collaborator

@chanind chanind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 lgtm!

@chanind chanind merged commit 7c43c4c into main Apr 29, 2024
7 checks passed
@chanind chanind deleted the autointerp branch April 29, 2024 09:23
tom-pollak pushed a commit to tom-pollak/SAELens that referenced this pull request Oct 22, 2024
…Aus#108)

* API for generating autointerp for neuronpedia

* Undo pytest vscode setting change

* Fix autointerp import

* Use pypi import for automated-interpretability
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