ucsahin commited on
Commit
ffbcd12
1 Parent(s): 43bafef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def bot_streaming(message, history, max_tokens, temperature, top_p, top_k, repet
47
  ref_text = processor.batch_decode(model_outputs, skip_special_tokens=True)[0]
48
  dpo_text = processor.batch_decode(dpo_outputs, skip_special_tokens=True)[0]
49
 
50
- generated_text = f"<h3>Base model cevabı:</h3>\n{ref_text[len(prompt)+1:]}\n<h3>DPO model cevabı:</h3>\n{dpo_text[len(prompt)+1]:}"
51
 
52
  return generated_text
53
 
 
47
  ref_text = processor.batch_decode(model_outputs, skip_special_tokens=True)[0]
48
  dpo_text = processor.batch_decode(dpo_outputs, skip_special_tokens=True)[0]
49
 
50
+ generated_text = f"<h3>Base model cevabı:</h3>\n{ref_text[len(prompt)+1:]}\n<h3>DPO model cevabı:</h3>\n{dpo_text[len(prompt)+1:]}"
51
 
52
  return generated_text
53