convert_hf_to_gguf: fix typo

Add missing underscore to a layer_norm_epsilon parameter.
This commit is contained in:
Steve Grubb 2025-01-23 16:12:10 -05:00
parent 6171c9d258
commit 08ad58dec5

View File

@ -4677,7 +4677,7 @@ class ChatGLMModel(Model):
self.gguf_writer.add_block_count(self.hparams["num_layers"])
self.gguf_writer.add_head_count(n_head)
self.gguf_writer.add_head_count_kv(n_head_kv)
self.gguf_writer.add_layer_norm_rms_eps(self.hparams["layernorm_epsilon"])
self.gguf_writer.add_layer_norm_rms_eps(self.hparams["layer_norm_epsilon"])
self.gguf_writer.add_file_type(self.ftype)
self.gguf_writer.add_rope_dimension_count(64)
self.gguf_writer.add_add_bos_token(False)