项目作者: cschen13

项目描述 :
Detect humor with recurrent neural networks.
高级语言: Jupyter Notebook
项目地址: git://github.com/cschen13/yelp-humor-detection.git
创建时间: 2019-08-13T06:00:47Z
项目社区:https://github.com/cschen13/yelp-humor-detection

开源协议:

下载


Yelp Humor Detection

This repository contains an exploration of recurrent neural networks (RNNs) and how they can be trained to detect humor. The Yelp Open Dataset is used for training and demonstration. The machine learning model is built with the help of PyTorch and spaCy.

How to view

Open the notebook right here in GitHub. If you want to view the notebook locally, install Conda and Jupyter with this guide. Then run:

  1. $ jupyter notebook yelp_humor_detection.ipynb

and follow the initial instructions inside. These directions have been tested on macOS Mojave.

How to run

If you want to train the model yourself, grab the dataset from Yelp and store the reviews JSON file (named review.json) in a new folder called yelp_dataset within the working directory before running through the notebook.