rasyosef commited on
Commit
26ec510
1 Parent(s): 276c17b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,8 +61,8 @@ def generate(message, chat_history, max_new_tokens=64):
61
  # Chat interface with gradio
62
  with gr.Blocks() as demo:
63
  gr.Markdown("""
64
- # Phi-2 Chatbot Demo
65
- This chatbot was created using a finetuned version of Microsoft's 2.7 billion parameter Phi 2 transformer model, [Phi-2-Instruct-v0.1](https://huggingface.co/rasyosef/Phi-1_5-Instruct-v0.1) that has underwent a post-training process that incorporates both **supervised fine-tuning** and **direct preference optimization** for instruction following.
66
  """)
67
 
68
  tokens_slider = gr.Slider(8, 256, value=64, label="Maximum new tokens", info="A larger `max_new_tokens` parameter value gives you longer text responses but at the cost of a slower response time.")
 
61
  # Chat interface with gradio
62
  with gr.Blocks() as demo:
63
  gr.Markdown("""
64
+ # Phi-2 Chat Demo
65
+ This chatbot was created using a finetuned version of Microsoft's 2.7 billion parameter Phi 2 transformer model, [phi-2-instruct-v0.1](https://huggingface.co/rasyosef/phi-2-instruct-v0.1) that has underwent a post-training process that incorporates both **supervised fine-tuning** and **direct preference optimization** for instruction following.
66
  """)
67
 
68
  tokens_slider = gr.Slider(8, 256, value=64, label="Maximum new tokens", info="A larger `max_new_tokens` parameter value gives you longer text responses but at the cost of a slower response time.")