Generative and Retrieval Chatbots in Tensorflow using TFX, TF Transform, Apache Beam
Retrieval --> Dual LSTM Encoder Siamese Model
Generative --> Seq2seq Model
Embedding Size : 300
Hidden Size : 256
Batch Size : 256
Epochs : 50
Optimizer : RMSProp
Learning rate : 0.001
Embeddings : Glove 300d
Reference:
- https://arxiv.org/pdf/1506.08909.pdf
- http://www.wildml.com/2016/07/deep-learning-for-chatbots-2-retrieval-based-model-tensorflow/
- https://github.com/tensorflow/transform/blob/599691c8b94bbd6ee7f67c11542e7fef1792a566/examples/sentiment_example.py#L80
- https://www.tensorflow.org/tfx/transform/get_started
- https://towardsdatascience.com/working-with-tfrecords-and-tf-train-example-36d111b3ff4d
- https://basmaboussaha.wordpress.com/2017/10/18/implementation-of-dual-encoder-using-keras/comment-page-1/?unapproved=229&moderation-hash=f6485213fcee44e23ad52e4c5c231424#comment-229
- Original Implementation in Theano https://github.com/npow/ubottu