Skip to content

jamesonrader/orange-erotic-bible

 
 

Repository files navigation

🙏 Orange Erotic Bible 💕

If gpt-2 read literotica, what would be its take on the Holy scriptures?

Entry to NaNoGenMo 2019.

Samples

Read the Orange Erotic Bible version 1.0 on write.as, or as a .txt file.

Getting Started

Prerequisites

  • Python 3.7
  • Pipenv
  • A sense of humour, this is all in good Holy Spirits.

Installing

Download model

To generate a new orange erotic bible, you need an erotica fine-tuned gpt-2 model.
Download mine from google drive here. Use that checkpoint_dir path as --checkpoint_dir argument to the generation script below.
Alternatively, fine tune gpt-2 with some steamy literature and use your own erotic language model.

Install Dependencies

cd orange-erotic-bible
pipenv install

Generating

pipenv run python oeb/main.py --output_path={OUTPUT_PATH} --checkpoint_dir={CHECKPOINT_DIR}
  • OUTPUT_PATH: txt file where to write the orange erotic bible
  • CHECKPOINT_DIR: dir with fine-tuned gpt-2 checkpoint

Running the tests

pipenv run pytest

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%