Spaces:
Running
Running
Change the default value of Top P
Browse files
app.py
CHANGED
|
@@ -281,7 +281,7 @@ with st.sidebar:
|
|
| 281 |
save_prefill = st.toggle("Save the @prefill command input in the sidebar", value=True)
|
| 282 |
|
| 283 |
temperature = st.slider("Temperature", min_value=0.0, max_value=1.0, value=1.0, step=0.1)
|
| 284 |
-
top_p = st.slider("Top-P", min_value=0.01, max_value=
|
| 285 |
penalty_type = st.selectbox("Penalty Type", options=["Frequency Penalty", "Presence Penalty"])
|
| 286 |
penalty_value = st.slider("Penalty Value", min_value=0.0, max_value=1.0, value=0.0, step=0.1)
|
| 287 |
|
|
|
|
| 281 |
save_prefill = st.toggle("Save the @prefill command input in the sidebar", value=True)
|
| 282 |
|
| 283 |
temperature = st.slider("Temperature", min_value=0.0, max_value=1.0, value=1.0, step=0.1)
|
| 284 |
+
top_p = st.slider("Top-P", min_value=0.01, max_value=1.00, value=1.00, step=0.01)
|
| 285 |
penalty_type = st.selectbox("Penalty Type", options=["Frequency Penalty", "Presence Penalty"])
|
| 286 |
penalty_value = st.slider("Penalty Value", min_value=0.0, max_value=1.0, value=0.0, step=0.1)
|
| 287 |
|