From b5bc8dcde72e907d381749bb90c296d85c752689 Mon Sep 17 00:00:00 2001 From: Saood Karim Date: Wed, 2 Jul 2025 21:18:53 -0500 Subject: [PATCH] Fix to make it convert --- convert_hf_to_gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']}")