Тёмный

Transformer Neural Networks - EXPLAINED! (Attention is all you need) 

CodeEmporium
Подписаться 122 тыс.
Просмотров 784 тыс.
50% 1

Please subscribe to keep me alive: ru-vid.com...
BLOG: / dataemporium
PLAYLISTS FROM MY CHANNEL
⭕ Reinforcement Learning: • Reinforcement Learning...
Natural Language Processing: • Natural Language Proce...
⭕ Transformers from Scratch: • Natural Language Proce...
⭕ ChatGPT Playlist: • ChatGPT
⭕ Convolutional Neural Networks: • Convolution Neural Net...
⭕ The Math You Should Know : • The Math You Should Know
⭕ Probability Theory for Machine Learning: • Probability Theory for...
⭕ Coding Machine Learning: • Code Machine Learning
MATH COURSES (7 day free trial)
📕 Mathematics for Machine Learning: imp.i384100.net/MathML
📕 Calculus: imp.i384100.net/Calculus
📕 Statistics for Data Science: imp.i384100.net/AdvancedStati...
📕 Bayesian Statistics: imp.i384100.net/BayesianStati...
📕 Linear Algebra: imp.i384100.net/LinearAlgebra
📕 Probability: imp.i384100.net/Probability
OTHER RELATED COURSES (7 day free trial)
📕 ⭐ Deep Learning Specialization: imp.i384100.net/Deep-Learning
📕 Python for Everybody: imp.i384100.net/python
📕 MLOps Course: imp.i384100.net/MLOps
📕 Natural Language Processing (NLP): imp.i384100.net/NLP
📕 Machine Learning in Production: imp.i384100.net/MLProduction
📕 Data Science Specialization: imp.i384100.net/DataScience
📕 Tensorflow: imp.i384100.net/Tensorflow
REFERENCES
[1] The main Paper: arxiv.org/abs/1706.03762
[2] Tensor2Tensor has some code with a tutorial: www.tensorflow.org/tutorials/...
[3] Transformer very intuitively explained - Amazing: jalammar.github.io/illustrated...
[4] Medium Blog on intuitive explanation: / what-is-a-transformer
[5] Pretrained word embeddings: nlp.stanford.edu/projects/glove/
[6] Intuitive explanation of Layer normalization: mlexplained.com/2018/11/30/an...
[7] Paper that gives even better results than transformers (Pervasive Attention): arxiv.org/abs/1808.03867
[8] BERT uses transformers to pretrain neural nets for common NLP tasks. : ai.googleblog.com/2018/11/ope...
[9] Stanford Lecture on RNN: cs231n.stanford.edu/slides/201...
[10] Colah’s Blog: colah.github.io/posts/2015-08...
[11] Wiki for timeseries of events: en.wikipedia.org/wiki/Transfo...)

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

 

12 янв 2020

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 689   
@CodeEmporium
@CodeEmporium Год назад
For more details and code on building a translator using a transformer neural network, check out my playlist "Transformers from scratch": ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QCJQG4DuHT0.html
@ShotReverseShot
@ShotReverseShot 3 года назад
2:03 I died at the Vsauce reference. Well played.
@kekmeister42
@kekmeister42 2 года назад
Me too, I had to scroll back around 30s because he just continued explaining and I completely lost focus :D
@ahmedshahriarsakib5728
@ahmedshahriarsakib5728 2 года назад
:v
@ThisNameWasntTaken
@ThisNameWasntTaken 4 года назад
what a hugely underrated video. You did such a better job at explaining this on multiple abstraction layers in such a short video than most videos I could find on the topic which were more than twice as long.
@CodeEmporium
@CodeEmporium 4 года назад
Thanks a ton Jeffrey! Means a lot. I've come to realize (fairly recently) that only speaking in jargon isn't going to help. Pealing it down from highly abstract to more technical goes a long way for viewers and myself. I understand more when I break the jargon down. Using this more in future videos
@ThisNameWasntTaken
@ThisNameWasntTaken 4 года назад
@@CodeEmporium Of course everyone has a different approach to understanding a topic. I recently had to get into a few topics quite quickly and fore me the best way of getting there fast was to start out with very general videos to get a sort of feel for the general ideas and how everything works together on a high level. Then I would watch some more detailed videos or switch to reading more detailed articles until finally reading the actual papers and looking at the formulas and all that stuff. Having an understanding of the bigger picture helped me comprehend the details better. I Also think no explanation can ever be "too simple" cause sometimes when explanations try to save time by glossing over parts or taking things for granted you spend way more time rewinding trying to wrap your head about some small detail just because you might be missing some needed knowledge. I think in an explanation it's like with spices on food. better keep it simple and easy. Individuals can always skip parts for themselves. same with the spices: Better not add too much thinking everyone will be able to take it, rather add a little and if it's not enough for someone they can add it themselves.
@bhargavyagnik
@bhargavyagnik 4 года назад
So true man !! i scraped the net to find a simple explanation !! you are a genius :)
@joosthorskamp1736
@joosthorskamp1736 4 года назад
True, I did not understand the use of attention until watching this video
@sindhuorigins
@sindhuorigins 3 года назад
@@CodeEmporium Great approach that you've taken. A high level understanding followed by deeper understanding of the topic pretty much clears up the concept. Subscribed.
@Elanus19
@Elanus19 3 года назад
Incredibly well explained and concise. I can't believe you pulled off such a complete explanation in just 13 minutes!
@CodeEmporium
@CodeEmporium 3 года назад
Thank you for the kind words. Super glad you liked it :)
@PhilbertLin
@PhilbertLin 4 года назад
Great video! Watched it a few times already so these timestamps will help me out: 0:00 Problems with RNNs and LSTMs 3:34 First pass overview over transformer architecture 8:10 Second pass with more detail 10:34 Third pass focusing on attention networks and normalization 11:57 Other resources (code & blog posts)
@CodeEmporium
@CodeEmporium 4 года назад
Thanks for this! It'll help others watching too.
@akkipant
@akkipant 3 года назад
@@CodeEmporium Pin this comment.
@mattcoakes5682
@mattcoakes5682 3 года назад
Thank you so much! I planned to watch this a few times for reference as I delve into transformer code. This will be very useful.
@danbochman
@danbochman 3 года назад
Wow. I've seen lectures that are 45m+ long trying to understand this architecture, even lectures from the original authors. Your video was hands-down the best, really helped me piece some key missing intuition pieces together. You have a gift for teaching and explaining -- I wholeheartedly hope you're able to leverage that in your professional career!
@lingding77
@lingding77 3 года назад
I love the multi-pass way of explanation so that the viewer can process high level concepts and then build upon that knowledge, great job.
@himeshph
@himeshph 4 года назад
@2:02 that vsauce thing was cool
@ShenalPerera
@ShenalPerera 3 года назад
Ikr 😅
@blakef.8566
@blakef.8566 3 года назад
...or was it?
@aryamaanjena1706
@aryamaanjena1706 3 года назад
Love that so many people got the vsauce ref
@ozgurakpinar_gr
@ozgurakpinar_gr 3 года назад
I came here to say that. Excelsior
@MrKfirlevi
@MrKfirlevi 3 года назад
Great video!! I am taking a course in my university and one of the lectures was about RNNs and transformers. Your video of 13 mins explains way better than the 100 mins lecture i attended. Thank you!
@seungjungjin9217
@seungjungjin9217 3 года назад
Great video! I love how you go through multiple passes, each getting into deeper specifics!
@frederikbrammer
@frederikbrammer 2 года назад
This is by far the best explanation of the Transformers architecture that I have ever seen! Thanks a lot!
@gearoidmurphy4988
@gearoidmurphy4988 3 года назад
The multi-pass approach to progressively explaining the internals worked well. Thanks for your content!
@ajcosta
@ajcosta 2 года назад
The understanding converges!
@aram69420
@aram69420 2 месяца назад
I don't know how many attention video I have watched. But I swear I'm getting there. Repetition is the key to understanding these shit
@vahekassardjian5032
@vahekassardjian5032 4 года назад
Outstanding explanations: to the point and well illustrated. Thank you.
@PRUTHVIRAJRGEEB
@PRUTHVIRAJRGEEB 4 года назад
This is heavily underrated!! Such an awesome video! Thanks Man!
@vtrandal
@vtrandal Год назад
With videos like this one you should be having 100,000+ subscribers soon. Adding a bit of humor to uncompromising technical content is a very good way to go.
@jonathanburrell7055
@jonathanburrell7055 Год назад
This is awesome!!! Thank you for breaking it down concisely, understandably, and deeply! It’s hard to find explanations that aren’t so simplistic they’re useless, or so involved they don’t save time in achieving understanding. Thank you!!
@CodeEmporium
@CodeEmporium Год назад
My pleasure! If you are into building the transformer piece by piece from scratch, I suggest checking out the “Transformers from scratch” playlist.
@ScriptureFirst
@ScriptureFirst 3 года назад
KEEP IT UP! Please! This is outstanding :) love the diagrams, dry crisp active speaking, & overview technique.
@lonewolf2547
@lonewolf2547 4 года назад
I cant believe you explained so complicated things in crystal clear format. Excellent job dude
@newginsam670
@newginsam670 2 месяца назад
Bro TBH no words to appreciate such a well structured video in a short time and the explanation was easly understandable even for people with less knowledge. Thanks for the video man.
@rodrigoklosowski8219
@rodrigoklosowski8219 3 года назад
Amazing! The best explanation on youtube about Transformer Neural networks, the matrices visual representations helps a lot!
@logicloudy2851
@logicloudy2851 3 года назад
Thanks, man. This is a really clear and high-level explanation. Really helpful for some guys like me who just stepped into this area. I read many explanations online. They give tons of details but fail in explaining these abstract items. These explanations always use other abstract definitions to explain this one. This problem happens again in the explanation of the "other abstract item". Sometimes I just forgot originally what I want to understand. Or even worse, they form a circulation... Thank you so much! This video helped me a lot in understanding the paper
@paragrk1
@paragrk1 3 года назад
Went through several videos on 'Attention is all you need' paper before this, all the details you managed to cover in thirteen minutes is amazing. Could not find explanation that is so easy to understand anywhere else. Great job!
@enjakuro7048
@enjakuro7048 2 года назад
right? I couldn't believe this video is only 13 minutes! That's a very good talent to have.
@adwaitpatil8300
@adwaitpatil8300 4 месяца назад
One of the cleanest explanation for transformers without dabbling too much into the theory!! Thanks man
@moneyinahurry
@moneyinahurry Год назад
One of the best or probably the best explanation I've seen. Thank you very much for the effort.
@Ashwin436
@Ashwin436 3 года назад
This was very helpful! You broke it down into such simpler concepts. I'm sure I'll be needing you again. Please keep at it. Thanks!
@snehashishpaul2740
@snehashishpaul2740 Год назад
I had to make 2 passes of your video to fully understand and appreciate the underlying mathematics and working of the model. You have put a great effort in making it simpler to understand with illustration and animation.
@KrazeeKrab
@KrazeeKrab 9 месяцев назад
This was a phenomenal video. You managed to explain transformers in 13 minutes better than my professor could in three hours. Thank you and keep on creating content!
@simonevagnoni1758
@simonevagnoni1758 2 года назад
Your way to breaking down step by step is very effective! Congrats and thanks. School systems should use it more
@navinahmed
@navinahmed 3 года назад
Didnt know what a transformer hype was until I landed on this video. Thanks a lot ! Subscribed. Gotta check more content on this channel now
@cPho3nix
@cPho3nix 3 года назад
That was the best way of explaining thins in my opinion. Start big picture, getting more detailed over time.
@eashwaraerahan861
@eashwaraerahan861 4 года назад
Great work. I really like the info graphics. I’m a person with no background on NLP but I was still able to follow till the second pass, thanks to your great work.
@derrxb
@derrxb 4 года назад
This is one of the best explanations for transformers I've come across online! Awesome job, man! Thanks. I'll totally recommend your channel to some classmates!! :)
@CodeEmporium
@CodeEmporium 4 года назад
Thanks! And Glad it's helpful! Spreading the word of my channel is the best thing you can do to help :)
@tictacX1
@tictacX1 3 года назад
Good job CodeEmporium! Very well made overview. thanks.
@leoisikdogan
@leoisikdogan 4 года назад
Very well explained! Great video, as always.
@dannysuarez6265
@dannysuarez6265 3 года назад
How is it possible such a beautiful video don't have more views/likes? Thank you CodeEmporium:)
@Sidnv
@Sidnv 2 года назад
Really great video. As someone transitioning from pure math into machine learning and AI, I find the language barrier to be the biggest hurdle and you broke down these concepts in a really clear way. I love the multiple layer approach you took to this video, I think it worked really well to first give a big picture overview of the architecture before delving deeper.
@CodeEmporium
@CodeEmporium 2 года назад
Super happy this helped!
@HIMANSHUKUMARSINHA7
@HIMANSHUKUMARSINHA7 Год назад
I bought udemy course for Transformer and BERT but with no help and wasted my time, money and energy. This video and your BERT video made my day. thanks. I may explain in my interview well. :)
@Kasper-ev3zh
@Kasper-ev3zh 4 года назад
Thank you so much for uploading this, appreciate the work you put into making it! Your explanation really helped my understanding, and much more so than a lot of other videos covering the subject.
@CodeEmporium
@CodeEmporium 4 года назад
Absolutely! Thanks for taking the be time to watch. Will be making more videos on the subject. So stay tuned
@d63810728
@d63810728 3 года назад
This is by far the most comprehensive yet short video i haave seen
@gurudevilangovan
@gurudevilangovan 3 года назад
Wow. Amazing video. Better than anything I've watched on the topic, all in thirteen minutes.
@Themojii
@Themojii Год назад
Very well, clearly explained the concepts, and nice visualization video. I spent a couple of hours and read multiple blog/tutorial about transformers, but I learned a lot more from your 13 mins video compared to those tutorials. Great job. I subscribed to your channel after watching this. Keep up the good work
@emeralde3761
@emeralde3761 2 года назад
Just want to say this video is amazing. Watched like three other 30+ mins videos but they all failed to train my stupid brain. This 13 minutes video is intuitive, detailed, and beginner-friendly. Thank you :3
@TheJonathanLugo
@TheJonathanLugo 11 месяцев назад
Wow, I am so glad I found your channel. The concept is clearly explained and assumes an intelligent audience. Well done!
@klam77
@klam77 Год назад
BEAUTIFUL......deep, concise, pithy, each word is meaningful.....well done.
@farnazfaramarzi4137
@farnazfaramarzi4137 3 месяца назад
Super informative, thorough explanation! Thanks!
@theneilpowers
@theneilpowers 6 месяцев назад
This earned a subscription! Excellent explanation!
@paramveersingh2919
@paramveersingh2919 3 года назад
Watched Andrew Ng, watched this, you got me to stick through the video and Andrew who i consider one of the best in this field did not manage to express as clearly as you did! Cheers man, amazing video!
@yahyasowti9711
@yahyasowti9711 3 года назад
Great job in explaining such a complicated concept!
@ryanhewitt9902
@ryanhewitt9902 Год назад
Thank you for making this! As a curious outsider I have been anxious about falling behind in recent years and this was perfect to bring me up to speed - at least enough to follow the conversation.
@CodeEmporium
@CodeEmporium Год назад
You are very welcome! Thanks for watching! :)
@pipe_runner_lab
@pipe_runner_lab Год назад
I saw Yanik's explaination and now I saw yours. Yanik does a terrible job at explaining papers, he usually just jokes around. Your explanation is probably one of the best I have seen so far. Thanks man.
@gokuson6399
@gokuson6399 2 года назад
Best explanation so far! Keep up the good work!
@shipan5940
@shipan5940 2 года назад
By far, the MOST comprehensible explaination on Transformer available in the whole internet space.
@shipan5940
@shipan5940 2 года назад
You deserve 1M subscribers at least.
@CodeEmporium
@CodeEmporium 2 года назад
Thank you for the kind words! Maybe one day
@mattcoakes5682
@mattcoakes5682 3 года назад
LOVE the multipass strategy for explaining the architecture. I don't think I've seen this approach used with ML, and it's a shame as this is an incredibly useful strategy for people like me trying to play catch up. I hopped on the ML train a little late, but stuff like this makes me feel not nearly as lost.
@ayushkant392
@ayushkant392 3 года назад
This channel is so under-rated. Amazing video
@lisandrocesaratto3012
@lisandrocesaratto3012 2 года назад
Best video on Transformers I have seen so far! The examples really help to understand how the architecture works. Subscribed.
@CodeEmporium
@CodeEmporium 2 года назад
Thank you for watching!
@ApprovingSeal
@ApprovingSeal 2 года назад
Finally a basic explanation I can understand. I tried reading the original "Attention is all you need" paper, but it felt like it was assuming I was already familiar with the basics of NLP, like the encoder-decoder setup. Which I wasn't.
@gajeshladhar3777
@gajeshladhar3777 3 года назад
it is really straight forward video which talks exactly on what we need to learn !!
@karakadir8860
@karakadir8860 4 месяца назад
dude you absolutely deserve each and any subsriber. thank you very much for your highly helpful and quality content.
@CodeEmporium
@CodeEmporium 4 месяца назад
Thanks so much for the lovely comment! And also for subscribing! More to come!
@yonistoller1
@yonistoller1 4 года назад
This is one of the best tutorial videos I've watched on any subject, thank you!
@CodeEmporium
@CodeEmporium 4 года назад
Glad to hear that. Thanks so much !
@iasonaschristoulakis6932
@iasonaschristoulakis6932 2 года назад
Awesome, state-of-art video!
@utsabkhakurel9742
@utsabkhakurel9742 5 месяцев назад
Simple and easy to understand. Great job!
@VaibhavPatil-rx7pc
@VaibhavPatil-rx7pc Год назад
TOP OF TOP clear explanation you provided !!!
@Fruchtkotzekiddy
@Fruchtkotzekiddy 3 года назад
this video was one of the best learning videos i EVER SAW first you give a high level overview, then u step in deeper every step with an understandable example THANK YOU SO MUCH!!!
@CodeEmporium
@CodeEmporium 3 года назад
You are very welcome. Thank you for the compliments :)
@imagiro1
@imagiro1 10 месяцев назад
Thank you very much for you effort! You just adjusted my attention layer, the pieces start to fall in place and I have a much better understanding of why TNNs are so revolutionary.
@QuanNguyen-vo2xh
@QuanNguyen-vo2xh 4 года назад
This video deserves more views. It's awesome. Good job buddy.
@prateek4546
@prateek4546 2 года назад
Wow, the best explaination on youtube ! Had to subscribe after watching !
@ritwikdubey5331
@ritwikdubey5331 8 месяцев назад
I was searching for this particular explanation from a long tym! thanks for this!
@cristianarteaga
@cristianarteaga 4 года назад
What a great explanation! Thanks a lot and please keep creating material like this. It's such a great help.
@shaina2231
@shaina2231 Год назад
very good presentation indeed!! explains even complex concepts in very simple and easy way, well done
@mikashaw7926
@mikashaw7926 3 года назад
this is literally the best explanation ever, thank you!
@tvanpeer
@tvanpeer Год назад
Great video! I love the layered approach for explaining the concepts. Very well done. Thank you!
@CodeEmporium
@CodeEmporium Год назад
I am super glad that approach helped
@bauwndule
@bauwndule 2 года назад
Best explanation ever. I have an interview with Microsoft tomorrow. This was the best brushing up I could get.
@piyalikarmakar5979
@piyalikarmakar5979 2 года назад
What an explanation!!! You have made such complex concepts so easy..Thank you so much...
@praveenrajagopal9161
@praveenrajagopal9161 2 года назад
Brilliant piece of work! You nailed it in few mins!
@CodeEmporium
@CodeEmporium 2 года назад
Thanks for watching!
@user-uc5xc5sb9z
@user-uc5xc5sb9z Год назад
Very helpful and insightful, nice job!
@ahmedelayek2110
@ahmedelayek2110 3 года назад
what a guide for the transformer in just 13 min. thanks a lot for this simplicity.
@langlansrobert8599
@langlansrobert8599 2 года назад
The easiest understanding video about this topic, as I can see! Thank you
@CodeEmporium
@CodeEmporium 2 года назад
You are very welcome :)
@abramswee
@abramswee 6 месяцев назад
Great stuff! Thanks for sharing.
@rashedulhasanrijul5506
@rashedulhasanrijul5506 3 месяца назад
Very simple explanation. Thank you
@wangy01
@wangy01 Год назад
I watched this video four times. After each time, I feel I understand this topic better than the previous one.
@rahulchowdhury9739
@rahulchowdhury9739 Год назад
I am half-way through this video. I have not finished it. But I felt giving a like before watching the next half. Thank you so much.
@anishpratheepkumar4184
@anishpratheepkumar4184 3 года назад
Nice work man, that's a pretty nice explanation of transformers. Thanks!
@fahdciwan8709
@fahdciwan8709 4 года назад
Thanks a lot man!! i know u explained is clearly but it'll still take me a few more times to watch the video and digest the concept
@mr.dineshlee
@mr.dineshlee Год назад
I watched many videos related to this topic, but this video taught me easiest way...
@CodeEmporium
@CodeEmporium Год назад
Thanks for watching! And for the compliments :) I try my best for my more recent videos too
@sairamsubramaniam8316
@sairamsubramaniam8316 3 года назад
This is the best explanation! I came in search for transformers but I found Gold.
@ayanpanja1956
@ayanpanja1956 6 месяцев назад
Awesome work!
@maverick3069
@maverick3069 4 года назад
Brilliantly explained! Thanks man!
@ze2411
@ze2411 3 года назад
Best video on Transformers!!! Thanks a mill!!!!!
@usamahussain4461
@usamahussain4461 2 года назад
Man! Brilliant video. I saw a 27 mins video and was totally spent out and didn't even understand much. But this was just awesome, and in half the time! The only thing lacking might be the examples of keys, values and queries but i mostly got the hang of it.
@rexma9625
@rexma9625 3 года назад
Good job on explaining the transformer! Thanks!
@NoOne-sy5fg
@NoOne-sy5fg Год назад
Great video bro! You're underrated af. One of the best if not the best explanation of some neural network architecture. Keep up the good work. Kudos!
@CodeEmporium
@CodeEmporium Год назад
Thanks so much! I am making more related videos. So do check ‘em out :)
@tarat.techhh
@tarat.techhh 3 года назад
2:04 or are we... not gonna lie this is the best channel and best explanation ever....................
@surajrao9729
@surajrao9729 3 дня назад
the best video so far
@arshiavashisht3481
@arshiavashisht3481 10 месяцев назад
Had to watch it like 2-3 times to get the entire thing, but worth it. Somehow so concise, yet every relevant detail is included.
@CodeEmporium
@CodeEmporium 10 месяцев назад
Thanks a lot for watching and commenting! Super happy this video gave you value
@abhishekswain2502
@abhishekswain2502 4 года назад
thank you, bro! this a very well made and precise video. Helped me a lot !
@thomives4353
@thomives4353 3 года назад
This is an amazingly good video - thanks so much!
@ramyaneekashyap4356
@ramyaneekashyap4356 4 года назад
THE BEST one yet. Take a bow. You saved me.
@guygirineza4001
@guygirineza4001 4 года назад
Your explanations are just superb !! Thank you very much, you earned a new subscriber !
@camaronfoster3663
@camaronfoster3663 Год назад
I loved the tip of the hat to Vsause; well played sir. 👊🏼
Далее
BERT Neural Network - EXPLAINED!
11:37
Просмотров 379 тыс.
Attention in Neural Networks
11:19
Просмотров 200 тыс.
The complete guide to Transformer neural Networks!
27:53
Backpropagation in Neural Networks - EXPLAINED!
10:18
Просмотров 3,2 тыс.
Why Neural Networks can learn (almost) anything
10:30
AI Language Models & Transformers - Computerphile
20:39
Why Recurrent Neural Networks are cursed | LM2
13:17
Просмотров 12 тыс.