CTranslate2 icon indicating copy to clipboard operation
CTranslate2 copied to clipboard

Constrained beam search like Fairseq

Open DivyanshuBhoyar opened this issue 7 months ago • 0 comments

Hi, can someone help, how to get started with implementing unordered constrained beam search from Fairseq. https://github.com/facebookresearch/fairseq/blob/main/examples/constrained_decoding/README.md

What part of decoding code should I tweak, what are the important steps in decoding?

DivyanshuBhoyar avatar Jun 02 '25 09:06 DivyanshuBhoyar