mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-22 23:38:57 +00:00
Model: Simplify add_bos_token handling
Set add_bos_token to True by default in the tokenizer_config stub. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
@@ -127,9 +127,6 @@ class BaseModelContainer(abc.ABC):
|
||||
"""
|
||||
Gets special tokens used by the model/tokenizer.
|
||||
|
||||
Args:
|
||||
**kwargs: Options like add_bos_token, ban_eos_token.
|
||||
|
||||
Returns:
|
||||
A dictionary mapping special token names (e.g., 'bos_token', 'eos_token')
|
||||
to their string or ID representation.
|
||||
|
||||
Reference in New Issue
Block a user