Spaces:
Running
Running
Update app.py
Browse files
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
|
65 |
-
This chatbot was created using a finetuned version of Microsoft's 2.7 billion parameter Phi 2 transformer model, [
|
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.")
|