Update convert-persimmon-to-gguf.py
This commit is contained in:
parent
dbf52ee42b
commit
4dedd11fdf
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def main():
|
||||||
gguf_writer.add_block_count(block_count)
|
gguf_writer.add_block_count(block_count)
|
||||||
gguf_writer.add_feed_forward_length(hparams.ffn_hidden_size)
|
gguf_writer.add_feed_forward_length(hparams.ffn_hidden_size)
|
||||||
# ref: https://github.com/ggerganov/llama.cpp/pull/4889/commits/eea19039fc52ea2dbd1aab45b59ab4e3e29a3443
|
# ref: https://github.com/ggerganov/llama.cpp/pull/4889/commits/eea19039fc52ea2dbd1aab45b59ab4e3e29a3443
|
||||||
gguf_writer.add_rope_dimension_count(hidden_size // head_count //2)
|
gguf_writer.add_rope_dimension_count(hidden_size // head_count // 2)
|
||||||
gguf_writer.add_head_count(head_count)
|
gguf_writer.add_head_count(head_count)
|
||||||
gguf_writer.add_head_count_kv(head_count_kv)
|
gguf_writer.add_head_count_kv(head_count_kv)
|
||||||
gguf_writer.add_rope_freq_base(hparams.rotary_emb_base)
|
gguf_writer.add_rope_freq_base(hparams.rotary_emb_base)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue