C5W3L03 Beam Search

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

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

  • @khanzorbo
    @khanzorbo 6 лет назад +71

    Thank you for being a protagonist of open education. These videos help a lot

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

    The legend of Deep Learning! Thank you Professor Andrew Ng for sharing your light with the world 🕯️and for teaching us this awesome new field 😀Forever grateful!

  • @alireza173
    @alireza173 5 лет назад +6

    You’re a fantastic teacher. Thank you

  • @cipherxen2
    @cipherxen2 3 года назад +7

    If first two words were "Andrew" and "Ng" next two words will be "is", "best".

  • @blairt8101
    @blairt8101 6 месяцев назад

    explained extremely well!

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

    Andrew Ng is the ML G.O.A.T!

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

    quite tough

  • @PRATEEK30111989
    @PRATEEK30111989 5 лет назад +1

    what is the computation complexity of the above method?
    is the beam width only used in the first iteration?

    • @robertbracco8321
      @robertbracco8321 5 лет назад +3

      The beam width is used in every iteration. At each stage we evaluate every possibility for the 3 beams we carried over from the last stage (this produces 30,000 new possibilities in the example) and then we reduce it to just 3 (our beam width) before moving on to the next step.
      It looks like the computation complexity for a search of a sequence of k words from a dictionary of n possible words, with a beam width b would be as follows. n steps for the first word of the sequence. then b*n for the additional k-1 steps in the sequence, giving n+(b*n*(k-1)), which for simplicities sake could just be considered b*n*k.
      For a sequence of 10 words, a dictionary with 10,000 words, and a beam size of 3, it would take 3*10*10000, or 300,000 operations. Beam is just a reduction of breadth-first-search, so if the beam were infinite, it would be identical to BFS. The complexity of BFS would be the size of the dictionary to the power of the size of the sequence (10000^10 in our example). For even modest dictionary sizes and sequence lengths this quickly becomes infeasible so that's why we need beam search to narrow the possibility while still giving us a high likelihood of finding the optimal result.

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

    how's the algorithm with the memory usage? is it better than greedy?

  • @shankarbhaskaran5778
    @shankarbhaskaran5778 5 лет назад

    One question on this one , If we increase beam width then can September come as a candidate in the first 3 words.May be the African sentence was literally translated as "September is the best time for Jane to visit Africa"

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

      Sure! The beam search candidate sequences he used in his example were just that -- examples. I don't believe they were taken from a real neural network. They were merely meant intuitively to motivate the algorithm.

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

    is there any different about training?

  • @danny-bw8tu
    @danny-bw8tu 6 лет назад +1

    thank you!

  • @mohomedarshad7252
    @mohomedarshad7252 5 лет назад

    Hi, Thank you for your effort. I find your videos and explanations very instructive and detailed. But I was wondering if you could make a video about tree-to-string machine translation using tree transducers. It is something that I can't quite capture yet.

  • @Kareem-hl8hj
    @Kareem-hl8hj 6 лет назад

    Thank you

  • @siloquant
    @siloquant 6 лет назад +1

    Best!

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

    So helpful, thank you

  • @wolfisraging
    @wolfisraging 6 лет назад

    u r best

  • @Phillip.K.J
    @Phillip.K.J 4 года назад

    Nice accent and vid

  • @koolcoy
    @koolcoy 5 лет назад

    During decoding process, could beam search be replaced with something like MCTS ?

    • @yatinarora9650
      @yatinarora9650 5 лет назад

      Can you please help me out with beam search,As am not getting how can implement using keras

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

    is getting a decent microphone an issue these days in tech community or wtf

    • @astitva5002
      @astitva5002 10 месяцев назад +1

      idk man gives it a very raw feel it's kinda nice to my ears

  • @jismonj1
    @jismonj1 5 лет назад

    can u please help me in local beam search coding on unity

    • @yatinarora9650
      @yatinarora9650 5 лет назад

      did you get the solution for beam search ?

  • @sherkrduotrg1978
    @sherkrduotrg1978 2 месяца назад

    what a terrible non helpful video

  • @neonlight1203
    @neonlight1203 5 лет назад

    Thank you