Git clone this repository, and cd
into directory for remaining commands
git clone https://github.com/dedsecurity/gpt-ded && cd gpt-ded
Install tensorflow
pip install tensorflow
or
pip install tensorflow-gpu
Install other python packages:
pip install -r requirements.txt
WARNING: Samples are unfiltered and may contain offensive content. |
---|
Some of the examples below may include Unicode text characters. Set the environment variable:
export PYTHONIOENCODING=UTF-8
to override the standard stream settings in UTF-8 mode.
To generate samples of the small model:
python src/generate_text.py
python src/Bee.py
python src/model_token.py