Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 741 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 741 Bytes

This repository provides a simple code for learning to build chatbot using pytorch.

pytorch利用神经网络分类实现英文的简单对话chatbot。


1.process data,train and predict:

  • 英文数据 intents.json
  • 训练 train_app.ipynb
  • 预测 chatapp.ipynb

2.model structure:

image

3.loss:

image

4.result:

image

5.requirements:

  • [pytorch1.5]
  • [python3.6]
  • [nltk3.3]
  • [numpy1.18.5]

6.references: