How to Make a Language Translator - Intro to Deep Learning #11

Sdílet
Vložit
  • čas přidán 11. 09. 2024
  • Let's build our own language translator using Tensorflow! We'll go over several translation methods and talk about how Google Translate is able to achieve state of the art performance.
    Code for this video:
    github.com/llS...
    Ryan's Winning Code:
    github.com/rtl...
    Sarah's Runner-up Code:
    github.com/sco...
    More Learning Resources:
    / machine-learning-is-fu...
    www.tensorflow...
    devblogs.nvidi...
    • A Practical Guide to N...
    neural-monkey.r...
    blog.systransof...
    www.wildml.com/...
    blog.altoros.c...
    www.quora.com/...
    blog.heuritech...
    smerity.com/ar...
    Please Subscribe! And like. And comment. That's what keeps me going.
    Join us in the Wizards Slack channel:
    wizards.herokua...
    And please support me on Patreon:
    www.patreon.co...
    Credits to Biggi Hilmars for the intro tune
    Follow me:
    Twitter: / sirajraval
    Facebook: / sirajology Instagram: / sirajraval
    Signup for my newsletter for exciting updates in the field of AI:
    goo.gl/FZzJ5w
    Hit the Join button above to sign up to become a member of my channel for access to exclusive content! Join my AI community: chatgptschool.io/ Sign up for my AI Sports betting Bot, WagerGPT! (500 spots available):
    www.wagergpt.co

Komentáře • 184

  • @michaelpatrick6024
    @michaelpatrick6024 Před 2 lety +52

    *I like the design of the **Bestt.Digital** translator , and charging case. It is little bit heavy. The application is easy to use, but there are things to be improved. For example, I knew the earbud are connected to the phone, but I didn’t know I need to reconfirm it again, so I would be able to use “Speaker mode” . I took sometime to find it though.*

  • @braa194332
    @braa194332 Před 7 lety +32

    I really appreciate that you're a professional who's willing to share his expertise, even though I'm not interested in this subject. Unfortunately when senior Chemical engineers retire, they leave the plant they worked at and their 30+yrs knowledge goes with them. They fix problems that appear in the plant with properly logging the events, but only in their minds. So when they retire all the professional knowledge is lost.
    What you are doing here is really special, thank you.

    • @rccowboys
      @rccowboys Před 7 lety

      dam, that's exactly what i was thinking...

  • @ankishbansal420
    @ankishbansal420 Před 6 lety +6

    Memory ain't enough, Pay attention.....
    I like it very much. Thanks Siraj for this wonderful video.

  • @arekbee
    @arekbee Před 6 lety +18

    By the way, Marian Rejewski was the first polish mathematician who broke Enigma machine in 1932, before WorldWar 2 and before Alan Turing.

  • @Fireking300
    @Fireking300 Před 7 lety +12

    Thank you, Siraj. This probably isn't because of me but I requested this topic in the last videos comments and to my surprise this is the next topic. I'm very happy to see this video.

    • @SirajRaval
      @SirajRaval  Před 7 lety +4

      Awesome, thanks Anon!

    • @sigmaanalytics4891
      @sigmaanalytics4891 Před 4 lety

      @@SirajRaval would you help me where can I find Indian languages data sets ?

  • @AIInsightsNClassics
    @AIInsightsNClassics Před 7 lety +5

    Love your vids! And the rap parts are awesome! Thank you for showing us how easy is ML. For me as an statistician it's a pleasure to see what you create each week!

  • @Jeff-pw6to
    @Jeff-pw6to Před 7 lety +1

    your explanation speed is way much better ! Thank you !

  • @King15kunal
    @King15kunal Před 5 lety +8

    Hey Siraj could you please make a video on NMT (Neural machine translation), which is one of the advanced machine translation methods.

  • @kyliereadd9147
    @kyliereadd9147 Před 4 lety +2

    I wonder how this would work with a language that is made up.

  • @AceofSpadesss
    @AceofSpadesss Před 4 lety +3

    I see, so you need to add a script element with path to js file to html to make hello world. That makes a lot of sense, thanks.

  • @oliverli9630
    @oliverli9630 Před 7 lety

    awesome! looking forward to your incorporation of the context, a very important factor. for example,
    In English, "You aren't a student, are you?" (if you are) "Yes."
    In Chinese, "You aren't a student, are you?" (if you are) "No."
    not just the whole article, if you are translating a movie, i think people would be interested in knowing how to label everything and teach the machine to learn them.
    looking forward to that

    • @oliverli9630
      @oliverli9630 Před 7 lety

      character actions in movies can change the translation, you know.

    • @SirajRaval
      @SirajRaval  Před 7 lety +1

      great points thanks Oliver

  • @matheusd.rodrigues429
    @matheusd.rodrigues429 Před 7 lety +1

    I was sent by Daniel Shiffmann (actualy by you on his channel) and You are amazing!

  • @jennac3758
    @jennac3758 Před 7 lety +3

    Good to know that google translate can be trusted tomorrow, I'm going to translate sentences to Italian because there's a girl in my 6th hour that doesn't speak English and I want to talk to her hope it goes well 🤞🏻

  • @jamesabasifreke
    @jamesabasifreke Před 7 lety +1

    Hi Siraj, you create LIT content! I love it. Keep up the good work. I'm learning so much to hopefully impress my interviewers at Google. :)

  • @MaxIme555
    @MaxIme555 Před 7 lety +3

    Great work, love your channel! It's all starting to make sense but still wouldn't be able to write a model for a new problem yet. Also love the rapping, really cool ;)

  • @WilsonMar1
    @WilsonMar1 Před 7 lety +2

    [2:28] coding begins
    [7:35] execution statements and responses

  • @sal5858
    @sal5858 Před 6 lety

    greetings from Kuwait! I'm intrested in translation field in general and this video helped alot! thank you very much for sharing this well-executed video. subscribed

  • @larryteslaspacexboringlawr739

    thank you for another tensorflow video

  • @SethuIyer95
    @SethuIyer95 Před 7 lety

    Quality of the video is awesome!

    • @SirajRaval
      @SirajRaval  Před 7 lety +1

      thanks Sethu! Good to see you :)

  • @gabrielcostanzo9121
    @gabrielcostanzo9121 Před 7 lety +17

    Can you do a video on a hardware solution? With an arduino, raspberry pi or something like that. Your vids are great, thanks for uploading!

    • @diegoantoniorosariopalomin4977
      @diegoantoniorosariopalomin4977 Před 7 lety +1

      you mean running like running neural networks in a mini pc ?

    • @gabrielcostanzo9121
      @gabrielcostanzo9121 Před 7 lety

      Diego Antonio Rosario Palomino could be anything really I'd be interested in what he could come up with. Hopefully the use of sensors or motors.

    • @diegoantoniorosariopalomin4977
      @diegoantoniorosariopalomin4977 Před 7 lety

      Example ! i want to make a rc car controlled by a neural network , if that kind of computing is lite enough i will be running it in a mini pc mounted on the vehicle

    • @rowansmith8472
      @rowansmith8472 Před 7 lety

      First result on a web search: wroscoe.github.io/keras-lane-following-autopilot.html

    • @AviPars
      @AviPars Před 7 lety

      Example ! agreed

  • @bindiberry6280
    @bindiberry6280 Před 3 měsíci

    WOW!!! TensorFlow works for sign languages as well !!! How ?!! Please, show us !!!

  • @NattapongPUN
    @NattapongPUN Před 7 lety

    Thank you for your great VDO. I'm learning from you. :)

  • @PreciousOpal
    @PreciousOpal Před 5 lety

    I am not in this level of education...but i was plotting on making a deep learning ai system you can carry on with mic for listening and small form monitor you can carry on and it translates in real time words spoken in any language. Again, i know nothing about this stuff but it seems like its well on its way...reguardless....if the system is made maybe it can be incorporated into a dfesign like the idea i got....maybe the lack of knolege comes from the lack of having that type of hardware...i love learning things

  • @salrite
    @salrite Před 7 lety

    Hello Siraj, its World :-p "Great videos, thanks... "The way you teach/share knowledge is way different from anyone. Your excitement makes vids interesting :-p Though Some of the topics needs more details .

  • @DataScienceExplorers
    @DataScienceExplorers Před 7 lety

    Your codes don't usually work as shown, however videos are encouraging.

  • @jigyasasakhuja8070
    @jigyasasakhuja8070 Před 6 lety +1

    can you please tell me what is a cross-lingual translator ?

  • @jagmohansingh3120
    @jagmohansingh3120 Před 7 lety

    Hi Siraj,
    I am new to machine learning. I have seen bunch of your videos which are very good and interesting. I have one question, from where do I start as a beginner. Should I continue directly from deep learning or clear some my basics first. I have experience in python so that will not be a problem.

  • @DanMana1
    @DanMana1 Před 7 lety

    Hi Siraj, could you please do a video on bounding box detection? I really like your videos, thanks for all the effort you put into making them

  • @liperuf
    @liperuf Před 7 lety +14

    puta merda, esse é meu novo canal preferido no youtube. [pt-br ;)]

  • @josipvukoja7197
    @josipvukoja7197 Před 7 lety

    Siraj you should get a professional mic with a filter! It will put your videos to a whole another level ;)

  • @yantons
    @yantons Před 6 lety

    I am getting below error when running this. Siraj could you please help."Valueerror: Variable proj_w already exists, disallowed. Did you mean to set reuse = True or reuse =AUTO_REUSE in VarScope"

  • @arpitsrivastava8431
    @arpitsrivastava8431 Před 7 lety +1

    Hey Sir,how can i start deep learning as i am new to this field.

  • @chicken6180
    @chicken6180 Před 7 lety

    woah! neat. do you ever plan on doing any videos/tutorials where numpy or other ML libraries aren't used? like, just python and numpy?

    • @SirajRaval
      @SirajRaval  Před 7 lety

      hey Spark. Hmm yea, for Generative Adversarial networks which are coming up.

  • @youmobilepakistan5146
    @youmobilepakistan5146 Před 6 lety

    Just started with OpenNMT, one simple question: Once trained and deployed, does the neural network grow upon each usage? i.e. if I train OpenNMT then deploy it on a server and make it public, will the machine keep learning unsupervised when people use it?
    Does the knowledge base of the machine grow?

  • @randyellis6924
    @randyellis6924 Před 7 lety +2

    When I run:
    from tensorflow.models.rnn.translate import data_utils
    I get an ImportError saying "No module named tensorflow.models"
    Any help, please?
    Thanks in advance.

    • @rockking
      @rockking Před 6 lety

      import data_utils
      replace
      it

    • @AnimeshBasak
      @AnimeshBasak Před 6 lety

      did you solved it because i am facing the same problem.. how to solve it?

  • @wolfganggermain7175
    @wolfganggermain7175 Před 3 lety

    I know this is an old post but anyone know the winner of this one? Please

  • @fredcmdy
    @fredcmdy Před 7 lety

    great as always

  • @anjana9037
    @anjana9037 Před 4 lety +1

    Can we buy this device on Amazon

  • @YEILD-YOUR-SOUL-2GOD-ONLY.

    Hi siraj how do you create a language software for yr country,so it can be downloaded in all devices in our era

  • @SouthernHerdsman
    @SouthernHerdsman Před 5 lety

    Translation between policies and pseudo code instructions will create an enormous shift in paradigm in ?.

  • @hebozhe
    @hebozhe Před 4 měsíci

    Uh, okay, at 5:03 , that Chinese sentence isn't correctly tokenized. "知識 就是 力量" would be correct.

  • @charlesbuckman7492
    @charlesbuckman7492 Před 7 lety

    Awesome videos!

  • @joshanishweb
    @joshanishweb Před 7 lety

    is this machine good enough to satisfy all our deep learning stuffs

  • @aryopradiptagema6677
    @aryopradiptagema6677 Před 7 lety

    how to add attention on top of a non seq2seq lstm? i wanna do a text classification and i think attention might help (mathematically)?

  • @MirkoPlitt
    @MirkoPlitt Před 7 lety

    Is this meant to work with a specific version of TensorFlow? I'm on 1.0.1 and it throws errors ("has no attribute 'rnn_cell'") which are apparently related to some undocumented changes between TF versions. I've also been running into other errors but have been able to figure them out -- is this part of the challenge? ;-)

    • @SirajRaval
      @SirajRaval  Před 7 lety

      yea rnn_cell was moved to contrib github.com/tensorflow/tensorflow/issues/7664 this is the hardest challenge i've given, i will honor even an attempt keep it up

  • @badrotaibi4229
    @badrotaibi4229 Před 5 lety

    Siraj
    u r Great

  • @datacoders2048
    @datacoders2048 Před 6 lety

    bro is it possiple to find which is their native country based on the photos through giving collection of photo he is indian and he is britain

  • @hussain5755
    @hussain5755 Před 6 lety

    can any one please give me a link to how to set up the environment for tensor flow, jupyter etc/??

  • @mohammadreyaan6214
    @mohammadreyaan6214 Před 6 lety

    please guide me . . How i make portable language translator offline device with the help of arduino or pi ?

  • @hanyuliangchina
    @hanyuliangchina Před 7 lety

    thank your awesome video, siraj.
    Maintain an efficient working learning state, what keys do you think is ?

    • @SirajRaval
      @SirajRaval  Před 7 lety

      ill make a vid on this soon thanks tony

  • @lalithanimmaraju3316
    @lalithanimmaraju3316 Před 4 lety

    Wrooooooong! 4:19 such things made me to prefer ur videos :) :)

  • @alemmat1750
    @alemmat1750 Před 7 lety +1

    You are the best

  • @sukumarh3646
    @sukumarh3646 Před 7 lety

    from tensorflow.models.rnn.translate import data_utils
    I am getting the error that this package does not exist. How to solve this?

    • @sukumarh3646
      @sukumarh3646 Před 7 lety

      I have tensorflow but for data_utils, i am getting the error 'unresolved reference'

  • @prathamnishad1033
    @prathamnishad1033 Před 5 lety

    can we use machine learning to convert code from one programming language to other.

  • @juubes5557
    @juubes5557 Před 7 lety

    Hey! How do I resize images for my neural network?

  • @000FURQAN
    @000FURQAN Před 7 lety

    Thankxxx siraj , u r awesome man

  • @VictorGallagherCarvings

    What we now need is and English to English translator.

    • @rowansmith8472
      @rowansmith8472 Před 7 lety

      Like a dialect translator? en.wikipedia.org/wiki/List_of_dialects_of_the_English_language

    • @harjitsingh7308
      @harjitsingh7308 Před 6 lety

      American english to real english translator would be great

  • @lolpop7799
    @lolpop7799 Před 7 lety

    where do i have to put that tranlation zip file?

  • @lancetherandomgamer8617

    the language i like to speak is BOBLISH TRANSLATED (እኔ እዚህ ድረስ አግኝቻለሁ ፣ የሴት ጓደኛዎን ይሳቡ እና እርስዎም በህይወትዎ ቀሪ ሥቃይ እና ሥቃይ ሊደርስብዎት እና ሥቃይ ደርሶብዎታል)

  • @kinsleyKJV
    @kinsleyKJV Před 7 lety

    hey can you make an episode on Latent Sentiment Analysis on score essays
    to a numeric value or grade say 90% or 20% in python. There's is little
    content on CZcams that fully describe Latent Sentiment Analysis ,most
    of they just talk about TF-IDF,so i am looking for more really.

  • @amrutha46
    @amrutha46 Před 2 lety

    Siraj, pl help me with mathematics behind google translator

  • @DosellIo1
    @DosellIo1 Před 7 lety

    love it!

  • @jayventura1
    @jayventura1 Před 7 lety

    Can I ask a sample format for the source language or target language?
    Thank you very much in advance!

    • @quickdudley
      @quickdudley Před 7 lety

      I think it's one-hot encoding with one input for each word known by the network.

  • @sandeerads
    @sandeerads Před 4 lety

    My requirement is to do a style translation of English language from informal to formal style. Is it correct to take this approach for my task??

    • @NicheAsQuiche
      @NicheAsQuiche Před 4 lety +1

      This would work, but this is kind of an outdated architecture for Natural Language Processing. The new state of the art is BERT, which focuses completely on using attention and has no recurrent layers. They would both do the job but BERT would perform better, though it would be a much larger model.

    • @sandeerads
      @sandeerads Před 4 lety

      @@NicheAsQuiche Thanks for your reply ❤

  • @Haahahahahaaa
    @Haahahahahaaa Před 4 lety +1

    the rap man

  • @nuraisyah9509
    @nuraisyah9509 Před 5 lety

    Hi. did anyone know how's to create a transliteration machine learning that can solved homograph disambiguation using python?

  • @ronwein2990
    @ronwein2990 Před 7 lety

    Great video as always
    Tnx for sharing!!
    Would it be possible to share the weights of your videos? it would be much better to see results that way for the poor who don't use gpu:)

  • @prasadkatkade6703
    @prasadkatkade6703 Před 6 lety

    I am newbie here can anybody tell me how to solve error "no module named data_utils "

  • @a.m.m9203
    @a.m.m9203 Před 6 lety +1

    mr.Siraj Raval nice to meet you
    my name is nandar im from indonesia

  • @uttamdwivedi7709
    @uttamdwivedi7709 Před 5 lety

    Hi, I am using this tutorial to create a webpage, where anyone can upload the document (pdf, docx) to translate the file. Can anyone help me on how to get the pdf document in python and extract the texts to translate it?

  • @vishalkhatri432
    @vishalkhatri432 Před 6 lety

    have you done any Hindi to English translator . if yes then give me the code or this same code works in it...thankyou.....reply as soon as possible brother....

  • @motivationmusic4821
    @motivationmusic4821 Před 7 lety

    thank you for using python3 this time!

  • @MrTk3435
    @MrTk3435 Před 7 lety

    Siraj, can you please show the 10,000 hours project? I like to see how I can shorten the learning process in any subject. thank love u :-) :-)

  • @mfonseca
    @mfonseca Před 7 lety +1

    Nice Portuguese pronounciation! :)

  • @kedimiow4249
    @kedimiow4249 Před 7 lety

    How can I discover a foreign language look like russian? do you tell me?

  • @LaTortuePGM
    @LaTortuePGM Před 7 lety

    it's "prend-moi dehors", 'cos attrape is like catching a fish, but prend is take, but catching someone in a sexual way as well, so it's more appropriate to the context. ;)

  • @oliveredholm4284
    @oliveredholm4284 Před 7 lety

    Cool video Siraj! What's the music in the beginning?

    • @SirajRaval
      @SirajRaval  Před 7 lety

      in the vid desc at the bottom, thanks Oliver!

  • @ash38287
    @ash38287 Před 5 lety +1

    I thought I might be a clever person. I watched this video. I am not a clever person. The end.

  • @VideoNash
    @VideoNash Před 3 lety

    thanks

  • @navyazaveri2993
    @navyazaveri2993 Před 7 lety +2

    Background music? ;)

  • @olegtarasovrodionov
    @olegtarasovrodionov Před 2 lety

    The reason i hate Google Translate that it always translates to English and then to the language you want

  • @fieldmarschalcoramine9654

    Can you make a video over Gene expression microarray data like ACGT... using DL? Thanks in Advance :)

  • @ebtesamh9624
    @ebtesamh9624 Před 7 lety

    which version of tensorflow did you used

  • @diegoantoniorosariopalomin4977

    now that you mention IBM , do they still make any products ? Are they a company that just sits there sucking money out of investors ?

    • @KylePiira
      @KylePiira Před 7 lety +1

      They're still a pretty big player in the field of AI.

    • @diegoantoniorosariopalomin4977
      @diegoantoniorosariopalomin4977 Před 7 lety

      Kyle Piira what have they done ? do they have s ml library like tensorflow ? , or a collection of ml obstacles like open ai ?

    • @KylePiira
      @KylePiira Před 7 lety

      They offer a decent number of cloud ML apis www.ibm.com/watson/developercloud/services-catalog.html

    • @diegoantoniorosariopalomin4977
      @diegoantoniorosariopalomin4977 Před 7 lety

      Kyle Piira each of these services seems like personal projects someone interested in ml would have on their github , not products made by a company . In fact most are things that siraj has made videos about ( sentiment analisis , chatbots language translation ) , so people who follow this series probably have remade all of this and understood it well enough to improve upon it ( coder challange of the week )

    • @SirajRaval
      @SirajRaval  Před 7 lety

      hey Diego, yeah Watson is their biggest product right now but google is better than them in every way nowadays lol

  • @joshanishweb
    @joshanishweb Před 7 lety

    hi siraj what laptop do you use

  • @rabiaaiqbalmalik5208
    @rabiaaiqbalmalik5208 Před 3 lety

    Can you help for english-urdu machine translation model?

    • @m.nmalik6264
      @m.nmalik6264 Před 2 lety

      Are you researcher or translator? Would like to share insight about ML and AI?

  • @Ponape4
    @Ponape4 Před 6 lety

    SMT and neural machine translation are great, but they are not useful for minority languages which do not have parallel corpora (Quechua, Wolof, Chamorro...), and that's a pity.

  • @MuhammadAli-ie7ps
    @MuhammadAli-ie7ps Před 3 lety

    hey man are you there. i need your help if possible?

  • @anamnihal7566
    @anamnihal7566 Před 4 lety

    Good

  • @TheNemzy
    @TheNemzy Před 7 lety

    Coding challenge: github.com/Nemzy/language-translation

  • @abhaskarchary3809
    @abhaskarchary3809 Před 7 lety

    Hi Siraj,
    I am a computer science student recently started working on a project on machine learning. I need to make a bot to learn the game "chain reaction" that i have coded in pygame. I'm stuck on how should I implement the bot. Some help would be really appreciated!!
    Thanks in advance..

  • @plutonium_guy
    @plutonium_guy Před 7 lety

    read face and play songs according to the mood of that person using machine learning

  • @0308valentin
    @0308valentin Před rokem

    A little hard to set up due to the size of the touchscreen and lack of specific instructions czcams.com/users/postUgkxNkNu8Sb6OAjgDHKMklYTaO-lJ4YPAIoS but when set up it is easy to use., I look forward to using it in travel when I am in a country where I am clueless in the language.

  • @ahmadziayousufi4646
    @ahmadziayousufi4646 Před 5 lety

    2:22 PASHTO ;)

  • @FranksWorldTV
    @FranksWorldTV Před 7 lety

    You make AI meme-a-licious! :P

  • @DigitalMonsters
    @DigitalMonsters Před 7 lety

    Using Ghibli on your thumbnail is playing dirty, how could I not click.

  • @delusivecontentment544

    I came to this video to figure out how to make a translator that could translate sentences from a document into a created fictional language... Wellpppp.... That didn't work out.... Haha.

  • @fitipapani9805
    @fitipapani9805 Před 2 lety

    2:27 samoan uwu

  • @zakjay6748
    @zakjay6748 Před 7 lety

    Hey Siraj, I am looking for answers to some questions. may I have your email id? or should I ask here?

  • @mohamedahmed-fn8qb
    @mohamedahmed-fn8qb Před 7 lety

    ? can you make video for face recognition