Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -110,11 +110,13 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
110 |
A query takes from 30 seconds to a few hundred seconds, dependent on the number of words/characters
|
111 |
the question and answer contain.
|
112 |
|
113 |
-
* Low temperature: responses will be more deterministic and focused; High temperature
|
|
|
|
|
114 |
|
115 |
* Top P controls dynamic vocabulary selection based on context.
|
116 |
|
117 |
-
For a table of
|
118 |
"""
|
119 |
gr.Markdown(dedent(_))
|
120 |
chatbot = gr.Chatbot()
|
|
|
110 |
A query takes from 30 seconds to a few hundred seconds, dependent on the number of words/characters
|
111 |
the question and answer contain.
|
112 |
|
113 |
+
* Low temperature: responses will be more deterministic and focused; High temperature more creative.
|
114 |
+
|
115 |
+
* Suggested temperatures -- translation: up to 0.3; chatting: > 0.4
|
116 |
|
117 |
* Top P controls dynamic vocabulary selection based on context.
|
118 |
|
119 |
+
For a table of example values for different scenarios, refer to [this](https://community.openai.com/t/cheat-sheet-mastering-temperature-and-top-p-in-chatgpt-api-a-few-tips-and-tricks-on-controlling-the-creativity-deterministic-output-of-prompt-responses/172683)
|
120 |
"""
|
121 |
gr.Markdown(dedent(_))
|
122 |
chatbot = gr.Chatbot()
|