Spaces:
Runtime error
Runtime error
fix: top_p 0.75
Browse files
app.py
CHANGED
@@ -187,7 +187,7 @@ def generate(
|
|
187 |
return output
|
188 |
|
189 |
additional_inputs=[
|
190 |
-
gr.Textbox("
|
191 |
gr.Slider(
|
192 |
label="Temperature",
|
193 |
value=0.1,
|
@@ -208,7 +208,7 @@ additional_inputs=[
|
|
208 |
),
|
209 |
gr.Slider(
|
210 |
label="Top-p (nucleus sampling)",
|
211 |
-
value=0.
|
212 |
minimum=0.0,
|
213 |
maximum=1,
|
214 |
step=0.05,
|
|
|
187 |
return output
|
188 |
|
189 |
additional_inputs=[
|
190 |
+
gr.Textbox("", label="Optional system prompt"), #<|endoftext|>
|
191 |
gr.Slider(
|
192 |
label="Temperature",
|
193 |
value=0.1,
|
|
|
208 |
),
|
209 |
gr.Slider(
|
210 |
label="Top-p (nucleus sampling)",
|
211 |
+
value=0.75,
|
212 |
minimum=0.0,
|
213 |
maximum=1,
|
214 |
step=0.05,
|