I fine tuned qwen2_vl model for ocr system. I would like predict for one image. I get this error."Can't instantiate a processor, a tokenizer, an image processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes"
File content is as:
I give error this line code
model, tokenizer = get_model_tokenizer(model_type, model_kwargs={'device_map': 'auto'},model_id_or_path=ckpt_dir)
I fine tuned qwen2_vl model for ocr system. I would like predict for one image. I get this error."Can't instantiate a processor, a tokenizer, an image processor or a feature extractor for this model. Make sure the repository contains the files of at least one of those processing classes" File content is as:
I give error this line code model, tokenizer = get_model_tokenizer(model_type, model_kwargs={'device_map': 'auto'},model_id_or_path=ckpt_dir)
How ı can solution this problem?
Thank you everyone