Giter VIP home page Giter VIP logo

objectivelyfunny's Introduction

Objectively Funny

This project was made by 4 Le Wagon Data Science students as our final project. We have sourced and processed a wide range of stand-up scripts to analyse comedians and make our own comedy.

Description

  • Constructed a scraper to source and clean 3.6 million words of stand-up comedy from a variety of online sources using BeautifulSoup, Requests, and Pandas.
  • Carried out a machine learning analysis using a Latent Dirichlet Allocation (LDA) on the processed dataset and used wordclouds to visualise results.
  • Finetuned a bot using GPT2 (gpt-2-simple, credit: Max Woolf) on the subset of female comedian scripts & generted entirely original stand-up comedy material from only a few words of text input. Created an API for the bot using FastAPI, Docker and Google Cloud Run.
  • Integrated and published the completed project on a public site using Heroku and Streamlit.

Link to Application

Heroku/Streamlit App

Data

Sources

Data At a Glance

  • 555 individual transcripts
  • 268 comedians
  • 19 million characters
  • 3.6 million words

Tech Stack

  • Python
  • Jupyter Notebook
  • Requests + BeatuifulSoup
  • Pandas
  • NLTK
  • Gensim
  • GPT-2
  • Docker
  • Google Cloud AI Platform
  • Google Cloud Run
  • Heroku
  • Streamlit

Full list of python packages can be found in the requirements.txt file.

Authors

Version History

  • 0.1
    • Initial Release

Acknowledgments

objectivelyfunny's People

Contributors

yuqingwwang avatar rmelbardis avatar beamishc avatar jfazz9 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.