Giter Club home page Giter Club logo

detecting-sarcasm-in-newspaper-headlines-'s Introduction

Detecting-Sarcasm-in-Newspaper-Headlines-

This repository makes use of a bidirectional LSTM network using pre-trained word embeddings to detect sarcasm in newspaper headlines.

The data used to train the model for comes from this dataset, provided by kaggle.

The pre-trained GloVe word embeddings used, come from this download by Stanford.

The data comes in a json format, which when processed can be read as a pandas dataframe, having one column name referring to the article link of the headline, the headline itself, and whether the headline was intended to be sarcastic or not. This data was split into training and testing, sets, and was even tested on a few made up headlines/sentences, all on which decent performace was observed.

The network used can be visualised as shown below:
bidir_lstm
The variation of the training, and test loss throughout training is described by:
loss
The variation of accuracy, on the training, and testing set throughout training can be described by: acc

detecting-sarcasm-in-newspaper-headlines-'s People

Contributors

parnavish avatar vikrams169 avatar

Stargazers

 avatar  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.