adamtayzzz commited on
Commit
185186c
1 Parent(s): d06411a

Update blackbox_utils/Attack_base.py

Browse files
Files changed (1) hide show
  1. blackbox_utils/Attack_base.py +1 -1
blackbox_utils/Attack_base.py CHANGED
@@ -32,7 +32,7 @@ class BaseAttack:
32
  # 修改token个数的最大值
33
  self.max_per = max_per
34
  # linear regression model initialization
35
- self.linear_regression()
36
  self.random_tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
37
 
38
  def run_attack(self, x):
 
32
  # 修改token个数的最大值
33
  self.max_per = max_per
34
  # linear regression model initialization
35
+ # self.linear_regression()
36
  self.random_tokenizer = BertTokenizer.from_pretrained('bert-base-uncased')
37
 
38
  def run_attack(self, x):