基于神经网络的Chatbot
基于神经网络的Chatbot
Python 机器学习
共73Star
详细介绍
Neural-Chatbot
A Neural Network based Chatbot
Inspired by "A Neural Conversational Model".
Documentation
Getting Started
- Create virtualenv
virtualenv venv
- Install Dependencies
pip install -r requirements.txt
- Setup nltk and directories
python lib/setup.py
Data Preprocessing
- Verify configurations in
configuration.cfg
- Fetch data
python src/data/opus11/pull.py
- Clean data
python src/data/opus11/make_pairs.py
- Prepare for training
python src/data/opus11/filter.py
Training
Train model python src/model/train.py
Sampling & interface
Still working on this.