-
Notifications
You must be signed in to change notification settings - Fork 444
New issue
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
Remove deprecated arguments from API and clarify model_name and chat_template_name #1931
Conversation
return parser.add_argument( | ||
'--cap', | ||
type=str, | ||
default='chat', | ||
choices=['completion', 'infilling', 'chat', 'python'], | ||
help='The capability of a model. ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhulinJulia24 I remove --cap
from the CLI chat and use --chat-template <a json file>
instead.
Could you help fix the test cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhulinJulia24 I remove
--cap
from the CLI chat and use--chat-template <a json file>
instead. Could you help fix the test cases?
already fixed in pr #2183
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
get_hf_config_content
. Useget_model_arch
insteadtp
,meta_instruction
,cap
and so onkv_qparams