Norod78 commited on
Commit
0b80303
·
1 Parent(s): ddf9fae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, 128, 192,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
 
 
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