A PyTorch implementation of Attentive Recurrent Comparators

PyTorch implementation of Attentive Recurrent Comparators by Shyam et al.

A blog explaining Attentive Recurrent Comparators

Visualizing Attention

On Same characters

On Different Characters

How to run?

Download data

A one-time 52MB download. Shouldn’t take more than a few minutes.

Train

Let it train until the accuracy rises to at least 80%. Early stopping is not implemented yet. You will have to manually kill the process.

 

To finish reading, please visit source site