Skip to content

Commit

Permalink
Merge main into sweep/add-license
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Nov 28, 2023
2 parents ea75dee + 86b3155 commit 2a9ce8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PullingAce is a Python library designed to benchmark adversarial attacks on Hugg

### CLI Example
```bash
pullingace --attack tomato --model "textattack/albert-base-v2-ag-news" --dataset "ag_news" --num-examples 5
pullingace --attack tomato --model "textattack/albert-base-v2-ag-news" --dataset "ag_news" --num-examples 10
```


Expand Down Expand Up @@ -50,12 +50,13 @@ Notes : the probes must fit the PROBE_FAMILIES name defined in subprocessor.

To get started with PullingAce, follow these steps:

- Create virtual environment
- Clone the repository: `git clone https://github.com/<username>/pullingace.git`
- Navigate to the root directory: `cd pullingace`
- Install the package using pip:

```bash
pip install pullingace
pip install .

## Try
pullingace --attack tomato --model "textattack/albert-base-v2-ag-news" --dataset "ag_news" --num-examples 5
Expand Down

0 comments on commit 2a9ce8c

Please sign in to comment.