Comment Comment by Der_Einzige I think that this is what you will be looking forhttps://huggingface.co/blog/constrained-beam-searchThis technique has been quietly available within HF for awhile, and has a lot of real world use-cases. parent Der_Einzige 3 years ago
https://huggingface.co/blog/constrained-beam-search
This technique has been quietly available within HF for awhile, and has a lot of real world use-cases.