Can’t Come up With a Good Costume? @JanelleCShane has Some AI Generated Ideas! #costume #halloween #MachineLearning #ArtificialIntelligence #GPT2
Haloween is right around the corner, do you have a costume yet? Are you looking for something fun and VERY unique? Then Janelle Shane (@JanelleCShane) has the costume for you. For the last three years, Shane has used various machine learning algorithms to come up with some pretty memorable costume ideas. In 2017, it was the char-rnn neural network that learns words ‘from scratch, letter by letter’. The char-rnn costumes were a bit weird including “Grankenstein”, “Scorbs Monster” and “Sexy Avical Ster of a balana Aly” but fun nonetheless.
In 2017 I tried to generate Halloween costumes with a neural net that didn’t have any prior knowledge of English words. Its costumes often made no damn sense.
In 2018, Shane teamed up with the New York Times (NYT) to create some more ‘artificial’ costumes. This time using the textgenrnn which can imitate text. The idea was to predict new costumes people would come up with.
…we turned to a machine-learning algorithm called textgenrnn that can learn to imitate text. Its author, Max Woolf, designed it as a blank slate ready to learn any kind of text; the text we gave it to imitate was a list of 7,182 costumes that people sent to aiweirdness.com over a year.
The NYT post was beautifully illustrated by Jessia Ma and brings the ideas to life, the costumes include classics like, “vampire chick shark” , “dragon ninja” or “cat witch”. It turns out that there is actually a sexy dragon ninja costume out there so I think we’re getting close!
Now, as of 2019, there are much more powerful text-generating neural nets around. One of these is GPT-2, trained by OpenAI on a huge dataset of text from the internet.
The costumes generated by GPT-2 were actually pretty good making plausible predictions beyond the training set. Here are a few of my favorites from this year’s costumes, “Gothy Giraffe”, “Sexy Pumpkin Pirate” and “Vampire in hot tub”. I think we could convert “Sexy Pumpkin Pirate” into “Spiced Pumpkin Pirate” and have a real winner on our hands!
8-6-2021 (August 6, 2021) is the Snakiest day of the year and it’s also this year’s CircuitPython Day! The day highlights all things CircuitPython and Python on Hardware. See you there!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.