-
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
[CodeLlama
] Add support for CodeLlama
#25740
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ArthurZucker
force-pushed
the
add-llama-code
branch
from
August 24, 2023 17:49
fba5ca4
to
79ac5b5
Compare
ArthurZucker
changed the title
Add llama code
[Aug 24, 2023
LlamaCode
] Add support for the LlamaCodeTokenizer`
ArthurZucker
changed the title
[
[Aug 24, 2023
LlamaCode
] Add support for the LlamaCodeTokenizer`LlamaCode
] Add support for LlamaCode
ArthurZucker
changed the title
[
[Aug 25, 2023
LlamaCode
] Add support for LlamaCode
CodeLlama
] Add support for CodeLlama
sgugger
approved these changes
Aug 25, 2023
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 for adding this model! Left a few comments.
…to add-llama-code
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
The documentation is not available anymore as the PR was closed or merged. |
4 tasks
ChieloNewctle
added a commit
to ModelTC/lightllm
that referenced
this pull request
Sep 4, 2023
According to [Huggingface Transformers CodeLlama PR](huggingface/transformers#25740), an additional parameter `rope_theta` is added to llama models, which is the base of position embedding.
hiworldwzj
pushed a commit
to ModelTC/lightllm
that referenced
this pull request
Sep 8, 2023
According to [Huggingface Transformers CodeLlama PR](huggingface/transformers#25740), an additional parameter `rope_theta` is added to llama models, which is the base of position embedding.
REIGN12
added a commit
to REIGN12/transformers
that referenced
this pull request
Sep 17, 2023
- from pr huggingface#25740
parambharat
pushed a commit
to parambharat/transformers
that referenced
this pull request
Sep 26, 2023
* add all * Revert "Delete .github directory" This reverts commit 9b0ff7b. * make conversion script backward compatible * fixup * more styling * copy to llama changes * fix repo consistency * nits * document correct classes * updates * more fixes * nits * update auto mappings * add readmes * smallupdates * llama-code replace with llama_code * make fixup * updates to the testsing suite * fix fast nits * more small fixes * fix decode * fix template processing * properly reset the normalizer * nits processor * tokenization tests pass * styling * last tests * additional nits * one test is left * nits Co-authored-by faabian <faabian@users.noreply.github.com> * update failing test * fixup * remove decode infilling users should handle it on their onw after generation, padding can be a problem * update * make test slow and more meaningfull * fixup * doc update * fixup * Apply suggestions from code review * add kwargs doc * tokenizer requires `requires_backend` * type requires_backends * CodeLlama instead of LlamaCode * more name cahnges * nits * make doctests happy * small pipeline nits * last nit * Apply suggestions from code review Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * update * add codellama to toctree --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
4 tasks
njhill
added a commit
to IBM/text-generation-inference
that referenced
this pull request
Sep 28, 2023
Don't load inv_freq tensor, add rope_theta config parameter Based on huggingface/transformers#24998 and huggingface/transformers#25740
blbadger
pushed a commit
to blbadger/transformers
that referenced
this pull request
Nov 8, 2023
* add all * Revert "Delete .github directory" This reverts commit 9b0ff7b. * make conversion script backward compatible * fixup * more styling * copy to llama changes * fix repo consistency * nits * document correct classes * updates * more fixes * nits * update auto mappings * add readmes * smallupdates * llama-code replace with llama_code * make fixup * updates to the testsing suite * fix fast nits * more small fixes * fix decode * fix template processing * properly reset the normalizer * nits processor * tokenization tests pass * styling * last tests * additional nits * one test is left * nits Co-authored-by faabian <faabian@users.noreply.github.com> * update failing test * fixup * remove decode infilling users should handle it on their onw after generation, padding can be a problem * update * make test slow and more meaningfull * fixup * doc update * fixup * Apply suggestions from code review * add kwargs doc * tokenizer requires `requires_backend` * type requires_backends * CodeLlama instead of LlamaCode * more name cahnges * nits * make doctests happy * small pipeline nits * last nit * Apply suggestions from code review Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * update * add codellama to toctree --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
EduardoPach
pushed a commit
to EduardoPach/transformers
that referenced
this pull request
Nov 18, 2023
* add all * Revert "Delete .github directory" This reverts commit 9b0ff7b. * make conversion script backward compatible * fixup * more styling * copy to llama changes * fix repo consistency * nits * document correct classes * updates * more fixes * nits * update auto mappings * add readmes * smallupdates * llama-code replace with llama_code * make fixup * updates to the testsing suite * fix fast nits * more small fixes * fix decode * fix template processing * properly reset the normalizer * nits processor * tokenization tests pass * styling * last tests * additional nits * one test is left * nits Co-authored-by faabian <faabian@users.noreply.github.com> * update failing test * fixup * remove decode infilling users should handle it on their onw after generation, padding can be a problem * update * make test slow and more meaningfull * fixup * doc update * fixup * Apply suggestions from code review * add kwargs doc * tokenizer requires `requires_backend` * type requires_backends * CodeLlama instead of LlamaCode * more name cahnges * nits * make doctests happy * small pipeline nits * last nit * Apply suggestions from code review Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> * update * add codellama to toctree --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds support for LlamaCode