Closed jjkim0807 closed 3 months ago
Hey @jjkim0807, thank you for your interest in our work.
We didn't use beam search in our experiments so the current code doesn't support beam search.
To use beam search you would need to rewrite the _reorder_cache
method.
If you manage to get it to work, please open a PR and we are more than happy to incorporate your contribution!
When I try beam search with use_cache=True option, above error occurs.