Let's generate sentences with the topical sentence generation AI "GPT-2" that is "too dangerous"

GPT-2 is operated by OpenAI

OpenAI is a non-profit organization that studies artificial intelligence in which influential businessmen and investors such as Elon Musk participate. https://openai.com/

Generation procedure

  1. clone from git
  2. Model installation
  3. Install the library
  4. Generate sentences

1. clone from git

git clone https://github.com/seiyatakahashi/gpt-2.git && cd gpt-2

2. Model installation

python3 download_model.py 1558M

3. Install the library

pip3 install -r requirements.txt

4. Generate sentences

python3 src/interactive_conditional_samples.py

Recommended Posts

Let's generate sentences with the topical sentence generation AI "GPT-2" that is "too dangerous"
The universe is dangerous with PyEphem
I tried sentence generation with GPT-2