Kc-12 commited on
Commit
54ea954
1 Parent(s): 3a4468a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -34,7 +34,7 @@ def main():
34
  - **Use simple vocabulary and syntax** - words, structures, and themes you'd see in a children's story.
35
  - Use common first names only - the model can struggle with longer or uncommon names.
36
 
37
- `SAMPLE PROMPT: One day, Timmy and Lily were playing at the park. They decided to`
38
  """
39
  )
40
 
@@ -49,7 +49,7 @@ def main():
49
  specified_k = 5
50
  specified_nucleus = 0.5
51
  specified_temperature = 0.4
52
- max_tokens = 750
53
 
54
  if st.checkbox("Show Advanced Settings"):
55
  user_seed = st.number_input("Randomness Seed:", value = None, step = 1, placeholder="Use to replicate response", min_value = 1)
@@ -64,7 +64,7 @@ def main():
64
  if generation_method == "temperature":
65
  specified_temperature = st.number_input("Value for temperature:", value = 0.4, step = 0.05, min_value = 0.0, max_value = 1.0)
66
 
67
- max_tokens = st.slider('Max Tokens Generated:', 50, 750, 750)
68
 
69
 
70
 
 
34
  - **Use simple vocabulary and syntax** - words, structures, and themes you'd see in a children's story.
35
  - Use common first names only - the model can struggle with longer or uncommon names.
36
 
37
+ `SAMPLE PROMPT: Once upon a time, there was a little girl named Lily. She was very adventurous. She`
38
  """
39
  )
40
 
 
49
  specified_k = 5
50
  specified_nucleus = 0.5
51
  specified_temperature = 0.4
52
+ max_tokens = 1000
53
 
54
  if st.checkbox("Show Advanced Settings"):
55
  user_seed = st.number_input("Randomness Seed:", value = None, step = 1, placeholder="Use to replicate response", min_value = 1)
 
64
  if generation_method == "temperature":
65
  specified_temperature = st.number_input("Value for temperature:", value = 0.4, step = 0.05, min_value = 0.0, max_value = 1.0)
66
 
67
+ max_tokens = st.slider('Max Tokens Generated:', 50, 1000, 1000)
68
 
69
 
70