Add attention and final logit softcapping.
This commit is contained in:
parent
8748d8ac6f
commit
4d3f17b4ac
4 changed files with 38 additions and 2 deletions
|
@ -627,6 +627,9 @@ class GGUFWriter:
|
|||
def add_mask_token_id(self, id: int) -> None:
|
||||
self.add_uint32(Keys.Tokenizer.MASK_ID, id)
|
||||
|
||||
def add_eot_token_id(self, id: int) -> None:
|
||||
self.add_uint32(Keys.Tokenizer.EOT_ID, id)
|
||||
|
||||
def add_add_bos_token(self, value: bool) -> None:
|
||||
self.add_bool(Keys.Tokenizer.ADD_BOS, value)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue