Skip to content
/ nalu Public

PyTorch implementation of Language to Number

License

Notifications You must be signed in to change notification settings

HoKim98/nalu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NALU - Language to Number

Basic PyTorch implementation of Neural Arithmetic Logic Units by Andrew Trask, Felix Hill, Scott Reed, Jack Rae, Chris Dyer and Phil Blunsom.

  • 4.1 Simple Function Learning Tasks
  • 4.3 Language to Number Translation Tasks

Installation

git clone https://github.com/kerryeon/nalu or download

Requirements

  1. Python >= 3.6
  2. PyTorch >= 0.4
  3. num2words from pip

Experiments

python ./test/simple_function.py
python ./test/language_to_number.py

Train TIP

Language to Number Layer Size Learning Rate Plot
LSTM (en) 32 0.01 Plot_LSTM
NALU (en) 32 0.01 Plot_NALU

Reference Source

Basic pytorch implementation from bharathgs : https://github.com/bharathgs/NALU

TODO

  • More Languages
    • English
    • Korean
    • Japanese
    • Roman
    • Mayan
  • Shuffle Dataset
  • Furthermore
    • 4.2 MNIST Counting and Arithmetic Tasks
    • 4.4 Program Evaluation
    • 4.5 Track Time in a Grid-World Environment
  • Simplify code
  • Comments

About

PyTorch implementation of Language to Number

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages