-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add static GPT inference configs for 89B and 175B #2504
Conversation
26f090e
to
5eb4c11
Compare
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
@@ -483,6 +483,36 @@ class GPTPretrainedModel(PretrainedModel): | |||
"bos_token_id": 0, | |||
"eol_token_id": 3, | |||
}, | |||
"gpt3-89B-en": { # 89B |
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.
这个是大模型推理部署是吧。
这里是 普通 的gpt 模型,这里可以不加。
动态图gpt-3可以添加一下
examples/language_model/gpt-3/dygraph/modeling.py
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.
LGTM
PR types
New features
PR changes
Others
Description
新增GPT-175B和GPT-89B的参数配置,和FasterTransformer对齐,主要用于推理部署。