Improved SemHash & Gumbel Softmax Two discretization methods introduced in 'DISCRETE AUTOENCODERS FOR SEQUENCE MODELS' (https://arxiv.org/pdf/1801.09797.pdf). Implementation is based on Pytorch.