Vectoring Words (Word Embeddings) - Computerphile

Поделиться
HTML-код
  • Опубликовано: 22 окт 2019
  • How do you represent a word in AI? Rob Miles reveals how words can be formed from multi-dimensional vectors - with some unexpected results.
    08:06 - Yes, it's a rubber egg :)
    Unicorn AI:
    EXTRA BITS: • EXTRA BITS: More Word ...
    AI RUclips Comments: • AI RUclips Comments - ...
    More from Rob Miles: bit.ly/Rob_Miles_RUclips
    Thanks to Nottingham Hackspace for providing the filming location: bit.ly/notthack
    / computerphile
    / computer_phile
    This video was filmed and edited by Sean Riley.
    Computer Science at the University of Nottingham: bit.ly/nottscomputer
    Computerphile is a sister project to Brady Haran's Numberphile. More at www.bradyharan.com

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

  • @wohdinhel
    @wohdinhel 4 года назад +1078

    “What does the fox say?”
    “Don’t they go ‘ring ding ding’?”
    “Not in this dataset”

    •  4 года назад +51

      Train the same algorithm on songs instead of news articles and I figure you could get some really interesting results as well. Songs work on feelings and that should change the connections between the words as well - I bet the technology can be used to tell a lot about the perspective people take on things as well.

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

      @ Songs also use specific rhythmic structures; assuming most of your data was popular music, I bet that there'd be a strong bias for word sequences that can fit nicely into a 4/4 time signature, and maybe even some consistent rhyming structures.

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

      @ Train it with only lyrics from Manowar!

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

      @ I wonder how strong Rhymes would show up in that dataset.

    •  4 года назад

      @@killedbyLife That's odd - I listen to Manowar regularly. Nice pick. 😉

  • @VladVladislav790
    @VladVladislav790 4 года назад +326

    "Not in this data set" is my new favorite comeback oneliner

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

      It's similar to "not in this timeline" that we hear a lot in time-travel scifi

    • @Jason-wm5qe
      @Jason-wm5qe Год назад +1

      😂

  • @kurodashinkei
    @kurodashinkei 4 года назад +306

    Tomorrow's headline:
    "Science proves fox says 'Phoebe'"

  • @xario2007
    @xario2007 4 года назад +292

    Okay, that was amazing. "London + Japan - England = Tokyo"

    • @yshwgth
      @yshwgth 4 года назад +11

      That needs to be a web site

    • @cheaterman49
      @cheaterman49 4 года назад +66

      More impressed by Santa + pig - oink = "ho ho ho"

    • @VoxAcies
      @VoxAcies 4 года назад +28

      This blew my mind. Doing math with meaning is amazing.

    • @erikbrendel3217
      @erikbrendel3217 4 года назад +9

      you mean Toyko!

    • @Dojan5
      @Dojan5 4 года назад +16

      I was actually expecting New York when they added America. As a child I always thought New York was the capital of the U.S., I was at least around eight when I learned that it wasn't. Similarly, when people talk of Australia's cities, Canberra is rarely spoken of, but Sydney comes up a lot.

  • @Alche_mist
    @Alche_mist 4 года назад +275

    Fun points: A lot of the Word2vec concepts come from Tomáš Mikolov, a Czech scientist at Google. The Czech part is kinda important here - Czech, as a Slavic language, is very flective - you have a lot of different forms for a single word, dependent on its surroundings in a sentence. In some interview I read (that was in Czech and in a paid online newspaper, so I can't give a link), he mentioned that this inspired him a lot - you can see the words clustering by their grammatical properties when running on a Czech dataset and it's easier to reason about such changes when a significant portion of them is exposed visibly in the language itself (and learned as a child in school, because some basic parts of it are needed in order to write correctly).

    • @JDesrosiers
      @JDesrosiers Год назад +8

      very interesting

    • @afriedrich1452
      @afriedrich1452 Год назад +8

      I keep wondering if I was the one who gave the inventor of Word2vec the idea of vectoring words 15 years ago. Probably not.

    • @notthedroidsyourelookingfo4026
      @notthedroidsyourelookingfo4026 Год назад +3

      Now I wonder what would've happened if it had been a Chinese, where you don't have that at all!

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

      Wonder how this works with Japanese? Their token spaces must be much bigger and more complex

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

      Technically you can share the link to the newspaper

  • @Cr42yguy
    @Cr42yguy 4 года назад +110

    EXTRA BITS NEEDED!

  • @bluecobra95
    @bluecobra95 4 года назад +270

    'fox' + 'says' = 'Phoebe' may be from newspapers quoting English actress Phoebe Fox

    • @skepticmoderate5790
      @skepticmoderate5790 4 года назад +20

      Wow what a pull.

    • @rainbowevil
      @rainbowevil 3 года назад +5

      It was given ‘oink’ minus ‘pig’ plus ‘fox’ though, not fox + says. So we’d expect to see the same results as for cow & cat etc. of it “understanding” that we’re looking at the noises that the animals make. Obviously it’s not understanding, just an encoding of how those words appear near each other, but we end up with something remarkably similar to understanding.

  • @rich1051414
    @rich1051414 4 года назад +166

    This thing would ace the analogy section of the SAT.
    Apple is to tree as grape is to ______.
    model.most_similar_cosul(positive['tree', 'grape'], negative['apple']) = "vine"

  • @buzz092
    @buzz092 4 года назад +152

    Always love to see Rob Miles here!

    • @RobertMilesAI
      @RobertMilesAI 4 года назад +40

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

      Even when the video doesn't have that "AAAHH" quality to it.

  • @panda4247
    @panda4247 4 года назад +105

    I like this guy and his long sentences. It's nice to see somebody who can muster a coherent sentence of that length.
    So, if you run this (it's absurdly simple, right), but if you run this on a large enough data set and give it enough compute to actually perform really well, it ends up giving you for each word a vector (that's of length however many units you have in your hidden layer), for which the nearby-ness of those vectors expresses something meaningful about how similar the contexts are that those words appear in, and our assumption is that words that appear in similar contexts are similar words.

    • @thesecondislander
      @thesecondislander Год назад +34

      His neural network has a very large context, evidently ;)

    • @MrAmgadHasan
      @MrAmgadHasan Год назад +2

      Imagine a conversation between him and D Trump.

  • @Chayat0freak
    @Chayat0freak 4 года назад +256

    I did this for my final project in my bsc. Its amazing. I found cider - apples + grapes = wine. My project attempted to use these relationships to build simulated societies and stories.

    • @Games-mw1wd
      @Games-mw1wd 4 года назад +21

      would you be willing to share a link? This seems really interesting.

    • @TOASTEngineer
      @TOASTEngineer 4 года назад +7

      Yeah, that sounds right up my alley, how well did it work

    • @ZoranRavic
      @ZoranRavic 4 года назад +24

      Dammit Dean, you can't bait people with this kind of a project idea and not tell us how it went

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

      You want to give some info as to how that went?

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

      you are lying you did not do it. if you did, then paste the source(paper or code).
      - cunningham

  • @adamsvoboda7717
    @adamsvoboda7717 4 года назад +73

    Meanwhile in 2030:
    "human" + "oink oink" - "pig" = "pls let me go skynet"

  • @alexisxander817
    @alexisxander817 3 года назад +221

    I am in love with this man's explanation! makes it so intuitive. I have a special respect for folks who can make a complex piece of science/math/computer_science into an abstract piece of art. RESPECT!

    • @nidavis
      @nidavis Год назад +10

      "it's the friends you make along the way" lol

    • @sgttomas
      @sgttomas Год назад +2

      I was just thinking this and came to the comments…. Yup. Mr Miles is terrific. 🎉

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

      "complex" ? 🙂

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

      He's Twerp. He's afraid to talk about X Y and XX Chromosomes and how we express them in language. shame on you

    • @subject8332
      @subject8332 6 месяцев назад +3

      @@Commiehunter12 No, he just didn't want to trigger the priesthood in a video about word embeddings but looks like he wasn't careful enough.

  • @veggiet2009
    @veggiet2009 4 года назад +84

    Foxes do chitter!
    But primarily they say "Phoebe"

  • @wolfbd5950
    @wolfbd5950 4 года назад +62

    This was weirdly fascinating to me. I'm generally interested by most of the Computerphile videos, but this one really snagged something in my brain. I've got this odd combination of satisfaction and "Wait, really? That works?! Oh, wow!"

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

    Today, vector databases are a revolution to AI models. This man was way ahead of time.

  • @kal9001
    @kal9001 4 года назад +86

    Rather than biggest city, it seems obvious it would be the most written about city, which may or may not be the same thing.

    • @packered
      @packered 4 года назад +12

      Yeah, I was going to say most famous cities. Still a very cool relationship

    • @oldvlognewtricks
      @oldvlognewtricks 4 года назад +12

      Would be interested by the opposite approach: ‘Washington D.C. - America + Australia = Canberra’

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

      Toby Same here...
      I’m surprised they didn’t run that,

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

      Stock markets

  • @muddi900
    @muddi900 4 года назад +97

    'What does it mean for two words to be similar?'
    That is a philosophy lesson I am not ready for bro

    • @williamromero-auila7129
      @williamromero-auila7129 4 года назад +5

      Breau

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

      How dare you assume my words meaning, don't you know its the current era

    • @cerebralm
      @cerebralm 4 года назад +8

      that's kind of the great thing about computer science... you can take philosophical waffling and actually TEST it

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

      I'm not your bro, pal

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

      @@cerebralm "Computer science is the continuation of logic
      by other means"

  • @SeanSuggs
    @SeanSuggs Месяц назад

    Rob Miles and computerphile thank you... IDK why youtube gave this gem back to me today (probably for my insesent searching for the latest LLM news these days) but I am greatful to you even more now than I was 4yrs ago... Thank you

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

    I love the way he's discussing complicated topics. Thank you very much

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

    Love how you guys are just having fun with the model by the end

  • @Sk4lli
    @Sk4lli 4 года назад +7

    This was soooo interesting to me. I never dug deeper in how these networks work. But so many "Oh! That's how it is!". When I watched the video about GPT-2 and you he said that all the connections are just statistics, I just noted that internally as interesting and "makes sense" but didn't really get it. But with this video it clicked!
    So many interesting things, so thanks a lot for that. I love these videos.
    And seeing the math that can be done with these vectors is amazing! Wish I could like this more than once.

  • @Alkis05
    @Alkis05 3 года назад +17

    This is basically node embedding from graph neural networks. Each sentence you use to train the it can be seen as a random walk in the graph that relates each world with each other. The number of words in the sentence can be seem as how long you walk from the node. Besides "word-vector arithmetics", one thing interesting to see would be to use this data to generate a graph of all the words and how they relate to each other. Than you could do network analysis with it, see for example, how many clusters of words and figure out what is their labels. Or label a few of them and let the graph try to predict the rest of them.
    Another interesting thing would be to try to embed sentences based on the embedding of words. For that you would get a sentence and train a function that maps points in the word space to points in the sentence space, by aggregating the word points some how. That way you could compare sentences that are close together. Then you can make sentences-vector arithmetics.
    This actually sounds like a cool project. I think I'm gonna give it a try.

  • @b33thr33kay
    @b33thr33kay Год назад +17

    You really have a way with words, Rob. Please never stop what you do. ❤️

  • @PerMortensen
    @PerMortensen 4 года назад +22

    Wow, that is mindblowing.

  • @superjugy
    @superjugy 4 года назад +4

    OMG that ending. Love Robert's videos!

  • @abdullahyahya2471
    @abdullahyahya2471 9 месяцев назад +1

    Mind blown, Thanks for the easy explanation. So calm and composed.

  • @Verrisin
    @Verrisin 4 года назад +4

    floats: some of the real numbers
    - Best description and explanation ever! - It encompasses all the problems and everything....

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

      "A tastefully curated selection of the real numbers"

  • @channagirijagadish1201
    @channagirijagadish1201 Год назад +2

    Very well done. I love the explanation. He obviously has deep insight to explain it so very well. Thanks.

  • @joshuar3702
    @joshuar3702 4 года назад +40

    I'm a man of simple tastes. I see Rob Miles, I press the like button.

  • @kamandshayegan4824
    @kamandshayegan4824 7 месяцев назад

    I am amazed and in love with his explanations. I just understand it clearly, you know.

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

    This page blows my mind. It takes you through the journey of thinking.

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

    This gotta be one of the best intuitive explanation of word2vec.

  • @patricke1362
    @patricke1362 3 месяца назад

    super nice style of speaking, voice and phrasing. Good work !

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

    Beautifully simple explanation! Resplendent!

  • @Verrisin
    @Verrisin 4 года назад +89

    Man, ... when AI will realize we can only imagine 3 dimensions, it will be so puzzled how we can do anything at all...

    • @overloader7900
      @overloader7900 3 года назад +12

      Actually 2 spacial visual dimension with projection...
      Then we have time, sounds, smells...

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

      The amount of neurons is more important than the experienced dimensions.

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

    I'm a simple man. I see Rob Miles, I click.

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

      I could listen to him all day!

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

    This blew my mind. Simply wonderful!

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

    This is by far the best video I've seen on Machine Learning. So cool!!!

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

    This is very impressive. This is actually amazing.

  • @crystalsoulslayer
    @crystalsoulslayer 11 месяцев назад +1

    It makes so much more sense to represent words numerically rather than as collections of characters. That may be the way we write them, but the characters are just loose hints at pronunciation, which the model probably doesn't care about for meaning. And what would happen if a language model that relied on characters tried to learn a language that doesn't use that system of writing? Fascinating stuff.

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

    Mind blown, thank you very much for this explanation!

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

    Beautiful concept. Thanks for sharing!

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

    Very interesting. Would like to see more about these word vectors and how to use them.

  • @MakkusuOtaku
    @MakkusuOtaku 4 года назад +22

    Word embedding is my favorite pass-time.

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

    This is fascinating! Might we be able to represent language in the abstract as a vector space? Furthermore, similar but slightly different words in different languages are represented by similar by slightly different vectors in this vector space?

  • @WondrousHello
    @WondrousHello Год назад +13

    This has suddenly become massively relevant 😅

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

    Brilliantly explained! Thank you for this video

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

    is the diagram with angles and arrows going off in all directions just for us to visualise it rather than how computers are looking at it, I didn't think they'd be calculating degrees. I thought it would be more about numbers of how close the match is like 0-100

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

    Amazing video! I appreciate every minute of your effort, really. Think back, wondering "Will anyone notice this? Fine, I'll do it." Yes, and thank you.

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

    Mind blown... Able to do arithmetic on the meaning of words... I did not see that one coming :o A killer explanation on the subject thanks!! :D

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

    This video really deserves more views.

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

    You could make a game with that, some kind of scrabble with random words, add and substract words to get other words. Maybe with the goal to get long words or specific words or get shortest or longest distance from a specific word.

  • @distrologic2925
    @distrologic2925 4 года назад +10

    I love that I have been thinking about modelling natural language for some time now, and this video basically confirms my way of heading. I have never heard of word embedding, but its exactly what I was looking for. Thank you computerphile and youtube!

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

    16:20 Rob loves it, he's so excited by it 😄

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

    best explanation about word embedding

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

    damn that's the best enjoyable informative video I've seen in a while

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

    I'm surprised that there's been no mention of Rob's cufflinks in the comments for well over a year after upload

  • @user-cj2rm3nz7b
    @user-cj2rm3nz7b 4 месяца назад

    Wonderful explanation

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

    absolutely fascinating

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

    So glad they allow this prisoner a conjugal visit to discuss these topics!

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

    Very cool! I didn't know we could do word association to this degree.

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

    Thanks for a great explanation of word embeddings. Sometimes I need a review. I think I understand it, then after looking at the abstract, n-dimensional embedding space in ChatGPT and Variational Autoencoders, I forget about the basic word embeddings. At least it’s a simple 300-number vector per word, that describes most of the highest frequency neighboring words.

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

      Me too. I loved the review after looking how GPT4 and its code/autoencoder-set looks under the hood. I also had to investigate the keywords being used like "token" when we think about multi vector signifiers and the polysemiology of glyphic memorization made by these massive AI databases.
      Parameters for terms, words went from 300 to 300,000 to 300,000,000 to 1.5 trillion to ♾ infinite. Meaning: Pinecone and those who've reached infinite parameters have created the portal to a true self-learning operating system, self-aware AI.

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

    Nice thinkpad rob! I'm using the same version of x1 carbon with the touch bar as my daily machine. Great taste.

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

    Rob Miles is back :D

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

    Awesome explaining

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

    That was fascinating - thanks!

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

    This is über amazing. I wonder if you could use that to predict cache hits and misses

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

    It'd have been nice to hear about the research craze around more sophisticated approaches to NLP. It's hard to keep up with the amount of publications lately related to achieving "state-of-the-art" models using GLUE's benchmark.

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

    That's just... amazing!

  • @giraffebutt
    @giraffebutt 4 года назад +27

    What’s with that room? Is this Prisonphiles?

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

      It's Nottinghack - but true it's a bit prison-like

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

    Great explanation

  • @youssefezzeddine923
    @youssefezzeddine923 Месяц назад

    This is one of the coolest things i've seen in a while. Just thinking how small a neighbourhood of one word/vector should we take ? Or how does the implementation of context affect the choice of optimal neighbourhoods ?

    • @youssefezzeddine923
      @youssefezzeddine923 Месяц назад

      And contexts themselves vary from a person to another depending on how they experienced life. So it would be interesting to see also a set of optimal contexts and that would affect the whole thing.

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

    If you train 2 networks with different languages I guess the latent space? would be similar. And the differences could be really relevant to how we thought differently due to using different language

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

    Really nice explanation :)

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

    Wow, that is really impressive!

  • @SpaceChicken
    @SpaceChicken Год назад +4

    Phenomenal talk. Surprisingly compelling given the density of the topic.
    I really do hope they let this man out of prison one day.

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

    Very informative!

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

    This is amazing

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

    Plz more AI videos, they are awesome!

  • @RazorbackPT
    @RazorbackPT 4 года назад +48

    I would suspect that this has to be very similar to how our own brains interpret languange, but then again evolution has a tendency to go about solving problems in very strange and inefficient ways.

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

      Do you have examples? I am really curious - so far I always assumed nature does it the most efficient way possible.

    • @wkingston1248
      @wkingston1248 4 года назад +22

      @@maxid87 mammals have a nerve that goes from the brain to the throat, but due to changes in mammals it always goes under a vien in the heart then back up to the throat. This is so extreme that on a giraffe the nerve is like 9 feet long or something. In general evolution does a bad job at remmoving unnecessary features.

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

      Clever Hans

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

      @@wkingston1248 how do you know that this is inefficient? Might seem like that at first glance but maybe there is some deeper reason for it? Are there actual papers on this topic that answer the question?

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

      I doubt there is a lot of evolution at play in human language processing. It seems reasonable to assume that association (cat~dog) and decomposition (Tokyo = japanese + city) play an important role.

  • @StevenVanHorn
    @StevenVanHorn 4 года назад +20

    I'm realllly curious about the basis vectors in this. What's the closest few words to etc..

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

      That. Now I'm really curious.

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

      I don't think that such reprenstation captures the distance information at all to begin with. The *closest* word is it has a distance of 1, (hamming distance in this case, I claim that each flipped bit counts as 1 hamming distance), but is not a word at all. Whereas in a vector-encoded representation since the words are mapped to a *vector space* then the closeness-farness of two vectors are conveyed in that representation. information representation if a fabulous topic I don't think I understand it yet. Information theory may help us understand information and information representation.

    • @Guztav1337
      @Guztav1337 4 года назад +7

      @worthy null , wtf are you on about? Nobody said anything about Hamming distance.
      He asked: what few words are the closest to the basis vectors [in euclidean distance] in that vector space.

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

      I see where youre going with your analogy, but embeddings generally dont work like that. At first all the words are randomly given a random vector and then those vectors change throughout the training process. So the words you're looking for would be meaningless in this case. If you're looking for the centroid word(words that appear in the center of the embeddings) then that would be words that have very broad contexts such as "the".

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

      @Gerben van Straaten something that might be cute would be defining some human meaningful basis vectors then rotating/scaling the points to fit them. Then see what the remaining basises are. You're definitely right that they would not be human meaningful out of the box though

  • @UserName________
    @UserName________ 9 месяцев назад +1

    How far we've come only 3 years later.

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

    Oh yes, explaination and a concrete example

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

    Would love sample code in cases like this where there’s a Jupyter notebook already laying about!

  • @JamieDodgerification
    @JamieDodgerification 4 года назад +23

    Would it be possible for Rob to share his colab notebook / code with us so we can play around with the model for ourselves? :D

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

      I'm pretty sure it's just the standard model that comes with gensim

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

      See bdot02's comment above

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

    Put 'politician' instead of Santa in the last example. Buy you a beer if it comes out as 'bleating'.

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

    This is awesome

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

    The weights would be per-connection and independent of the input, so is the vector composed of the activation of each hidden layer node for a given input?

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

    Came back here because I fell in love with the Semantle game that came out a couple of months ago.

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

    word embeddings are the friends we make along the way

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

    Question for Miles, can you factorise the neural matrix, break it up into smaller models, to run on a cluster of machines then by adding vectors from nearby machines provide responses?

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

    I wrote some code to extract authors' names from man pages using clues such as capital letters (and no dictionary). I added special cases to exclude Free Software Foundation etc. Vectors would be an interesting way to try the same.

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

    Can you share the above colab notebook, it would be really great for a quick reference with the vid.

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

    Was hoping for a repo to pull the code from or similar

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

    Amazing

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

    @0:56 A set of characters doesn't have repetition and - in further not specified sets - the ordering isn't specified.
    So dom, doom, mod and mood map to the same set of characters, so a set is underspecific.

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

    I love this

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

    Santa giving you "ho ho ho" was both terrifying and humorous at the same time. Wow.

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

    When the room started getting brighter and brighter, I thought the rapture was happening xD