Skip to content

Commit 975e13f

Browse files
committed
format
1 parent b990b99 commit 975e13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert_hf_to_gguf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2393,7 +2393,7 @@ def __init__(self, *args, **kwargs):
23932393
# fix for SmolVLM2, missing `num_attention_heads` in config.json
23942394
if self.hf_arch == "VLlama3ForCausalLM":
23952395
self.hparams["num_attention_heads"] = self.hparams.get("num_attention_heads", 32)
2396-
hparams = ModelBase.load_hparams(self.dir_model, is_mistral_format=False)
2396+
hparams = ModelBase.load_hparams(self.dir_model, is_mistral_format=False)
23972397
self.origin_hf_arch = hparams.get('architectures', [None])[0]
23982398

23992399
def set_vocab(self):

0 commit comments

Comments
 (0)