Annorita commited on
Commit
bfc00c8
1 Parent(s): 62a5026

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -16,7 +16,7 @@ def get_res(model_name, input_sentence, single_print=True):
16
  out = tokenizer.encode(input_sentence, add_special_tokens=False)
17
  token_num = len(out)
18
 
19
- work_around = False
20
  if work_around:
21
  w = []
22
  pre = ""
 
16
  out = tokenizer.encode(input_sentence, add_special_tokens=False)
17
  token_num = len(out)
18
 
19
+ work_around = True
20
  if work_around:
21
  w = []
22
  pre = ""