Hi, I was wondering if someone could share their code where they followed the directions and they actually have a chatbot that says…anything? All mine does is say the greeting, then whatever I say to him he either responds with “Your grandfather’s”, or “What grandfathers”. I don’t know where the “grandfather” thing is coming from, and I don’t get how it’s a chatbot because I followed the directions. Would appreciate some enlightenment. Thank you.
Hello! Could you post your code, please (along with a link to the exercise)? To see how to format code correctly, see this post.
Lol thats quite funny, im having a similar issue with the Twitter Generative Chat bot training on Cat.txt.
Its not at all a conversation, halarious as it is, mine just replies with stuff like:
Hi, I'm a chatbot trained on dialog from cat.txt. Would you like to chat with me?
wheres your cat?
i don’t like cat cat cat
why dont you like cat?
peaches 20 year old
why is she so fat?
i don’t like the cat cat cat
why dont you like cat?
peaches 20 year old
where is peaches?
peaches ( our 20 old geriatric
presidents cat
peaches 20 20 year old geriatric
whos cat
peaches 20 20 year old geriatric
pipita
peaches ( our 20 year old )
no
i don’t like the way cat cat
nope
peaches ( our 20 year old )
quit
Ok, have a great day!
I was trying to trigger replies based on the twitter pairs, but didnt really work. The code for the chat class is taken from the generative chatbot code cademy, and the files provided by the project
cat.txt
twitter_prep.py
preprocessing.py
training_model.py
test_model.py
chat.py is
Im running 250 epochs at the moment.
Any help on how to improve it would be better.
I havent started the project and it said that:
ModuleNotFoundError: No module named 'preprocessing'
anyone know how fix this the files name are not misspelled
Link to project/lesson?
What library are you importing? scikit-learn
? Is scikit
installed?
Also, going forward, please don’t revive old topics from 2 years ago. It’s better if you start a new, specific thread.
I have f i n i s h e d the course