-
Notifications
You must be signed in to change notification settings - Fork 31k
Refactor embedding input/output getter/setter #39339
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
39 commits
Select commit
Hold shift + click to select a range
d107f9e
simplify common get/set
molbap 98e5467
remove some noise
molbap cc8b91c
change some 5 years old modeling utils
molbap 077af3d
update examples
molbap 7d9b16c
fix copies
molbap 32c7c00
revert some changes
molbap 33e0f06
fixes, gah
molbap 91537aa
format
molbap 57aac34
move to Mixin
molbap 39322e6
remove smolvlm specific require grad
molbap 951d269
Merge branch 'main' into draft_VLM_apis
molbap d2dd129
skip
molbap 92e2296
force defaults
molbap 00b676f
Merge branch 'main' into draft_VLM_apis
molbap c5a3676
remodularise some stuff
molbap 1265140
remodularise more stuff
molbap b776481
add safety for audio models
molbap d9693a3
style
molbap 4ab8399
have a correct fallback, you daft donkey
molbap 2bee084
remove this argh
molbap f0fe775
change heuristic for audio models
molbap 773a9ad
Merge branch 'main' into draft_VLM_apis
molbap a233db2
fixup
molbap d0fbe20
revert
molbap 5436239
this works
molbap 41221d8
revert again
molbap 8556767
🧠
molbap 21820d7
aaah ESM has two modelings aaah
molbap 7b614f8
Merge branch 'main' into draft_VLM_apis
molbap 429e119
Merge branch 'main' into draft_VLM_apis
molbap 6e1fbdd
add informative but short comment
molbap 807eaf0
Merge branch 'draft_VLM_apis' of github.com:huggingface/transformers …
molbap 3edfa42
add `input_embed_layer` mixin attribute
molbap b1af42a
style
molbap 8455e0f
Merge branch 'main' into draft_VLM_apis
molbap 153a0b0
walrus has low precedence
molbap 31404b4
modular fix
molbap 822dd44
this was breaking parser
molbap 395d3f9
Merge branch 'main' into draft_VLM_apis
molbap 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.