Update convert-hf-to-gguf.py
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
3b3298af17
commit
8c2f7b8169
1 changed files with 1 additions and 1 deletions
|
@ -1268,7 +1268,7 @@ class LlamaModel(Model):
|
|||
if self.ftype == 1 and data_dtype == np.float32:
|
||||
data = data.astype(np.float16)
|
||||
|
||||
merged_name = f"layers.{bid}.feed_forward.experts.w{wid}"
|
||||
merged_name = f"layers.{bid}.feed_forward.experts.w{wid}.weight"
|
||||
|
||||
new_name = tensor_map.get_name(merged_name, try_suffixes=(".weight", ".bias"))
|
||||
if new_name is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue