Missing variable
This commit is contained in:
parent
8618b4e74c
commit
989db34149
1 changed files with 1 additions and 0 deletions
1
model.py
1
model.py
|
@ -424,6 +424,7 @@ class BaichuanModel(Model):
|
|||
# Collect tensors from generator object
|
||||
model_kv = dict(self.get_tensors())
|
||||
block_count = self.hparams["num_hidden_layers"]
|
||||
head_count = self.hparams["num_attention_heads"]
|
||||
tensor_map = gguf.get_tensor_name_map(self.model_arch, block_count)
|
||||
|
||||
for i in range(block_count):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue