-
Couldn't load subscription status.
- Fork 31k
[Llama2] Add support for Llama 2
#24891
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
Merged
+538
−55
Merged
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
39091f6
add llama
ArthurZucker cc9d2cc
add other readmes
ArthurZucker ea00a4e
update padding id in readme
ArthurZucker 3dab936
add link to paper
ArthurZucker b699aa5
fix paths and tokenizer
ArthurZucker c5040a8
more nits
ArthurZucker 5b71bbe
Merge branch 'main' of https://github.com/ArthurZucker/transformers i…
ArthurZucker 3cb77ea
styling
ArthurZucker 25c0efd
fit operation in 2 lines when possible
ArthurZucker eb95677
nits
ArthurZucker 23cdf0d
Apply suggestions from code review
ArthurZucker 8e2f485
Merge branch 'llama-tests' of https://github.com/ArthurZucker/transfo…
ArthurZucker f25cd78
add form
ArthurZucker 2507bed
update reademe
ArthurZucker 5f7b2ba
update readme, we don't have a default pad token
ArthurZucker 497acf4
update test and tokenization
ArthurZucker ce1708e
LLaMA instead of Llama
ArthurZucker c909ac9
nits
ArthurZucker 7de5308
add expected text
ArthurZucker 7a4c862
add greeedy output
ArthurZucker 21a3815
styling
ArthurZucker 6cc5445
Update src/transformers/models/llama/modeling_llama.py
ArthurZucker cf2ca90
sequential device map
ArthurZucker 6c073e2
skip relevant changes
ArthurZucker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.