项目作者: andri27-ts

项目描述 :
Question Answering on bAbI using a single RNN
高级语言: Jupyter Notebook
项目地址: git://github.com/andri27-ts/bAbI.git
创建时间: 2018-03-30T15:31:32Z
项目社区:https://github.com/andri27-ts/bAbI

开源协议:

下载


bAbI

This repository contains a simple Question Answering algorithm developed in Tensorflow.
We’ll use the bAbI tasks 1-20, created by facebook, for testing the capacity of our algorithm to understand and reason the text.

It uses only a single GRU layer but perform better than the Facebook LSTM Baseline and Keras babi_rnn

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

In order to run the notebook you need to install tensorflow and tqdm (to take progress).

  1. $ pip install tensorflow --upgrade
  2. $ pip install tqdm

Installing

Next, install git if you don’t have already it and run the following commands on your terminal

  1. $ cd $HOME # or any other development directory you prefer
  2. $ git clone
  3. $ cd bAbI

Tensorboard

To keep track of the progress and to visualize the histograms of the NN layers, use Tensorboard, running on your terminal

  1. $ cd $HOME # or any other development directory you prefer
  2. $ cd bAbI
  3. $ tensorboard --logdir tf_logs

Contributing

Please let me know if you need more information or if you want to contribute in any way