congvvc / LaSagnA

Project for "LaSagnA: Language-based Segmentation Assistant for Complex Queries".
Apache License 2.0
45 stars 2 forks source link

preprocessor_config missing #3

Open Ayush8120 opened 4 months ago

Ayush8120 commented 4 months ago

Hello,

Thanks for your wonderful work! I was facing the following error when I tried using your model through the huggingface transformers library.

Our Code: model = LlavaForConditionalGeneration.from_pretrained("weic22/LaSagnA-7B", torch_dtype=torch.float16, device_map ="balanced") processor = AutoProcessor.from_pretrained("weic22/LaSagnA-7B")

Error: OSError: weic22/LaSagnA-7B does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/weic22/LaSagnA-7B/tree/main' for available files.

Can you please guide me how to proceed?