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

Questions about the dataset #46

Open
Youoo1 opened this issue Oct 20, 2021 · 1 comment
Open

Questions about the dataset #46

Youoo1 opened this issue Oct 20, 2021 · 1 comment

Comments

@Youoo1
Copy link

Youoo1 commented Oct 20, 2021

Thank you for the open source code. I am a graduate student just entering the field of textual attacks. I recently came across the paper and would like to reproduce it to see the effect. There are a few simple questions I would like to ask you. 1. should the model be trained in the order of the readme.txt? I think some details are omitted. 2. The format of the data demo is different from that required in the code, so can you conveniently tell me what to do with it?

image

@jind11
Copy link
Owner

jind11 commented Oct 21, 2021

Here are answers: 1. Trained target models have been provided here: https://drive.google.com/drive/folders/1N-FYUa5XN8qDs4SgttQQnrkeTXXAXjTv so you do not need to train models again; 2. For running the code, you can refer to this code sample: https://github.com/jind11/TextFooler/blob/master/run_attack_classification.py and change those data or embedding paths according to your local folder path.

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