Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gibrano/chatbot
Chatbot implementation with LSTM on tensorflow2.0 and multi-gpu capability.
https://github.com/gibrano/chatbot
Last synced: 2 months ago
JSON representation
Chatbot implementation with LSTM on tensorflow2.0 and multi-gpu capability.
- Host: GitHub
- URL: https://github.com/gibrano/chatbot
- Owner: gibrano
- License: mit
- Created: 2019-10-24T19:46:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-14T00:24:20.000Z (about 5 years ago)
- Last Synced: 2024-08-02T19:01:54.155Z (6 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Tensorflow2 - gibrano/chatbot
README
# chatbot
Chatbot implementation with LSTM on tensorflow2.0 and multi-gpu capability. This implementation is based on the keras tutorial https://blog.keras.io/a-ten-minute-introduction-to-sequence-to-sequence-learning-in-keras.html.# Train model
```
from modules.train import ChatBotModelmodel = ChatBotModel()
if __name__ == '__main__':
model.train()
```# Test model
```
from modules.chatbot import ChatBotchatbot = ChatBot()
if __name__ == '__main__':
chatbot.run("Hello, how are you?")
```