Closed FanshuoZeng closed 3 months ago
Hi,
Current version of OPERA does not support the greedy decoding mode (i.e., beam=1
) because its implementation of over-trust penalty is based on beam search decoding. If you want to use beam=1
, please set opera_decoding=False
.
We will release the beam=1
version in the near future (also in OPERA v2). Please stay tuned!
Hello, I got the following error: AssertionError: OPERA does not support beam=1 in the current version. It will be added in the future. Can you tell me how to solve it?