ParikhKadam / bidaf-keras

Bidirectional Attention Flow for Machine Comprehension implemented in Keras 2
GNU General Public License v3.0
64 stars 21 forks source link
bidaf deep-learning deep-neural-networks deeplearning keras keras-models keras-neural-networks keras-tensorflow machine-comprehension machine-intelligence natural-language-processing natural-language-understanding neural-nets neural-network neural-networks neuralnetwork nlp python3 question-answering tensorflow

BiDAF-Keras

Implementation of Bidirectional Attention Flow for Machine Comprehension in Keras 2

What is this project about?

Machine Comprehension is a task in the field of NLP & NLU where the machine is provided with a passage and a question, and the machine tries to find an answer to the asked question from that given passage, by understanding the syntax and semantics of human language (here, English) and by establishing and understanding the relations betweeen the passage and the question.

We have implemented a model suggested in the paper Bidirectional Attention Flow for Machine Comprehension by a team of allennlp, popularly known as BiDAF.

Checkout this video to understand more:

Visualizing machine comprehension task with BiDAF

What you can do with this project

Prerequisites

Installation

Execute this command pip install bidaf-keras

Note that the above code won't install tensorflow as there is no way to detecting if your system has GPU while installing this package. But you can explicitly mention if you want to install tensorflow (CPU/GPU) while installing this package.

Usage

This project is available for use as a complete module. You can use this project via command-line arguments or by importing functionalities from it.:

Features

Pre-trained Models

Project flow

Improvements in future releases

Warnings

Issues

Contributions

Thoughts, samples codes, modifications and any other type of contributions are appreciated. This is my first project in Deep Learning and also first being open source. I will need as much help as possible as I don't know the path I need to follow. Thank you..

My team

Our Guide

Special Thanks to the researchers of BiDAF