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

  Рет қаралды 108,561

TensorFlow

4 жыл бұрын

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/TensorFlow

Пікірлер: 212
@Lord-V15
@Lord-V15 3 жыл бұрын
BEST SERIES ON THIS CHANNEL. SAD THAT IT'S OVER :(
@MrChughad
@MrChughad Жыл бұрын
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.
@edwinbuabeng3847
@edwinbuabeng3847 3 жыл бұрын
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
@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.
@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.
@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
@christophereng9801
@christophereng9801 3 жыл бұрын
Awesome video. Would love more content around topic modeling/generation!
@stevemurch3245
@stevemurch3245 3 жыл бұрын
Really terrific, Laurence, thanks so much for all the effort you put into these excellent videos.
@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!
@MohammadYs77
@MohammadYs77 2 жыл бұрын
Best NLP Series I've ever seen. Thank you
@adamcohenhillel
@adamcohenhillel 3 жыл бұрын
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
@0xsercaksoy
@0xsercaksoy 3 жыл бұрын
playlist was amazing, thanks for work!!
@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! :)
@mohitjoshi8818
@mohitjoshi8818 2 жыл бұрын
This was so helpful, thanks for this. It would be great if you make more like this.
@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 :)
@syedadnan4295
@syedadnan4295 3 жыл бұрын
Really awesome to learn about NLP in such a easy way
@525sumithmeesa9
@525sumithmeesa9 3 жыл бұрын
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
@luis96xd
@luis96xd 3 жыл бұрын
This was an amazing video! Thanks I want to see more NLP videos 😄
@karanbrokendream
@karanbrokendream 3 жыл бұрын
Thank you for these videos.. the simplest and best explanation i've seen by far.
@user-vj9hb3gy6d
@user-vj9hb3gy6d 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! :)
@gabrielchung6325
@gabrielchung6325 4 жыл бұрын
Very nice series. It gives me good understanding of NLP and I would like to thank you. More please.
@laurencemoroney655
@laurencemoroney655 3 жыл бұрын
Welcome!
@DaveOmri
@DaveOmri 2 жыл бұрын
thank you for this serie, fun till the end
@omidforoqi4163
@omidforoqi4163 3 жыл бұрын
OMG, very nice and thank you google. I hope this course continues
@markusobi4148
@markusobi4148 6 ай бұрын
Very interesting series, thank you!
@quadraticlife8314
@quadraticlife8314 2 жыл бұрын
please create more videos, they're great, thanks a bunch.
@26MS10
@26MS10 3 жыл бұрын
Damn that was so easy to grasp, thank you so much Sir!!!!!
@therohans5492
@therohans5492 Жыл бұрын
This was a great series thank you
@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 🎶
@danialaflakian2748
@danialaflakian2748 Жыл бұрын
Thank you for your beautiful explanation.
@ayca7401
@ayca7401 3 жыл бұрын
thank you for the series!
@kenjopac4247
@kenjopac4247 2 жыл бұрын
I literally had a project about this exact exact thing, Thank you very much!
@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 3 жыл бұрын
There's already a computer vision one out there. I'm looking into RL
@Ab_Jannadi
@Ab_Jannadi 3 жыл бұрын
It is a great series.. thanks , good work
@leonardvanduuren8708
@leonardvanduuren8708 3 жыл бұрын
Thank you so much Sir! Please give us the opportunity to learn more from you.
@kimjensen1787
@kimjensen1787 Жыл бұрын
Brilliant. Very vel explained. thanks
@e_hossam96
@e_hossam96 2 жыл бұрын
wonderful and simple. thanx.
@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.
@LeonardoPinto
@LeonardoPinto 4 жыл бұрын
great content, we need more!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Working on it...
@jrodthriller
@jrodthriller 4 жыл бұрын
great stuff, i'm getting a lot out of the series. thanks!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks! :)
@sebastianandrescajasordone8501
@sebastianandrescajasordone8501 2 жыл бұрын
This was great!
@emadgirgis6689
@emadgirgis6689 3 жыл бұрын
Awesome work! Thank you. Could you please add videos about using transformers and attention?
@adnan_randomnumber
@adnan_randomnumber 3 жыл бұрын
More videos please, the instructor is very good
@shardsmp8831
@shardsmp8831 Жыл бұрын
new content about nlp please, this series is amazing!
@hikmetcancelik
@hikmetcancelik 3 жыл бұрын
Yes we want more please!
@b1twis3
@b1twis3 Жыл бұрын
Great content! Thanks a lot
@reeshmakannampurath5592
@reeshmakannampurath5592 4 жыл бұрын
Excellent!, Looking forward to Text summarization.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Great idea -- I should work on that
@cr0wzzz
@cr0wzzz 10 ай бұрын
I've watched this 3 times and understand shed love raw boo more each time.
@ghousethanedar7852
@ghousethanedar7852 3 жыл бұрын
Great content.....Thank you very much would like to see more video
@theotherstuff2112
@theotherstuff2112 4 жыл бұрын
Would love more NLP stuff!
@laurencemoroney655
@laurencemoroney655 3 жыл бұрын
Do you have any specific requests?
@soufianei4941
@soufianei4941 27 күн бұрын
thank u ser , this series was very helpfull
@humnashafqat9719
@humnashafqat9719 3 жыл бұрын
great and easy to learn thanks
@prasannadas8418
@prasannadas8418 4 жыл бұрын
Amazing tutorial ,Thanks
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome! :)
@mansoural-harbi6096
@mansoural-harbi6096 4 жыл бұрын
Awesome >>> I will vote for another session on NLP
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@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.
@nirajkumarsingh5478
@nirajkumarsingh5478 2 жыл бұрын
nice content..easy to understand.
@rlb5261
@rlb5261 3 жыл бұрын
It is just amazing!
@rayyanamir8560
@rayyanamir8560 2 жыл бұрын
This is the best video on next word prediction (text prediction). Thanks a lot Mr. Laurence. :) #NextWordPrediction #TextPrediction #NLP
@rishikambhampati2862
@rishikambhampati2862 3 жыл бұрын
Thanks a lot. Teaching at it's best
@hadizand3753
@hadizand3753 3 жыл бұрын
Excellent.
@vietdinh-van8018
@vietdinh-van8018 4 жыл бұрын
Your idea is great.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@koponstanley4
@koponstanley4 2 жыл бұрын
shed love raw boo = you guys are amazing
@alelignmekonen3759
@alelignmekonen3759 3 жыл бұрын
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)?
@topekekere6614
@topekekere6614 3 жыл бұрын
nice presentation. I want more video content on analyzing tweets
@hahustatisticalconsultancy8869
@hahustatisticalconsultancy8869 Жыл бұрын
very very helpful and thanks
@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
@darrenaldrich6185
@darrenaldrich6185 4 ай бұрын
Nice video! Thank you :D
@charanbirdi
@charanbirdi Жыл бұрын
great explanation and thank you for all the efforts ~~, any chance if you could include advance NLP videos i.e. transformer, LLM?
@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! :)
@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.
@herstar9510
@herstar9510 3 жыл бұрын
It would be great if the playlist was listed in order of what we should watch.
@adityadhekane
@adityadhekane 3 жыл бұрын
Great series , I would like to see topicmodeling using tensorflow
@adityadhekane
@adityadhekane 3 жыл бұрын
@@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)
@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
@kamilfilipek2879
@kamilfilipek2879 3 жыл бұрын
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 3 жыл бұрын
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.
@mithunchandrasaha403
@mithunchandrasaha403 3 жыл бұрын
Nice Explation.Sir.I want more
@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😊🤗
@aungzinpyae8606
@aungzinpyae8606 3 жыл бұрын
Super simple and super amazing tutorial! Please make a simple tutorial for seqtoseq machine translation model.
@RSUtsha
@RSUtsha 3 жыл бұрын
Did I comment already? I just wanna say, this was awesome..
@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
@topekekere6614
@topekekere6614 3 жыл бұрын
which software was used to curate this video? Excellent video presentation
@agentstona
@agentstona Жыл бұрын
Laurence morony please come back and make more tutorials you are the best ..
@rahuldeepattri9244
@rahuldeepattri9244 4 жыл бұрын
More please!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Pausing for a little while as I'm working on my next coursera courses
@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 :)
@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
@asimpoptani316
@asimpoptani316 4 жыл бұрын
Def want more :)
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Thanks! :)
@16876
@16876 4 жыл бұрын
great, thanks
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome!
@MuhammadAli-fn5kv
@MuhammadAli-fn5kv 3 жыл бұрын
this is waht i am loking for
@laurencemoroney655
@laurencemoroney655 3 жыл бұрын
Great! :)
@olamilekanbanjo5609
@olamilekanbanjo5609 3 жыл бұрын
Please can you make a series on speech recognition?
@fahemhamou6170
@fahemhamou6170 Жыл бұрын
تحياتي الخالصة شكرا جزيلا
@DrJanpha
@DrJanpha 2 жыл бұрын
Great
@deepanshu.770
@deepanshu.770 2 жыл бұрын
Please make more education video on NLP
@kiruthihannagarajan3221
@kiruthihannagarajan3221 4 жыл бұрын
It's amazing and I could implement it in various string dataset. But I have a doubt. How to improve it to learn from multiple poems?
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
It's already learning from multiple poems, I aggregated them all into a single file
@SD-nn7qq
@SD-nn7qq 4 жыл бұрын
I'm getting a pretty good accuracy, but then this message is coming in the editor: Also, no text is being generated. Does anyone know the solution?
@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 :(
@saeeduchiha5537
@saeeduchiha5537 3 жыл бұрын
is this series really meant for someone with a beginner level in NLP?? I can understand most of the concepts but I don't know any of the (keras) functions used!
@soronprfbs17
@soronprfbs17 4 жыл бұрын
Please more NLP!
@laurencemoroney655
@laurencemoroney655 3 жыл бұрын
Do you have any specific requests?
@tooljerk666
@tooljerk666 3 жыл бұрын
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?
@rajnish747
@rajnish747 2 жыл бұрын
WE WANT MORE NLP
@akashraut3581
@akashraut3581 3 жыл бұрын
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
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 13 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 16 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 1,5 МЛН