README.md 1020 Bytes
Newer Older
1
2
3
4
![No Maintenance Intended](https://img.shields.io/badge/No%20Maintenance%20Intended-%E2%9C%95-red.svg)
![TensorFlow Requirement: 1.x](https://img.shields.io/badge/TensorFlow%20Requirement-1.x-brightgreen)
![TensorFlow 2 Not Supported](https://img.shields.io/badge/TensorFlow%202%20Not%20Supported-%E2%9C%95-red.svg)

Devansh D's avatar
Devansh D committed
5
# Neural Programmer
Quoc Le's avatar
Quoc Le committed
6

Devansh D's avatar
Devansh D committed
7
Implementation of the Neural Programmer model described in [paper](https://openreview.net/pdf?id=ry2YOrcge)
Quoc Le's avatar
Quoc Le committed
8

Devansh D's avatar
Devansh D committed
9
Download and extract the data from [dropbox](https://www.dropbox.com/s/9tvtcv6lmy51zfw/data.zip?dl=0). Change the ``data_dir FLAG`` to the location of the data.
Quoc Le's avatar
Quoc Le committed
10

Devansh D's avatar
Devansh D committed
11
12
### Training 
``python neural_programmer.py`` 
Quoc Le's avatar
Quoc Le committed
13

Devansh D's avatar
Devansh D committed
14
15
16
17
18
19
20
21
The models are written to FLAGS.output_dir

### Testing 
``python neural_programmer.py --evaluator_job=True``

The models are loaded from ``FLAGS.output_dir``. The evaluation is done on development data.

In case of errors because of encoding, add ``"# -*- coding: utf-8 -*-"`` as the first line in ``wiki_data.py``
Arvind Neekalantan's avatar
Arvind Neekalantan committed
22

Quoc Le's avatar
Quoc Le committed
23
Maintained by Arvind Neelakantan (arvind2505)