-
Notifications
You must be signed in to change notification settings - Fork 961
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
AttributeError: 'NoneType' object has no attribute 'from_pretrained' #696
Comments
I have also downloaded llama 7B wights and when I try to covert to hf I got the error:
|
AttributeError: 'NoneType' object has no attribute 'from_pretrained' I also have this problem now,did u solve it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for such work!
I have been trying to use the Library for image captioning. by follwoing the instructions in @ouhenio comment on this thread: #313
I am using google colab pro and did the follwoing:
next:
installed Fastchat using:
Then,
!python3 -m fastchat.serve.cli --model-path lmsys/vicuna-7b-v1.5
at last, I installed Lavis:
after that I changed the line in "blip2_instruct_vicuna7b.yaml" into:
path to Vicuna checkpoint
llm_model: "lmsys/vicuna-7b-v1.5"
then I used the code:
and got the error:
what am I missing? is it the folder I download the llama2 toknizer? or the path to the Vicuna checkpoint?
The text was updated successfully, but these errors were encountered: