Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
412361a
1
Parent(s):
dd9a277
Update app.py
Browse files
app.py
CHANGED
@@ -348,7 +348,9 @@ with gr.Blocks(title="ChatGLM2-6B-int4", theme=gr.themes.Soft(text_size="sm"), a
|
|
348 |
_ = f""" Some parameters of ChatGLM2:
|
349 |
* Low temperature: responses will be more deterministic and focused; High temperature: responses more creative.
|
350 |
* Suggested temperatures -- translation: up to 0.3; chatting: > 0.4
|
351 |
-
* Top P controls dynamic vocabulary selection based on context
|
|
|
|
|
352 |
"""
|
353 |
gr.Markdown(dedent(_))
|
354 |
chatbot = gr.Chatbot(height=300)
|
|
|
348 |
_ = f""" Some parameters of ChatGLM2:
|
349 |
* Low temperature: responses will be more deterministic and focused; High temperature: responses more creative.
|
350 |
* Suggested temperatures -- translation: up to 0.3; chatting: > 0.4
|
351 |
+
* Top P controls dynamic vocabulary selection based on context.\n
|
352 |
+
If you would like to chat with a specific character, you can send a prompt like "please act as Elon Musk and chat with me" to ChatGLM2.
|
353 |
+
|
354 |
"""
|
355 |
gr.Markdown(dedent(_))
|
356 |
chatbot = gr.Chatbot(height=300)
|