Spaces:
Sleeping
Sleeping
Fix examples display and increase max tokens to 4096
Browse files
app.py
CHANGED
|
@@ -256,11 +256,9 @@ donor models while preserving the anchor's core capabilities.
|
|
| 256 |
[Paper (SSRN)](https://ssrn.com/abstract=6545518) | \
|
| 257 |
[crdt-merge](https://github.com/mgillr/crdt-merge) | \
|
| 258 |
[Write-up](https://medium.com/@rgillespie83/we-merged-9-models-from-4-architecture-families-into-one-and-it-beats-the-anchor-on-real-e6537dfa9252)
|
| 259 |
-
"""
|
| 260 |
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
]
|
| 264 |
|
| 265 |
EXAMPLES = [
|
| 266 |
["What are you and how were you built?"],
|
|
@@ -277,7 +275,6 @@ demo = gr.ChatInterface(
|
|
| 277 |
title="Borg Merge v1",
|
| 278 |
description=DESCRIPTION,
|
| 279 |
chatbot=gr.Chatbot(
|
| 280 |
-
value=list(WELCOME),
|
| 281 |
type="messages",
|
| 282 |
show_copy_button=True,
|
| 283 |
height=500,
|
|
@@ -289,7 +286,7 @@ demo = gr.ChatInterface(
|
|
| 289 |
placeholder="Add custom instructions on top of the built-in identity...",
|
| 290 |
lines=2,
|
| 291 |
),
|
| 292 |
-
gr.Slider(64,
|
| 293 |
gr.Slider(0.0, 1.5, value=0.7, step=0.05, label="Temperature"),
|
| 294 |
gr.Slider(0.0, 1.0, value=0.9, step=0.05, label="Top-p"),
|
| 295 |
],
|
|
|
|
| 256 |
[Paper (SSRN)](https://ssrn.com/abstract=6545518) | \
|
| 257 |
[crdt-merge](https://github.com/mgillr/crdt-merge) | \
|
| 258 |
[Write-up](https://medium.com/@rgillespie83/we-merged-9-models-from-4-architecture-families-into-one-and-it-beats-the-anchor-on-real-e6537dfa9252)
|
|
|
|
| 259 |
|
| 260 |
+
**Hi, welcome to the collective -- how can we help you?** Try one of the examples below or type your own question.
|
| 261 |
+
"""
|
|
|
|
| 262 |
|
| 263 |
EXAMPLES = [
|
| 264 |
["What are you and how were you built?"],
|
|
|
|
| 275 |
title="Borg Merge v1",
|
| 276 |
description=DESCRIPTION,
|
| 277 |
chatbot=gr.Chatbot(
|
|
|
|
| 278 |
type="messages",
|
| 279 |
show_copy_button=True,
|
| 280 |
height=500,
|
|
|
|
| 286 |
placeholder="Add custom instructions on top of the built-in identity...",
|
| 287 |
lines=2,
|
| 288 |
),
|
| 289 |
+
gr.Slider(64, 8192, value=4096, step=64, label="Max new tokens"),
|
| 290 |
gr.Slider(0.0, 1.5, value=0.7, step=0.05, label="Temperature"),
|
| 291 |
gr.Slider(0.0, 1.0, value=0.9, step=0.05, label="Top-p"),
|
| 292 |
],
|