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

  Рет қаралды 110,694

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

Пікірлер: 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.
@rezajafari5348
@rezajafari5348 3 жыл бұрын
Best Tensorflow learning Ever I've seen
@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!
@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.
@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.
@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!
@stevemurch3245
@stevemurch3245 3 жыл бұрын
Really terrific, Laurence, thanks so much for all the effort you put into these excellent videos.
@MohammadYs77
@MohammadYs77 3 жыл бұрын
Best NLP Series I've ever seen. Thank you
@mans9318
@mans9318 3 жыл бұрын
This vid totally made me shed love raw boo...:p
@0xsercaksoy
@0xsercaksoy 3 жыл бұрын
playlist was amazing, thanks for work!!
@mohitjoshi8818
@mohitjoshi8818 2 жыл бұрын
This was so helpful, thanks for this. It would be great if you make more like this.
@christophereng9801
@christophereng9801 4 жыл бұрын
Awesome video. Would love more content around topic modeling/generation!
@syedadnan4295
@syedadnan4295 3 жыл бұрын
Really awesome to learn about NLP in such a easy way
@luis96xd
@luis96xd 3 жыл бұрын
This was an amazing video! Thanks I want to see more NLP videos 😄
@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 :)
@karanbrokendream
@karanbrokendream 3 жыл бұрын
Thank you for these videos.. the simplest and best explanation i've seen by far.
@தமிழோன்
@தமிழோன் 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! :)
@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
@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! :)
@omidforoqi4163
@omidforoqi4163 3 жыл бұрын
OMG, very nice and thank you google. I hope this course continues
@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
@DaveOmri
@DaveOmri 2 жыл бұрын
thank you for this serie, fun till the end
@26MS10
@26MS10 4 жыл бұрын
Damn that was so easy to grasp, thank you so much Sir!!!!!
@therohans5492
@therohans5492 Жыл бұрын
This was a great series thank you
@markusobi4148
@markusobi4148 8 ай бұрын
Very interesting 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 🎶
@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!
@quadraticlife8314
@quadraticlife8314 2 жыл бұрын
please create more videos, they're great, thanks a bunch.
@danialaflakian2748
@danialaflakian2748 Жыл бұрын
Thank you for your beautiful explanation.
@kenjopac4247
@kenjopac4247 2 жыл бұрын
I literally had a project about this exact exact thing, Thank you very much!
@Ab_Jannadi
@Ab_Jannadi 3 жыл бұрын
It is a great series.. thanks , good work
@ayca7401
@ayca7401 3 жыл бұрын
thank you for the series!
@kimjensen1787
@kimjensen1787 Жыл бұрын
Brilliant. Very vel explained. thanks
@jrodthriller
@jrodthriller 4 жыл бұрын
great stuff, i'm getting a lot out of the series. thanks!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks! :)
@emadgirgis6689
@emadgirgis6689 4 жыл бұрын
Awesome work! Thank you. Could you please add videos about using transformers and attention?
@e_hossam96
@e_hossam96 2 жыл бұрын
wonderful and simple. thanx.
@leonardvanduuren8708
@leonardvanduuren8708 3 жыл бұрын
Thank you so much Sir! Please give us the opportunity to learn more from you.
@soufianei4941
@soufianei4941 2 ай бұрын
thank u ser , this series was very helpfull
@sebastianandrescajasordone8501
@sebastianandrescajasordone8501 3 жыл бұрын
This was great!
@herstar9510
@herstar9510 3 жыл бұрын
It would be great if the playlist was listed in order of what we should watch.
@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.
@cr0wzzz
@cr0wzzz Жыл бұрын
I've watched this 3 times and understand shed love raw boo more each time.
@nirajkumarsingh5478
@nirajkumarsingh5478 2 жыл бұрын
nice content..easy to understand.
@adnan_randomnumber
@adnan_randomnumber 3 жыл бұрын
More videos please, the instructor is very good
@b1twis3
@b1twis3 Жыл бұрын
Great content! Thanks a lot
@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
@mansoural-harbi6096
@mansoural-harbi6096 4 жыл бұрын
Awesome >>> I will vote for another session on NLP
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Thanks!
@ghousethanedar7852
@ghousethanedar7852 3 жыл бұрын
Great content.....Thank you very much would like to see more video
@LeonardoPinto
@LeonardoPinto 4 жыл бұрын
great content, we need more!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Working on it...
@shardsmp8831
@shardsmp8831 Жыл бұрын
new content about nlp please, this series is amazing!
@charanbirdi
@charanbirdi Жыл бұрын
great explanation and thank you for all the efforts ~~, any chance if you could include advance NLP videos i.e. transformer, LLM?
@hikmetcancelik
@hikmetcancelik 3 жыл бұрын
Yes we want more please!
@humnashafqat9719
@humnashafqat9719 3 жыл бұрын
great and easy to learn thanks
@koponstanley4
@koponstanley4 2 жыл бұрын
shed love raw boo = you guys are amazing
@rayyanamir8560
@rayyanamir8560 2 жыл бұрын
This is the best video on next word prediction (text prediction). Thanks a lot Mr. Laurence. :) #NextWordPrediction #TextPrediction #NLP
@hadizand3753
@hadizand3753 3 жыл бұрын
Excellent.
@rishikambhampati2862
@rishikambhampati2862 3 жыл бұрын
Thanks a lot. Teaching at it's best
@reeshmakannampurath5592
@reeshmakannampurath5592 4 жыл бұрын
Excellent!, Looking forward to Text summarization.
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Great idea -- I should work on that
@theotherstuff2112
@theotherstuff2112 4 жыл бұрын
Would love more NLP stuff!
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Do you have any specific requests?
@hahustatisticalconsultancy8869
@hahustatisticalconsultancy8869 Жыл бұрын
very very helpful and thanks
@rlb5261
@rlb5261 3 жыл бұрын
It is just amazing!
@darrenaldrich6185
@darrenaldrich6185 5 ай бұрын
Nice video! Thank you :D
@prasannadas8418
@prasannadas8418 4 жыл бұрын
Amazing tutorial ,Thanks
@laurencemoroney655
@laurencemoroney655 4 жыл бұрын
Welcome! :)
@topekekere6614
@topekekere6614 3 жыл бұрын
nice presentation. I want more video content on analyzing tweets
@topekekere6614
@topekekere6614 3 жыл бұрын
which software was used to curate this video? Excellent video presentation
@olamilekanbanjo5609
@olamilekanbanjo5609 3 жыл бұрын
Please can you make a series on speech recognition?
@mithunchandrasaha403
@mithunchandrasaha403 3 жыл бұрын
Nice Explation.Sir.I want more
@RSUtsha
@RSUtsha 3 жыл бұрын
Did I comment already? I just wanna say, this was awesome..
@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)?
@danieleangelini6238
@danieleangelini6238 3 жыл бұрын
Amazing video thanks a lot ..but how to handle model created ?
@vietdinh-van8018
@vietdinh-van8018 4 жыл бұрын
Your idea is great.
@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.
@aungzinpyae8606
@aungzinpyae8606 3 жыл бұрын
Super simple and super amazing tutorial! Please make a simple tutorial for seqtoseq machine translation model.
@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
@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! :)
@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
@teetanrobotics5363
@teetanrobotics5363 3 жыл бұрын
please order the playlist
@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)
@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.
@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
@crazycat6569
@crazycat6569 Жыл бұрын
How to train the model to stop in some point when generating text?
@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😊🤗
@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.
@agentstona
@agentstona Жыл бұрын
Laurence morony please come back and make more tutorials you are the best ..
@user-ce3cv9rf2g
@user-ce3cv9rf2g 3 жыл бұрын
Sir can you make more videos on NLP
@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 :)
@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
@daniyalhassan6942
@daniyalhassan6942 3 жыл бұрын
Does the playlist in the sequence ?
@fahemhamou6170
@fahemhamou6170 Жыл бұрын
تحياتي الخالصة شكرا جزيلا
@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 :(
@deepanshu.770
@deepanshu.770 2 жыл бұрын
Please make more education video on NLP
@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!
@brajendrasharma8063
@brajendrasharma8063 4 жыл бұрын
What is the difference between Natural language processing and Recurrent neural network? I mean we could use NLP for the completion of this task then why to use RNN?
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
RNN is one of the architectures that lets you do NLP
@rahuldeepattri9244
@rahuldeepattri9244 4 жыл бұрын
More please!
@LaurenceMoroney
@LaurenceMoroney 4 жыл бұрын
Pausing for a little while as I'm working on my next coursera courses
@rushikeshgandhmal
@rushikeshgandhmal 4 жыл бұрын
Could you please name the all books behind you Sir ??
@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
Neural Structured Learning - Part 1: Framework overview
5:13
TensorFlow
Рет қаралды 43 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 88 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 24 МЛН
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 6 МЛН
Transformers, explained: Understand the model behind GPT, BERT, and T5
9:11
Why Neural Networks can learn (almost) anything
10:30
Emergent Garden
Рет қаралды 1,2 МЛН
Saving and Loading Models (Coding TensorFlow)
6:53
TensorFlow
Рет қаралды 169 М.
Can a computer write poetry? | Oscar Schwartz
10:57
TED
Рет қаралды 89 М.
A Complete Overview of Word Embeddings
17:17
AssemblyAI
Рет қаралды 100 М.
Autoencoders in Python with Tensorflow/Keras
49:39
sentdex
Рет қаралды 75 М.
Long Short-Term Memory for NLP (NLP Zero to Hero - Part 5)
4:10
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 1,6 МЛН
Худший продукт Apple
0:53
Rozetked
Рет қаралды 221 М.