FredZhang7 commited on
Commit
b3567f3
1 Parent(s): 2ea6700

rearrange comment

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -126,8 +126,8 @@ def generator(
126
  alpha_frequency=countPenalty,
127
  alpha_presence=presencePenalty,
128
  token_ban=[], # ban the generation of some tokens
129
- token_stop=[0],
130
- ) # stop generation whenever you see any token here
131
 
132
  instruction = re.sub(r"\n{2,}", "\n", instruction).strip().replace("\r\n", "\n")
133
  if input is not None:
 
126
  alpha_frequency=countPenalty,
127
  alpha_presence=presencePenalty,
128
  token_ban=[], # ban the generation of some tokens
129
+ token_stop=[0], # stop generation whenever you see any token here
130
+ )
131
 
132
  instruction = re.sub(r"\n{2,}", "\n", instruction).strip().replace("\r\n", "\n")
133
  if input is not None: