Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dataxujing/xiaox
flask+seq2seq【TensorFlow1.0, Pytorch】 :art: :art: 在线聊天机器人 https://mp.weixin.qq.com/s/VpiAmVSTin3ALA8MnzhCJA 或 https://ask.hellobi.com/blog/python_shequ/14486
https://github.com/dataxujing/xiaox
attention attention-mechanism flask nlp python pytorch seq2seq tensorflow
Last synced: 7 days ago
JSON representation
flask+seq2seq【TensorFlow1.0, Pytorch】 :art: :art: 在线聊天机器人 https://mp.weixin.qq.com/s/VpiAmVSTin3ALA8MnzhCJA 或 https://ask.hellobi.com/blog/python_shequ/14486
- Host: GitHub
- URL: https://github.com/dataxujing/xiaox
- Owner: DataXujing
- Created: 2018-08-02T17:03:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T22:16:18.000Z (about 2 years ago)
- Last Synced: 2023-03-05T13:24:51.384Z (almost 2 years ago)
- Topics: attention, attention-mechanism, flask, nlp, python, pytorch, seq2seq, tensorflow
- Language: Python
- Homepage:
- Size: 21.2 MB
- Stars: 62
- Watchers: 3
- Forks: 24
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask+seq2seq+redis实现在线的聊天机器人
徐静
+ flask + redis 实现flask-SSE
+ tensorflow训练seq2seq实现聊天机器人(语料比较少,CPU 10000词迭代周期大约训练了308分钟)
+ 服务器+nginx+uwsgi部署
+ virtualenv提供虚拟Python环境
+ pip install -r requirements.txt 安装必要的Python模块
+ python lx_bot_3.py train 训练seq2seq模型
+ Python lx_bot_3.py pred 与机器人对话最终实现了线上实时的聊天机器人对话系统。
> 增加了Pytorch版本的Seq2Seq的训练和推断:
在当前repo下的pytorch分支: