I Built an A.I. Voice Assistant using PyTorch - part 1, Wake Word Detection

Поделиться
HTML-код
  • Опубликовано: 14 июл 2024
  • This is a series where I walk through the engineering steps and challenges on how to build an Artificial intelligence voice assistant, similar to google home or Amazon Alexa, with Python and PyTorch on a Raspberry Pi. I leverage the latest machine and deep learning techniques to achieve this.
    In this video, I show how you can build a wake word detector (keyword spotting) using recurrent neural networks specifically LSTMs.
    ⭐ Play and Experiment With the Latest AI Technologies at grandline.ai ⭐
    Github:
    github.com/LearnedVector/A-Ha...
    Parts:
    raspberry pi 4 model b - www.amazon.com/gp/product/B07...
    ReSpeaker 2 mic array hat - www.amazon.com/gp/product/B07...
    portable mini speaker - www.amazon.com/gp/product/B07...
    micro sd - www.amazon.com/gp/product/B07...

Комментарии • 358

  • @ItachiUchiha-nx2sw
    @ItachiUchiha-nx2sw 4 года назад +260

    First few minutes : Alright, this sounds so cool
    Middle part: Da fuq
    Last few minutes : Alright, this sounded cool

  • @robinranabhat3125
    @robinranabhat3125 3 года назад +107

    While internet is full of AI guru's teaching basics with some slides and a jupyter notebook, this guy actually teaches ML with a production level code. Why are you underrated !!

    • @p._7555
      @p._7555 3 года назад +3

      True.
      On the learning curve, we need basic and high level AI teaching too

  • @gamecraftczjaajenomja1057
    @gamecraftczjaajenomja1057 Год назад +11

    Amazing video! Finally someone not just showing some random jupyter notebook. I love how you show the real problems: not enough wake word samples, voice streaming, long training times, etc.
    Continue if possible, I would greatly appreciate it!

  • @GeometryDashEndermaster
    @GeometryDashEndermaster 4 года назад +310

    You're like an alternate reality Michael Reeves

    • @soon3794
      @soon3794 3 года назад +14

      Basically a less suicidal version lol

    • @dareokoski8158
      @dareokoski8158 3 года назад +8

      @@soon3794 he is still yung, give him time XD

    • @TeamVexVideos
      @TeamVexVideos 3 года назад

      The other Micheal isn't as good with Man's AI. He just uses like google API or existing software. And Micheal Reeves just does comedy not education.

    • @sgodsell2
      @sgodsell2 2 года назад

      At 10:00 you said two words that sound similar, like MOLLY, and FOLLY, FALLEY. If you were to include those 2 or 3 words in your model data under a different category. Then they will never trigger when you say any of those words, except when you say hey wally.

    • @mohamedfasil4932
      @mohamedfasil4932 2 года назад

      The weather is M####F#### hot I thought that and in deep thinking this doesn't sounds right

  • @Rottingflare
    @Rottingflare 3 года назад +3

    This looks like an awesome project, can't wait to see more development!

  • @user-fj4ih3lo9f
    @user-fj4ih3lo9f 4 года назад +91

    Could you make a more detailed tutorial? I couldn't find any other videos on how to make an AI Voice Assistant, i really liked the vid altough it was sometimes hard to follow. Would really enjoy a full detailed series on this :D

    • @bryanfeliciano4102
      @bryanfeliciano4102 3 года назад +11

      The best way to learn is to mess with it my dude. Go into the GitHub and read the code, and start writing your own following his example but alter it to suit your tastes .

  • @theaihacker777
    @theaihacker777  4 года назад +36

    thanks for the support!

    • @leninbabu5797
      @leninbabu5797 3 года назад

      Its been cool to see U
      Can we make this model using raspberry Pi zero !!

    • @maritzadelascasas2727
      @maritzadelascasas2727 3 года назад

      the mot ovios wake word is wake up a.i.

  • @RichardBaileyrichoncode
    @RichardBaileyrichoncode 4 года назад +6

    Looking forward to next episodes.

  • @Elian-
    @Elian- 4 года назад +2

    Great video! High qualiy, entertaining and inspiring

  • @aayushbajaj2260
    @aayushbajaj2260 2 года назад +1

    this is insane. thank you for building this.

  • @elliotmarks06
    @elliotmarks06 Год назад +12

    This project looks super cool! I'm a little late to the party, but I think this would be awesome to revisit with the new AI chat tools! Especially something like GPT-Neo or the other open-source implementations.

  • @fahdciwan8709
    @fahdciwan8709 4 года назад +1

    Keep it coming Michael !!! Thanks a ton!!

  • @ali-g
    @ali-g 4 года назад +3

    Oh man, you are amazing! Just inspired me, thanks for the great content.

  • @mileshall5795
    @mileshall5795 Год назад

    DUDE!!!!....You are a total BOSS!!! Thanx man. you are WAAYY better at this instructional thing than established channels/RUclipsrs that (for some reason) have more subscribers, etc. Keep that stuff UP!! You are just the dude I was looking for.

  • @johnhandley1870
    @johnhandley1870 4 года назад +56

    I’m watching this video on my iPad and when you said “Hey Siri”, Siri woke up...
    By the way, I’d be really interesting in seeing a video in which you explain how to set up a computer to carry out Machine Learning tasks. :)

  • @rangefreewords
    @rangefreewords 2 года назад +44

    Awesome! I was looking for a totally offline LAN based smart A.I. like what you just presented
    Objective: To control everything on my sailboat, take helm, drop anchor, play music or movies from my pi based server and work alongside my autopilot systems and chart plotter. I know often during my voyages I won't be accessing any internet but, I want to have all the same ubiquitous control as a smart home, etc. I am trying to source as much as I can from RUclips to build a decent system.
    Keep up the awesome work!

    • @subhajitkundu7546
      @subhajitkundu7546 2 года назад +5

      Hey, good day mate,
      The project that you talked about sounds awesome. I am just checking in to know how the project is coming along and where are you headed with this project currently.

    • @danielogunlolu
      @danielogunlolu Год назад

      I am working on something similar on channel. Kindly check it out

    • @mathewpatterson2187
      @mathewpatterson2187 Год назад

      Ahoy there! I'm also checking in, how's it going with the project sounds awesome and very reminiscent of what I want to do! Have you had much success?

    • @daanzap
      @daanzap Год назад +1

      I have the exact same idea! It's going to feel a bit like being on the enterprise.

  • @andreashon
    @andreashon 4 года назад +21

    This video is exactly what I was looking for. All other voice assistant youtube guides use shitty Google services and other proprietary sources. Thank you. Looking forward for next vids on this topic.
    Also that'd be interesting if you reveal how much time have your machine spent on all that learning.

    • @theaihacker777
      @theaihacker777  4 года назад +2

      Next video coming up soon! For wakeword, training was really fast. only spent like 30 minutes training.

    • @leif1075
      @leif1075 Год назад

      @@theaihacker777 Was this process mostly fun and enjoyable? If not how did you not give up when it got hard and not get bored and frustrated? Thanks for sharing.

  • @anshpatel8083
    @anshpatel8083 3 года назад +2

    “ Apple’s okay. “
    Im subscribing this channel

  • @adarshvinayak
    @adarshvinayak 4 года назад +5

    Your videos are amazing man. You've just earned a fan.
    By the way, I'd love to see you make the speech recognition model next.

    • @theaihacker777
      @theaihacker777  4 года назад +2

      It seems that speech recognition is popular!

  • @PrashantKumar-do5fk
    @PrashantKumar-do5fk Год назад

    Been watcNice tutorialng your vids for a good few weeks now, learning new sNice tutorialt each day. my worksoftow has improved so much since watcNice tutorialng

  • @cloudsystem3740
    @cloudsystem3740 Год назад

    honesty i never used anything like that but somehow you inspire me to start thinking how i can learn that stuff very nice video and source code thanks

  • @leisana4097
    @leisana4097 3 года назад +4

    Extremely extremely intelligent AI. You asked what next to try - Can you try - Self driving car with Raspberry Pi and Pytorch. A small rover

  • @prakashupadhyay9529
    @prakashupadhyay9529 4 года назад

    Loved your explanation and flow!

  • @etienneekpo348
    @etienneekpo348 4 года назад +1

    Cool Mike. Thanks for sharing !

  • @thom2503
    @thom2503 4 года назад +1

    Great video, liking the format

  • @seesah
    @seesah 4 года назад +3

    this is so amazing!

  • @developerpranav
    @developerpranav Год назад

    This is super cool! You explained it very well, really appreciate it! :D Thanks!

  • @mauricioandrestiznadoroman3460

    production. Thanks again!

  • @egs-zs8-127
    @egs-zs8-127 3 года назад +1

    Great video! Thank you so much!

  • @xYASMINNN
    @xYASMINNN 3 года назад +1

    Love this! 🤍

  • @r7rahuls
    @r7rahuls 3 года назад

    Finally.....I got what I was looking for.
    ❤️

  • @amitg2k
    @amitg2k 2 года назад

    Awesome...way to go

  • @antoniomeraz520
    @antoniomeraz520 3 года назад

    Dude you´re awesome!!! make more of this

  • @kellbooby265
    @kellbooby265 3 года назад +1

    Love u bro
    I had didn't find this information even in google....thanks a lot..

  • @mcudgir1291
    @mcudgir1291 Год назад

    This helped a lot thank you

  • @தமிழோன்
    @தமிழோன் 3 года назад +1

    I wonder why your channel is still not famous. 🤔You deserve millions of subscribers!!!

  • @fteoOpty64
    @fteoOpty64 3 года назад

    Ultra Cool Dude!. Fantastic instruction process and very concise. Very Good. 101% grading!.

  • @DJWangDJ
    @DJWangDJ Год назад

    dude, you are awesome!

  • @manuelherrerahipnotista8586
    @manuelherrerahipnotista8586 2 года назад

    Very clear explanation. Thanks a lot

  • @mingtang9823
    @mingtang9823 3 года назад

    This is very helpful! Thanks a lot. I subscribed!

  • @justsomeguywithtattoos6267
    @justsomeguywithtattoos6267 3 года назад +11

    This could be easily applied for translations, so that you can have an earplugs that instantly translates what someone is saying to you

  • @PritishMishra
    @PritishMishra 3 года назад +1

    You are a genius.. Subscribed !!

  • @DrSmart20
    @DrSmart20 Год назад

    haha i looked the idea up like a year ago thinking it would be cool and everything i found was just "attatch spare phone to a speaker" lol this just showing up in my feed now is so exciting

  • @getalife6654
    @getalife6654 3 года назад

    I really like your content and wanted to try this myself :)

  • @400DaysUnicorn
    @400DaysUnicorn 3 года назад

    Couldn't find part 2 and so on. Would love to do this project for myself. Thank you!

  • @ramoncaceres4399
    @ramoncaceres4399 3 года назад +9

    Pretty interesting. For about 2 years I’ve been obsessed with turning my house into an AI assistant. Yet have the voice Overlay of ( BT from titanfall ). Yet pretty hard to do that.

  • @dillonridder8737
    @dillonridder8737 4 года назад +60

    "Apple's okay" lol

    • @schwarzarbyter
      @schwarzarbyter 3 года назад

      thats exactly when this video got its 72nd dislike.

  • @myrthestruver5262
    @myrthestruver5262 Год назад

    you have no idea how proud I am I even understood half of this haha

  • @HappiFix
    @HappiFix 3 года назад

    daaaaayum good stuff homie g gangsta

  • @applabstudio3155
    @applabstudio3155 3 года назад

    Thank you very much❤️❤️❤️❤️please continue

  • @UmbraAtrox_
    @UmbraAtrox_ 2 года назад

    THANK YOU!

  • @janardannn
    @janardannn 4 года назад +1

    Amazing dude :O

  • @RomansapienMVision
    @RomansapienMVision 2 года назад

    Thanks for sharing. I was looking for a video that would get my head spinning then eventually put me to sleep.

  • @CleffnaTV
    @CleffnaTV Год назад

    Amazing!!!

  • @romicasimiaisialtele366
    @romicasimiaisialtele366 Год назад

    Thank you Mike! I'm just starting out and tNice tutorials video really helped get the basics down!

  • @vanmanhle5642
    @vanmanhle5642 3 года назад

    That's really great

  • @saltofearth4902
    @saltofearth4902 3 года назад +1

    Omgurd your awesome.. First five min freaking had me laughing hard!

  • @dheerajrishimusic
    @dheerajrishimusic 3 года назад

    this is very nice

  • @alexzab7653
    @alexzab7653 3 года назад +1

    It's amazing!!!

  • @hs4lhp828
    @hs4lhp828 3 года назад +1

    Interesting video. Looks like fun. You're smart af.
    In other news, I've always suspected that I'm dumb af. This is now confirmed.

  • @benniegant
    @benniegant 3 года назад

    Wow, My AI Assistant is working now Thanks!!!

    • @lionellow105
      @lionellow105 Год назад

      Hey sorry for bothering but would it be okay if I ask you some questions on how you got it to work? Especially the raspberry Pi part

  • @sreeram9220
    @sreeram9220 2 года назад +1

    I'm not gonna lie when I hear your one minute speech I find some hope

  • @akashdhage
    @akashdhage 3 года назад

    Great learning thanks a lot.
    I have gone through the video completely,if the audio signal is split with a equal diffrence for eg:2 sec then it may result in loss of information as a the split may occur at the middle of word

  • @marwinsteiner5817
    @marwinsteiner5817 3 года назад

    Hey you, I have the same computer case like you! Interesting video!

  • @mitchellstewart6745
    @mitchellstewart6745 9 месяцев назад

    It’s a shame you didn’t keep this repo up I just got a raspberry pi and this is my intentions but I don’t know enough about ML or engineering to pull it off 😅 thanks for the content!

  • @lalitbhargava3993
    @lalitbhargava3993 3 года назад

    Very informative

  • @NathanaelNewton
    @NathanaelNewton Год назад

    "Ok, Now that we got the code.."
    Wow.. that was so information dense.. SUBBED AND BELL WOW.. I'm going to learn a lot here I think :)

  • @halimaujunwa9533
    @halimaujunwa9533 3 года назад

    Oh yhhh......I got lost in that mathematical modelling part tho but still cool.....really cool

  • @PiyushSharma-od2el
    @PiyushSharma-od2el 3 года назад

    Nice making Terminator A.i

  • @wearesisterstube7354
    @wearesisterstube7354 3 года назад

    Good job

  • @ShivamVerma-gq2sm
    @ShivamVerma-gq2sm 4 года назад +1

    Why not go in the sequence you already told?
    Incredible video ! I read a blog of yours on medium about LSTM, quite good explaination. Thanks man for such an awesome stuff .

    • @theaihacker777
      @theaihacker777  4 года назад +1

      Always a logical choice! but just wanted to know what the viewers are most interested in seeing next

  • @sunilshewale913
    @sunilshewale913 3 года назад

    awesome

  • @onlyyou200548
    @onlyyou200548 2 года назад

    good job.

  • @mbp5863
    @mbp5863 2 года назад

    You make some pretty damn good content!:) When is the next video coming?

  • @harjunmnath
    @harjunmnath 2 года назад +1

    common man, give us the next video of this series we have been waiting too long

  • @GalacticTechTrails
    @GalacticTechTrails 2 года назад

    random shit!!
    Love it. Your the man!

  • @robertsutkowski3170
    @robertsutkowski3170 Год назад

    Nice

  • @scollyb
    @scollyb 4 года назад

    Great video. Have you tried the simple solution of adding examples of you saying the close phrases to the training set. Simplest way would be just to add many copies of them to the set and retrain. Possible more robust way would be to add a second stage to the process trained on only your voice.

  • @tuananhlam90
    @tuananhlam90 4 года назад

    Hey great tutorial! Looking forward to your written guide! But question/request for you: if I don't have access to expensive deep learning hardware setup like you have here, can you do another separate tutorial series on how to build/train model on say AWS/GCP?

    • @theaihacker777
      @theaihacker777  4 года назад +1

      Totally can consider that. But I think there are quite a few tutorials like that out there. Also i would recommend using google colab since it’s free and good enough for small projects

  • @RichardBaileyrichoncode
    @RichardBaileyrichoncode 4 года назад

    Fun project.

  • @TheAcujlGamer
    @TheAcujlGamer 3 года назад

    Did I just found a small creator that makes great & fun pyTorch content?

  • @bradc6056
    @bradc6056 3 года назад +1

    I haven’t seen the rest yet, but have you thought of creating a blacklist of all the words that sounds like Wally, and that should increase overall accuracy.

  • @szczurekk1155
    @szczurekk1155 Год назад

    I also really like softEX, it has a very nice effect to it

  • @lukewhatley8043
    @lukewhatley8043 4 года назад +3

    Awesome video! Do you know if the dataset you decide to train it on has to be in .wav format? So close to getting your example working! Let me know if theres somewhere I can ask some questions regarding your code. Again great video man!

    • @theaihacker777
      @theaihacker777  4 года назад +2

      Hey Luke! If you have discord, join the discord server and I can help you there. The link is in the description.

  • @benni5541
    @benni5541 2 года назад

    Im Currentlx using rasphy. Although its pretty neat and does EVERYTHING, it does not leave much room for the very tech savy users. I guess i will tinker a bit with your code and incorperate parts. But i need to replicate my current satellite nodes with printed pcb first. So much todo :D

  • @randallnorwood6803
    @randallnorwood6803 Год назад

    Well I must say that I'm very interested

  • @provakar5496
    @provakar5496 3 года назад

    Thanks a lot, I just made google assistant!

  • @alicomando1195
    @alicomando1195 Год назад

    Those codes make me breath deeper

  • @kutilkol
    @kutilkol 4 года назад

    top! where is the mill views

  • @tiagopaim3060
    @tiagopaim3060 3 года назад

    Bruh. Get instantly subscribed

  • @ObitoUchiha-be1jo
    @ObitoUchiha-be1jo 3 года назад

    I was thinking of building too using raspberry xD. I'm surprised u didn't include cortana

  • @badcamerax
    @badcamerax 3 года назад

    this guy is genious

  • @JorgeHernandez-iw2fd
    @JorgeHernandez-iw2fd 3 года назад +22

    How does someone even get to this level? I'm assuming years of practice and stuff but what/how did you practice?

  • @sunilshewale913
    @sunilshewale913 3 года назад

    liked and subscribed

  • @RudraPratapSingh-nh7lw
    @RudraPratapSingh-nh7lw 3 года назад

    Part 2 fast please

  • @2Taps420
    @2Taps420 2 года назад

    do a full how to video plz!

  • @karanrathod8555
    @karanrathod8555 3 года назад

    sir please complete full course of this AI soon...

  • @camaranpayne5355
    @camaranpayne5355 2 года назад

    New follower

  • @MrBobWareham
    @MrBobWareham 3 года назад

    How did you learn so much and know what to type? It just looks so complicated you are awsome

  • @andressastre6298
    @andressastre6298 4 года назад

    do the NLU next!!