Update app.py
Browse files
app.py
CHANGED
@@ -130,16 +130,13 @@ with gr.Blocks() as demo:
|
|
130 |
gr.Markdown("## GPT-4.5 Preview Chatbot")
|
131 |
|
132 |
# Accordion for explaining hyperparameters
|
133 |
-
with gr.Accordion("Hyperparameters", open=
|
134 |
gr.Markdown("""
|
135 |
-
### Temperature
|
136 |
-
- Controls the randomness of the model's output. A lower temperature makes the model more deterministic, while a higher temperature makes it more creative and varied.
|
137 |
|
138 |
-
### Top-P (Nucleus Sampling)
|
139 |
-
- Controls the cumulative probability distribution from which the model picks the next word. A lower value makes the model more focused and deterministic, while a higher value increases randomness.
|
140 |
|
141 |
-
### Max Output Tokens
|
142 |
-
- Limits the number of tokens (words or subwords) the model can generate in its response. You can use this to control the length of the response.
|
143 |
""")
|
144 |
|
145 |
gr.HTML("""
|
|
|
130 |
gr.Markdown("## GPT-4.5 Preview Chatbot")
|
131 |
|
132 |
# Accordion for explaining hyperparameters
|
133 |
+
with gr.Accordion("Hyperparameters", open=False):
|
134 |
gr.Markdown("""
|
135 |
+
### Temperature: Controls the randomness of the model's output. A lower temperature makes the model more deterministic, while a higher temperature makes it more creative and varied.
|
|
|
136 |
|
137 |
+
### Top-P (Nucleus Sampling): Controls the cumulative probability distribution from which the model picks the next word. A lower value makes the model more focused and deterministic, while a higher value increases randomness.
|
|
|
138 |
|
139 |
+
### Max Output Tokens: Limits the number of tokens (words or subwords) the model can generate in its response. You can use this to control the length of the response.
|
|
|
140 |
""")
|
141 |
|
142 |
gr.HTML("""
|