Chat Bot With PyTorch - NLP And Deep Learning - Python Tutorial (Part 2)

preview_player
Показать описание
In this Python Tutorial we build a simple chatbot using PyTorch and Deep Learning. I will also provide an introduction to some basic Natural Language Processing (NLP) techniques.

1) Theory + NLP concepts (Stemming, Tokenization, bag of words)
2) Create training data
3) PyTorch model and training
4) Save/load model and implement the chat

Resource:
This tutorial was inspired and adapted from the following article:

📚 Get my FREE NumPy Handbook:

📓 Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel!

NLTK:

You can find the code on GitHub:

PyTorch Beginner Course:

Please checkout my website to see all tutorials:

You can find me here:

Icons:

#PyTorch #NLP #DeepLearning

----------------------------------------------------------------------------------------------------------
* This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Рекомендации по теме
Комментарии
Автор

This is such a good tutorial, really great explanation of the different concepts and steps. Thank you!

samuels
Автор

Dude you are seriously amazing! I understood everything! Love the visualisation you provided! Keep it up! Subbed

remixowlz
Автор

Looking forward to delve into your beginners course, dear sir! Thank you very much.

justjohn
Автор

the way you speak is amazing .
thank you

firstsecond
Автор

This series is so premium the way you explain is very neat

Mohammed-rxok
Автор

great explaination thank for help !!

martinegracehategekimana
Автор

Error string indices must be integers at for intent in intents [intents]:
tag=intent ['tag']
What should I do.

sourabhtiwari
Автор

hi thanks for the great post, if I train modal locally and host data.pth from local to server(on heroku) will this work? my intents is huge i don't want run long task on server

chat-
Автор

This is a long shot but how hard would it be to add a feature where the chat bot user can turn the bots reply's into text to speech, as technically it pulls the answers from the intents file so not sure if it could when it gives its answer then also read that answer out loud.

rookeGG
Автор

I lemmatized instead of stemming. How would that effect accuracy or performance?

mayankmalkoti
Автор

RuntimeError: expected scalar type Long but found Int . please solve this error

bedifferentlearners
Автор

This tutorial is amazing for someone just starting out. Could you please make an intermediate course on using a ChatBot to Automate Website Tasks :) !!!

arunkara
Автор

Minor correction- At 21:25 it should be self.x_data[index] rather than self.x_data[idx] same for self.y_data

waqasqureshi
Автор

Thank you very much for your valueable content!
Liebe Grüße aus Wien

alteshaus
Автор

for pattern in intents square braket 'patterns'
i get a keyword error please help asap

doughlausprashaal
Автор

This is great!Thanks for this.Subscribed.

dantedt
Автор

Anyone can help me with this exception if I enter another question different in sysntax to chatbot he didn't recognize it ? If it has the same meaning, it give me response if I enter the same pattern ?

sohairmahmoud
Автор

Hey wanted to ask what is the use of NLP and pytorch if it answers only particular questions. Can anyone clear my doubt?

vyas
Автор

Can you please let me know why i get error say “ChatDataset object bas no attribute x_data”?

ZeeNoorTrip
Автор

Very nice explanation keep it up sir 🙌🙌🔥

ujefmalek
visit shbcf.ru