Victorwz / fast-weights-pytorch

PyTorch Implementation of the paper [Using Fast Weights to Attend to the Recent Past]

Repository from Github https://github.comVictorwz/fast-weights-pytorchRepository from Github https://github.comVictorwz/fast-weights-pytorch

fast-weights-pytorch

PyTorch Implementation of the paper [Using Fast Weights to Attend to the Recent Past] Code for generating sequential data is forked from jiamings/fast-weights

Dependencies

Python >= 3.6 Pytorch TensorboardX Numpy Pickle

Usage

Generate a dataset

$ python generator.py

Train the model of fast-weights

$ python fast_weights.py

Training Result

References

Using Fast Weights to Attend to the Recent Past. Jimmy Ba, Geoffrey Hinton, Volodymyr Mnih, Joel Z. Leibo, Catalin Ionescu.

Layer Normalization. Jimmy Ba, Ryan Kiros, Geoffery Hinton.

About

PyTorch Implementation of the paper [Using Fast Weights to Attend to the Recent Past]

License:Apache License 2.0


Languages

Language:Python 100.0%