Author: Axel Axel Fernández Curros

Guide to generate text using GPT-Neo AI.

Continuing on text to text topic, we developed a script to generate text.

Install python dependencies

  • Linux
    pip3 install transformers
    
  • Windows
    pip install transformers
    

Clone repository

git clone https://github.com/Axlfc/UE5-python
cd UE5-python/Content/Python

Run the python script

  • Linux
    python3 content_creator.py "An essay about Descartes" 300
    
  • Windows
    python content_creator.py "An essay about Nietzsche" 300
    

For an essay of 300 words, we pass the topic and the number of the word count to the script. The output will be saved inside the contentCreator folder in the same directory where we launch the script. Attention: At the moment, passing values greater than 2400 usually causes Buffer Overflow errors.


<
Previous Post
Translating text to AI Voice Speech
>
Next Post
Twitter Bot Automation