Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ if __name__ == "__main__":
|
|
99 |
|
100 |
st.sidebar.subheader("Configurable parameters")
|
101 |
|
102 |
-
max_len = st.sidebar.slider("Max-Length", 0,
|
103 |
top_k = st.sidebar.slider("Top-K", 0, 100, 40, help="The number of highest probability vocabulary tokens to keep for top-k-filtering.")
|
104 |
top_p = st.sidebar.slider("Top-P", 0.0, 1.0, 0.92, help="If set to float < 1, only the most probable tokens with probabilities that add up to top_p or higher are kept for generation.")
|
105 |
|
|
|
99 |
|
100 |
st.sidebar.subheader("Configurable parameters")
|
101 |
|
102 |
+
max_len = st.sidebar.slider("Max-Length", 0, 192, 96,help="The maximum length of the sequence to be generated.")
|
103 |
top_k = st.sidebar.slider("Top-K", 0, 100, 40, help="The number of highest probability vocabulary tokens to keep for top-k-filtering.")
|
104 |
top_p = st.sidebar.slider("Top-P", 0.0, 1.0, 0.92, help="If set to float < 1, only the most probable tokens with probabilities that add up to top_p or higher are kept for generation.")
|
105 |
|