Comments (1)
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.
from chatbot_for_movies.
Related Issues (8)
- hello HOT 4
- which file is main file for this project? i am confused? HOT 2
- --------------------------------------------------------------------------- StopIteration Traceback (most recent call last) <ipython-input-63-d5e9e2d65296> in <module> ----> 1 conversation = get_the_next_conversation(conversations) 2 conversation <ipython-input-45-cdb994193f4c> in get_the_next_conversation(conversations) 3 keys_view = conversations.keys() 4 keys_iterator = iter(keys_view) ----> 5 conversation = next(keys_iterator) 6 return conversation StopIteration: HOT 2
- this was an erroe
- this was error in this part last line HOT 1
- file 4.01 HOT 5
- conversation = return_conversation_by_page_rank(msg, conversations, page_compute=pc_q) print('Conversation: '+ conversation) print('Page compute: '+ str(pc_q[conversation])) print('Similarity: '+ str(conversations[conversation])) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatbot_for_movies.