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

fix: gracefully handle slashes in model filename for autointerp #57

Merged

Conversation

chanind
Copy link
Contributor

@chanind chanind commented Feb 20, 2025

In the autointerp eval, if the model name has a slash in it (e.g. "google/gemma-2-2b"), then the eval crashes when saving the tokenized dataset as it views this as a new folder which doens't exist. This PR fixes this and adds a test which fails on the current version of the code but passes with this fix.

@chanind
Copy link
Contributor Author

chanind commented Feb 20, 2025

It looks like CI here is failing due to updated types in pytorch. Those are fixed in #58

@adamkarvonen adamkarvonen merged commit 11b2e38 into adamkarvonen:main Feb 21, 2025
1 of 4 checks passed
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