lmflow.utils.conversation_template.zephyr#

Attributes#

Classes#

Module Contents#

lmflow.utils.conversation_template.zephyr.logger[source]#
class lmflow.utils.conversation_template.zephyr.ZephyrConversationTemplate[source]#

Bases: lmflow.utils.conversation_template.base.ConversationTemplate

_encode(tokenizer: transformers.PreTrainedTokenizer, messages: List[Dict[str, str]], system: str | None = None, tools: str | None = None, **kwargs) Sequence[Tuple[List[int], List[int]]][source]#
lmflow.utils.conversation_template.zephyr.ZEPHYR_TEMPLATE[source]#