mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-08-26 15:16:23 +02:00
Refactored code
This commit is contained in:
committed by
Georgi Gerganov
parent
c8e7d9521d
commit
4c3e882a85
@@ -1314,6 +1314,8 @@ class PersimmonModel(Model):
|
||||
self.gguf_writer.add_tensor(new_name, data)
|
||||
@Model.register("LlamaForCausalLM")
|
||||
class DeepseekCoderModel(Model):
|
||||
model_arch = gguf.MODEL_ARCH.LLAMA
|
||||
|
||||
def set_gguf_parameters(self):
|
||||
super().set_gguf_parameters()
|
||||
head_count = self.hparams["num_attention_heads"]
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user