keras-io / addition-lstm

huggingface.co
Total runs: 27
24-hour runs: -2
7-day runs: 2
30-day runs: 14
Model's Last Updated: July 05 2024
text-generation

Introduction of addition-lstm

Model Details of addition-lstm

Model description

This repo contains the model which showcases the learning capabilities of LSTM using a simple example. A single-layer LSTM is made to learn to add two numbers, provided as strings. The model has been trained for adding two numbers where each number can have maximum of 5 digits.

Example: Input: "535+61" Output: "596"

Full credits to Smerity and others for this work.

Intended uses & limitations

More information needed

Training and evaluation data

The data consists of generation of two random 5 digit numbers as input and their sum as output. These numbers ( and their sum) are encoded and fed as input to LSTM. The full data creation code is available within the example .

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 0.001
  • train_batch_size: 32
  • optimizer: {'name': 'Adam', 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
  • training_precision: float32
  • num_epochs: 30
Training Metrics
Epochs Train Loss Train Accuracy Validation Loss Validation Accuracy
1 0.071 0.977 0.12 0.957
2 0.063 0.98 0.102 0.963
3 0.061 0.98 0.094 0.967
4 0.051 0.983 0.091 0.969
5 0.052 0.983 0.093 0.964
6 0.05 0.983 0.073 0.975
7 0.039 0.988 0.069 0.976
8 0.054 0.983 0.103 0.965
9 0.04 0.987 0.063 0.977
10 0.033 0.99 0.141 0.953
11 0.037 0.989 0.083 0.971
12 0.04 0.987 0.069 0.976
13 0.027 0.992 0.053 0.98
14 0.03 0.991 0.071 0.974
15 0.03 0.991 0.061 0.979
16 0.029 0.991 0.048 0.982
17 0.037 0.989 0.091 0.97
18 0.023 0.993 0.039 0.987
19 0.028 0.991 0.058 0.981
20 0.022 0.994 0.057 0.98
21 0.023 0.993 0.038 0.987
22 0.034 0.99 0.054 0.982
23 0.026 0.993 0.12 0.959
24 0.027 0.992 0.034 0.989
25 0.022 0.993 0.047 0.984
26 0.02 0.994 0.062 0.978
27 0.024 0.993 0.043 0.985
28 0.019 0.994 0.057 0.979
29 0.017 0.995 0.054 0.982
30 0.021 0.994 0.033 0.989
Model Plot
View Model Plot

Model Image

Runs of keras-io addition-lstm on huggingface.co

27
Total runs
-2
24-hour runs
-2
3-day runs
2
7-day runs
14
30-day runs

More Information About addition-lstm huggingface.co Model

addition-lstm huggingface.co

addition-lstm huggingface.co is an AI model on huggingface.co that provides addition-lstm's model effect (), which can be used instantly with this keras-io addition-lstm model. huggingface.co supports a free trial of the addition-lstm model, and also provides paid use of the addition-lstm. Support call addition-lstm model through api, including Node.js, Python, http.

addition-lstm huggingface.co Url

https://huggingface.co/keras-io/addition-lstm

keras-io addition-lstm online free

addition-lstm huggingface.co is an online trial and call api platform, which integrates addition-lstm's modeling effects, including api services, and provides a free online trial of addition-lstm, you can try addition-lstm online for free by clicking the link below.

keras-io addition-lstm online free url in huggingface.co:

https://huggingface.co/keras-io/addition-lstm

addition-lstm install

addition-lstm is an open source model from GitHub that offers a free installation service, and any user can find addition-lstm on GitHub to install. At the same time, huggingface.co provides the effect of addition-lstm install, users can directly use addition-lstm installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

addition-lstm install url in huggingface.co:

https://huggingface.co/keras-io/addition-lstm

Url of addition-lstm

addition-lstm huggingface.co Url

Provider of addition-lstm huggingface.co

keras-io
ORGANIZATIONS

Other API from keras-io

huggingface.co

Total runs: 37
Run Growth: 20
Growth Rate: 55.56%
Updated:July 05 2024
huggingface.co

Total runs: 36
Run Growth: 18
Growth Rate: 50.00%
Updated:January 13 2022
huggingface.co

Total runs: 31
Run Growth: -10
Growth Rate: -32.26%
Updated:February 18 2022
huggingface.co

Total runs: 23
Run Growth: -18
Growth Rate: -90.00%
Updated:August 15 2022
huggingface.co

Total runs: 21
Run Growth: 3
Growth Rate: 14.29%
Updated:May 23 2025
huggingface.co

Total runs: 21
Run Growth: 10
Growth Rate: 45.45%
Updated:February 04 2022
huggingface.co

Total runs: 21
Run Growth: 1
Growth Rate: 4.17%
Updated:July 05 2024
huggingface.co

Total runs: 18
Run Growth: 11
Growth Rate: 61.11%
Updated:March 01 2022
huggingface.co

Total runs: 18
Run Growth: 9
Growth Rate: 50.00%
Updated:July 05 2024
huggingface.co

Total runs: 14
Run Growth: 6
Growth Rate: 42.86%
Updated:July 05 2024
huggingface.co

Total runs: 12
Run Growth: 2
Growth Rate: 16.67%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -7
Growth Rate: -70.00%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -6
Growth Rate: -60.00%
Updated:February 23 2022
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:July 05 2024
huggingface.co

Total runs: 6
Run Growth: -14
Growth Rate: -233.33%
Updated:July 05 2024
huggingface.co

Total runs: 6
Run Growth: -9
Growth Rate: -150.00%
Updated:February 06 2022
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:July 05 2024
huggingface.co

Total runs: 3
Run Growth: -5
Growth Rate: -166.67%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: -4
Growth Rate: -200.00%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 16 2022
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:July 05 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 12 2023