I've added 2 files: theano_rhn.py (where the model is defined), and theano_rhn_ptb.py (main program, which follows the code in rhn_train.py, e.g. it also uses Sacred). This implementation reaches to same SOTA results.
One thing to consider is how the existing data/reader.py was updated:
It's dependence on Tensorflow was removed (so it could be used also by the Theano code). The single consequence here is that instead of doing tf.gfile.GFile(filename, "r"), we're doing open(filename, "r").
Hi,
I've added 2 files: theano_rhn.py (where the model is defined), and theano_rhn_ptb.py (main program, which follows the code in rhn_train.py, e.g. it also uses Sacred). This implementation reaches to same SOTA results.
One thing to consider is how the existing data/reader.py was updated:
tf.gfile.GFile(filename, "r")
, we're doingopen(filename, "r")
.Hopefully, this is okay, let me know otherwise.
Thanks for the great paper and code!