Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatbot_for_movies/notebooks/.ipynb_checkpoints/TF_Chatbot_prototipo_v3-checkpoint.ipynb #6

Closed
kpkrima opened this issue Aug 11, 2021 · 1 comment

Comments

@kpkrima
Copy link

kpkrima commented Aug 11, 2021

this was the file location
chatbot_for_movies/notebooks/.ipynb_checkpoints/TF_Chatbot_prototipo_v3-checkpoint.ipynb

chatbot in line

conversation = get_the_next_conversation(conversations)
conversation

error

@douglasdcm
Copy link
Owner

I got it. You need to use the notebooks in 001, 002,

Here you have the instructions to retrain the chatbot

Attention
This chat bot was developed using WSL Ubuntu, so it is not guaranteed to work on different environment.
To retrain the chat bot it is necessary to use the notebooks following the order of the files 001, 002... and maybe the notebooks will need to be adapted dependin on your dataset.
The notebooks generate the 3 datasets used by the chat bot: movie_lines_pre_processed_for_test.tvs, page_rank_questions.txt and page_rank_answers.txt. If retraining, get the generated files in notebooks/chatdata and put in src/chatdata.
The model.h5 and the tokenizer.pickle are also generated by the notebooks and it is needed to copy both in src/chatdata.
This chat bot was developed using 30000 messages due to performance issues, so pay attention to your dataset if you are retrainign the chat bot.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants