1
0
Эх сурвалжийг харах

convert : Support Qwen2_5_VLForConditionalGeneration (#12595)

Csaba Kecskemeti 10 сар өмнө
parent
commit
d5c6309d91
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      convert_hf_to_gguf.py

+ 1 - 1
convert_hf_to_gguf.py

@@ -2269,7 +2269,7 @@ class Qwen2Model(Model):
                 self.gguf_writer.add_rope_scaling_orig_ctx_len(self.hparams["rope_scaling"]["original_max_position_embeddings"])
 
 
-@Model.register("Qwen2VLForConditionalGeneration")
+@Model.register("Qwen2VLForConditionalGeneration", "Qwen2_5_VLForConditionalGeneration")
 class Qwen2VLModel(Model):
     model_arch = gguf.MODEL_ARCH.QWEN2VL