Update app.py
Browse files
app.py
CHANGED
@@ -132,11 +132,14 @@ with gr.Blocks() as demo:
|
|
132 |
# Accordion for explaining hyperparameters
|
133 |
with gr.Accordion("Hyperparameters", open=False):
|
134 |
gr.Markdown("""
|
135 |
-
### Temperature:
|
|
|
136 |
|
137 |
-
### Top-P (Nucleus Sampling):
|
|
|
138 |
|
139 |
-
### Max Output Tokens:
|
|
|
140 |
""")
|
141 |
|
142 |
gr.HTML("""
|
|
|
132 |
# Accordion for explaining hyperparameters
|
133 |
with gr.Accordion("Hyperparameters", open=False):
|
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("""
|