Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 891 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 891 Bytes

TensorFlow.js Example: Addition RNN

This example uses an RNN to compute the addition of two integers by doing string => string translation. Obviously it's not the best way to add two numbers, but it makes a fun example.

Note: this example is a port of the Keras addition RNN example with a UI.

You can find the original Keras python code here.

See this example live!

To run this demo locally on your machine, run the following commands:

yarn
yarn watch

The demo runs on port http://localhost:1234.

Once the page loads, click Train model to train. You can view the model's progress through graphs displayed on the page.

Upon completion of training, view the model's success through displayed test examples.