Skip to content

aru-py/quantitative-poems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

A Machine's Perspective on Humanity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published