-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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 support for MiniMax's MiniMax-Text-01 #35831
Open
geetu040
wants to merge
39
commits into
huggingface:main
Choose a base branch
from
geetu040:minimax-text-01
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,701
−5
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
3a046a4
end-to-end architecture
geetu040 519eda3
lightning-attn: refactor, clean, optimize
geetu040 c54f804
put minimax_text_01 in other files
geetu040 d8d3c40
use latest __init__ standards and auto-generate modular
geetu040 8d654d8
support attention_mask for lightning-attn
geetu040 70b787c
Merge branch 'main' into minimax-text-01
geetu040 5b40a5c
Revert "use latest __init__ standards and auto-generate modular"
geetu040 a93ee3f
fix modular conversion
geetu040 92f7963
pass both attention masks instead of tuple
geetu040 ecdc0eb
formatting
geetu040 0027c0e
Updated Dynamic Cache
Shakib-IO e117d26
created MiniMaxText01Cache
geetu040 7d7ae06
fix hardcoded slope_rate
geetu040 d209bd3
update attn_type_list in config
geetu040 d6eb561
fix lightning when use_cache=False
geetu040 99db3a0
Merge branch 'main' into minimax-text-01
geetu040 e459521
copy tests from mixtral
geetu040 866ba89
(checkpoint) all tests pass for normal attention
geetu040 1a6f086
fix all unittests
geetu040 e27af34
Merge branch 'main' into minimax-text-01
geetu040 5ba152b
fix import sorting
geetu040 8fd17ca
fix consistency and formatting tests
geetu040 d907633
fix config
geetu040 09b07ea
Merge branch 'main' into minimax-text-01
geetu040 c08a619
update tests, since changes in main
geetu040 8117b2d
fix seq_len error
geetu040 2f9dc21
create dummy docs
geetu040 299e707
fix checkpoint
geetu040 33e4157
add checkpoint in config docstring
geetu040 852ce2e
Merge branch 'main' into minimax-text-01
geetu040 85b3dcb
run modular_conversion
geetu040 cdaa09b
update docs
geetu040 4eb7a08
Merge branch 'main' into minimax-text-01
geetu040 1f63bbb
fix checkpoint path and update tests
geetu040 d95ea2d
fix ruff
geetu040 2150a5f
Merge branch 'main' into minimax-text-01
geetu040 720fd4f
remove repeated expected_slice
geetu040 c527d34
update docs
geetu040 3603b4d
Merge branch 'main' into minimax-text-01
geetu040 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 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 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 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 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 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 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 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.
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.
Humm, it's okay to modify that, but please add your model name at the end of the list then 🤗 And for all languages