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

No implement of generate() when using models from hugging face. #130

Open
342215448 opened this issue Nov 14, 2023 · 0 comments
Open

No implement of generate() when using models from hugging face. #130

342215448 opened this issue Nov 14, 2023 · 0 comments

Comments

@342215448
Copy link

342215448 commented Nov 14, 2023

What an amazing work, however, when I tried to inference kosmos model from hugging face, there was an error:
NotImplementedError: A model class needs to define a prepare_inputs_for_generation method in order to use .generate().

@342215448 342215448 changed the title No implement of generate() when using models from No implement of generate() when using models from hugging face. Nov 14, 2023
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