Giter VIP home page Giter VIP logo

laughgen-ai's Introduction

LaughGen-AI

Multi-Modal Humor Generation for Reddit Posts

funny-bot-wide

Table of Contents

Overview

In this repository, I will be fine-tuning LLaMA 2 13B on top comments from submissions on the subreddit, r/funny.

Humor is a complex and subjective domain, and while language models can generate amusing content, their attempts often fall into the realm of predictably corny. Prompting can improve this, but it's difficult to emulate the level of wittiness of comments on r/funny that are so ridiculous they'll have you spewing your morning cup of coffee all over your keyboard. This project aims to bridge that gap, leveraging the unique humor of r/funny to bring a new level of comedic intelligence to Llama 2 13B.

Data Enrichment and Preparation Pipeline

This is the most crucial part of the project and makes up for the bulk of the effort. In order to procure a high quality dataset that results in a good fine-tuned model the following steps are taken:

Supervised Fine-Tuning with PEFT

Use QLoRA to fine-tune LLaMA 2 13B on the curated Reddit dataset.

Deployment

Phase I (Interact via API)

For this initial phase, I will deploy this system where users can submit the URL of a post from any subreddit and a witty comment will be returned.

deployment_phase_i_diagram

Example Post:

amazon-delivery-post

Payload:

amazon-delivery-payload

Response:

amazon-delivery-response

Phase II (Reddit bot)

For this second phase, I will release a Reddit bot into the wild to make humorous comments on posts for numerous communities.

deployment_phase_ii_diagram

Example Comment:

frenchbulldogs_comment

laughgen-ai's People

Contributors

jrbarclay37 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.