-
Notifications
You must be signed in to change notification settings - Fork 33.5k
🚨 [ALM] Add base model without head #45534
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
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
4cd44e4
add a base model class
eustlb 79b833b
ensure BC via conversion mapping
eustlb 57436db
auto classes
eustlb 1bd269c
test updates
eustlb 9010366
ensure BC for accessing attributes
eustlb af429ef
simplify conversion mapping
eustlb e5eb9a6
Merge branch 'main' into alm-base-model-class
eustlb 1da57e8
convert modular
eustlb 483ea27
Merge remote-tracking branch 'origin/main' into alm-base-model-class
eustlb 7481402
convert modular
eustlb cf7c5f1
apply to voxtral
eustlb 83799ce
convert modular
eustlb 464fae5
remove test_model_base_model_prefix overwrite
eustlb 744567c
make
eustlb 687b693
make
eustlb ff8b9f5
XXXModel class in doc
eustlb 753b755
add GraniteSpeechPlusModel
eustlb ecce440
tests now have a base_model_class
eustlb 1f5e199
fix qwen2audio
eustlb 6a1166b
class level base mappings
eustlb 674e64c
Merge branch 'main' into alm-base-model-class
eustlb 933f8c6
fix test_reverse_loading_mapping
eustlb 642bdff
Merge branch 'alm-base-model-class' of github.com:huggingface/transfo…
eustlb 5383313
fix
eustlb 44ab9cd
fix
eustlb 9e0c956
Merge branch 'main' into alm-base-model-class
eustlb 13656cc
nit
eustlb f8f99f0
fix
eustlb 6996410
Merge branch 'alm-base-model-class' of github.com:huggingface/transfo…
eustlb 5184f47
deprec in 5.7 -> 5.15
eustlb b272b07
fix flaky test
eustlb 71c4cb5
fix flaky test
eustlb 4414cf4
Merge branch 'main' into alm-base-model-class
eustlb 59c99d5
fix flaky test
eustlb 54e11e4
remove forward_base_model_attrs
eustlb 241f6f8
_supports_attention_backend in PretrainedModel
eustlb d75fca8
removed redundant get/set_input_embeddings
eustlb 9cb259b
remove requires_grad_ handling
eustlb c8b7788
make fix-repo
eustlb 8c51b43
fix voxtral realtime
eustlb 26329fc
update vibevoice_asr test
eustlb 5519f41
update test
eustlb 8046a76
Merge branch 'main' into alm-base-model-class
eustlb c4ac740
Update src/transformers/models/audioflamingo3/modular_audioflamingo3.py
eustlb daad5ec
Update src/transformers/models/audioflamingo3/modular_audioflamingo3.py
eustlb b09349d
Update src/transformers/models/glmasr/modeling_glmasr.py
eustlb a59f750
Merge remote-tracking branch 'origin/main' into alm-base-model-class
eustlb 6f5be63
make fix-repo
eustlb 159819c
Merge branch 'main' into alm-base-model-class
eustlb 80306c6
Merge remote-tracking branch 'origin' into alm-base-model-class
eustlb 157f7a2
Merge branch 'main' into alm-base-model-class
eustlb 401cf5a
Merge branch 'main' into alm-base-model-class
eustlb 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
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
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.
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.
Cool!