No video

Training an AI to create poetry (NLP Zero to Hero - Part 6)

  Рет қаралды 112,468

TensorFlow

TensorFlow

Күн бұрын

Through this series so far you’ve been learning the basics of NLP using TensorFlow. You saw how to tokenize and then sequence text, preparing it to train neural networks. You saw how sentiment in text can be represented with embeddings, and how the semantics of text over long stretches might be learned using recurrent neural networks and LSTMs. In this video we’ll put all of that together into a fun scenario -- creating a model and training it on the lyrics to traditional Irish songs.
Irish songs generator Colab → goo.gle/3aSTLGx
Predict Shakespeare with Cloud TPUs and Keras → goo.gle/2zy4A40
NLP Zero to Hero playlist → goo.gle/nlp-z2h
Subscribe to the TensorFlow channel → goo.gle/Tensor...

Пікірлер: 212
@Lord-V15
@Lord-V15 3 жыл бұрын
BEST SERIES ON THIS CHANNEL. SAD THAT IT'S OVER :(
@MrChughad
@MrChughad 2 жыл бұрын
Train a model with these 6 videos, then you can generate further videos ;)
@ShermanSitter
@ShermanSitter 3 жыл бұрын
I've watched this 3 times and understand it more each time. You are a great teacher and thank you for the content!
@rodrigoriquelme527
@rodrigoriquelme527 Жыл бұрын
I've been looking for weeks material to introduce into NLP and this is by far the clearest lessons I've found, even being published two years ago, great teacher.
@Powell___
@Powell___ 4 жыл бұрын
It is amazing how you able to explain, thank you for that. It would be great to see and learn much more regarding to NLP
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@rezajafari5348
@rezajafari5348 3 жыл бұрын
Best Tensorflow learning Ever I've seen
@mans9318
@mans9318 3 жыл бұрын
This vid totally made me shed love raw boo...:p
@525sumithmeesa9
@525sumithmeesa9 4 жыл бұрын
I am amazed that how can you explain such a detailed content in just 6 videos.....YOU ARE A LEGEND SIR Plz explain about voice recognition using tensorflow
@alejandromartinherve2534
@alejandromartinherve2534 3 жыл бұрын
Is sad that this is over. I personally will love to see more on NLP combined with new novel approaches like Attention and BERT. I ❤ TF.
@rohanmanchanda5250
@rohanmanchanda5250 2 жыл бұрын
🎶 You just want attention. 🎶 🎶 You don't want their heart. 🎶 🎶Maybe you just hate the thought of them doing something new. 🎶 🎶 Yeah you just want attention 🎶 🎶 I knew from the start 🎶 🎶 Can't think of more lyrics that'll suit the case of you 🎶 Waaaaaaaaaaaa 🎶
@soranlanguage8302
@soranlanguage8302 4 жыл бұрын
Your method of explanation is amazing I sat hours for tensorflow tutorials, now I listen to you, I understand clearly and learn more. I hope you can do more video content on NLP
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Thanks Soran! :)
@dethswurl117
@dethswurl117 4 жыл бұрын
These videos are absolutely amazing. Thank you so much for making these, you're really helping newcomers to the community like me :)
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome!
@edwinbuabeng3847
@edwinbuabeng3847 4 жыл бұрын
Very simple explanation. Made everything look very easy. Thank you so much for making these. I would like to see more videos in this series on NLP
@sarfarazansari9053
@sarfarazansari9053 2 жыл бұрын
Amazing series. Thanks a lot for creating this series....You have explained it so well that things start looking simple. It creates lot's of interest and confidence. Proudly to say "I have leaned the deep learning and NLP concept by watching Laurence Moroney training video'"... Looking forward to have more training videos like this from you.
@adamcohenhillel
@adamcohenhillel 4 жыл бұрын
I would like to see more videos in this series on NLP! You are a great instructor, Thank you!
@visheshkapoor8466
@visheshkapoor8466 2 жыл бұрын
yo I found the optimizer function
@syedadnan4295
@syedadnan4295 3 жыл бұрын
Really awesome to learn about NLP in such a easy way
@xintel2001
@xintel2001 4 жыл бұрын
Currently, I am on Week 1 of the TensorFlow in Practice course. These nuggets of learning are a great way to impart knowledge on NLP and complement the course material. The notebooks are useful too. Thanks for your effort.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
My pleasure! Enjoy :)
@omidforoqi4163
@omidforoqi4163 3 жыл бұрын
OMG, very nice and thank you google. I hope this course continues
@mohitjoshi8818
@mohitjoshi8818 2 жыл бұрын
This was so helpful, thanks for this. It would be great if you make more like this.
@தமிழோன்
@தமிழோன் 3 жыл бұрын
Wow, I can finally understand how a language model like GPT-3 can be made! I know that the GPT-3's model architecture is much more complex than this, but I can at least imagine how could that be achieved. Up until now, I looked at GPT-3 like a stone age man looked at fire. Thank you so much Laurence Moroney! :)
@asadanees781
@asadanees781 2 жыл бұрын
Hi Laurence, Thanks for recording NLP series and amazing . This is blessing that it is freely available. It would be great to learn much more recording about NLP.
@cr0wzzz
@cr0wzzz Жыл бұрын
I've watched this 3 times and understand shed love raw boo more each time.
@christophereng9801
@christophereng9801 4 жыл бұрын
Awesome video. Would love more content around topic modeling/generation!
@alfaalkaaf5335
@alfaalkaaf5335 Жыл бұрын
wow this is what i need. thats literally takes a loop to generate the text at the end. i understand that why you can use "" token to stop generating the text instead limiting the result to 20.
@MohammadYs77
@MohammadYs77 3 жыл бұрын
Best NLP Series I've ever seen. Thank you
@karanbrokendream
@karanbrokendream 3 жыл бұрын
Thank you for these videos.. the simplest and best explanation i've seen by far.
@hebagamaleldin8803
@hebagamaleldin8803 4 жыл бұрын
It's simple and powerful, please provide us a series as simple as this in reinforcement learning and also deeper level of detail in NLP, Computer vision. Thanks so much.
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
There's already a computer vision one out there. I'm looking into RL
@0xsercaksoy
@0xsercaksoy 3 жыл бұрын
playlist was amazing, thanks for work!!
@mansoural-harbi6096
@mansoural-harbi6096 4 жыл бұрын
Awesome >>> I will vote for another session on NLP
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@stevemurch3245
@stevemurch3245 3 жыл бұрын
Really terrific, Laurence, thanks so much for all the effort you put into these excellent videos.
@reeshmakannampurath5592
@reeshmakannampurath5592 4 жыл бұрын
Excellent!, Looking forward to Text summarization.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Great idea -- I should work on that
@gabrielchung6325
@gabrielchung6325 4 жыл бұрын
Very nice series. It gives me good understanding of NLP and I would like to thank you. More please.
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome!
@luis96xd
@luis96xd 3 жыл бұрын
This was an amazing video! Thanks I want to see more NLP videos 😄
@roshanshetty3531
@roshanshetty3531 4 жыл бұрын
Felt sad hearing the series end. Please continue for machine translation, attention model, bert.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Will go back to do some BERT stuff at some point in the future, but need to teach the basics first
@amilamad
@amilamad 4 жыл бұрын
Although the series come to an end The great man will continue to send All the things man try to amend People must accept the errand
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Ha! That's hilarious :)
@quadraticlife8314
@quadraticlife8314 2 жыл бұрын
please create more videos, they're great, thanks a bunch.
@26MS10
@26MS10 4 жыл бұрын
Damn that was so easy to grasp, thank you so much Sir!!!!!
@kenjopac4247
@kenjopac4247 2 жыл бұрын
I literally had a project about this exact exact thing, Thank you very much!
@kimjensen1787
@kimjensen1787 2 жыл бұрын
Brilliant. Very vel explained. thanks
@theotherstuff2112
@theotherstuff2112 4 жыл бұрын
Would love more NLP stuff!
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Do you have any specific requests?
@leonardvanduuren8708
@leonardvanduuren8708 3 жыл бұрын
Thank you so much Sir! Please give us the opportunity to learn more from you.
@shardsmp8831
@shardsmp8831 Жыл бұрын
new content about nlp please, this series is amazing!
@danialaflakian2748
@danialaflakian2748 Жыл бұрын
Thank you for your beautiful explanation.
@DaveOmri
@DaveOmri 2 жыл бұрын
thank you for this serie, fun till the end
@e_hossam96
@e_hossam96 2 жыл бұрын
wonderful and simple. thanx.
@fahemhamou6170
@fahemhamou6170 2 жыл бұрын
تحياتي الخالصة شكرا جزيلا
@rayyanamir8560
@rayyanamir8560 2 жыл бұрын
This is the best video on next word prediction (text prediction). Thanks a lot Mr. Laurence. :) #NextWordPrediction #TextPrediction #NLP
@soufianei4941
@soufianei4941 3 ай бұрын
thank u ser , this series was very helpfull
@songslover6435
@songslover6435 Жыл бұрын
Dear Sir! You are the proficient teacher in your teaching and sharing knowledge for the learners all around the world. By the way, Can I get more videos that are related to LSTM? Please Sir.
@koponstanley4
@koponstanley4 2 жыл бұрын
shed love raw boo = you guys are amazing
@markusobi4148
@markusobi4148 9 ай бұрын
Very interesting series, thank you!
@adityabagwadkar472
@adityabagwadkar472 4 жыл бұрын
Thank you so much, Sir, for providing videos. I am getting a deeper understanding of learning these concepts easily as the way you teach through youtube and Coursera. Deep respect to you from my side. And I am very much excited to learn new concepts in AI domain in upcoming videos made by you :)
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks Aditdya! :)
@adnan_randomnumber
@adnan_randomnumber 3 жыл бұрын
More videos please, the instructor is very good
@emadgirgis6689
@emadgirgis6689 4 жыл бұрын
Awesome work! Thank you. Could you please add videos about using transformers and attention?
@therohans5492
@therohans5492 Жыл бұрын
This was a great series thank you
@mithunchandrasaha403
@mithunchandrasaha403 3 жыл бұрын
Nice Explation.Sir.I want more
@esooghazy
@esooghazy 3 жыл бұрын
Thanks for the videos! It would be great if you can create more videos about NLP like creating custom spelling correction and text matching.
@prasannadas8418
@prasannadas8418 4 жыл бұрын
Amazing tutorial ,Thanks
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome! :)
@sebastianandrescajasordone8501
@sebastianandrescajasordone8501 3 жыл бұрын
This was great!
@nirajkumarsingh5478
@nirajkumarsingh5478 2 жыл бұрын
nice content..easy to understand.
@b1twis3
@b1twis3 Жыл бұрын
Great content! Thanks a lot
@agentstona
@agentstona 2 жыл бұрын
Laurence morony please come back and make more tutorials you are the best ..
@Ab_Jannadi
@Ab_Jannadi 3 жыл бұрын
It is a great series.. thanks , good work
@jrodthriller
@jrodthriller 4 жыл бұрын
great stuff, i'm getting a lot out of the series. thanks!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks! :)
@amirrafiq
@amirrafiq 2 ай бұрын
The "adam = Adam(lr=0.01) ValueError: Argument(s) not recognized: {'lr': 0.01}" can be fixed as follows: adam = Adam(learning_rate=0.01)
@hahustatisticalconsultancy8869
@hahustatisticalconsultancy8869 Жыл бұрын
very very helpful and thanks
@yashpatil375
@yashpatil375 3 жыл бұрын
I would like to learn how to build an AI chatbot using NLP, which could understand what we are providing and reply accordingly. You really made it very easy to understand the basic concepts behind the scenes. By The Way, I am currently enrolled in the DeepLearning.AI Specialization course for Deep Learning and I would soon enroll in your course on NLP too. Deep Learning is real fun in the computer science field as in my opinion. Thank You So Much, Lots of Love From India😊🤗
@ghousethanedar7852
@ghousethanedar7852 4 жыл бұрын
Great content.....Thank you very much would like to see more video
@hadizand3753
@hadizand3753 3 жыл бұрын
Excellent.
@MakiVillano
@MakiVillano 4 жыл бұрын
Mary, the young man, personifies your grief. Mary, succumbing to his intense sorrow, "shed love" and "raw boo" 😁
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Ha! :) Pretty good!
@akashraut3581
@akashraut3581 4 жыл бұрын
I have searched everywhere and couldn't find a solution. How can we use tf.keras.layers.masking to skip time steps when training with sequences of images? I'm trying to implement a deep RL agent with cnn + stateful lstm policy using functional api. So in order to make the variable sequence data into batches of fixed size I need to use masking layer which works amazing with padded data which is 1d and not 2d like images. But I m not sure if it works with images . Can anyone help? I'll be very thankful
@darrenaldrich6185
@darrenaldrich6185 6 ай бұрын
Nice video! Thank you :D
@hikmetcancelik
@hikmetcancelik 3 жыл бұрын
Yes we want more please!
@ayca7401
@ayca7401 3 жыл бұрын
thank you for the series!
@alelignmekonen3759
@alelignmekonen3759 4 жыл бұрын
OMG, I have no word to describe how greate your presentation is. What can I say? I liked your lecture like my favorite food. Can u add more video: Gated Recurrent Unit(GRU)?
@pa1nk1ller14
@pa1nk1ller14 4 жыл бұрын
Just awesome as always :) Would love to see something related to transformers
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Robots in disguise? ;)
@pa1nk1ller14
@pa1nk1ller14 4 жыл бұрын
@@LaurenceMoroney hahahahaa just like that! an Optimus Prime on steroids
@RSUtsha
@RSUtsha 3 жыл бұрын
Did I comment already? I just wanna say, this was awesome..
@phamthienank14hcm30
@phamthienank14hcm30 2 жыл бұрын
hi, i'm stucking at the like index ==predicted that said i have to use a.all or a.any, how can i fix that ? it keeps generating 1 word only :(
@Dmitriuso
@Dmitriuso 4 жыл бұрын
Hey Laurence! Thanks a lot for this series, you are absolutely great! I wonder if you could make some episode(s) on chatbots and different strategies to approach this part of NLP. I personally carried out some experiments with chatbots, using intents-based approach - when you basically make intents for different kinds of questions and provide the chatbot with answers for this particular case. Google Dialogflow is great for that, by the way. Still, it's more like a stimulus-reaction. Many people try to use Cornell corpus of movies scripts to train their models - I did, too, but wasn't too impressed with the result. I wonder if more intelligent and creative text generation would be possible for a chatbot.
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
I can look into it, but don't really work a lot with chatbots
@surinderpalsingh4258
@surinderpalsingh4258 Жыл бұрын
i have become mini master after watching this series
@adityadhekane
@adityadhekane 4 жыл бұрын
Great series , I would like to see topicmodeling using tensorflow
@adityadhekane
@adityadhekane 4 жыл бұрын
@@GoogleDevelopers Scenario - Maybe an extension of LDA using TensorFlow, word2vec can definitely be considered but looking out for a more intuitive solution with n-grams and an option to auto label the topics which otherwise need manual expertise. (Hope this helps if you want more details we can take it offline over an email)
@humnashafqat9719
@humnashafqat9719 3 жыл бұрын
great and easy to learn thanks
@deepanshu.770
@deepanshu.770 2 жыл бұрын
Please make more education video on NLP
@LeonardoPinto
@LeonardoPinto 4 жыл бұрын
great content, we need more!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Working on it...
@rishikambhampati2862
@rishikambhampati2862 3 жыл бұрын
Thanks a lot. Teaching at it's best
@abhisheke223
@abhisheke223 4 жыл бұрын
Very nicely explained. It would be nice if some content on the encoder-decoder model with attention and transformer model for language understanding is made because I find very difficult to learn these by myself.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
I'll look into it! :)
@vietdinh-van8018
@vietdinh-van8018 4 жыл бұрын
Your idea is great.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@rajnish747
@rajnish747 2 жыл бұрын
WE WANT MORE NLP
@topekekere6614
@topekekere6614 4 жыл бұрын
nice presentation. I want more video content on analyzing tweets
@charanbirdi
@charanbirdi Жыл бұрын
great explanation and thank you for all the efforts ~~, any chance if you could include advance NLP videos i.e. transformer, LLM?
@rlb5261
@rlb5261 3 жыл бұрын
It is just amazing!
@MuhammadAli-fn5kv
@MuhammadAli-fn5kv 3 жыл бұрын
this is waht i am loking for
@laurencemoroney655
@laurencemoroney655 3 жыл бұрын
Great! :)
@aungzinpyae8606
@aungzinpyae8606 4 жыл бұрын
Super simple and super amazing tutorial! Please make a simple tutorial for seqtoseq machine translation model.
@tooljerk666
@tooljerk666 4 жыл бұрын
Maybe I don't understand, but the [0] in token list is just trying to limit the model to the first line of the first song, right? If we delete [0] we would have the model learn the whole corpus?
@danieleangelini6238
@danieleangelini6238 3 жыл бұрын
Amazing video thanks a lot ..but how to handle model created ?
@luisgustavocarpiogarcia8821
@luisgustavocarpiogarcia8821 11 ай бұрын
Thanks for everything, but "'Sequential' object has no attribute 'predict_classes'"
@herstar9510
@herstar9510 3 жыл бұрын
It would be great if the playlist was listed in order of what we should watch.
@rahuldeepattri9244
@rahuldeepattri9244 4 жыл бұрын
More please!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Pausing for a little while as I'm working on my next coursera courses
@DrJanpha
@DrJanpha 3 жыл бұрын
Great
@nisarahamad1455
@nisarahamad1455 4 жыл бұрын
You are awesome Laurence... I am very excited to learn from you. We want to learn more from you. Can you please explain how can we use RNN/LSTM in the real time business scenarios like Time Series Forecast modelling please. Thanks in advance...
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Will work on a time series course soon!
@nisarahamad1455
@nisarahamad1455 3 жыл бұрын
Hello @@laurencemoroney655 hope you are doing well :) I am waiting for your Time Series course
@kamilfilipek2879
@kamilfilipek2879 4 жыл бұрын
I came back to your videos after a while and I got amazed again! I wish there was a wideo (or tf function) instructing how to convert predictions score (probs) into classes. For now, we have to play with code little bit :) Or I missed something...?
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
argmax?
@fallguyjames
@fallguyjames 2 жыл бұрын
predicted = model.predict(token_list, verbose=0) predicted = np.argmax(predicted) Change the predict_classes to predict and find the maximum (best) class from that returned array of word indexes.
@usbreakingnews7880
@usbreakingnews7880 2 жыл бұрын
Please tell me the meaning of this ( [:,:-1] and [:,-1] ) in ( input_sequences[:,:-1],input_sequences[:,-1] ). Also tell me the example where I can use it.
Neural Structured Learning - Part 1: Framework overview
5:13
TensorFlow
Рет қаралды 43 М.
Transformers, explained: Understand the model behind GPT, BERT, and T5
9:11
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
ROLLING DOWN
00:20
Natan por Aí
Рет қаралды 7 МЛН
I Built a Neural Network from Scratch
9:15
Green Code
Рет қаралды 240 М.
AI, Machine Learning, Deep Learning and Generative AI Explained
10:01
IBM Technology
Рет қаралды 56 М.
Can a computer write poetry? | Oscar Schwartz
10:57
TED
Рет қаралды 89 М.
Long Short-Term Memory for NLP (NLP Zero to Hero - Part 5)
4:10
A Complete Overview of Word Embeddings
17:17
AssemblyAI
Рет қаралды 104 М.
PyTorch vs TensorFlow in 2023 FULL OVERVIEW
13:29
Team Up With AI
Рет қаралды 34 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 269 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 467 М.