Skip to content

Commit

Permalink
model: dbrx: convert add n_ff
Browse files Browse the repository at this point in the history
  • Loading branch information
phymbert committed Apr 7, 2024
1 parent 52c4033 commit 06a59ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1441,6 +1441,7 @@ def set_gguf_parameters(self):
self.gguf_writer.add_clamp_kqv(attn_config["clip_qkv"])
self.gguf_writer.add_file_type(self.ftype)

self.gguf_writer.add_feed_forward_length(ffn_config["ffn_hidden_size"])
self.gguf_writer.add_expert_count(ffn_config["moe_num_experts"])
self.gguf_writer.add_expert_used_count(ffn_config["moe_top_k"])

Expand Down

0 comments on commit 06a59ab

Please sign in to comment.