Code Monkey home page Code Monkey logo

nlp_project_snli's Introduction

NLP Project

Natural Language Inference

Description

The following repository is the codebase for our NLP Project on Natural Language Inference. We have implemented various models to classify the relationship between the premise and the hypothesis into one of three categories: entailment, contradiction, or neutral.

Code Repository

The code for the project is available on the following link: https://github.com/100smdok/NLP_Project_SNLI

The files are as follows:

  • BERT.ipynb - Implements a BERT classification model on the SNLI dataset
  • GRU.ipynb - Implements a GRU classification model on the SNLI dataset
  • LSTM.ipynb - Implements an LSTM classification model on the SNLI dataset
  • RNN_relu.ipynb - Implements an RNN classification model (activation is relu) on the SNLI dataset
  • RNN_sigmoid.ipynb - Implements an RNN classification model (activation is sigmoid) on the SNLI dataset
  • RNN_softmax.ipynb - Implements an RNN classification model (activation is softmax) on the SNLI dataset

Data

The dataset is available at the following link: https://drive.google.com/drive/folders/1UIYb08D2zYVA56hM41S6y6HgixaTF9Fs?usp=sharing

Saved Model Checkpoints

The checkpoints are available at the following link: https://drive.google.com/drive/folders/10mPe7khOux173jTUttgIwyDNzgPw8tOq?usp=sharing

Models

The final models are available at this link: https://drive.google.com/drive/folders/14uxKOzSoTwSg4l0-IuF_AIm1_HVPiiqD?usp=sharing

GloVe Embeddings

The glove embeddings produced from the SNLI training set are available at the following link: https://drive.google.com/drive/folders/1qGzP7nSpLlycGTuq-m5L4X6DQnqp7h1e?usp=sharing

How To Run?

Download the dataset from the above link and change the dataset's location in the following notebooks and hit RUN!!

Each notebook will produce checkpoints, final models, Classification Reports, and a Confusion Matrix Plot.

Authors

  • Saurav Chhatani
  • Balaji Patukala
  • Parth Maradia

nlp_project_snli's People

Contributors

100smdok 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.