ksuzuki01 commited on
Commit
56dc3c9
·
verified ·
1 Parent(s): 3f4d713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ generation_config = {
29
 
30
  def generate(input_text):
31
  input_text = instruction + input_text
32
- input_text += tokenizer.eos_token
33
  input_text = preprocess(input_text)
34
 
35
  with torch.no_grad():
 
29
 
30
  def generate(input_text):
31
  input_text = instruction + input_text
32
+ input_text += "<SEP>"
33
  input_text = preprocess(input_text)
34
 
35
  with torch.no_grad():