Giter Site home page Giter Site logo

quantitative-poems's Introduction

Quantitative Poems

Overview

Quantitative Poems is an exploration of the human condition through poetry, mathematics, and artificial intelligence. It contains equations ("poems") generated by artificial intelligence on themes such as discovery, love, and nature. It's still a work in progress, and I need to improve the generation algorithm, but I wanted to share what I have so far!

๐Ÿ“˜ Read Online: Quantitative Poems.

๐Ÿ“™ Purchase it: Amazon Link (Paperback coming soon!).

Generating the book

If you're interested (and have lots of spare OpenAI credits), you can generate the book yourself.

Prerequisites

Ensure you have the following tools installed:

Additionally, you will need an OpenAI API Key. Set OPENAI_API_KEY in your environment variables to authenticate your requests.

Tutorial

  1. Clone repository: Clone the project's repository to your local machine. Replace with the actual URL of the repository.
git pull <repo-url>
  1. Install dependencies: Navigate to the project directory and install the necessary dependencies using Pipenv.
cd quantitative-poems
pipenv install
  1. Create layout: Generate the layout for the book.
pipenv run run_make_layout
  1. Create equations: Create equations (or "poems").

Note

This will use your OpenAI credits.

pipenv run run_equations
  1. Generate book: Compile the equations and layout into a pdf.
pipenv run gen_book

Contributions

Contributions are welcome! If you're interested, please open an issue with your proposed changes!

quantitative-poems's People

Contributors

aru-py avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yuhaibao39

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.