what's the difference between HuggingFaceCausalLM and HuggingFacewithChatTemplate ? #1671
Unanswered
BIGWangYuDong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure what's the differents between these two models.
Also if I use the old meta template such as:
_meta_template = dict(
begin='<|im_start|>system\nxxx<|im_end|>',
end="<|im_start|>bot\n"
round=[
dict(role='HUMAN', begin='<|im_start|>user\n', end='<|im_end|>'',),
dict(role='BOT', begin='<|im_start|>bot\n', end='<|im_end|>''),
],
)
it will get error when using HuggingFacewithChatTemplate:
which the current item is "<|im_start|>system\nxxx<|im_end|>"
Beta Was this translation helpful? Give feedback.
All reactions