Spaces:
Sleeping
Sleeping
adarsh
commited on
Commit
•
163c830
1
Parent(s):
e3e6646
updated k max val 3
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ st.write("##### Resource Used 📖 : The Gale Encyclopedia of Medicine ")
|
|
76 |
|
77 |
# Parameters section
|
78 |
st.sidebar.header("Parameters")
|
79 |
-
k_value = st.sidebar.slider("Number of relevant documents (k)", min_value=1, max_value=
|
80 |
max_new_tokens = st.sidebar.slider("Max new tokens", min_value=64, max_value=1024, value=512)
|
81 |
temperature = st.sidebar.slider("Temperature", min_value=0.1, max_value=1.0, value=0.8, step=0.1)
|
82 |
|
|
|
76 |
|
77 |
# Parameters section
|
78 |
st.sidebar.header("Parameters")
|
79 |
+
k_value = st.sidebar.slider("Number of relevant documents (k)", min_value=1, max_value=3, value=2)
|
80 |
max_new_tokens = st.sidebar.slider("Max new tokens", min_value=64, max_value=1024, value=512)
|
81 |
temperature = st.sidebar.slider("Temperature", min_value=0.1, max_value=1.0, value=0.8, step=0.1)
|
82 |
|