convert-hf : make actual types match annotations
This commit is contained in:
parent
c29af7e225
commit
95845d17ec
2 changed files with 2 additions and 2 deletions
|
@ -1679,7 +1679,7 @@ class BertModel(Model):
|
|||
else:
|
||||
raise NotImplementedError("Only MEAN and CLS pooling types supported")
|
||||
|
||||
self.gguf_writer.add_pooling_type(pooling_type.value)
|
||||
self.gguf_writer.add_pooling_type(pooling_type)
|
||||
|
||||
def set_vocab(self):
|
||||
path = self.dir_model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue