New processor config produces an error

#4
by YeolJoo - opened

Hi, I have seen you have edited the processor_config, which throws this error.

File "check_correspondence.py", line 242, in load_model
    processor = LlavaNextProcessor.from_pretrained(model_id)
  File "/usr/local/lib/python3.8/dist-packages/transformers/processing_utils.py", line 468, in from_pretrained
    return cls.from_args_and_dict(args, processor_dict, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/transformers/processing_utils.py", line 393, in from_args_and_dict
    processor = cls(*args, **processor_dict)
TypeError: __init__() got an unexpected keyword argument 'chat_template'

I am using transformers version 4.41.1 which seems up to date. Any upcoming fixes?

Sign up or log in to comment