/ailonmusk

Frontend to AiLonmusk.com -- a web-app that generates tweets based on Elon Musk's publicly available data using GPT-2

Primary LanguageDart


Logo

AiLon Musk

Make Elon Musk tweet about anything!
ailonmusk.netlify.app

About The Project

AiLon Musk is a web-app that lets you generate fake tweets in line with something that Elon Musk would tweet. It uses a technology called GPT-2 which stands for “Generative Pretrained Transformer 2”. It basically works by training a model to predict the next word in a sequence of words in an unsupervised way. In this implementation, the model is trained using Elon Musk's publicly available data, with the main sources being his tweets, interviews, speeches, podcasts and Tesla shareholder meetings.

Built With

Getting Started

Prerequisites

Installation

  1. Clone the repo
    git clone https://github.com/vaibhavpras/ailonmusk
  2. Navigate to the project directory
    cd ailonmusk
  3. To serve your app from localhost in Chrome, enter the following in the project directory:
     flutter run -d chrome

Usage

Demo can be found at: ailonmusk.netlify.app

Type in any word in the about prompt to set that word as the seed for the tweet generation. Longer strings will generate more cohesive tweets.

Logo

Prompt can also be left blank to get random tweets.

Logo

Tweet Generator API [Backend]

Information about the backend of this web-app and the API endpoint can be found at: https://github.com/vaibhavpras/AiLonmusk-API

License

Distributed under the MIT License