Skip to content

jiangnanboy/chatbot

Repository files navigation

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:

About

pytorch前馈网络分类预测chatbot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published