Skip to content

Commit

Permalink
make attack-recipes more easier to find in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyanjun committed Jun 18, 2021
1 parent 501e443 commit 254c984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/3recipes/attack_recipes_cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ textattack attack --model lstm-mr --num-examples 20 \

> **Tip:** Instead of specifying a dataset and number of examples, you can pass `--interactive` to attack samples inputted by the user.
### Attacks and Papers Implemented ("Attack Recipes"): `textattack attack --recipe [recipe_name]`
## Attacks and Papers Implemented ("Attack Recipes"): `textattack attack --recipe [recipe_name]`

We include attack recipes which implement attacks from the literature. You can list attack recipes using `textattack list attack-recipes`.

Expand Down Expand Up @@ -227,7 +227,7 @@ To run an attack recipe: `textattack attack --recipe [recipe_name]`



### Recipe Usage Examples
## Recipe Usage Examples

Here are some examples of testing attacks from the literature from the command-line:

Expand Down

0 comments on commit 254c984

Please sign in to comment.