-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
uniformize kwargs for VisionTextDualEncoder #34563
base: main
Are you sure you want to change the base?
uniformize kwargs for VisionTextDualEncoder #34563
Conversation
@molbap I changed the order of |
a1626ed
to
0decb11
Compare
Hi @tibor-reiss , you can use |
Done, could you please check again @molbap? |
Friendly reminder @molbap |
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.
Thanks for uniformizing this! cc @ArthurZucker for core review
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.
A nit butLGTM otherwise!
class VisionTextDualEncoderProcessorKwargs(ProcessingKwargs, total=False): | ||
_defaults = {} |
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.
if there are no defualt we can just use the processingKwargs directly!
Adds uniformized processors for VisionTextDualEncoder following #31911.
@qubvel @molbap