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