Sorry, I believe I didn’t articulate my thoughts clearly. Setting aside the linked article, I trained a GPT2 model with keywords that may also suit your needs. My strategy deviates from the article because I opted for GPT-2 as opposed to T5. Here is a notebook: https://colab.research.google.com/drive/16ctmbD03DrFJCwNN45Chy1jYf9Cm9pTp?usp=sharing 25. Note that it does not work perfectly, so the keyword may not always be included in the output.