5步作一個 TensorFlow 聊天機器人:DeepQA

項目截圖:

chatbot_miniature.png

實測截圖:

Screenshot from 2017-09-05 14-47-52.png

一步一步教程:

1.下載這個項目:
https://github.com/Conchylicu...
2.下載訓練好的模型:
https://drive.google.com/file...
(若是網址不能打開的話,今晚我會上傳到百度網盤,分享到:http://www.tensorflownews.com/
3.解壓以後放在 項目 save 目錄下
如圖所示python

Screenshot from 2017-09-05 14-52-13.png

4.複製 save/model-pretrainedv2/dataset-cornell-old-lenght10-filter0-vocabSize0.pkl 這個文件到 data/samples/git

如圖所示:github

Screenshot from 2017-09-05 14-55-00.png

5.在項目目錄執行一下命令:google

python3 main.py --modelTag pretrainedv2 --test interactive

程序讀取了預訓練的模型以後,如圖:spa

Screenshot from 2017-09-05 14-57-14.png

聊天機器人資源合集

項目,語聊,論文,教程
https://github.com/fendouai/A...code

更多教程:

http://www.tensorflownews.com/教程

相關文章
相關標籤/搜索