Bsbell21 commited on
Commit
4d0d7f3
·
verified ·
1 Parent(s): 986dd4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def get_instruction(text):
22
  generation_kwargs={"repetition_penalty" : 1.7}
23
  )
24
  # print(mixtral_tokenizer.decode(outputs[0], skip_special_tokens=True))
25
- print(mixtral_tokenizer.decode(outputs[0], skip_special_tokens=True).split("[/INST]")[1])
26
 
27
  if __name__ == "__main__":
28
  # make a gradio interface
 
22
  generation_kwargs={"repetition_penalty" : 1.7}
23
  )
24
  # print(mixtral_tokenizer.decode(outputs[0], skip_special_tokens=True))
25
+ print(mixtral_tokenizer.decode(outputs[0], skip_special_tokens=True))
26
 
27
  if __name__ == "__main__":
28
  # make a gradio interface