Doron Adler commited on
Commit
25cca74
·
1 Parent(s): a77b7be

Default length is now 256

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ if __name__ == "__main__":
96
 
97
  st.sidebar.subheader("Configurable parameters")
98
 
99
- max_len = st.sidebar.slider("Max-Length", 0, 512, 128,help="The maximum length of the sequence to be generated.")
100
  top_k = st.sidebar.slider("Top-K", 0, 100, 50, help="The number of highest probability vocabulary tokens to keep for top-k-filtering.")
101
  top_p = st.sidebar.slider("Top-P", 0.0, 1.0, 0.95, 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.")
102
 
 
96
 
97
  st.sidebar.subheader("Configurable parameters")
98
 
99
+ max_len = st.sidebar.slider("Max-Length", 0, 512, 256,help="The maximum length of the sequence to be generated.")
100
  top_k = st.sidebar.slider("Top-K", 0, 100, 50, help="The number of highest probability vocabulary tokens to keep for top-k-filtering.")
101
  top_p = st.sidebar.slider("Top-P", 0.0, 1.0, 0.95, 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.")
102