You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like either the LLM.llm_engine.tokenizer should revert back to being a PreTrainedTokenizer, or otherwise at least have properties and methods which call the corresponding properties and methods of the underlying PreTrainedTokenizer.
The text was updated successfully, but these errors were encountered:
The new TokenizerGroup class that
LLM.llm_engine.tokenizer
has now become, doesn't behave like a tokenizer.For instance, the LLM.set_tokenizer method sets the
tokenizer
attribute as aPreTrainedTokenizer
, not aTokenizerGroup
.Also, tools like lm-format-enforcer assumes that the
tokenizer
attribute is indeed a tokenizer, causing it to now giveAttributeError
s.It seems like either the
LLM.llm_engine.tokenizer
should revert back to being aPreTrainedTokenizer
, or otherwise at least have properties and methods which call the corresponding properties and methods of the underlyingPreTrainedTokenizer
.The text was updated successfully, but these errors were encountered: