Skip to content

Commit

Permalink
Merge pull request #222 from thunlp/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
a710128 authored Sep 22, 2021
2 parents 02f09b9 + 2fec2b6 commit bfedfa7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OpenAttack/attackers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
from .pso import PSOAttacker
from .bert_attack import BERTAttacker
from .bae import BAEAttacker
from .geometry import GEOAttacker
# from .geometry import GEOAttacker FIXME: cannot import name 'zero_gradients' from 'torch.autograd.gradcheck'
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ twine
language_tool_python
nltk>=3.5
numpy
tqdm<4.50.0,>=4.27
datasets
tqdm
transformers>=4.0.0
torch>=1.5.1
2 changes: 1 addition & 1 deletion requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nltk
numpy
tqdm<4.50.0,>=4.27
datasets
tqdm
transformers
torch
sphinx-thunlp-theme>=0.0.9
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nltk>=3.5
numpy
tqdm<4.50.0,>=4.27
datasets
tqdm
transformers>=4.0.0
torch>=1.5.1

0 comments on commit bfedfa7

Please sign in to comment.