You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make this code runnable and am always getting a warning "You are using a model of type llama to instantiate a model of type blip-2. This is not supported for all configurations of models and can yield errors. using from langchain.llms.openai import OpenAI". Then, I have an error "AttributeError: 'OPTConfig' object has no attribute 'num_key_value_heads'". Does anyone have any idea to solve this issue? Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to make this code runnable and am always getting a warning "You are using a model of type llama to instantiate a model of type blip-2. This is not supported for all configurations of models and can yield errors. using from langchain.llms.openai import OpenAI". Then, I have an error "AttributeError: 'OPTConfig' object has no attribute 'num_key_value_heads'". Does anyone have any idea to solve this issue? Thanks.
The text was updated successfully, but these errors were encountered: