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

Reduce attack save state #13

Open
dxoigmn opened this issue Jan 27, 2025 · 0 comments
Open

Reduce attack save state #13

dxoigmn opened this issue Jan 27, 2025 · 0 comments

Comments

@dxoigmn
Copy link
Contributor

dxoigmn commented Jan 27, 2025

We currently save the entire NxV attack parameters where N is the number of attack tokens and V is the size of the model's vocabulary. This is wasteful for discrete attacks since the vocab entries are mostly zero except for one. For discrete attacks, we should just save the N token ids.

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

No branches or pull requests

1 participant