Jipski commited on
Commit
fc3188e
1 Parent(s): bfb2f2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ default_value = "Jetzt tippen!"
30
  st.title("Flos gpt-2")
31
  #st.write("The almighty king of text generation, GPT-2 comes in four available sizes, only three of which have been publicly made available. Feared for its fake news generation capabilities, it currently stands as the most syntactically coherent model. A direct successor to the original GPT, it reinforces the already established pre-training/fine-tuning killer duo. From the paper: Language Models are Unsupervised Multitask Learners by Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei and Ilya Sutskever.")
32
  sent = st.text_area("Text", default_value, key='showing', height = 275)
33
- max_length = st.sidebar.slider("Max Length", min_value = 10, max_value=300)
34
  temperature = st.sidebar.slider("Temperature", value = 1.0, min_value = 0.0, max_value=1.0, step=0.05)
35
  top_k = st.sidebar.slider("Top-k", min_value = 0, max_value=5, value = 0)
36
  top_p = st.sidebar.slider("Top-p", min_value = 0.0, max_value=1.0, step = 0.05, value = 0.9)
 
30
  st.title("Flos gpt-2")
31
  #st.write("The almighty king of text generation, GPT-2 comes in four available sizes, only three of which have been publicly made available. Feared for its fake news generation capabilities, it currently stands as the most syntactically coherent model. A direct successor to the original GPT, it reinforces the already established pre-training/fine-tuning killer duo. From the paper: Language Models are Unsupervised Multitask Learners by Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei and Ilya Sutskever.")
32
  sent = st.text_area("Text", default_value, key='showing', height = 275)
33
+ max_length = st.sidebar.slider("Max Length", min_value = 50, max_value=500)
34
  temperature = st.sidebar.slider("Temperature", value = 1.0, min_value = 0.0, max_value=1.0, step=0.05)
35
  top_k = st.sidebar.slider("Top-k", min_value = 0, max_value=5, value = 0)
36
  top_p = st.sidebar.slider("Top-p", min_value = 0.0, max_value=1.0, step = 0.05, value = 0.9)