We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLaMA Factory, version 0.7.2.dev0
这部分是用来设置gen_kwargs["eos_token_id"]
LLaMA-Factory/src/llamafactory/train/sft/workflow.py
Line 67 in 53b7436
No response
The text was updated successfully, but these errors were encountered:
在本框架的语义内,additional_special_tokens 标志了除了 eos_token 以外的结束符
Sorry, something went wrong.
No branches or pull requests
Reminder
System Info
LLaMA Factory, version 0.7.2.dev0
Reproduction
这部分是用来设置gen_kwargs["eos_token_id"]
LLaMA-Factory/src/llamafactory/train/sft/workflow.py
Line 67 in 53b7436
请教一下,tokenizer.additional_special_tokens_ids添加至gen_kwargs["eos_token_id"]的考虑是什么。
用户自己扩展的additional_special_tokens_ids不一定表示结束标志,可能让模型predict时不符合预期地提前终止生成。
Expected behavior
No response
Others
No response
The text was updated successfully, but these errors were encountered: