Frederick O'Loughlin

Creative Projects

Contact

Experiments, mad ideas, and other attempts to be innovative.

Laptop with blue background

AI tweets about AI

Original tweets on the topic of artificial intelligence generated by an algorithm

I set myself the challenge of generating creating computer-generated tweets. And because I appreciated irony, I decided to make the topic artificial intelligence. Step 1 was to gather a whole lot of tweets to serve as a dataset of examples. I used the twitter API to gather around 60,000 from the previous week.

Having aqcuired my dataset I then set about feeding them into an algorithm. I set out to use an LSTM Neural Network using Keras, and after hours of training, I used it to generate this monstrosity:

#Meceti #Reartocy #AI #IaThih #Recrtico #DataScience #DI #IaThioe #Aetie #heteet #AI #AataScience #AI #IaThih #Rebrticy #DataScience #AI #IaThih #Rebrtica #DataScience #AI

Well, its learnt hashtags and that was a start. You can even see some of them are more intelligible than others. I tried again, this time training for much, much longer:

@samat_scciealy @sauaa_ricma @mikequindazzi @antgrasso @firher85m
#ai #ai #artificialintelligence #machinelearning #deeplearning #nlp #robots #iot

Well, its learnt to tweet people, but it's not exactly going to pass the turing test. I considered getting more data and training it for longer, but in the end came to the conclusion that I needed a different algorithm. An LSTM is good at getting contexts and tweets don't really have this. I realised I had overcomplicated this project, and instead used a markov chain. This was much faster, and the results? Much better:

Great use case #AI #NG2030 #ONC --- Learn more about the Primacy of Conscious experience.

And

#JedAI, a new book #DeepMedicine: how #AI works https://t.co/E44SimBFF7 --- You've all heard of #AI?

And

But is this the future of #AI.

And

Hear from top executives on how #AI can enable a health

Well. Its getting creepy, I pulled the throttle and added some extra data, it improved a little further still. I tweeted the highlights, which you can find below.

(Photo credit Patrick Hendry, via Unsplash)

Okay, show me the tweets...