# Draw Me a Sheep: GPT to SVG
## Current status
Paused.
- GPT-3.5 has lost its appeal.
- GPT-4 and GPT-4-Turbo are prohibitively expensive at scale.
- Although RLHF and fine-tuning has the potential to improve quality, it presents its own set of challenges.
- SVG is a verbose format, which imposes a penalty on GPT's performance and costs.
Initial explorations to mitigate these issues:
- [[2023-06-23-neural-network-draws-cats]]
- [[2023-06-03-gpt-forth]]
## Overview
A tool that transforms input prompts into amusing SVG illustrations, powered by GPT-3.5, Janet, HMTX, a homegrown scheduler. While GPT-3.5 may not consistently produce the most artistic illustrations, it occasionally generates surprisingly delightful sketches. A backstory with dozens of cats and unicorns: https://drawmeasheep.net/pages/about.html
URL: https://drawmeasheep.net
## Project
I need to close a chapter before I move on, but this time I found myself struggling to articulate the story. It began as an exploration while I was [[2023-04-09-voyage-part-2|tinkering with GPT3.5]]. I was curious to see if I could generate SVG illustrations using the transformer architecture. The results were amusing, and I decided to build a tool that would allow anyone to create SVG images.
On average, generating an images takes about 1,000 tokens, reflecting a cost of $0.002 per image.
A few selected sketches published below. Tip: right-click and inspect source code, I told GPT to leave clarification comments--the last image will make more sense.
- Baba Yaga: ![[babayaga.svg]]
- The Great Wave off Kanagawa: ![[kanagawa.svg]]
- Polar Bear: ![[polarbear.svg]]
- Sheep: ![[sheep.svg]]
- Snowman: ![[snowman.svg]]
- Fruit Fly: ![[fruitfly.svg]]
- See no Evil: ![[seenoevil.svg]]
- Hacker News: ![[hackernews.svg]]
- Love: ![[love.svg]]
## Related
- [[2023-06-23-neural-network-draws-cats]]
- [[2023-06-04-svg-to-single-line-drawings]]
- [[2023-06-03-gpt-forth]]
- [[2023-05-26-multistep-prompting]]
- [[2023-05-25-gpt-to-svg]]