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

Add a comment describing how generate works for Bloom models #21

Open
AMR-KELEG opened this issue Aug 15, 2023 · 0 comments
Open

Add a comment describing how generate works for Bloom models #21

AMR-KELEG opened this issue Aug 15, 2023 · 0 comments

Comments

@AMR-KELEG
Copy link
Owner

https://github.com/AMR-KELEG/DLAMA/blob/2d22d09121006a4210654bfd1a50d5a4bf6535f3/mlama/scripts/evaluate_bloom.py#L133C25-L133C33

generate uses greedy search decoding by default so you don’t have to pass any parameters to enable it. This means the parameters num_beams is set to 1 and do_sample=False.

Source: https://huggingface.co/docs/transformers/main/generation_strategies#greedy-search

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