diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index f1da4e92..3b8efcf8 100644 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -3865,7 +3865,7 @@ class Dots1Model(Qwen2MoeModel): self.gguf_writer.add_expert_weights_scale(self.hparams["routed_scaling_factor"]) self.gguf_writer.add_expert_weights_norm(self.hparams["norm_topk_prob"]) - if self.hparams["scoring_func"] == "noaux_tc": + if self.hparams["scoring_func"] == "sigmoid": self.gguf_writer.add_expert_gating_func(gguf.ExpertGatingFuncType.SIGMOID) else: raise ValueError(f"Unsupported scoring_func value: {self.hparams['scoring_func']}")