Deep Elon Musk

Artificial Intelligence trained to tweet like Elon Musk

get it
#3 Product of the DayMarch 05, 2017

Deep Elon Musk is an AI trained to tweet like Elon Musk.

Around the web


Pierre-Jean Bergeron


You need to become a Contributor to join the discussion.
Hey! I'm here if you have any question.
Ramil Bakhishli
Ramil Bakhishli@ramil_bakhishli
@berpj Hi Pierre, just followed you, I think this is incredible and funny. Just wondering how you did this in non-technical terms so I could make one for my celebrities. Thank you
@ramil_bakhishli Thanks! It's based on Machine Learning. Basically it's a program that learns how to write like a child. It read this dataset over and over to learn how to create new sentences: You can have a look at this article, it contains some interesting ideas:
Jevin Sew
Jevin Sew@jevinsew · Rails / iOS developer
@berpj Thanks for the links. I might try that considering the tweets sound eerily true.
@jevinsew To be a bit more technical: it's an LSTM Neural Network, made with Tensorflow in Python. Have a look to this tutorial
Vlad Arbatov
Vlad Arbatov@vladzima · CEO @
@berpj @jevinsew I'm pretty sure all tweets are post-processed and corrected AND specifically hand-picked from a big generated set. LSTM (word or character level) is not currently capable of generating perfect sentences with at least some meaning, it only happens by relatively small chance. I used my 17.7k tweets as a dataset for experiments with models, which is 8 times more then Mask's and is generally a good amount of data for RNN learning, and that's why I'm so sure.
Alban Dumouilla
Alban Dumouilla@albandum · CTO, NUMA
Frightening, what texts did you use to train it ? Tweets? Could it tweet anytime Elon actually tweets?
@albandum Hey! I used this dataset: (only transcripts from speeches). That's why there is no hashtags or links. It would be cool to train this AI on his tweets, but the dataset would be too small.
@albandum and yeah I think it would be fun to answer to the real Elon when he tweets 🤓
Sam Schooler
Sam Schooler@samschooler · Cereal (like the breakfast) Entrepreneur
Would you be open to sharing the source for this? I want to get into this type of machine learning/ai and love learning by example. Alternatively: What resources would you recommend to start building/learning ai/ml. Edit: just saw your answer on this subject to @jevinsew and @vladzima.
Vlad Arbatov
Vlad Arbatov@vladzima · CEO @
@samschooler You can start with or any alternative (smth for Tensorflow for instance), just search for char rnn on github.
@samschooler @jevinsew @vladzima Indeed, I think I should open source it :)
Vlad Arbatov
Vlad Arbatov@vladzima · CEO @
@berpj @samschooler @jevinsew I used word level char rnn to generate new laws based on those passed by Russian parliament in the past. That shit was hilarious to the level when it printed "We are not aware what we are doing, let's proceed to execution" at the end of one document.
@vladzima @samschooler @jevinsew Hahaha, great idea! There's so much ideas to explore
Jordan Fourcher
Jordan Fourcher@jfourcher · Badass from the future
This is hilarious
Cherepukhin@ivandothetrick · Head of Product
Seen Luka ( ) been playing with AI bots with a personality. Wonder how far your bot from their AI.