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

BERT Model for SST Attack #26

Open
tsaland opened this issue Apr 24, 2023 · 1 comment
Open

BERT Model for SST Attack #26

tsaland opened this issue Apr 24, 2023 · 1 comment

Comments

@tsaland
Copy link

tsaland commented Apr 24, 2023

Hi Eric, I'm looking at your paper for a school project and was wondering if you had any tips for adapting the code to generate triggers for a BERT model during the sst attack. Any help would be appreciated!

@Eric-Wallace
Copy link
Owner

Hello, the best code to look at would be the one for attacking gpt2. It uses a (now outdated version) of huggingface transformers. If you start from there, hopefully you can modify it to use BERT instead.

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

2 participants