Open haohaodw opened 1 month ago
A nice work! How can I reproduce the situation where AGLA uses greedy decoding? Which code do I need to modify?
Hi, thanks for your interest in our work.
You can uncomment this line for greedy decoding. https://github.com/Lackel/AGLA/blob/efa126347c41631152a70d7db0a6ac0708bd9d00/eval/sample.py#L156
A nice work! How can I reproduce the situation where AGLA uses greedy decoding? Which code do I need to modify?