Browse Source

[fix] reduce aux_loss_alpha

jingyaogong 11 tháng trước cách đây
mục cha
commit
ecd1ae1563
1 tập tin đã thay đổi với 1 bổ sung và 1 xóa
  1. 1 1
      model/model_minimind.py

+ 1 - 1
model/model_minimind.py

@@ -34,7 +34,7 @@ class MiniMindConfig(PretrainedConfig):
             n_routed_experts: int = 4,
             n_routed_experts: int = 4,
             n_shared_experts: int = 1,
             n_shared_experts: int = 1,
             scoring_func: str = 'softmax',
             scoring_func: str = 'softmax',
-            aux_loss_alpha: float = 0.1,
+            aux_loss_alpha: float = 0.01,
             seq_aux: bool = True,
             seq_aux: bool = True,
             norm_topk_prob: bool = True,
             norm_topk_prob: bool = True,
             **kwargs
             **kwargs