Tensorflow-Forward-Forward icon indicating copy to clipboard operation
Tensorflow-Forward-Forward copied to clipboard

Implementation of Hinton's forward-forward (FF) algorithm in tensorflow - an alternative to back-propagation

Tensorflow-Forward-Forward

Hinton's Forward-Forward algorithm pdf implementation in Tensorflow

Datasets

  • MNIST dataset

    • Notebook
    • Train Acc : 98.24%
    • Test acc : 96.83%
  • Fashion-MNIST dataset

    • Notebook
    • Train Acc : 90.15%
    • Test acc : 87.23%

Acknowledgement

The code is mainly inspired by pytorch implementation in this repo