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

Implement dump beam #538

Closed
sharonzhou opened this issue Jan 26, 2018 · 1 comment
Closed

Implement dump beam #538

sharonzhou opened this issue Jan 26, 2018 · 1 comment

Comments

@sharonzhou
Copy link

The -dump_beam flag currently outputs a skeletal json object that the translator (Translator.py) was initialized with, instead of the full history (as in the Torch/Lua implementation).

Specifically, this is initialized and stored as beam_accum in Translator.py.

This functionality would be very helpful for implementing more complex beam search decoding functions. Thank you!

@vince62s
Copy link
Member

vince62s commented Sep 6, 2018

closing, discussion in #719

@vince62s vince62s closed this as completed Sep 6, 2018
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