Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update instructions for new attacks
  • Loading branch information
iamgroot42 committed May 9, 2024
1 parent 6c61109 commit b894c13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ To extend the package for your own dataset, you can directly load your data insi

## Adding your own attack

To add an attack, create a file for your attack (e.g. `attacks/my_attack.py`) and implement the interface described in `attacks/blackbox_attack.py`.
Then, add a name for your attack to the dictionary in `attacks/blackbox_attack.py`.
To add an attack, create a file for your attack (e.g. `attacks/my_attack.py`) and implement the interface described in `attacks/all_attacks.py`.
Then, add a name for your attack to the dictionary in `attacks/utils.py`.

If you would like to submit your attack to the repository, please open a pull request describing your attack and the paper it is based on.

Expand All @@ -78,4 +78,4 @@ If you use MIMIR in your research, please cite our paper:
year={2024},
journal={arXiv:2402.07841},
}
```
```

0 comments on commit b894c13

Please sign in to comment.