Skip to content
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: 'dict' object has no attribute 'vocab_size' occurs when evaluating lava-onevision-qwen2-0.5b-ov-hf #442

Open
huayicong23 opened this issue Dec 4, 2024 · 3 comments

Comments

@huayicong23
Copy link

Description
running the following command results in a attribute error:'dict' object has no attribute 'vocab_size'.

Example Command
image

Error message
image
image

environments
image

@kcz358
Copy link
Collaborator

kcz358 commented Dec 25, 2024

When you use llava-hf, no need to install from llava and please use the llava_hf model instead

@raywzy
Copy link

raywzy commented Jan 7, 2025

When you use llava-hf, no need to install from llava and please use the llava_hf model instead

Sorry but could you please elaborate more on that? I met the similar issue here. Thanks!

@raywzy
Copy link

raywzy commented Jan 9, 2025

install the transformers with version 4.40.0 fix my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants