Developing a deep learning project (case study on transformer)

  Рет қаралды 6,536

Aleksa Gordić - The AI Epiphany

Aleksa Gordić - The AI Epiphany

Күн бұрын

❤️ Become The AI Epiphany Patreon ❤️ ► / theaiepiphany
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
In this video, I talk about how I work on my deep learning projects on the example of the transformer which I've recently open-sourced.
You'll learn about:
✔️ Snippets of my personal story
✔️ How I think about approaching a new project
✔️ Problems I encountered developing the transformer
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
✅ My transformer implementation: github.com/gordicaleksa/pytor...
✅ The Annotated Transformer blog: nlp.seas.harvard.edu/2018/04/0...
✅ Original paper: arxiv.org/abs/1706.03762
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⌚️ Timetable:
0:00 Open-sourcing original transformer and why
3:00 Creating great projects takes time
5:40 My time management
9:00 My story and embracing failures
12:05 Overview of the transformer project
14:03 Data and task definition
15:57 Training loop
20:10 Problems I encountered
21:44 Beam search fun
23:10 BucketIterator fun
25:35 Optimizing things to speed up the loop
26:25 Translating from English to German and vice versa
30:00 Hardware requirements
30:47 Wrapping things up
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💰 BECOME A PATREON OF THE AI EPIPHANY ❤️
If these videos, GitHub projects, and blogs help you,
consider helping me out by supporting me on Patreon!
The AI Epiphany ► / theaiepiphany
One-time donation:
www.paypal.com/paypalme/theai...
Much love! ❤️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
💡 The AI Epiphany is a channel dedicated to simplifying the field of AI using creative visualizations and in general, a stronger focus on geometrical and visual intuition, rather than the algebraic and numerical "intuition".
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
👋 CONNECT WITH ME ON SOCIAL
LinkedIn ► / aleksagordic
Twitter ► / gordic_aleksa
Instagram ► / aiepiphany
Facebook ► / aiepiphany
👨‍👩‍👧‍👦 JOIN OUR DISCORD COMMUNITY:
Discord ► / discord
📢 SUBSCRIBE TO MY MONTHLY AI NEWSLETTER:
Substack ► aiepiphany.substack.com/
💻 FOLLOW ME ON GITHUB FOR COOL PROJECTS:
GitHub ► github.com/gordicaleksa
📚 FOLLOW ME ON MEDIUM:
Medium ► / gordicaleksa
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
#transformer #attention #deeplearning

Пікірлер: 41
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
If you liked the first part of this video (which I've never done so far) and would like me to make more similar content please let me know in the comments what interests you in particular! Much love and keep learning at your own pace.
@soumyadrip
@soumyadrip 3 жыл бұрын
Would like to know the journey behind finally getting a job in a FAANG company specially in AI/ML domain and what are different rounds they conducted for hiring.
@pratikpatil1838
@pratikpatil1838 2 жыл бұрын
Hi sir,Can you make one video on text to SQL implementation using transformer or bert
@sergisanchezbonilla5436
@sergisanchezbonilla5436 7 ай бұрын
i just loved hearing your personal story. It encourages me to start learning through my carreer, since i like a lot the kind of things you do but i still feel like I'm a rookie.
@xxdxma6700
@xxdxma6700 2 жыл бұрын
Thank you so much for sharing your story, it’s truly truly helpful. It’s always rlly easy to get panic and get lost when you see people on the internet making complicated stuff like super easy. I feel like a lot of the times it’s the mentality that decides how much you succeed instead of the absolute intelligence or productivity at that moment of time.
@simbaninja1235
@simbaninja1235 3 жыл бұрын
Great video! I loved hearing about how you manage your time. Thank you for open-sourcing :)
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Thank you Simon! It wasn't as detailed as it could be but it does paint a rough picture. Glad you found it interesting
@tahmidhossain007
@tahmidhossain007 3 жыл бұрын
Great Work Aleksa, you are spot on. Baking good stuff takes time.
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Oh definitely! Thanks Tahmid!
@DevilOnTheDrums
@DevilOnTheDrums Жыл бұрын
This video gave me real motivation. Thank you.
@nikolavasic1947
@nikolavasic1947 3 жыл бұрын
Kralj si brate stvarno
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Kako se odgovara na to 😅 hvala? Haha salim se, hvala na podrsci!
@sasalukovic4717
@sasalukovic4717 3 жыл бұрын
Legendo, svaka cast
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Hvala!
@fastandbaki2163
@fastandbaki2163 3 жыл бұрын
Hvala na motovaciji!
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Juhu, drago mi je da ne deluje kontraproduktivno na ljude kao sto neki prazni motivacioni govori mogu da izazovu. 😅🧠
@bello3137
@bello3137 Жыл бұрын
A very great content aleksa, thank you so much for the information..
@leonardoberti917
@leonardoberti917 Жыл бұрын
great explanation
@user-co6pu8zv3v
@user-co6pu8zv3v 2 жыл бұрын
Great video! Thank you!
@damjandjoric4756
@damjandjoric4756 3 жыл бұрын
svaka cast, samo nastavi tako!
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Hvala puno!
@tusharrohilla7154
@tusharrohilla7154 2 жыл бұрын
Its really helpful
@Frankthegravelrider
@Frankthegravelrider Жыл бұрын
Great video
@quanhua92
@quanhua92 3 жыл бұрын
subscribed! your channel's deserved for views and subscribers. Keep working!
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Thank you for the kind words! Oh I'm not stopping any time soon!
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Btw. I obviously also have bad days when it's harder to get focused and get things done. Flirting with burnouts since 94' basically haha. What the remedy is is to just take an evening off and do something that'll relax your brain. But not everything. Going outside helps a lot. Less information ingestion that's important. Also I forgot to mention that every second day I do some workout in the evening that helps a lot.
@UknownCompiler
@UknownCompiler 3 жыл бұрын
your videos are interesting and in-depth, thank you for sharing the valuable infos i need your help please, currently i'm working on a translation transformer from english to arabic, spacy does not support arabic language, so i had to do tokenizing with nltk and vocab and indexing from scratch no torchtext help, i did everything except batching so i decided to input one sentence by one along one dimension to a nn.transformer model, does the built-in nn.transformer of pytorch take only batches or does it take one by one samples? if it doesn't take seq by seq then should i write transformer from scratch and adjust the dimensions? thank you so much
@o_felipe_reis
@o_felipe_reis 3 жыл бұрын
Hi there! Great video! Thanks for sharing and regards from Brazil 🇧🇷🇧🇷🇧🇷
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Obrigado amigo! Tudo de bom pra cê!
@o_felipe_reis
@o_felipe_reis 3 жыл бұрын
@@TheAIEpiphany valeuuuuuu
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
@@o_felipe_reis kkkkk, eu morava no Brazil no Ouro Preto, fiz uma pratica la!
@o_felipe_reis
@o_felipe_reis 3 жыл бұрын
@@TheAIEpiphany ah que legal! ótima cidade! De onde você é? e quanto tempo passou aqui?
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
@@o_felipe_reis Sim e o pessoal é incrivel, sinto muito saudades do Brazil. Sou da Servia! Estava so 1.5 meses la porque recebi uma oferta de emprego do Microsoft. Mas morava numa republica (Badalação) e por isso conheci muito mas do Brazil.
@sujitha3335
@sujitha3335 2 жыл бұрын
Can you pls do one for detection transformer as well
@vatsala6497
@vatsala6497 2 жыл бұрын
@The AI Ephiphany Could you link the story of that stanford phd please?
@valentinogiudice8009
@valentinogiudice8009 3 жыл бұрын
Do you ever pause being fucking awesome or are you fucking awesome 24/7?
@TheAIEpiphany
@TheAIEpiphany 3 жыл бұрын
Hahahah nowhere as near as I'd like! So many amazing people out there I'm just striving for that
@phatnikolas2009
@phatnikolas2009 2 жыл бұрын
what is input_embedding , ouput_embedding ?
@qichaoying4478
@qichaoying4478 2 жыл бұрын
Poor Siraj Raval!
@bello3137
@bello3137 Жыл бұрын
🤣
How to learn deep learning? (Transformers Example)
28:20
Aleksa Gordić - The AI Epiphany
Рет қаралды 8 М.
What are Transformer Models and how do they work?
44:26
Serrano.Academy
Рет қаралды 104 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 44 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 11 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
T0: Multitask Prompted Training Enables Zero-Shot Task Generalization | Paper Explained
23:32
Aleksa Gordić - The AI Epiphany
Рет қаралды 4 М.
LSTM is dead. Long Live Transformers!
28:48
Seattle Applied Deep Learning
Рет қаралды 526 М.
Pytorch Transformers from Scratch (Attention is all you need)
57:10
Aladdin Persson
Рет қаралды 297 М.
How do transformers work? (Attention is all you need)
20:12
Aleksa Gordić - The AI Epiphany
Рет қаралды 18 М.
Vision Transformer (ViT) - An image is worth 16x16 words | Paper Explained
24:57
Aleksa Gordić - The AI Epiphany
Рет қаралды 40 М.
CS480/680 Lecture 19: Attention and Transformer Networks
1:22:38
Pascal Poupart
Рет қаралды 340 М.
Let's build GPT: from scratch, in code, spelled out.
1:56:20
Andrej Karpathy
Рет қаралды 4,4 МЛН
How we teach computers to understand pictures | Fei Fei Li
18:03
The Attention Mechanism in Large Language Models
21:02
Serrano.Academy
Рет қаралды 84 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 44 МЛН