-
Notifications
You must be signed in to change notification settings - Fork 31
Add adaptive random suffix attack module #30
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
base: main
Are you sure you want to change the base?
Conversation
…apping file - Updated `ensure_tiktoken_offline` function to download the public tiktoken mapping file from a specified URL instead of using a bundled resource. - Added support for an optional `save_path` parameter to specify the exact file path or directory for saving the downloaded file. - Improved error handling for download failures. - Removed the `spikee/utils.py` module, which contained timeout utilities, as it is no longer needed.
|
@ivanoconnor / @Shiva108 , this pull request will need some work to be merged as we changed the attack module interface to use OOP and we introduced functional testing. I am planning to work on this merge this side of Christmas, unless somebody wants to give it a go, I think it mostly just needs an update to adapt to the new interfaces for targets and attacks, ensuring the OOP interface for targets correctly handles the log probabilities needed by the attack. |
|
Hey - happy to give this a go over the next couple of weeks |
Adds a token-level adversarial attack module based on research from the EPFL paper on adaptive attacks (arXiv:2404.02151)
Docs available at
docs/10_adaptive_rsa.md