-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
WIP Multimodal support #1930
base: main
Are you sure you want to change the base?
WIP Multimodal support #1930
Conversation
processor_kwargs = {} #do we actually need this? | ||
|
||
processor_cls = AutoProcessor | ||
if cfg.processor_type: |
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.
@@ -69,6 +69,9 @@ def train( | |||
main_process_only=True, | |||
) | |||
tokenizer = load_tokenizer(cfg) | |||
processor = None | |||
if cfg.is_multimodal: |
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.
also need to include is_multimodal
arg to the config class
@@ -69,6 +69,9 @@ def train( | |||
main_process_only=True, | |||
) | |||
tokenizer = load_tokenizer(cfg) | |||
processor = None | |||
if cfg.is_multimodal: |
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 cfg.is_multimodal: | |
if cfg.is_multimodal or cfg.processor_type: |
No description provided.