From a0c5a0e82fe78a80915c30278d1ff00c05378f4f Mon Sep 17 00:00:00 2001 From: wheelspawn Date: Thu, 13 Jun 2024 14:48:06 -0500 Subject: [PATCH] fix line --- convert-hf-to-gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")