I made an deep learning AI that can generate sentences from words.

The other day I was reading an novel. I realised that there is a pattern where there is an important keyword in each sentences and I got an…

I made an deep learning AI that can generate sentences from words.

DALL-E 2

The other day I was reading an novel. I realised that there is a pattern where there is an important keyword in each sentences and I got an idea that lets see if we can generate text only by using keywords.

Lets get started with the installs:

Lets load the pertained model called k2t-base:

Now lets fine tune the model and run the AI:

And there the code is done. Yep Done ! its just 8 lines.

Lets see some outputs now:

The outputs are so cool.

If you liked this article follow me on medium. It helps me alot.

For the code go here:

For my day to day AIML study follow me in twitter:

Thanks for reading 😁, see ya guys next week 👋🏼