qinghuazhou commited on
Commit
c08b34c
1 Parent(s): ce47f88

updated demo

Browse files
stealth_edit/__pycache__/editors.cpython-39.pyc CHANGED
Binary files a/stealth_edit/__pycache__/editors.cpython-39.pyc and b/stealth_edit/__pycache__/editors.cpython-39.pyc differ
 
stealth_edit/editors.py CHANGED
@@ -47,11 +47,11 @@ class StealthEditor:
47
  self.verbose = verbose
48
 
49
  self.other_features = None
50
- self.load_other_features()
51
 
52
  self.edit_sample_contents = None
53
 
54
  self._load_model_tok()
 
55
 
56
  def _load_model_tok(self):
57
  """ Load model and tokenzier, also weights for layer to edit
 
47
  self.verbose = verbose
48
 
49
  self.other_features = None
 
50
 
51
  self.edit_sample_contents = None
52
 
53
  self._load_model_tok()
54
+ self.load_other_features()
55
 
56
  def _load_model_tok(self):
57
  """ Load model and tokenzier, also weights for layer to edit