# 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](https://github.com/keras-team/keras-io/blob/master/examples/nlp/addition_rnn.py). [See this example live!](https://storage.googleapis.com/tfjs-examples/addition-rnn/dist/index.html) To run this demo locally on your machine, run the following commands: ```sh 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.