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

Unexpected bug for generate function #18

Open
qiuzhen8484 opened this issue Jun 1, 2023 · 0 comments
Open

Unexpected bug for generate function #18

qiuzhen8484 opened this issue Jun 1, 2023 · 0 comments

Comments

@qiuzhen8484
Copy link

Hello, when I use this model to tackle VQA task by passing the visual querys to inputs_embeds argument without input_ids, it results in that there is an extra dimension in attention_mask and position_ids, e.g., 442 vs 441 for last dimension. How can I fix it? Thanks.
image

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

1 participant