update inference

pull/825/head
gongjy 2024-10-13 13:11:41 +08:00
parent f54130aa8e
commit 42c36f4916
1 changed files with 2 additions and 4 deletions

View File

@ -10,11 +10,9 @@ st.title("minimind-v1(108M)")
model_id = "minimind-v1"
# -----------------------------------------------------------------------------
temperature = 0.5
top_k = 16
temperature = 0.7
top_k = 8
max_seq_len = 1 * 1024
# -----------------------------------------------------------------------------
@st.cache_resource