namnh113 commited on
Commit
e898e1c
1 Parent(s): 823f13e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -46,9 +46,9 @@ class LLM_Langchain():
46
  self.max_new_tokens = st.sidebar.slider(
47
  label="Token Length",
48
  min_value=32,
49
- max_value=250,
50
- step=1,
51
- value=32,
52
  help="Set the max tokens to get accurate results"
53
  )
54
 
@@ -57,7 +57,7 @@ class LLM_Langchain():
57
  min_value=1,
58
  max_value=10,
59
  step=1,
60
- value=3,
61
  help="Set num beam"
62
  )
63
 
 
46
  self.max_new_tokens = st.sidebar.slider(
47
  label="Token Length",
48
  min_value=32,
49
+ max_value=248,
50
+ step=4,
51
+ value=128,
52
  help="Set the max tokens to get accurate results"
53
  )
54
 
 
57
  min_value=1,
58
  max_value=10,
59
  step=1,
60
+ value=2,
61
  help="Set num beam"
62
  )
63