Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def generate_text(message, history):
|
|
38 |
top_p=0.1,
|
39 |
top_k=40,
|
40 |
repeat_penalty=1.1,
|
41 |
-
max_tokens=
|
42 |
stop=[
|
43 |
"<|prompter|>",
|
44 |
"<|endoftext|>",
|
@@ -61,7 +61,7 @@ demo = gr.ChatInterface(
|
|
61 |
generate_text,
|
62 |
title="Katara LLM",
|
63 |
description="LLM of project https://katara.earth/",
|
64 |
-
examples=["Show me all about water],
|
65 |
cache_examples=True,
|
66 |
retry_btn=None,
|
67 |
undo_btn="Delete Previous",
|
|
|
38 |
top_p=0.1,
|
39 |
top_k=40,
|
40 |
repeat_penalty=1.1,
|
41 |
+
max_tokens=512,
|
42 |
stop=[
|
43 |
"<|prompter|>",
|
44 |
"<|endoftext|>",
|
|
|
61 |
generate_text,
|
62 |
title="Katara LLM",
|
63 |
description="LLM of project https://katara.earth/",
|
64 |
+
examples=["Show me all about water"],
|
65 |
cache_examples=True,
|
66 |
retry_btn=None,
|
67 |
undo_btn="Delete Previous",
|