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

Beam Search Baseline #2

Open
Laknath1996 opened this issue Jul 12, 2024 · 1 comment
Open

Beam Search Baseline #2

Laknath1996 opened this issue Jul 12, 2024 · 1 comment

Comments

@Laknath1996
Copy link

I have been going through generate/synthesis_exp.py script. I noticed that default num_beams is set to 1 for the generation. Does this mean you're doing greedy decoding for "Beam-Search" entry of the Table 1 metrics in the paper? Thanks

@shunzh
Copy link
Owner

shunzh commented Jul 17, 2024

Thanks for your question! We actually used a beam size of 5 as described in the paper. So there's a missing argument in the script (I reorganized the scripts before release and it looks like I missed this argument). I just updated the script below. Sorry for the confusion.

extra='--alg bs --num-beams 5'

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

2 participants