Text generation from numerical label

Hello, I would like to know how to generate text from a numerical value. For example generating a good movie review when given a high number or a bad one when given a low number. Thanks

You will likely need to give the model more information unless you want very generic reviews. You can take an imdb review dataset and then find the movie descriptions. The input to the model will then be the review rating followed by the movie description. The output is the review. You can use the example script for summarization for this.

input: 5 stars [SEP] Jurassic Park is about…
output: This movie was so exciting and I loved it…