Skip to content

Neural network that can generate meme captions, built upon GPT-2

Notifications You must be signed in to change notification settings

apostaremczak/meme-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(WIP) Neural Meme Generator

The goal of this project is to train a neural network that can generate (probably unfunny) captions to the most popular images, within their respective "styles".

Why? Because why not.

Requirements

This project is written in Python 3.8, using Tensorflow 2.2.

Model architecture

(This is an actual caption generated by the model).

The model uses a pre-trained DistilGPT-2 from huggingface/transformers as a basis for fine-tuning. Based on over 40 most common image templates, it tries to generate a new caption to a submitted template.

Sources

My inspiration was an article by Dylan Wenzlau on Medium.

I am using images from imgflip.com.

About

Neural network that can generate meme captions, built upon GPT-2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages