Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ with gr.Blocks(js=on_load, theme=gr.themes.Default()) as demo:
|
|
78 |
gr.Markdown(
|
79 |
"""
|
80 |
<div style="text-align: center;">
|
81 |
-
<h1>Alif 1.0 Urdu & English
|
82 |
<p>Alif 1.0 8B Instruct is an open-source model with highly advanced multilingual reasoning capabilities. It utilizes human refined multilingual synthetic data paired with reasoning to enhance cultural nuance and reasoning capabilities in english and urdu languages.</p>
|
83 |
</div>
|
84 |
""",
|
@@ -98,7 +98,7 @@ with gr.Blocks(js=on_load, theme=gr.themes.Default()) as demo:
|
|
98 |
additional_inputs=[
|
99 |
gr.Textbox(value="You are an Urdu Chatbot. Write an appropriate response for the given instruction in Urdu. Your response should be extremely comprehensive", label="System prompt", render=False),
|
100 |
gr.Slider(0, 1, 0.8, label="Temperature", render=False),
|
101 |
-
gr.Slider(128,
|
102 |
gr.Slider(1, 80, 40, step=1, label="Top K sampling", render=False),
|
103 |
gr.Slider(0, 2, 1.1, label="Repetition penalty", render=False),
|
104 |
gr.Slider(0, 1, 0.95, label="Top P sampling", render=False),
|
|
|
78 |
gr.Markdown(
|
79 |
"""
|
80 |
<div style="text-align: center;">
|
81 |
+
<h1>Alif 1.0 Urdu & English Educator 🚀</h1>
|
82 |
<p>Alif 1.0 8B Instruct is an open-source model with highly advanced multilingual reasoning capabilities. It utilizes human refined multilingual synthetic data paired with reasoning to enhance cultural nuance and reasoning capabilities in english and urdu languages.</p>
|
83 |
</div>
|
84 |
""",
|
|
|
98 |
additional_inputs=[
|
99 |
gr.Textbox(value="You are an Urdu Chatbot. Write an appropriate response for the given instruction in Urdu. Your response should be extremely comprehensive", label="System prompt", render=False),
|
100 |
gr.Slider(0, 1, 0.8, label="Temperature", render=False),
|
101 |
+
gr.Slider(128, 8192, 4096, label="Max new tokens", render=False),
|
102 |
gr.Slider(1, 80, 40, step=1, label="Top K sampling", render=False),
|
103 |
gr.Slider(0, 2, 1.1, label="Repetition penalty", render=False),
|
104 |
gr.Slider(0, 1, 0.95, label="Top P sampling", render=False),
|