Spaces:
Running
Running
update n
#5
by
aaronsu
- opened
app.py
CHANGED
@@ -87,7 +87,7 @@ with st.expander("配置"):
|
|
87 |
top_p = st.slider('top p', 0.0, 1.0, default_top_p)
|
88 |
top_k = st.slider('top k', 0, 100, 0)
|
89 |
temperature = st.slider('temperature', 0.0, 1.0, default_temperature)
|
90 |
-
n = st.slider('n', 1,
|
91 |
max_tokens = st.slider('max tokens', 4, 512, default_tokens)
|
92 |
|
93 |
if st.checkbox("使用换行符作为截断", value=True):
|
|
|
87 |
top_p = st.slider('top p', 0.0, 1.0, default_top_p)
|
88 |
top_k = st.slider('top k', 0, 100, 0)
|
89 |
temperature = st.slider('temperature', 0.0, 1.0, default_temperature)
|
90 |
+
n = st.slider('n', 1, 5, default_n)
|
91 |
max_tokens = st.slider('max tokens', 4, 512, default_tokens)
|
92 |
|
93 |
if st.checkbox("使用换行符作为截断", value=True):
|