Closed lucasjinreal closed 6 years ago
I'm also looking for the same...Please guide us.
I am looking for the same. Did anyone have a solution on how to evaluate the test batch and later a per sentence prediction? Thank you.
@PratsBhatt Are u trying to build a ChatBot or something?
Yes, I am actually trying to make use of the example. After training I want to utilise the model.
@PratsBhatt I am also interested in chatbot, I am using seq2seq model implement a QA system but the result isn't good. And I think simple QA is not the future of chatbot, multi dialog acquires more complex model.
@jinfagang , thanks. You are right multi dialog acquires better result as they are good in remembering the context of the conversation. I think the terminology is Deep Reinforcement Learning (https://arxiv.org/abs/1606.01541). If you have used this code, can you guide me on how to use the predict function, I am failing to do it effectively. Thanks for your help.
Haven't follow this repo for a while, but you can check original translate example of tensorflow models repo, just change the dataset.
@suriyadeepan, could you please help!!!
+1
Are you still looking for the instructions? I have a working code, if you want it.
Hi there, this repo is very helpful for NLP beginners, I currently success trained the model, however I don't know how to predict a given sentence by user. I defined a
chat
function:But I find that to define
model
I have to send train data x and y into it, I can't set is None, so basically I can not call predict function, is there any snippet that indicates how to predict on certain sentences? I am new to NLP and seq2seq model, and don't know how to edit your original model, any help would be appreciated!