-
Notifications
You must be signed in to change notification settings - Fork 25.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
Image + text + audio uniform processors #30511
Open
molbap
wants to merge
54
commits into
huggingface:main
Choose a base branch
from
molbap:image_text_audio_processors
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
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.
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
42ecf48
expand kwargs from align
molbap ccb2147
remove kwargs from altclip processor
molbap f999e0c
add explicit args for donut processor
molbap 8fb3a6b
add explicit call to current processor for in context manager
molbap a90c766
format
molbap 49cb6cc
remove unused kwargs
molbap 3ac1c7e
move conditions for encodings
molbap 7a819fd
improve flow over text/image
molbap 9cc38b7
[breaking] pass explicit args to bridgetower
molbap ff6a950
wwsMerge branch 'main' into improve_multimodal_processors
molbap 7db64a0
add default kwargs for BC
molbap 41674d9
fix bridgetower
molbap 618a687
debug bridgetower image proc
molbap f39cdc1
format
molbap 9a6f97d
move kwargs message to info level
molbap 380f82f
add debug messages
molbap 75f15d3
fix arguments not being passed in bridgetower
molbap 3df5faa
keep backwards compat for processing + modify testing args dict
molbap 5ad0694
Merge branch 'main' into improve_multimodal_processors
molbap 69e5a2d
fix quality
molbap 68c2f40
log kwargs mismatch to info level
molbap e1e4084
fix quality
molbap bfa81e5
Merge branch 'main' into improve_multimodal_processors
molbap 4b557b0
address comments
molbap b7fc377
fix typo
molbap 270bb9e
fix expected tests for bridgetower
molbap 94a1b75
fix conflicts
molbap 6603bf0
Merge branch 'main' into improve_multimodal_processors
molbap 004c961
fix valid processor keys
molbap c2e49f5
remove unused arg list
molbap 79958b5
quality
molbap a36f524
Merge branch 'main' into improve_multimodal_processors
molbap 3238dd3
skeleton draft - uniform processor call
molbap 3afde22
fix quality
molbap eb99e29
add broken wav2vec audio processing
molbap c6afd63
Merge branch 'main' into improve_multimodal_processors
molbap 3b824b5
uniforrmize processor calls
molbap d8c2a6e
fix default
molbap 78433a1
protect image types
molbap 0cd3d66
Merge branch 'main' into image_text_audio_processors
molbap d9c51c1
Merge branch 'main' into image_text_audio_processors
molbap 43ba3bd
improve audio kwargs typing
molbap dcfa8db
create audio input type
molbap 7048fee
fix docstrings for common kwargs
molbap 25ba7ba
add deprecation warning for dual kwargs
molbap 36ba3cc
fix imports
molbap 05fea5d
fix quality
molbap e05b14b
fix quality + copies
molbap 46a1fe8
fix quality on setup :eyes:
molbap 13a1909
protect import
molbap 7bf3615
fix quality
molbap a285284
fix conflicts
molbap 1fe9eb5
add type hinting expansion
molbap 931f68c
fixup
molbap File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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
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.
return_tensors
is the only one I'm not sure we want to remove from the docstring, as it's something users have to specify if they want to be able to use the outputs for a modelThere 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.
that's a good point, in general anything that is
common
could be here