Skip to content

shubhamnagalwade/Question-Answer-Chat-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep learning question-Answer Chatbot

This Chat bot is based on Sequential model and SGD optimizer. As well as this model deploy on GUI created by using python language. Pass the question from user get the output from bot it more accurate. As well as store the new question if its new for Bot. Model train on 200 epochs.

Install Required Packages(must latest veriosn)

import nltk
nltk.download()
import json
import pickle
import sys
import tensorflow as tf
import keras
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense, Activation, Dropout
from nltk.stem import WordNetLemmatizer
lemmatizer = WordNetLemmatizer()
from tensorflow.contrib.keras.python.keras.optimizers import SGD \

Update the Tensorflow 2.0

!pip upgrade tensorflow or !pip install tensorflow2.0

Run file follwing way

train_chatbot.py
if not any error then ok.
chatapp.py
before that put the .h5 file generated from train_chatbot file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages