Chatbot-from-Movie-Dialogue icon indicating copy to clipboard operation
Chatbot-from-Movie-Dialogue copied to clipboard

how to use the trained model after it built?

Open mrmrn opened this issue 7 years ago • 0 comments

I set epoch=1, and after training model how can I test the code? here is the output:


W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
117585
20750
Epoch   1/1 Batch    0/918 - Loss:  0.090, Seconds: 341.72
Epoch   1/1 Batch  100/918 - Loss:  3.188, Seconds: 359.53
Epoch   1/1 Batch  200/918 - Loss:  2.284, Seconds: 426.48
Epoch   1/1 Batch  300/918 - Loss:  2.204, Seconds: 422.31
Epoch   1/1 Batch  400/918 - Loss:  2.125, Seconds: 422.03
Valid Loss:  2.075, Seconds: 188.65
New Record!
Epoch   1/1 Batch  500/918 - Loss:  2.099, Seconds: 534.29
Epoch   1/1 Batch  600/918 - Loss:  2.116, Seconds: 769.90
Epoch   1/1 Batch  700/918 - Loss:  2.097, Seconds: 556.36
Epoch   1/1 Batch  800/918 - Loss:  2.081, Seconds: 622.04
Epoch   1/1 Batch  900/918 - Loss:  2.040, Seconds: 735.49
Valid Loss:  2.050, Seconds: 173.22
New Record!
Question
  Word Ids:      [5610, 3781, 2805, 7279, 1926]
  Input Words: ['irene', 'is', 'going', 'to', 'help']

Answer
  Word Ids:      [4776, 951, 7075, 8094]
  Response Words: ['i', 'am', 'sorry', '<EOS>']
as@asd ~/c/Chatbot-from-Movie-Dialogue> 

how can I test conversation with the bot?

mrmrn avatar Dec 25 '17 15:12 mrmrn