Browse Source

update inference

gongjy 2 năm trước cách đây
mục cha
commit
5c4b34bbe3
1 tập tin đã thay đổi với 2 bổ sung và 4 xóa
  1. 2 4
      fast_infenence.py

+ 2 - 4
fast_infenence.py

@@ -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