Skip to content

Getting GPT-4 to draw a new unicorn every day

License

Notifications You must be signed in to change notification settings

adamkdean/gpt-unicorn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT Unicorn

GPT Unicorn is a project that explores the image generation capabilities of OpenAI's GPT-4 model by generating a new unicorn image every day. The project aims to track the changes and progress of the model over time by analyzing the generated images.

View the demo

Read the blog post

See the discussion

Background

This project is inspired by the paper Sparks of Artificial General Intelligence: Early experiments with GPT-4 by Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan, Johannes Gehrke, Eric Horvitz, Ece Kamar, Peter Lee, Yin Tat Lee, Yuanzhi Li, Scott Lundberg, Harsha Nori, Hamid Palangi, Marco Tulio Ribeiro, and Yi Zhang. In the paper, the authors explore the capabilities of GPT-4, discussing its performance on tasks spanning various domains and tasks.

GPT Unicorn focuses on the image generation aspect of GPT-4, specifically its ability to create SVG images of unicorns. By generating a new image every day, we can assess the model's understanding of visual information and its ability to connect language and visual representation.

How It Works

GPT Unicorn queries GPT-4 once per day to generate a new unicorn image in SVG format. The image generation process involves the following steps:

  1. Query GPT-4 with the prompt "Draw a unicorn in SVG" etc (full prompt in the source code).
  2. Process the output to extract the SVG code.
  3. Render the SVG code to produce the final image.

Viewing the Images

To view the daily generated unicorn images and browse the archive of previous drawings, visit gpt-unicorn.adamkdean.co.uk. Follow the project to witness GPT-4's progress and join the discussion on its capabilities.

Contributing

Feel free to submit issues or pull requests if you'd like to contribute to the project or have any suggestions for improvements.

Credit

This README was written with help from GPT-4. Thanks GPT-4!

License

// Copyright (C) 2023 Adam K Dean <[email protected]>
// Use of this source code is governed by the GPL-3.0
// license that can be found in the LICENSE file.