From 57b1d4f9eb6f2c139b31ea79626d954b261e1051 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 20 Jul 2024 00:04:38 +1000 Subject: [PATCH] convert-*.py: remove add_name from ChatGLMModel class (#8590) --- convert_hf_to_gguf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/convert_hf_to_gguf.py b/convert_hf_to_gguf.py index 769d49a8b6f0a..e3c8aac3d32aa 100755 --- a/convert_hf_to_gguf.py +++ b/convert_hf_to_gguf.py @@ -3420,7 +3420,6 @@ def set_vocab(self): special_vocab.add_to_gguf(self.gguf_writer) def set_gguf_parameters(self): - self.gguf_writer.add_name(self.hparams["_name_or_path"].split("/")[1]) # THUDM/glm4-9b-chat or THUDM/chatglm3-6b n_embed = self.hparams.get("hidden_size", self.hparams.get("n_embed")) n_head = self.hparams.get("n_head", self.hparams.get("num_attention_heads")) n_head_kv = self.hparams.get("multi_query_group_num", n_head)