zamroni111 commited on
Commit
cceb87c
·
verified ·
1 Parent(s): 964202b

Update onnxgenairun.py

Browse files
Files changed (1) hide show
  1. onnxgenairun.py +0 -1
onnxgenairun.py CHANGED
@@ -71,7 +71,6 @@ def main(args):
71
 
72
 
73
  vNewDecoded = tokenizer_stream.decode(new_token)
74
- ###if lastdecoded == "." and currentdecoded.startswith(" ") and (not currentdecoded.startswith(" *")):
75
  if re.findall("^[\x2E\x3A\x3B]$", vPreviousDecoded) and vNewDecoded.startswith(" ") and (not vNewDecoded.startswith(" *")) :
76
  vNewDecoded = "\n" + vNewDecoded.replace(" ", "", 1)
77
 
 
71
 
72
 
73
  vNewDecoded = tokenizer_stream.decode(new_token)
 
74
  if re.findall("^[\x2E\x3A\x3B]$", vPreviousDecoded) and vNewDecoded.startswith(" ") and (not vNewDecoded.startswith(" *")) :
75
  vNewDecoded = "\n" + vNewDecoded.replace(" ", "", 1)
76