How to generate the words in the specified candidate words?
I’m working on a task to generate the next word. I read your tutorials and documentation on text generation, but didn’t find how to specify candidate words.related docs:huggingface.coHow to generate text: using different decoding methods for language...We’re on a journey to advance and democratize artificial intelligence through open source and open science.huggingface.coGuiding Text Generation with Constrained Beam Search in 🤗 TransformersWe’re on a journey to advance and democratize artificial intelligence through open source and open science.For example, text=“I love”, candidate words=[“you”, “money”, “her”]，I want the next word to be one of the words in the list. Any ideq?