All Projects → jiamings → Fast Weights

jiamings / Fast Weights

Implementation of the paper [Using Fast Weights to Attend to the Recent Past](https://arxiv.org/abs/1610.06258)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Fast Weights

Multimodal Short Video Dataset And Baseline Classification Model
500,000 multimodal short video data and baseline models. 50万条多模态短视频数据集和基线模型(TensorFlow2.0)。
Stars: ✭ 60 (-64.91%)
Mutual labels:  tensorflow-models
Agender
Real-time estimation of gender and age
Stars: ✭ 95 (-44.44%)
Mutual labels:  tensorflow-models
Tensorflow shiny
A R/Shiny app for interactive RNN tensorflow models
Stars: ✭ 118 (-30.99%)
Mutual labels:  tensorflow-models
Ai Platform
An open-source platform for automating tasks using machine learning models
Stars: ✭ 61 (-64.33%)
Mutual labels:  tensorflow-models
Tf Object Detection
Simpler app for tensorflow object detection API
Stars: ✭ 91 (-46.78%)
Mutual labels:  tensorflow-models
Onnx2keras
Convert ONNX model graph to Keras model format.
Stars: ✭ 103 (-39.77%)
Mutual labels:  tensorflow-models
Math object detection
An image recognition/object detection model that detects handwritten digits and simple math operators. The output of the predicted objects (numbers & math operators) is then evaluated and solved.
Stars: ✭ 52 (-69.59%)
Mutual labels:  tensorflow-models
Tensorflow Anpr
Automatic Number (License) Plate Recognition using Tensorflow Object Detection API
Stars: ✭ 142 (-16.96%)
Mutual labels:  tensorflow-models
Kemono puyo
🐱 Take kemono pictures and lines up 3, then tanoshii
Stars: ✭ 94 (-45.03%)
Mutual labels:  tensorflow-models
Tensorflow Object Detection Tutorial
The purpose of this tutorial is to learn how to install and prepare TensorFlow framework to train your own convolutional neural network object detection classifier for multiple objects, starting from scratch
Stars: ✭ 113 (-33.92%)
Mutual labels:  tensorflow-models
The Third Eye
An AI based application to identify currency and gives audio feedback.
Stars: ✭ 63 (-63.16%)
Mutual labels:  tensorflow-models
Free Tensorflow
Tensorflow 免费中文视频教程,开源代码,免费书籍.
Stars: ✭ 83 (-51.46%)
Mutual labels:  tensorflow-models
Opentpod
Open Toolkit for Painless Object Detection
Stars: ✭ 106 (-38.01%)
Mutual labels:  tensorflow-models
Audio Pretrained Model
A collection of Audio and Speech pre-trained models.
Stars: ✭ 61 (-64.33%)
Mutual labels:  tensorflow-models
Cramer Gan
Tensorflow Implementation on "The Cramer Distance as a Solution to Biased Wasserstein Gradients" (https://arxiv.org/pdf/1705.10743.pdf)
Stars: ✭ 123 (-28.07%)
Mutual labels:  tensorflow-models
Tensorflow Kubernetes Art Classification
Train a TensorFlow model on Kubernetes to recognize art culture based on the collection from the Metropolitan Museum of Art
Stars: ✭ 55 (-67.84%)
Mutual labels:  tensorflow-models
Androidtensorflowmachinelearningexample
Android TensorFlow MachineLearning Example (Building TensorFlow for Android)
Stars: ✭ 1,369 (+700.58%)
Mutual labels:  tensorflow-models
Deep News Summarization
News summarization using sequence to sequence model with attention in TensorFlow.
Stars: ✭ 167 (-2.34%)
Mutual labels:  tensorflow-models
Ios tensorflow objectdetection example
An iOS application of Tensorflow Object Detection with different models: SSD with Mobilenet, SSD with InceptionV2, Faster-RCNN-resnet101
Stars: ✭ 126 (-26.32%)
Mutual labels:  tensorflow-models
Open nsfw android
🔥🔥🔥色情图片离线识别,基于TensorFlow实现。识别只需20ms,可断网测试,成功率99%,调用只要一行代码,从雅虎的开源项目open_nsfw移植,该模型文件可用于iOS、java、C++等平台
Stars: ✭ 1,586 (+827.49%)
Mutual labels:  tensorflow-models

Using Fast Weights to Attend to the Recent Past

Reproducing the associative model experiment on the paper

Using Fast Weights to Attend to the Recent Past by Jimmy Ba et al. (Incomplete)

Prerequisites

Tensorflow (version >= 0.8)

How to Run the Experiments

Generate a dataset

$ python generator.py

This script generates a file called associative-retrieval.pkl, which can be used for training.

Run the model

$ python fw.py

Findings

The following is the accuracy and loss graph for R=20. The experiments are barely tuned.

Layer Normalization is extremely crucial for the success of training.

  • Otherwise, training will not converge when the inner step is larger than 1.
  • Even when inner step of 1, the performance without layer normalization is much worse. For R=20, only 0.4 accuracy can be achieved (which is same as the level of other models.)
  • Even with Layer Normalization, using slow weights (ie. vanilla RNN) is much worse than using fast weights.

Further improvements:

  • Complete fine-tuning
  • Work on other tasks

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].