Concept To text

Hello, if i want to train a model while the input is serval concepts like “today family happy mountain”, and i want the output is a sentence based on the serval concepts like" My fanily go to mountain and we have a happy game".
can you tell me what i should start?
Thank you very much

Welcome! For something like that, I think you could start with looking into “text generation with keywords”. This Medium post could be useful for you, as well as the related GitHub repository here. They even have some models available on the Hugging Face Hub! You may be able to follow their method to finetune a model (looking at their training code, they originally finetune the t5-small model) to make a model that fits your use-case.

1 Like