convert-hf : fix Refact conversion
This commit is contained in:
parent
f2099c50ab
commit
215a0d38c8
1 changed files with 1 additions and 1 deletions
|
@ -999,7 +999,7 @@ class RefactModel(Model):
|
|||
ff_dim = multiple_of * ((hidden_dim + multiple_of - 1) // multiple_of)
|
||||
n_head = self.hparams["n_head"]
|
||||
n_head_kv = 1
|
||||
head_dim = hidden_dim // n_head
|
||||
head_dim = self.hparams["n_embd"] // n_head
|
||||
|
||||
tensors: list[tuple[str, Tensor]] = []
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue