How to Make an Amazing Tensorflow Chatbot Easily

We'll go over how chatbots have evolved over the years and how Deep Learning has made them way better. Then we'll build our own chatbot using the Tensorflow machine learning library in Python.

The code & coding challenge for this video are here:

Georgi's winning code for this week:

Mick's Runner up code for this week:

Join other Wizards on our Slack room:

Live sequence to sequence chatbot demo:

Some more useful resources on chatbots:

More resources on Tensorflow:

Please Subscribe! And like. And comment. That's what keeps me going.

And please support me on Patreon!:

Follow me:
Twitter:
Facebook: Instagram: Instagram:
Signup for my newsletter for exciting updates in the field of AI:

Hit the Join button above to sign up to become a member of my channel for access to exclusive content!

30 Comments

  1. I’m a grad student majoring in machine learning and I love your videos !!! I CANNOT believe how much content you squeeze into such little time. I’m definitely going to watch more.

  2. Great work. I love the humor it def lightens up the feeling compared to other machine learning vids. Now back to training our future robot overlords.

  3. Hi Siraj, Thanks for your great videos!
    Training and testing worked well, but when I try to run the UI, I get the following error when running app.py:
    File “app.py”, line 33, in
    sess, model, enc_vocab, rev_dec_vocab = execute.init_session(sess, conf=’seq2seq_serve.ini’)
    AttributeError: ‘module’ object has no attribute ‘init_session’
    Can you help?
    Thanks a lot, Christoph

  4. Your videos are great! Really good job! The best part is that you are really agile and clear at teaching. You don’t lose time, you say what must be said, and that’s it. Loved the efficiency! Congratulations!

  5. Siraj, I really love your videos! I’m working on my master thesis atm concerning “Wind Speed Prediction using Recurrent Neural Networks” and many of your lessons helped me a lot! Please keep on doing this stuff. Your videos are fun to watch, informative and you really see that you love what you do! Thanks!

  6. Siraj, AWESOME VIDEOS!! Thanks for the great quality!

    I had a question on the seq2seq. I think it was deprecated on TF1.0. Is there an alternate way to work this example?

  7. Amazing videos. I find your channel really intriguing for Machine Learning. However, it would be better if you explain the code a bit more and talk about the main concepts at a slower rate. It’s sometimes difficult to comprehend.
    Albeit I must just be a slow learner.

  8. I am learning about neural networks and deeplearning for the first time as of a few days ago, the question I come bearing, (after a little research), is whether or not python 3.6 is viable for tensorflow? I have heard some discussions in which it has been stated that 3.6 is not as of yet supported and that a lot of people are still using 2.7, if you (or anyone else) could let me know it would be highly appreciated.

  9. Hi Siraj, when I add “import data_utils” and “import seq2seq_model” my python IDLE a no module error. I have everything installed correctly. How should I go about following your tutorial? And do you know why these modules are not being found? Thanks

  10. Hey Siraj, Thanks for the awesome explanation. Can you explain how we can create encoding and decoding inputs from the dataset. I am little confused. Thanks 🙂

  11. Hi Siraj, I really appreciate your excellent tutorial work on DL ! I have one question when using seq2seq model with attention mechanism in tensorflow: after training, the chatbot gives response with many repeated words, could you please tell me why this happens ? Not enough training ? or other reasons, thanks a lot !!!

  12. THis was a great way to start. Struggled my way through loading python, and pycharm. Using ”with tf.Session()” as I could not figure out where config file was. Getting a NameError: name ‘create_model’ is not defined error, and calling it a day.

  13. Love your videos!
    I’m a long time python user and I’d love to help you with your python if possible.
    Just reviewing some of the example code, and see some minor things that could be improved. (For example `for count, item in enuemrate(iteriable_object)` can be used to replace manual counter manipulation, and `from collection import Counter` counter objects can be used in place of a standard dict to replace a key check if/else..)

    Anyway, if there is a good way to help out let me know!

  14. So over time, according to this a chatbot could be completely retrained if the new data constantly goes against the original training data correct? How would you go about creating bias’s like. Naming your chatbot “alfred”. How would you make sure that the chatbot knows that if someone says 50 times “your name is john” that it doesn’t begin to believe it’s name is john?

  15. Thanks for the video, one question though: can we build a Tenserflow chatbot for a really broad topic, will that be efficient? are there other approaches to achieve a chatbot that can answer a wide variety of questions in a human-like manner?
    Thank you again

    1. Download a dumped data of Reddit or Quora i have seen one with 1 month of data and have 1 mil questions and answers… Your model will be awesome

  16. Watched your Lua example, was hoping for Python…and here it is. Awesome! What sort of compute resource would I need to build the model and how long would it take?
    I will try to integrate with the AI that I am building and documenting here: https://www.youtube.com/watch?v=vhBliXm4O28
    BTW – Your videos are the perfect speed and tone.

Leave a Reply

Your email address will not be published. Required fields are marked *

© 2024 EVERYTHING CHATGPT - WordPress Theme by WPEnjoy