diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py index 51b524cce..32bac2c9e 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -248,7 +248,7 @@ class Model: # we don't need these if name.endswith((".attention.masked_bias", ".attention.bias", ".rotary_emb.inv_freq")): continue - + if name.startswith("bert."): name = name.removeprefix("bert.")