Тёмный

Intelligent AI Chatbot in Python 

NeuralNine
Подписаться 352 тыс.
Просмотров 937 тыс.
50% 1

In today's video, we are going to build an intelligent AI chatbot using neural networks and natural language processing in Python.
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
💻 The Algorithm Bible Book: www.neuralnine.com/books/
🐍 The Python Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎵 Outro Music From: www.bensound.com/
Timestamps
(0:00) Intro
(0:18) General Structure
(2:16) Setting Up Intents
(6:48) Load Training Data
(13:35) Prepare Training Data
(19:40) Build Neural Network
(24:10) Train Neural Network
(24:35) Build Chatbot
(33:34) Demonstration
(35:08) Outro

Наука

Опубликовано:

 

11 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1 тыс.   
@JosephElliott-kx9yj
@JosephElliott-kx9yj Год назад
A bit old now, here is some updated code for anyone watching. import random import json import pickle import numpy as np import tensorflow as tf import nltk from nltk.stem import WordNetLemmatizer lemmatizer = WordNetLemmatizer() intents = json.loads(open('intents.json').read()) words = [] classes = [] documents = [] ignoreLetters = ['?', '!', '.', ','] for intent in intents['intents']: for pattern in intent['patterns']: wordList = nltk.word_tokenize(pattern) words.extend(wordList) documents.append((wordList, intent['tag'])) if intent['tag'] not in classes: classes.append(intent['tag']) words = [lemmatizer.lemmatize(word) for word in words if word not in ignoreLetters] words = sorted(set(words)) classes = sorted(set(classes)) pickle.dump(words, open('words.pkl', 'wb')) pickle.dump(classes, open('classes.pkl', 'wb')) training = [] outputEmpty = [0] * len(classes) for document in documents: bag = [] wordPatterns = document[0] wordPatterns = [lemmatizer.lemmatize(word.lower()) for word in wordPatterns] for word in words: bag.append(1) if word in wordPatterns else bag.append(0) outputRow = list(outputEmpty) outputRow[classes.index(document[1])] = 1 training.append(bag + outputRow) random.shuffle(training) training = np.array(training) trainX = training[:, :len(words)] trainY = training[:, len(words):] model = tf.keras.Sequential() model.add(tf.keras.layers.Dense(128, input_shape=(len(trainX[0]),), activation = 'relu')) model.add(tf.keras.layers.Dropout(0.5)) model.add(tf.keras.layers.Dense(64, activation = 'relu')) model.add(tf.keras.layers.Dropout(0.5)) model.add(tf.keras.layers.Dense(len(trainY[0]), activation='softmax')) sgd = tf.keras.optimizers.SGD(learning_rate=0.01, momentum=0.9, nesterov=True) model.compile(loss='categorical_crossentropy', optimizer=sgd, metrics=['accuracy']) model.fit(trainX, trainY, epochs=200, batch_size=5, verbose=1) model.save('chatbot_model.h5') print('Done')
@ericlacerda8949
@ericlacerda8949 Год назад
man you just saved my code by changing words.append to words.extend tyvm bro
@mr.hatem_
@mr.hatem_ Год назад
Thank you
@swagatrout3075
@swagatrout3075 Год назад
thaks bro trainX = training[:, :len(words)] trainY = training[:, len(words):]
@jihyeonku
@jihyeonku Год назад
oh my god thank you so much now it works
@shravanthj1447
@shravanthj1447 Год назад
sike bro
@joeljohn2679
@joeljohn2679 3 года назад
Man, you are THE ONLY ONE explaining this intent type of neural net-based chatbot. Thanks a lot
@smhaseeb
@smhaseeb 3 года назад
Instructions unclear, made Ultron. 😂
@jamieharper5665
@jamieharper5665 11 месяцев назад
😂 this had me laughing way more than I expected lol
@_EnderTv
@_EnderTv 7 месяцев назад
same😅
@marcoamir5107
@marcoamir5107 27 дней назад
😂😂😂😂
@foggers0476
@foggers0476 3 года назад
I love your videos! They're so useful :D I've just purchased your 7 in 1 book from amazon
@tomas5970
@tomas5970 3 года назад
Awesome content! when are we getting the biceps tutorial tho?
@NeuralNine
@NeuralNine 3 года назад
Some day maybe😂😂
@fortniteawesomeparadys6242
@fortniteawesomeparadys6242 3 года назад
@@NeuralNine i am am i am iam
@fortniteawesomeparadys6242
@fortniteawesomeparadys6242 3 года назад
the chat bot said that idk what im doing
@peytonmac1131
@peytonmac1131 3 года назад
@@fortniteawesomeparadys6242 It's becoming self aware. "I AM!"
@dominikagrajewska7791
@dominikagrajewska7791 3 года назад
Oh God. I need that tutorial ❤️
@lorenzoricciardi7051
@lorenzoricciardi7051 3 года назад
sooo interested to the neural network theory!!! Love this channel so much, i've learned so much, thank you!!
@kifercastillo7876
@kifercastillo7876 3 года назад
I would love to see a video about the theory, great video, thank you:)
@alex_mahone
@alex_mahone 3 года назад
Videos on neural network theory would be fantastic! Thanks again for another great video!
@tomcat9761
@tomcat9761 2 года назад
question, what kind of neural network architecture used here? Is it RNN?
@w花b
@w花b Год назад
​@@tomcat9761 i don't know
@krishsharvesh8082
@krishsharvesh8082 10 месяцев назад
@@tomcat9761 its ANN
@bobbychilleth7584
@bobbychilleth7584 3 года назад
This was amazing! Thank you so much I have learned a lot :D
@abdulalimbaig3286
@abdulalimbaig3286 Год назад
This is an amazing tutorial brother, thanks for all the knowledge you've shared! You earned a subscriber!
@BarryGoodall
@BarryGoodall 4 месяца назад
Thank you. Great commentary and clear explanations. Easy to follow how you built up the application. Perfect.
@cardosofede
@cardosofede 3 года назад
Hey bro, your programming style is sophistecated 🧑‍💻
@aishikbandyopadhyay8191
@aishikbandyopadhyay8191 3 года назад
Ah! Was waiting for this only!🔥
@NeuralNine
@NeuralNine 3 года назад
enjoy it! :)
@AkashSingh-di7vu
@AkashSingh-di7vu 3 года назад
Me too🤠
@TalesMilleto
@TalesMilleto 3 года назад
@@NeuralNine Hello, this error is returning: *lemmatize() missing 1 required positional argument: 'word'*
@scholar1234
@scholar1234 3 года назад
Never seen this type of content before, really amazing
@danielniels22
@danielniels22 3 года назад
yeah, his tutorials are very applicable. i wonder what would happen to my knowledge if i carry one of that out each day for 1 month staright
@tansimbee11
@tansimbee11 6 месяцев назад
Well done. As I am new to chatbot() and python. Your video helped to fill in all the gaps in Tim video. Thanks brother.
@ok-622
@ok-622 3 года назад
Thanks 👍 I was actually waiting for this.
@ChannelName991
@ChannelName991 3 года назад
Man, you are so underrated. I always search for simple examples of complex topics. After looking at your videos I am able to implement the basics in my projects easily
@vipulkumar9858
@vipulkumar9858 3 года назад
ru-vid.com/show-UC0Bn9e36XqiiNZp9ClkPUww
@mahnoorhome
@mahnoorhome Год назад
hey. where can i get source code? any idea?
@RhinoTimelaps
@RhinoTimelaps 8 месяцев назад
type it, lmao. @@mahnoorhome
@juliusmakowski7665
@juliusmakowski7665 3 года назад
I have to make one for school so this is perfect timing ;^)
@shelby255
@shelby255 3 года назад
Our school only do pascal bruh
@cartf15
@cartf15 3 года назад
brother please do not stop! you are awesome
@1215cubs
@1215cubs 3 года назад
A much-needed updated vision of the chatbot from Tech with Tim. Love this video. From a viewer standpoint and someone who is coding along with you to program this thing. Either don't put a video of yourself on the screen, put it in the upper right-hand corner, or make it smaller. It's hard to code along with you as the camera of yourself blocks some of your code in the video.
@godwiniheuwa9917
@godwiniheuwa9917 3 года назад
This video is more explanatory and far better than the tech tim video, and the tech tim guy was just rushing,
@tomcat9761
@tomcat9761 2 года назад
question, what kind of neural network architecture used here? Is it RNN?
@shreyjain6447
@shreyjain6447 2 года назад
@@tomcat9761 No. It's a simple ANN
@mahnoorhome
@mahnoorhome Год назад
hey. where can i get source code? any idea?
@Krbydav328
@Krbydav328 Год назад
try watching the video
@melvinfrancis7525
@melvinfrancis7525 3 года назад
Man do i love that intro 🔥
@____________6063
@____________6063 3 года назад
Awesome tutorial, it worked right away! You definitely got me as a subscriber.
@ibaadahmed5925
@ibaadahmed5925 Год назад
hey can u tell what extensions to download pls
@haokaixuan
@haokaixuan 3 года назад
Hey manx nice content, always excited when you post a new video
@miyurux
@miyurux 3 года назад
Bro You are one of the most Underrated YT channel I've ever seen..... Keep up the good work : - )
@odiushealer4759
@odiushealer4759 3 года назад
Can you make a series on neural network theory? This video was very helpful.Thanks
@CritiKylie
@CritiKylie 2 года назад
Great video, I learned so much, thank you!
@BrianFDeVore
@BrianFDeVore 3 года назад
This tutorial is fantastic! Thank you for sharing.
@vipulkumar9858
@vipulkumar9858 3 года назад
ru-vid.com/show-UC0Bn9e36XqiiNZp9ClkPUww
@Match0Man
@Match0Man 2 года назад
Hi NeuralNine, this is a great piece. I would like to ask you if this tutorial would work for another language. Would it be enough to just edit intents, to comply with the language I would like to use? And the second question, do you have some tutorial, on how to implement this bot to streamlabs chatbot for twitch?
@knildawild
@knildawild Год назад
I tried it with german words and all I had to do is define the language in the word_tokenize function: nltk.word_tokenize(pattern,language='german')
@mahnoorhome
@mahnoorhome Год назад
hey. where can i get source code? any idea?
@peschebichsu
@peschebichsu 3 года назад
20:42 very interested in the theory, I like how you explain and would be cool to hear it from you
@arthur6999
@arthur6999 3 года назад
man I was just building a hard-coded chatbot, this vid came in the right time for me. thanks bro
@arthur6999
@arthur6999 3 года назад
@Hotdog_man2 Minecraft lol yea
@dax_dc2608
@dax_dc2608 3 года назад
UNDERRATED , u deserve a million sub
@JacobHKent
@JacobHKent 3 года назад
when it comes to trading in the various financial markets the relevance of professional guidance should not be undervalued as it could be the key to any traders success in profit making
@piricontes2844
@piricontes2844 3 года назад
spot on! but the usual problem is discovering well grounded professionals who can be trusted. have you got any reconmendations?
@tamastimea1709
@tamastimea1709 3 года назад
i could not have said it any better.
@JacobHKent
@JacobHKent 3 года назад
@@piricontes2844 I will highly recommend Michael Branagh, he helped me secure a passive source of income, made life quiet easier for me as I no longer had to work round the clock. I'd check if he's taking new investors now, and also ask if I can share his contact information to the public.
@piricontes2844
@piricontes2844 3 года назад
@@JacobHKent i have stumbled upon a couple of articles by him, never occured to me to look him up. i would sincerely appreciated if you coild help with his contact info.
@bensonmccredden7102
@bensonmccredden7102 3 года назад
@@JacobHKent Mr Branagh is one of the most productive traders out there. i would not say hes the best at what he does but one thing is certain, hes a man of integrity and he certaainly gets results
@pw5687
@pw5687 3 года назад
it would be cool if you made a video where you combined a chatbot like this with/into a discord bot!
@owenknowles3796
@owenknowles3796 3 года назад
you'd just use discord.py to detect when a message is sent, use that message as the input for the AI, and output the AI's output as the discord message
@pw5687
@pw5687 3 года назад
@@owenknowles3796 didn't think about that thanks! Will try when computer switches on
@Fuel_The_Fire
@Fuel_The_Fire Год назад
@@pw5687 How'd it go?
@deepankarpathak9831
@deepankarpathak9831 3 года назад
Thank you for such a wonderful content !
@blue_is_cool16
@blue_is_cool16 3 года назад
*_Welcome_*
@ArunKumar-gb6hz
@ArunKumar-gb6hz 3 года назад
Thanks for the Video Florian! 👏👏
@SimonTiger
@SimonTiger 3 года назад
So...as far as the machine learning goes, it's just a text classification algorithm. I would love to see a version of this with actual text generation as well!
@NeuralNine
@NeuralNine 3 года назад
I mean it would be possible to combine it with the text generation tutorial I made some time ago ^^
@SimonTiger
@SimonTiger 3 года назад
@@NeuralNine Can't seem to find it!
@shanereedy8336
@shanereedy8336 3 года назад
@@SimonTiger I was hoping to find a comment like yours here. This may be the video he is referring to. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QM5XDc4NQJo.html
@mahnoorhome
@mahnoorhome Год назад
hey. where can i get source code? any idea?
@khrissxander
@khrissxander Год назад
@@NeuralNine YOU should really make that happen as a video!!!
@antoniorivolta
@antoniorivolta 3 года назад
I never opened a RU-vid notification so fast
@NeuralNine
@NeuralNine 3 года назад
hahahaha thank you :)
@story246_
@story246_ 3 года назад
Same
@chamikawijeratne8014
@chamikawijeratne8014 3 года назад
same
@vipulkumar9858
@vipulkumar9858 3 года назад
ru-vid.com/show-UC0Bn9e36XqiiNZp9ClkPUww
@alpanamhashilkar960
@alpanamhashilkar960 3 года назад
@@vipulkumar9858 why this comment??
@danielcastillejos2463
@danielcastillejos2463 3 года назад
As usual great video, excelent channel
@user-oz9ny8ug9r
@user-oz9ny8ug9r Год назад
Amazing tutorial, thanks for the lesson.
@HacKyNerDz
@HacKyNerDz 3 года назад
Your videos are always amazing, always i learn a lot from your videos 🤩🤩
@NeuralNine
@NeuralNine 3 года назад
appreciate it :D
@delvinanthony2798
@delvinanthony2798 3 года назад
@@NeuralNine Hey man for some reason whenever I say Hello or one of the greetings it says a goodbye response. Any idea why?
@kenzyscope2396
@kenzyscope2396 Год назад
@@NeuralNine can i get the source code please
@samsam3215
@samsam3215 3 года назад
this tutorial is very useful! can I have the project source code for self-learning?
@gunity440
@gunity440 2 года назад
This video is amazing ! thank you!
@rinshinjalal1952
@rinshinjalal1952 3 года назад
i have'nt watched your video before this video but now ican't stop watching your video
@LamsyTech
@LamsyTech 3 года назад
Awesome work bro! I like your videos Kudos to you I suggest you make a tutorial video on show to deploy an AI CHATBOT to back-end server to improve responsiveness and present more details.
@masthad
@masthad 3 года назад
The video got really good but we don’t really clarify what packages to download. I know you said what at the beginning at Imports but it still gives me error messages with Tensorflow. For example: ' To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. '
@ibaadahmed5925
@ibaadahmed5925 Год назад
did you get it right??
@mysterious4496
@mysterious4496 Год назад
Hey, did you find the solution? PLEASE help
@mysterious4496
@mysterious4496 Год назад
@@ibaadahmed5925 Hey, did you find the solution? PLEASE help
@user-xx2fp3cf9w
@user-xx2fp3cf9w 7 месяцев назад
This helped me learn a lot about neural networks thanks!
@Fingiorstyle
@Fingiorstyle Год назад
Incredible tutorial, thanks!
@ronit.dhingra_
@ronit.dhingra_ 3 года назад
NIce video! Can you make an in-depth tutorial on making a friend-like chatbot that uses neural networks and NLP, and adapts it to modern libraries like Keras and TensorFlow? I've been making a project, but I've been having some issues.
@shoebsiddiqui3238
@shoebsiddiqui3238 2 года назад
Hey ...have u made the project?
@lennieleng9679
@lennieleng9679 Год назад
Any progress?
@ratto751
@ratto751 3 года назад
Hi, great content! Although, is it possible for you to upload the code in your videos to a github repo? Thanks
@Yankzy
@Yankzy 3 года назад
That will be great!
@vishvajitviswanathan7970
@vishvajitviswanathan7970 3 года назад
Please put more videos like this bro, I needed some sorry more.... And if you are about to launch a video give a gif for that. That thrill will be enough for me to be happy. Don't get faded bro, we need you...
@karl4563
@karl4563 Месяц назад
thank you ! needed this in my school project
@BlueBirdgg
@BlueBirdgg Год назад
? - keras in "tensorflow.keras..." is not recognized by 'Pycharm', but it works anyway. Changes: - from tensorflow.keras.optimizers import SGD + from tensorflow.keras.optimizers.legacy import SGD - training = np.array(training) +training = np.array(training, dtype=object) -sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True) +sgd = SGD(learning_rate=0.01, decay=1e-6, momentum=0.9, nesterov=True)
@MACHINEBUILDER
@MACHINEBUILDER 3 года назад
Hey, any idea how you'd get this to run with tflite? Edit: Okay, I've gotten the model to run, but I realised nltk stemming is really slow. Is there a faster alternative? (actually I'll try figure out exactly what's taking ages) Edit #2: Nevermind, it all works, there's just a delay the first time the process is called for some reason (Which I'll try to trace and fix) Thanks for the great tutorial, can't wait to setup my own personal assistant!
@leonardorossoni1177
@leonardorossoni1177 3 года назад
When will you open a Discord Server?
@m.pavankalyan2650
@m.pavankalyan2650 Год назад
This video is really great and this AI projects series is extraordinary
@sobhandeepgope
@sobhandeepgope 3 года назад
Thank you very much sir, for this awesome tutorial....😍😍😍😍
@rayyanmairaj5330
@rayyanmairaj5330 3 года назад
Hey NeuralNine, really like the videos. Could you please like zoom in to the code... Or like increase the font. Its kinda difficult to see the code especially when not on full screen. Even when youre showing other stuff like how to install mingw for c++... The text looks really small But i really love your content and learn a lot. So if you could address that i'd be stoked
@ParadymShiftVegan
@ParadymShiftVegan Год назад
on mobile just reverse pinch the video to zoom
@seungjunlee00
@seungjunlee00 2 года назад
Thanks, this video helped me a lot!
@xx8031
@xx8031 2 года назад
Thank You All I needed this.
@SkynetT-model
@SkynetT-model 3 года назад
and this is how my creator came to life.
@Honzai
@Honzai 3 года назад
for intent in intents['intents']: for pattern in intent['patterns']: word_list = nltk.word_tokenize(pattern) words.append(word_list) documents.append((word_list, intent['tag'])) if intent['tag'] not in classes: classes.append(intent['tag']) This showing me error " For pattern in intent['patterns'] KeyError : 'patterns' Please help me out!
@smshabab1889
@smshabab1889 3 года назад
Wao that's made my day.... Thanks a lot for sharing such an insightful video
@amarat.
@amarat. 3 года назад
really a great tutorial, nice job
@MatOgnutyun
@MatOgnutyun 3 года назад
The code is not working. output_row[classes.index(document[1])] = 1 IndexError: list index out of range
@justinfranzsevilla2310
@justinfranzsevilla2310 3 года назад
Ah yes, now I can make a very own best friend who can understand me :DDDD
@dhatrin8535
@dhatrin8535 3 года назад
yeah, i am also making it for myself. 😀😉
@blue_is_cool16
@blue_is_cool16 3 года назад
same :D
@selwyntayong7286
@selwyntayong7286 3 года назад
@@blue_is_cool16 encouter any error ????
@blue_is_cool16
@blue_is_cool16 3 года назад
@@selwyntayong7286 yeah I needed to download the modules.
@blue_is_cool16
@blue_is_cool16 3 года назад
Which I did :D
@WhiteZuka
@WhiteZuka 2 года назад
Great Loved It :)
@response4322
@response4322 2 года назад
What is the difference between this and using something like the difflib SequenceMatcher library or the Levenshtein method, as in finding the similarity metric between the given input and a list of sentences and then picking the closest match as a response by looping through all the data one by one? Just tried it, and it works exactly the same but with a few lines of code, which brings me to the question why using AI for this is even necessary?
@confused398
@confused398 2 года назад
When I added training data to the intents.json file, I got this error, anybody who can help? ValueError: Input 0 of layer sequential is incompatible with the layer: expected axis -1 of input shape to have value 38 but received input with shape (None, 84) I figured out that the 84 is just the amount of patterns in the intents.json file, but I haven't figured out why the input shape has to have a value of 38.
@amantarar9077
@amantarar9077 3 года назад
there is correction on line 51 in chatbot.py ."responses" should be replaced with "response"
@noorulainnoor8831
@noorulainnoor8831 2 года назад
I code exactly same but couldn't able to to write any msg after "GO! Bot is running". can you help me? how to sort it out
@AL_383
@AL_383 3 года назад
a series about NN/ ai in general would be dope
@dani-xe6zb
@dani-xe6zb 27 дней назад
hell yeah, my first AI. Thanks, man
@27omkarmahindrakar54
@27omkarmahindrakar54 3 года назад
Can you please provide the files of the bot (because mine didn't worked)
@DoggoYT
@DoggoYT 3 года назад
Works great! Im having this error when adding more than 3 intents though. ValueError: Input 0 of layer sequential is incompatible with the layer: expected axis -1 of input shape to have value 27 but received input with shape [None, 30]. :/
@netofis
@netofis 3 года назад
Me too! did you find the solution??
@netofis
@netofis 2 года назад
I found the error. I forgot to change the model name in the chatbot.py , it was .model but the correct is .h5
@joelees
@joelees 2 года назад
@@netofis omg thank you so much I've been searching for the solution to this error for an hour 😭
@poojashah3131
@poojashah3131 Год назад
@@netofis Thank you so much, was struggling for 2 hours
@anilshah9336
@anilshah9336 3 года назад
Very excellent work and Good amount of stuff there in for a beginners to have. I am learning Paython now.
@raghawpanpaliya7477
@raghawpanpaliya7477 2 года назад
Well, I followed along and as I ran it....this guy decided to reply "Hello" with "Talk to you later" LMAOO 😭Even a bot isnt interested in talking with me 😒
@yaranassar1208
@yaranassar1208 Год назад
training = np.array(training) is returning an error, can you help? --------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[24], line 26 24 # shuffle our features and turn into np.array 25 random.shuffle(training) ---> 26 training = np.array(training) 28 # create train and test lists. X - patterns, Y - intents 29 train_x = list(training[:, 0]) ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (27, 2) + inhomogeneous part.
@clementpiasco51
@clementpiasco51 3 года назад
Awsome vidéo, usefull !!
@matthewsturtevant3555
@matthewsturtevant3555 3 года назад
Awesome!
@NeuralNine
@NeuralNine 3 года назад
thanks :)
@bloodang6793
@bloodang6793 Год назад
Hello... i have tried to copy your code now in 2023 and apparently there is an issue with training = np.array(training) since the [bag, output_row] columns don't have the same dimensions (maybe I have copied something wrong along the way...). I have came up with a solution that bypass the issue, although its quite a caveman style solution and I do not have the knowledge to understand its consequences, but it does not crash the code and allows me to train the chatbot. solution: when defining the dimensions of: output_empty = [0] * len(classes) instead do: output_empty = [0] * len(words) this way the dimensions of "bag" and "output_row" are the same. (It will fill the space with 0, so it shouldn't change the bot training accuracy... but what do I know :D )
@Kanishkaran.__
@Kanishkaran.__ Год назад
Hey what about importing tensorflow, I tried copying too but mines showing error like 'rebuild tensorflow with appropriate compiler flags'
@bloodang6793
@bloodang6793 Год назад
@@Kanishkaran.__ Not really sure, but as I figured lately its quite a lot about version compatibilities with TF and all these days. Try searching if your versions match.
@Kanishkaran.__
@Kanishkaran.__ Год назад
@@bloodang6793 What's the version used here?
@mysterious4496
@mysterious4496 Год назад
@@Kanishkaran.__ Hey, did you get a solution?
@Kanishkaran.__
@Kanishkaran.__ Год назад
@@mysterious4496 no
@80sVectorz
@80sVectorz 3 года назад
my bot keeps saying the intent is goodbye even if I say "how are you?" it says hey or goodbye or talk to you later
@amulyaparitosh660
@amulyaparitosh660 3 года назад
I have similar problem. my bot keeps saying "hi", ""hello", "what can i do for you", even if i ask "what is your name"
@amulyaparitosh660
@amulyaparitosh660 3 года назад
please help
@isaacmuscat5082
@isaacmuscat5082 3 года назад
If there’s nothing wrong with the preprocessing you probably have to find a way to properly tune the model with a test set and a training set to prevent under or overfitting.
@roopeshk.r3219
@roopeshk.r3219 3 года назад
Hey, I have a Problem after training , type error in last 2 functions, While true, get_response
@delvinanthony2798
@delvinanthony2798 3 года назад
If you guys keep getting goodbye messages for other things change the error_threshold to 0.5 and if that doesn't work change the epochs in training.py to 800
@luisgoncalves9967
@luisgoncalves9967 3 года назад
WOW very good, excelent explanation
@proflead
@proflead Месяц назад
Thanks for the tutorial!
@kinjalkg7704
@kinjalkg7704 3 года назад
Hello, i am unable to install tensorflow!!please help
@Adhithya2003
@Adhithya2003 3 года назад
Use this video its very good and well we ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zRY5lx-So-c.html
@maxmayer3551
@maxmayer3551 3 года назад
tensorflow does not support python versions after 3.6.4, so you'll have to change your version
@ratto751
@ratto751 3 года назад
@@maxmayer3551 That's pure BS. It's available till Python 3.8
@maxmayer3551
@maxmayer3551 3 года назад
​@@ratto751 I was using 3.8 and I had the same issue as this guy so I looked it up, read an article that told me tensorflow doesn't work beyond 3.6.4 so I switched versions and it completely fixed my issue. So if you really insist that my experience was purely circumstantial
@ratto751
@ratto751 3 года назад
@@maxmayer3551 Would you rather trust an article or the official TensorFlow GitHub and PyPi? I've been able to run TensorFlow on python 3.8. There must be some other problem with your PC since it works with 3.8 on mine.
@fentonmsu
@fentonmsu 3 года назад
Vielen Dank für dein Video, sehr interessant und nützliches Informationen
@esnichso3316
@esnichso3316 3 года назад
Kann er deutsch?
@chingyee2804
@chingyee2804 3 года назад
Yes I’m very interested in neural network theory! 🙋‍♂️🙋‍♂️🙋‍♂️🙋‍♂️🙋‍♂️
@mihailsoftware8219
@mihailsoftware8219 3 года назад
can i have the source code?
@Satori_7221
@Satori_7221 2 года назад
Give us the source code plsss
@Vincenzo_Cassano
@Vincenzo_Cassano 2 года назад
No
@Satori_7221
@Satori_7221 2 года назад
@@Vincenzo_Cassano Yes?
@Vincenzo_Cassano
@Vincenzo_Cassano 2 года назад
No
@Satori_7221
@Satori_7221 2 года назад
@@Vincenzo_Cassano Yes??
@Deivid2556
@Deivid2556 Год назад
awesome tutorial bro!
@anandhu5082
@anandhu5082 3 года назад
22:08 Hi, i'm new to DL.. When we use Softmax, if there are (say)two outputs in the network, it will output probabilities like [.4 ,.6] or [.1, .9] or [.5, .5] etc right? (sum always 1).. so even if we enter some gibberish as input, there will always be some output(s) above error threshold of (say) .25. How ill I tweak this so this won't happen? ( i mean if i enter "ahfliehf fsdlihfasdh" to bot, the outputs should be like something like [0.001, 0.00123])
@marting9168
@marting9168 3 года назад
Thank you so much!
@MKRart
@MKRart Год назад
Thanks for this tutorial video.
@morganhudson3185
@morganhudson3185 Год назад
bro your intro is fire
@nuclearinbox3834
@nuclearinbox3834 2 года назад
Great tutorial!
@nawid1687
@nawid1687 3 года назад
Awesome vid!!
@NeuralNine
@NeuralNine 3 года назад
thanks :)
@silviapabon1282
@silviapabon1282 Год назад
😮 amazing, Thanks.
@manis2831
@manis2831 4 месяца назад
You helped me lot bro😮
@nefwaenre
@nefwaenre 2 года назад
Okay, this is the best tutorial on chat bots!! i can follow along! Quick question: Is it possible to show the "questions" as options to the user so that instead of typing, they choose from the options of questions instead? i tried following Tech with Tim's but it was kinda hard.
@user-iq2hq7fx4q
@user-iq2hq7fx4q 17 дней назад
It's awsome bro❤❤
@jackadams8249
@jackadams8249 Год назад
thank u very much keep it up💯
@stanst2755
@stanst2755 2 года назад
Nice tutorial on basic Keras NN setup. The truth is there is no need for a NN here. What it does is a simple input text selector and a random generator to output the response text. You could do the same using regexp/similar text/soundex word matching.
@nostravis2770
@nostravis2770 Год назад
I was hoping i wouldn't be the only one realizing this. Using a NN for this is such overkill.
@tango3254
@tango3254 2 года назад
Very nice work
Далее
Run your own AI (but private)
22:13
Просмотров 1,2 млн
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Просмотров 27 млн
Нашли Краша Младшей Сестры !
23:46
Can AI code Flappy Bird? Watch ChatGPT try
7:26
Просмотров 9 млн
Build Anything with AI Agents, Here's How
29:49
Просмотров 224 тыс.
I Hacked a Discord Bot, the Owner said this...
9:09
Просмотров 1,1 млн
I Built a Neural Network from Scratch
9:15
Просмотров 168 тыс.
Why Neural Networks can learn (almost) anything
10:30
Modern Python logging
21:32
Просмотров 160 тыс.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
899$ vs 360$ which one will you choose ? #iphone #poco
0:18
Как работает экосистема Apple?
18:08