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

beamsearch lead to a worse result in inference script? #75

Open
baiyuting opened this issue Sep 4, 2023 · 0 comments
Open

beamsearch lead to a worse result in inference script? #75

baiyuting opened this issue Sep 4, 2023 · 0 comments

Comments

@baiyuting
Copy link

when I tried to use the same model to generate text through beamsearch and argmax, I found beamsearch get worse result.
I use the generate_beam() and generate2() in clip_prefix_captioning_inference.ipynb to generate text.
Is this a normal thing?

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