-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
[InternLM] Add support for InternLM #26302
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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.
Thanks! Quick question, do they use dropout
after attention?
Let's also add a InternLM.md
, add it to the doc etc 😉
@ArthurZucker Also, to answer the question, there is no |
* Add config.bias to LLaMA to allow InternLM models to be ported as LLaMA checkpoints * Rename bias -> attention_bias and add docstring
* Add config.bias to LLaMA to allow InternLM models to be ported as LLaMA checkpoints * Rename bias -> attention_bias and add docstring
InternLM is based on the LLaMA code but adds a
config.bias
parameter. We can support those models by addingconfig.bias
to LLaMA, and preserve backward compatibility by defaulting it toFalse