-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Uniformize kwargs for image-text-to-text processors #32544
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
yonigozlan
merged 33 commits into
huggingface:main
from
yonigozlan:uniformize-image-text-to-text-processors-kwargs
Sep 25, 2024
Merged
Changes from 31 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
083b4bd
uniformize FUYU processor kwargs
yonigozlan 425ed0e
Uniformize instructblip processor kwargs
yonigozlan dda5c5d
Fix processor kwargs and tests Fuyu, InstructBlip, Kosmos2
yonigozlan c2806f4
Uniformize llava_next processor
yonigozlan 0c30bcb
Fix save_load test for processor with chat_template only as extra ini…
yonigozlan 9538867
Fix import Unpack
yonigozlan d8311d2
Fix Fuyu Processor import
yonigozlan 770eb38
Fix FuyuProcessor import
yonigozlan 20c1e6e
Fix FuyuProcessor
yonigozlan b887c6d
Add defaults for specific kwargs kosmos2
yonigozlan 325ce26
Fix Udop to return BatchFeature instead of BatchEncoding and uniformi…
yonigozlan a7fcb8b
Add tests processor Udop
yonigozlan 8a296f5
remove Copied from in processing Udop as change of input orders cause…
yonigozlan f1be841
Fix overwrite tests kwargs processors
yonigozlan 58b70a1
Add warnings and BC for changes in processor inputs order, change doc…
yonigozlan 99f6673
Fix processing test fuyu
yonigozlan e0fecb5
remove unnecessary pad_token check in instructblip ProcessorTest
yonigozlan 2172b9d
Fix BC tests and cleanup
yonigozlan 3557693
FIx imports fuyu
yonigozlan 228acee
Uniformize Pix2Struct
yonigozlan ce68136
Fix wrong name for FuyuProcessorKwargs
yonigozlan 5db32c9
Fix slow tests reversed inputs align fuyu llava-next, change udop war…
yonigozlan 6b95100
Fix wrong logging import udop
yonigozlan 120a370
Add check images text input order
yonigozlan 5657519
Fix copies
yonigozlan 7b4bcb5
change text pair handling when positional arg
yonigozlan 41b5d4c
rebase on main, fix imports in test_processing_common
yonigozlan 7420705
remove optional args and udop uniformization from this PR
yonigozlan e6ceb28
fix failing tests
yonigozlan ac91b1e
remove unnecessary test, fix processing utils and test processing common
yonigozlan aecbd9e
cleanup Unpack
yonigozlan 0e75363
cleanup
yonigozlan 48d58a4
fix conflict grounding dino
yonigozlan 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
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.