Language Model Builder with Felix Rieseberg
Read full transcript 29 segments
-
Hey friends, I'm Scott Hansselman and Hey friends, I'm Scott Hansselman and it's another episode of Hansel Minutes. it's another episode of Hansel Minutes. it's another episode of Hansel Minutes. Today I have the pleasure of chatting Today I have the pleasure of chatting Today I have the pleasure of chatting with Felix Reeberg. He has a long with Felix Reeberg. He has a long with Felix Reeberg. He has a long history of building delightful developer history of building delightful developer history of building delightful developer tools. Tools that you have used. He's tools. Tools that you have used. He's tools. Tools that you have used. He's worked at Slack. He worked on Electron. worked at Slack. He worked on Electron. worked at Slack. He worked on Electron. He worked at Microsoft. and his recent He worked at Microsoft. and his recent He worked at Microsoft. and his recent side projects have become very popular side projects have become very popular side projects have become very popular because they make AI feel approachable because they make AI feel approachable because they make AI feel approachable rather than just chasing benchmark rather than just chasing benchmark rather than just chasing benchmark scores and his latest language model scores and his latest language model scores and his latest language model builder is in that tradition. It's builder is in that tradition. It's builder is in that tradition. It's basically an educational app that lets basically an educational app that lets basically an educational app that lets you build and understand language models you build and understand language models you build and understand language models themselves. How are you sir? themselves. How are you sir? themselves. How are you sir? >> I am doing well. Thank you Scott. Thanks >> I am doing well. Thank you Scott. Thanks >> I am doing well. Thank you Scott. Thanks for having me on. Always wanted to come for having me on. Always wanted to come for having me on. Always wanted to come to the show. to the show. to the show. >> I appreciate that. I should have had you >> I appreciate that. I should have had you >> I appreciate that. I should have had you on many many years ago. Um you know on many many years ago. Um you know on many many years ago. Um you know because we worked together for a time. because we worked together for a time. because we worked together for a time. Um, I always love the stuff that you do. Um, I always love the stuff that you do. Um, I always love the stuff that you do. You sometimes you'll just do weird You sometimes you'll just do weird You sometimes you'll just do weird delightful stuff. You just like, "Oh, delightful stuff. You just like, "Oh, delightful stuff. You just like, "Oh, look. Here's Clippy. Here's Windows 95 look. Here's Clippy. Here's Windows 95 look. Here's Clippy. Here's Windows 95 running in a browser." Like, why? running in a browser." Like, why? running in a browser." Like, why? Because it's delightful for no other Because it's delightful for no other Because it's delightful for no other reason. But, you know, you worked uh reason. But, you know, you worked uh reason. But, you know, you worked uh you've been working in open source you've been working in open source you've been working in open source forever. You worked at Microsoft as an forever. You worked at Microsoft as an forever. You worked at Microsoft as an open source engineer. Um, you tried to open source engineer. Um, you tried to open source engineer. Um, you tried to make people's lives better by putting make people's lives better by putting make people's lives better by putting things on GitHub. So, you always come at things on GitHub. So, you always come at things on GitHub. So, you always come at things from a humanistic perspective, things from a humanistic perspective, things from a humanistic perspective, which I appreciate. Now, you do in your which I appreciate. Now, you do in your which I appreciate. Now, you do in your day job work at Anthropic, but this this day job work at Anthropic, but this this day job work at Anthropic, but this this podcast is not about Anthropic. This is podcast is not about Anthropic. This is podcast is not about Anthropic. This is about you and the cool stuff that you're about you and the cool stuff that you're about you and the cool stuff that you're building, but we do want to shout out building, but we do want to shout out building, but we do want to shout out that you do lead engineering for Cloud that you do lead engineering for Cloud that you do lead engineering for Cloud AI, for Cowwork, and for for Code AI, for Cowwork, and for for Code AI, for Cowwork, and for for Code Desktop. So, maybe we'll have another Desktop. So, maybe we'll have another Desktop. So, maybe we'll have another show another day, but this is about show another day, but this is about show another day, but this is about something else.
-
something else. something else. There's a guy uh named Ben Eer who makes There's a guy uh named Ben Eer who makes There's a guy uh named Ben Eer who makes a 6502 a 6502 a 6502 create your own processor from scratch. create your own processor from scratch. create your own processor from scratch. >> Yeah. >> Yeah. >> Yeah. >> Okay. And he's like, "Hey, let's go and >> Okay. And he's like, "Hey, let's go and >> Okay. And he's like, "Hey, let's go and get these like we're going to build it get these like we're going to build it get these like we're going to build it from scratch. Like we're going to get from scratch. Like we're going to get from scratch. Like we're going to get two rocks and we're going to spark them two rocks and we're going to spark them two rocks and we're going to spark them together. We're going to get 7400 series together. We're going to get 7400 series together. We're going to get 7400 series parts. We're going to solder it and at parts. We're going to solder it and at parts. We're going to solder it and at the end of this crazy experiment, you the end of this crazy experiment, you the end of this crazy experiment, you will have a computer that can say hello will have a computer that can say hello will have a computer that can say hello world." world." world." >> Yeah, that sounds >> Yeah, that sounds >> Yeah, that sounds >> I feel like you did that. I feel like >> I feel like you did that. I feel like >> I feel like you did that. I feel like you did that with language model you did that with language model you did that with language model builder. builder. builder. >> That's like the nicest thing anyone has >> That's like the nicest thing anyone has >> That's like the nicest thing anyone has said to me like this week. Um I think I said to me like this week. Um I think I said to me like this week. Um I think I think the I think that's sort of the think the I think that's sort of the think the I think that's sort of the goal, right? Like I looked at language goal, right? Like I looked at language goal, right? Like I looked at language model builder because I I I've been I've model builder because I I I've been I've model builder because I I I've been I've been in AI for like a little bit now. Um been in AI for like a little bit now. Um been in AI for like a little bit now. Um and you mentioned that we were at and you mentioned that we were at and you mentioned that we were at Microsoft together. I don't know if you Microsoft together. I don't know if you Microsoft together. I don't know if you remember project Oxford like from like remember project Oxford like from like remember project Oxford like from like >> yeah there was like an engram model in >> yeah there was like an engram model in >> yeah there was like an engram model in there and back then I was super junior there and back then I was super junior there and back then I was super junior at Microsoft but I made like the npm at Microsoft but I made like the npm at Microsoft but I made like the npm modules for that engram model modules for that engram model modules for that engram model >> and you could give it like worldwide it >> and you could give it like worldwide it >> and you could give it like worldwide it would think for five minutes and it would think for five minutes and it would think for five minutes and it would come back with like a worldwide would come back with like a worldwide would come back with like a worldwide web maybe that's like a good completion web maybe that's like a good completion web maybe that's like a good completion of like what you just gave me.
-
of like what you just gave me. of like what you just gave me. >> Yeah. And um obviously like AI has moved >> Yeah. And um obviously like AI has moved >> Yeah. And um obviously like AI has moved pretty dramatically, but I find myself pretty dramatically, but I find myself pretty dramatically, but I find myself like explaining the thing to people a like explaining the thing to people a like explaining the thing to people a lot. And I think one thing that is cool lot. And I think one thing that is cool lot. And I think one thing that is cool about AI is that the for me the about AI is that the for me the about AI is that the for me the perceived delta between how I don't want perceived delta between how I don't want perceived delta between how I don't want to say simple, but the core ideas I to say simple, but the core ideas I to say simple, but the core ideas I think are actually quite simple and very think are actually quite simple and very think are actually quite simple and very understandable understandable understandable >> to how magical they are is like so big >> to how magical they are is like so big >> to how magical they are is like so big that I often find myself sitting sitting that I often find myself sitting sitting that I often find myself sitting sitting people down be like, "All right, I'm people down be like, "All right, I'm people down be like, "All right, I'm going to like let's take a napkin. or going to like let's take a napkin. or going to like let's take a napkin. or show you how a language model works. And show you how a language model works. And show you how a language model works. And I think for me at least that that feels I think for me at least that that feels I think for me at least that that feels so much easier than explaining to so much easier than explaining to so much easier than explaining to someone how like a modern chip works. someone how like a modern chip works. someone how like a modern chip works. >> I have no idea how modern chip works. To >> I have no idea how modern chip works. To >> I have no idea how modern chip works. To me it's like all black magic, right? me it's like all black magic, right? me it's like all black magic, right? Like we're like sometimes I look at the Like we're like sometimes I look at the Like we're like sometimes I look at the nanometer diagrams and I'm like this is nanometer diagrams and I'm like this is nanometer diagrams and I'm like this is this seems hard to explain. this seems hard to explain. this seems hard to explain. >> There was like easy to explain. >> There was like easy to explain. >> There was like easy to explain. >> There was a cartoon from a guy called it >> There was a cartoon from a guy called it >> There was a cartoon from a guy called it was called the far side. It was like a was called the far side. It was like a was called the far side. It was like a cartoon that they would happen on this cartoon that they would happen on this cartoon that they would happen on this Sunday newspaper. And there's a two Sunday newspaper. And there's a two Sunday newspaper. And there's a two scientists sitting in front of a scientists sitting in front of a scientists sitting in front of a whiteboard and they've got a bunch of whiteboard and they've got a bunch of whiteboard and they've got a bunch of complicated uh calculations and math complicated uh calculations and math complicated uh calculations and math symbols and then a little sparkle in the symbols and then a little sparkle in the symbols and then a little sparkle in the middle. It looks a lot like the clawed middle. It looks a lot like the clawed middle. It looks a lot like the clawed sparkle. And then it says a miracle. And sparkle. And then it says a miracle. And sparkle. And then it says a miracle. And then on the other on the right of it, then on the other on the right of it, then on the other on the right of it, there's like a bunch of other there's like a bunch of other there's like a bunch of other complicated um you know uh math. And the complicated um you know uh math. And the complicated um you know uh math. And the other scientist says, I think you need other scientist says, I think you need other scientist says, I think you need to be a little more specific here in to be a little more specific here in to be a little more specific here in step two.
-
step two. step two. I feel like that's what's going on with I feel like that's what's going on with I feel like that's what's going on with language models right now is that like language models right now is that like language models right now is that like we can understand the number 10. We can we can understand the number 10. We can we can understand the number 10. We can then times that by 10 and then times then times that by 10 and then times then times that by 10 and then times that by 10. But then you add a couple of that by 10. But then you add a couple of that by 10. But then you add a couple of orders of magnitude and then we just go orders of magnitude and then we just go orders of magnitude and then we just go and then a miracle happens. and then a miracle happens. and then a miracle happens. >> Yeah. >> Yeah. >> Yeah. >> And now the the magic word guesser feels >> And now the the magic word guesser feels >> And now the the magic word guesser feels like it's a person. like it's a person. like it's a person. >> Yeah. Yeah. Exactly. And I think it's >> Yeah. Yeah. Exactly. And I think it's >> Yeah. Yeah. Exactly. And I think it's like so cool especially um I think you like so cool especially um I think you like so cool especially um I think you mentioned my day job. Like in my day mentioned my day job. Like in my day mentioned my day job. Like in my day job, I get the privilege of like, you job, I get the privilege of like, you job, I get the privilege of like, you know, seeing Baby Claude in the oven and know, seeing Baby Claude in the oven and know, seeing Baby Claude in the oven and like just seeing it evolve and grow. M like just seeing it evolve and grow. M like just seeing it evolve and grow. M >> and you get the the the joy of watching >> and you get the the the joy of watching >> and you get the the the joy of watching something just like put together random something just like put together random something just like put together random words and like you get these like words and like you get these like words and like you get these like complete word salads and you get like complete word salads and you get like complete word salads and you get like this complete noise of characters back this complete noise of characters back this complete noise of characters back and like watching that in sampling go and like watching that in sampling go and like watching that in sampling go from just you know face planting onto from just you know face planting onto from just you know face planting onto your keyboard to like oh I recognize your keyboard to like oh I recognize your keyboard to like oh I recognize some of those sounds to like oh now a some of those sounds to like oh now a some of those sounds to like oh now a sentence is happening is pretty cool. sentence is happening is pretty cool. sentence is happening is pretty cool. It's like very fun. It's like very fun It's like very fun. It's like very fun It's like very fun. It's like very fun to like talk to something that you made.
-
to like talk to something that you made. to like talk to something that you made. >> Um, even if it's just a model, it's just >> Um, even if it's just a model, it's just >> Um, even if it's just a model, it's just like a deeply enjoyable experience. like a deeply enjoyable experience. like a deeply enjoyable experience. >> But is there isn't there a leap? Isn't >> But is there isn't there a leap? Isn't >> But is there isn't there a leap? Isn't there a moment there where it's just there a moment there where it's just there a moment there where it's just like that went from cool cool next token like that went from cool cool next token like that went from cool cool next token guesser to this feels smarter than a guesser to this feels smarter than a guesser to this feels smarter than a parrot? That's the part I don't parrot? That's the part I don't parrot? That's the part I don't understand. How do we get from word understand. How do we get from word understand. How do we get from word guessesser to parrot to people are guessesser to parrot to people are guessesser to parrot to people are talking to this thing like it's their talking to this thing like it's their talking to this thing like it's their therapist, which is concerning. therapist, which is concerning. therapist, which is concerning. >> Yeah. I think I think there you go into >> Yeah. I think I think there you go into >> Yeah. I think I think there you go into these like deeply god I got to be I got these like deeply god I got to be I got these like deeply god I got to be I got to be fair careful not to be too to be fair careful not to be too to be fair careful not to be too annoying in this. Um I I came to annoying in this. Um I I came to annoying in this. Um I I came to computing fairly late. I studied poetry. computing fairly late. I studied poetry. computing fairly late. I studied poetry. I um at some point discovered that the I um at some point discovered that the I um at some point discovered that the poetry factory was not hiring and like poetry factory was not hiring and like poetry factory was not hiring and like needed to make money some other way. And needed to make money some other way. And needed to make money some other way. And then I guess now I'm building software. then I guess now I'm building software. then I guess now I'm building software. But I think um language models give us But I think um language models give us But I think um language models give us such an interesting opportunity to talk such an interesting opportunity to talk such an interesting opportunity to talk about all of these big concepts, right? about all of these big concepts, right? about all of these big concepts, right? Like we already have these big Like we already have these big Like we already have these big conversations about moral patient. Like conversations about moral patient. Like conversations about moral patient. Like at what point do we even consider at what point do we even consider at what point do we even consider seriously whether or not our mortal gets seriously whether or not our mortal gets seriously whether or not our mortal gets moral patient? But it also gives us moral patient? But it also gives us moral patient? But it also gives us these really interesting ideas about you these really interesting ideas about you these really interesting ideas about you know like what does it mean for know like what does it mean for know like what does it mean for something to be intelligent? Like something to be intelligent? Like something to be intelligent? Like clearly we know how it works if you get clearly we know how it works if you get clearly we know how it works if you get meaningful therapeutic insight. What meaningful therapeutic insight. What meaningful therapeutic insight. What what do you do with that, right? Like what do you do with that, right? Like what do you do with that, right? Like and I think the questions there are and I think the questions there are and I think the questions there are probably much bigger than like how does probably much bigger than like how does probably much bigger than like how does the language model work? Um and they're the language model work? Um and they're the language model work? Um and they're more about like are we all just parrots?
-
more about like are we all just parrots? more about like are we all just parrots? Like does it where does it break down? Like does it where does it break down? Like does it where does it break down? Right. Right. Right. >> Yeah. Yeah. I I try to explain context >> Yeah. Yeah. I I try to explain context >> Yeah. Yeah. I I try to explain context windows to people. And the sample the windows to people. And the sample the windows to people. And the sample the the example I was given my talks is it's the example I was given my talks is it's the example I was given my talks is it's a beautiful day, let's go to the and a beautiful day, let's go to the and a beautiful day, let's go to the and then the model always picks park or then the model always picks park or then the model always picks park or beach. beach. beach. >> And then you give it a little context. >> And then you give it a little context. >> And then you give it a little context. You tell it you're in London. It'll say You tell it you're in London. It'll say You tell it you're in London. It'll say let's go to the London Eye. You tell it let's go to the London Eye. You tell it let's go to the London Eye. You tell it you're in Berlin, let's go to here. You you're in Berlin, let's go to here. You you're in Berlin, let's go to here. You tell it you're in Portland. Let's go tell it you're in Portland. Let's go tell it you're in Portland. Let's go there. And the more context, the better there. And the more context, the better there. And the more context, the better the word guessing gets. And then you the word guessing gets. And then you the word guessing gets. And then you say, "Well, you're Scott Hansselman and say, "Well, you're Scott Hansselman and say, "Well, you're Scott Hansselman and you've been married for 25 years. It's a you've been married for 25 years. It's a you've been married for 25 years. It's a Saturday afternoon." And the answer is Saturday afternoon." And the answer is Saturday afternoon." And the answer is that we'll go to the bagel shop because that we'll go to the bagel shop because that we'll go to the bagel shop because that's where my wife and I go for the that's where my wife and I go for the that's where my wife and I go for the last 25 years. last 25 years. last 25 years. >> Oh, beautiful. >> Oh, beautiful. >> Oh, beautiful. >> That's our Saturday tradition. So then >> That's our Saturday tradition. So then >> That's our Saturday tradition. So then the question is, am I just a big corpus the question is, am I just a big corpus the question is, am I just a big corpus of 25 years of her putting up with me of 25 years of her putting up with me of 25 years of her putting up with me and she knows to guess that because and she knows to guess that because and she knows to guess that because she's the word guessesser for my she's the word guessesser for my she's the word guessesser for my personality and am I just making stuff personality and am I just making stuff personality and am I just making stuff up? up? up? >> Yeah. Yeah. >> Yeah. Yeah. >> Yeah. Yeah. >> Or is there is there is there free will >> Or is there is there is there free will >> Or is there is there is there free will and then it's a whole thing. and then it's a whole thing. and then it's a whole thing. >> Yeah. Yeah. Like you very quickly you >> Yeah. Yeah. Like you very quickly you >> Yeah. Yeah. Like you very quickly you very quickly or I at least this is like very quickly or I at least this is like very quickly or I at least this is like a very personal experience but I think a very personal experience but I think a very personal experience but I think it's like part of the experience that it's like part of the experience that it's like part of the experience that had me this language model builder thing had me this language model builder thing had me this language model builder thing but like when I stare at the model or but like when I stare at the model or but like when I stare at the model or like the big models I sometimes get the like the big models I sometimes get the like the big models I sometimes get the same feeling that I get when I like same feeling that I get when I like same feeling that I get when I like stare at the campfire or like a forest stare at the campfire or like a forest stare at the campfire or like a forest or like the stars.
-
or like the stars. or like the stars. >> Yeah. >> Yeah. >> Yeah. >> Right. like this notion of um I think >> Right. like this notion of um I think >> Right. like this notion of um I think people have different experiences but people have different experiences but people have different experiences but like the experience I have when I look like the experience I have when I look like the experience I have when I look at when I go to a planetaria I love the at when I go to a planetaria I love the at when I go to a planetaria I love the planetarium right I just like sit down planetarium right I just like sit down planetarium right I just like sit down and I feel so small and insignificant and I feel so small and insignificant and I feel so small and insignificant and it really makes me consider the and it really makes me consider the and it really makes me consider the uniqueness of the human experience and uniqueness of the human experience and uniqueness of the human experience and like honestly the big language models like honestly the big language models like honestly the big language models when I look at when I look at this like when I look at when I look at this like when I look at when I look at this like statistical like just math right like statistical like just math right like statistical like just math right like when we look at a language model what I when we look at a language model what I when we look at a language model what I mean here is I'm like less excited maybe mean here is I'm like less excited maybe mean here is I'm like less excited maybe about a particular application or like a about a particular application or like a about a particular application or like a particularly trained model but If I look particularly trained model but If I look particularly trained model but If I look at a model as the core idea of we have at a model as the core idea of we have at a model as the core idea of we have math and I'm talking to the math, math and I'm talking to the math, math and I'm talking to the math, >> I sort of feel like the universe is like >> I sort of feel like the universe is like >> I sort of feel like the universe is like staring back at me and that is a very staring back at me and that is a very staring back at me and that is a very cool experience because it makes me cool experience because it makes me cool experience because it makes me reconsider myself and like how do I put reconsider myself and like how do I put reconsider myself and like how do I put words together, you know? words together, you know? words together, you know? >> Right. >> Right. >> Right. >> Well, language model builder is at >> Well, language model builder is at >> Well, language model builder is at languagemodbuilder.com. You can just languagemodbuilder.com. You can just languagemodbuilder.com. You can just download it now. Right now it only works download it now. Right now it only works download it now. Right now it only works on a Mac and it expects Apple silicon, on a Mac and it expects Apple silicon, on a Mac and it expects Apple silicon, so be aware. Um, and you you start with so be aware. Um, and you you start with so be aware. Um, and you you start with uh kind of an interactive book, you uh kind of an interactive book, you uh kind of an interactive book, you know, it's it's like a it's more than a know, it's it's like a it's more than a know, it's it's like a it's more than a PDF. You're everything can be clicked PDF. You're everything can be clicked PDF. You're everything can be clicked on. Everything can be changed. Every uh on. Everything can be changed. Every uh on. Everything can be changed. Every uh it's kind of like the best of the New it's kind of like the best of the New it's kind of like the best of the New York Times when you go to one of those York Times when you go to one of those York Times when you go to one of those New York Times infographics and you're New York Times infographics and you're New York Times infographics and you're like, "Oh man, that's not a GIF. I can like, "Oh man, that's not a GIF. I can like, "Oh man, that's not a GIF. I can click on that. Holy crap, that's click on that. Holy crap, that's click on that. Holy crap, that's awesome."
-
awesome." awesome." >> I'm going to I'm going to print some of >> I'm going to I'm going to print some of >> I'm going to I'm going to print some of those quotes and just like hang them in those quotes and just like hang them in those quotes and just like hang them in my office. my office. my office. >> Oh, you can take it all. This my show is >> Oh, you can take it all. This my show is >> Oh, you can take it all. This my show is your show, my friend. So, if you want me your show, my friend. So, if you want me your show, my friend. So, if you want me to blurb blurb your product, you can to blurb blurb your product, you can to blurb blurb your product, you can blur me as much as you want. Now, I want blur me as much as you want. Now, I want blur me as much as you want. Now, I want to call out though, when you get to the to call out though, when you get to the to call out though, when you get to the tokenizer part and you say, tokenizer part and you say, tokenizer part and you say, >> "I'm going to write my own tokenizer, >> "I'm going to write my own tokenizer, >> "I'm going to write my own tokenizer, bite level tokenizer, you might just bite level tokenizer, you might just bite level tokenizer, you might just have a vocabulary of 10,000 words." So, have a vocabulary of 10,000 words." So, have a vocabulary of 10,000 words." So, that might be like a baby, right? that might be like a baby, right? that might be like a baby, right? >> Yeah. >> Yeah. >> Yeah. >> And then you can make like a GPT2. And I >> And then you can make like a GPT2. And I >> And then you can make like a GPT2. And I think it's important for people to think it's important for people to think it's important for people to remember that like GPT5, there were four remember that like GPT5, there were four remember that like GPT5, there were four others before that and they did stuff, others before that and they did stuff, others before that and they did stuff, right? So you're basically putting right? So you're basically putting right? So you're basically putting people just before the bendy part of the people just before the bendy part of the people just before the bendy part of the hockey stick of the graph, right? You're hockey stick of the graph, right? You're hockey stick of the graph, right? You're saying right before everything exploded, saying right before everything exploded, saying right before everything exploded, this is the size of a model we can make this is the size of a model we can make this is the size of a model we can make where the human mind can kind of still where the human mind can kind of still where the human mind can kind of still get it. get it. get it. >> Which is why I use that Ben eater thing >> Which is why I use that Ben eater thing >> Which is why I use that Ben eater thing as an example because a human being can as an example because a human being can as an example because a human being can completely and 100% understand a 6502 completely and 100% understand a 6502 completely and 100% understand a 6502 microprocessor, microprocessor, microprocessor, >> right? >> right? >> right? >> They cannot understand a Pentium and >> They cannot understand a Pentium and >> They cannot understand a Pentium and they there's no way they can understand they there's no way they can understand they there's no way they can understand like Apple silicon and and hold it in like Apple silicon and and hold it in like Apple silicon and and hold it in their context window. Yeah. How did you their context window. Yeah. How did you their context window. Yeah. How did you decide the right size for language model decide the right size for language model decide the right size for language model builder to be so that you could builder to be so that you could builder to be so that you could understand it all? Because I think you understand it all? Because I think you understand it all? Because I think you succeeded in doing that.
-
succeeded in doing that. succeeded in doing that. >> I think it was probably like less >> I think it was probably like less >> I think it was probably like less strategic than it might seem like now strategic than it might seem like now strategic than it might seem like now that we look at it, but it was I was that we look at it, but it was I was that we look at it, but it was I was basically working backwards from okay, basically working backwards from okay, basically working backwards from okay, my friends, my family, like what kind of my friends, my family, like what kind of my friends, my family, like what kind of attention span can I assume, attention span can I assume, attention span can I assume, >> right? What can we train within that >> right? What can we train within that >> right? What can we train within that time? Um, and the tokenizer is a good time? Um, and the tokenizer is a good time? Um, and the tokenizer is a good example because I actually I I example because I actually I I example because I actually I I eventually settled on the like 10k eventually settled on the like 10k eventually settled on the like 10k tokenizer, the one that is like very tokenizer, the one that is like very tokenizer, the one that is like very small, but mostly because running it on small, but mostly because running it on small, but mostly because running it on my my personal computer is like an M4 my my personal computer is like an M4 my my personal computer is like an M4 Max, which I think is like a pretty good Max, which I think is like a pretty good Max, which I think is like a pretty good computer all thing all things computer all thing all things computer all thing all things considered. And with even with the later considered. And with even with the later considered. And with even with the later later tokenizers, you spend so much time later tokenizers, you spend so much time later tokenizers, you spend so much time just tokenizing the corpus that you're just tokenizing the corpus that you're just tokenizing the corpus that you're just like stare. You're just like, you just like stare. You're just like, you just like stare. You're just like, you know, know, know, >> you're just staring at the pre-training, >> you're just staring at the pre-training, >> you're just staring at the pre-training, not even pre-training, just spinning its not even pre-training, just spinning its not even pre-training, just spinning its wheels on the tokenizer. wheels on the tokenizer. wheels on the tokenizer. >> It's just mashing up a food for a baby. >> It's just mashing up a food for a baby. >> It's just mashing up a food for a baby. You're just sitting there mashing up You're just sitting there mashing up You're just sitting there mashing up potatoes. potatoes. potatoes. >> Yeah, exactly. So everything sort of >> Yeah, exactly. So everything sort of >> Yeah, exactly. So everything sort of flowed from, okay, what can we how do we flowed from, okay, what can we how do we flowed from, okay, what can we how do we get to somewhat work in sentences in one get to somewhat work in sentences in one get to somewhat work in sentences in one day? Yesterday I trained another small day? Yesterday I trained another small day? Yesterday I trained another small model just for fun on the latest version model just for fun on the latest version model just for fun on the latest version and I only gave it a day and it's saying and I only gave it a day and it's saying and I only gave it a day and it's saying really cute things but it's like I ask really cute things but it's like I ask really cute things but it's like I ask it what is the sun and it's like oh the it what is the sun and it's like oh the it what is the sun and it's like oh the sun is a moon at the bottom of the earth sun is a moon at the bottom of the earth sun is a moon at the bottom of the earth which is a real sentence.
-
which is a real sentence. which is a real sentence. >> That's actually kind of like is that >> That's actually kind of like is that >> That's actually kind of like is that deep or is that just dumb? deep or is that just dumb? deep or is that just dumb? >> It's just dumb. Um >> It's just dumb. Um >> It's just dumb. Um but that sounds like a thing a but that sounds like a thing a but that sounds like a thing a 2-year-old would say. It's like that's 2-year-old would say. It's like that's 2-year-old would say. It's like that's adorable. Well, like the cool thing is adorable. Well, like the cool thing is adorable. Well, like the cool thing is that it's like even understanding that that it's like even understanding that that it's like even understanding that I'm asking about the sun and it's giving I'm asking about the sun and it's giving I'm asking about the sun and it's giving me like even like the fact that it me like even like the fact that it me like even like the fact that it understands that I'm asking it a understands that I'm asking it a understands that I'm asking it a question it should answer, right? Like question it should answer, right? Like question it should answer, right? Like that alone is like that alone is like that alone is like >> or that it's a round thing in the sky >> or that it's a round thing in the sky >> or that it's a round thing in the sky somewhere like it's got somewhere like it's got somewhere like it's got >> it the the the the vector space is at >> it the the the the vector space is at >> it the the the the vector space is at least has some amount of proximity where least has some amount of proximity where least has some amount of proximity where it's like okay moon and sun are near it's like okay moon and sun are near it's like okay moon and sun are near each other in the space. each other in the space. each other in the space. >> Yeah. And then also the other thing that >> Yeah. And then also the other thing that >> Yeah. And then also the other thing that happened is like I I sort of lowered happened is like I I sort of lowered happened is like I I sort of lowered like three different versions of this like three different versions of this like three different versions of this app. first version was just the textbook app. first version was just the textbook app. first version was just the textbook and what I kind of wanted was you and what I kind of wanted was you and what I kind of wanted was you mentioned these like playgrounds but mentioned these like playgrounds but mentioned these like playgrounds but there's like the little playgrounds of there's like the little playgrounds of there's like the little playgrounds of like okay let's give me your corpus like okay let's give me your corpus like okay let's give me your corpus we'll make a tokenizer together and the we'll make a tokenizer together and the we'll make a tokenizer together and the initial idea I had was oh at the end of initial idea I had was oh at the end of initial idea I had was oh at the end of that textbook you have a model um but that textbook you have a model um but that textbook you have a model um but then very quickly I found myself like then very quickly I found myself like then very quickly I found myself like wanting just a little bit of innovation wanting just a little bit of innovation wanting just a little bit of innovation that we found in the industry um so at that we found in the industry um so at that we found in the industry um so at some point I made the call to like some point I made the call to like some point I made the call to like separate out the playgrounds and say separate out the playgrounds and say separate out the playgrounds and say okay we're going to learn the okay we're going to learn the okay we're going to learn the foundations and then we're going to foundations and then we're going to foundations and then we're going to build a model. Um, but I didn't want the build a model. Um, but I didn't want the build a model. Um, but I didn't want the gap to be like too big, gap to be like too big, gap to be like too big, >> right? Just so that what you're learning >> right? Just so that what you're learning >> right? Just so that what you're learning is still applicable. Um, because you're is still applicable. Um, because you're is still applicable. Um, because you're right, like tokenizers are a great right, like tokenizers are a great right, like tokenizers are a great example like the modern tokenizers. Um, example like the modern tokenizers. Um, example like the modern tokenizers. Um, they're just a little there's just a they're just a little there's just a they're just a little there's just a little too too much magical science little too too much magical science little too too much magical science going on for a human to quickly going on for a human to quickly going on for a human to quickly understand.
-
understand. understand. >> I I I have an analogy that I use that >> I I I have an analogy that I use that >> I I I have an analogy that I use that everyone is sick of hearing, but like everyone is sick of hearing, but like everyone is sick of hearing, but like learning to drive stick shift, manual learning to drive stick shift, manual learning to drive stick shift, manual shift in a car changes your relationship shift in a car changes your relationship shift in a car changes your relationship with the vehicle. with the vehicle. with the vehicle. >> Yeah. >> Yeah. >> Yeah. language model builder language model builder language model builder would by its nature change your would by its nature change your would by its nature change your relationship with a chatbot or with a relationship with a chatbot or with a relationship with a chatbot or with a large language model because now large language model because now large language model because now suddenly you're like before we get to suddenly you're like before we get to suddenly you're like before we get to talk to the bot we're going to take talk to the bot we're going to take talk to the bot we're going to take apart this car and we're going to talk apart this car and we're going to talk apart this car and we're going to talk about the internal combustion engine and about the internal combustion engine and about the internal combustion engine and the history of that the history of that the history of that you don't go too deep into the history you don't go too deep into the history you don't go too deep into the history you don't talk about like 40 years ago you don't talk about like 40 years ago you don't talk about like 40 years ago Eliza you know how did you balance Eliza you know how did you balance Eliza you know how did you balance there's the pure math there you just there's the pure math there you just there's the pure math there you just kind of like assume transformers are a kind of like assume transformers are a kind of like assume transformers are a thing but you don't really explain thing but you don't really explain thing but you don't really explain where it came from the last 50 years. where it came from the last 50 years. where it came from the last 50 years. Did you think about historical context Did you think about historical context Did you think about historical context versus mathematical context versus just versus mathematical context versus just versus mathematical context versus just explaining the moment that we're in explaining the moment that we're in explaining the moment that we're in today? today? today? >> Yeah, like just a little bit. I think I >> Yeah, like just a little bit. I think I >> Yeah, like just a little bit. I think I wanted to keep it very tight because on wanted to keep it very tight because on wanted to keep it very tight because on the website I wrote the sentence that I the website I wrote the sentence that I the website I wrote the sentence that I think is very clever. I wrote no think is very clever. I wrote no think is very clever. I wrote no artificial additives by which I artificial additives by which I artificial additives by which I basically mean obviously you can sit basically mean obviously you can sit basically mean obviously you can sit down and you can say Claude write me a down and you can say Claude write me a down and you can say Claude write me a five volume book about the history of AI five volume book about the history of AI five volume book about the history of AI and it would do it for you. So I wanted and it would do it for you. So I wanted and it would do it for you. So I wanted to stay like very true to the things to stay like very true to the things to stay like very true to the things that I like if if I sit down with a that I like if if I sit down with a that I like if if I sit down with a smart friend, right? Like maybe like a smart friend, right? Like maybe like a smart friend, right? Like maybe like a in medicine or like law or something. I in medicine or like law or something. I in medicine or like law or something. I sit down with a smart friend and they're sit down with a smart friend and they're sit down with a smart friend and they're like, "Hey, can you explain to me how like, "Hey, can you explain to me how like, "Hey, can you explain to me how language models work? Can we have one language models work? Can we have one language models work? Can we have one dinner?"
-
dinner?" dinner?" >> Like what what would I put in that one >> Like what what would I put in that one >> Like what what would I put in that one dinner? So I gave myself this like dinner? So I gave myself this like dinner? So I gave myself this like somewhat artificial limit of 90 minutes. somewhat artificial limit of 90 minutes. somewhat artificial limit of 90 minutes. And within those 90 minutes, you can And within those 90 minutes, you can And within those 90 minutes, you can touch on just enough history to like touch on just enough history to like touch on just enough history to like understand the current context, right? understand the current context, right? understand the current context, right? Like why do we give models in Like why do we give models in Like why do we give models in temperature? Where does that come from? temperature? Where does that come from? temperature? Where does that come from? what is a hot model, what is a cold what is a hot model, what is a cold what is a hot model, what is a cold model. So, we go into that. We also model. So, we go into that. We also model. So, we go into that. We also briefly go into briefly go into briefly go into like what happened in 2017, like what is like what happened in 2017, like what is like what happened in 2017, like what is going on with like um attention is all going on with like um attention is all going on with like um attention is all you need. Like, it's famous enough as a you need. Like, it's famous enough as a you need. Like, it's famous enough as a paper that people have heard about it, paper that people have heard about it, paper that people have heard about it, >> but I'm I'm not spending too much time >> but I'm I'm not spending too much time >> but I'm I'm not spending too much time on like um statistical models of on like um statistical models of on like um statistical models of language. Um language. Um language. Um >> I think it's a super interesting >> I think it's a super interesting >> I think it's a super interesting history. I really enjoy like let me history. I really enjoy like let me history. I really enjoy like let me figure out how to put this. really figure out how to put this. really figure out how to put this. really enjoy. I never studied linguistics, but enjoy. I never studied linguistics, but enjoy. I never studied linguistics, but I hung out with a lot of like linguists I hung out with a lot of like linguists I hung out with a lot of like linguists and like computational linguists were and like computational linguists were and like computational linguists were like scraping at the surface of AI for like scraping at the surface of AI for like scraping at the surface of AI for like the last 40 years and like we like the last 40 years and like we like the last 40 years and like we didn't even know, right? Like I studied didn't even know, right? Like I studied didn't even know, right? Like I studied with those people with those people with those people just like just like just like >> well it's it's the elephant problem, >> well it's it's the elephant problem, >> well it's it's the elephant problem, right? You're running around and you're right? You're running around and you're right? You're running around and you're like feeling it and the one guy is like like feeling it and the one guy is like like feeling it and the one guy is like this elephant is this this is the part this elephant is this this is the part this elephant is this this is the part of the blind people touching an of the blind people touching an of the blind people touching an elephant.
-
elephant. elephant. >> This is the this elephant is like a >> This is the this elephant is like a >> This is the this elephant is like a tree. No, no, an elephant's like a snake tree. No, no, an elephant's like a snake tree. No, no, an elephant's like a snake but no one sees the big picture. but no one sees the big picture. but no one sees the big picture. >> Yeah. Yeah. There's like so much cool >> Yeah. Yeah. There's like so much cool >> Yeah. Yeah. There's like so much cool stuff there and I think I'm sure we're stuff there and I think I'm sure we're stuff there and I think I'm sure we're going to get like amazing books about going to get like amazing books about going to get like amazing books about the history of AI at some point. the history of AI at some point. the history of AI at some point. >> But you don't think it's important to >> But you don't think it's important to >> But you don't think it's important to understand like that you can understand understand like that you can understand understand like that you can understand language models this way. So how long is language models this way. So how long is language models this way. So how long is this? Is this a 5day course? Is this a this? Is this a 5day course? Is this a this? Is this a 5day course? Is this a 90-minute course? How much it can be as 90-minute course? How much it can be as 90-minute course? How much it can be as long as you want it to be, but would I long as you want it to be, but would I long as you want it to be, but would I give this to my 20-year-old? And would give this to my 20-year-old? And would give this to my 20-year-old? And would that be his introduction to stick shift that be his introduction to stick shift that be his introduction to stick shift and change his relationship with a and change his relationship with a and change his relationship with a chatbot? Or does this require someone to chatbot? Or does this require someone to chatbot? Or does this require someone to really have a background as a software really have a background as a software really have a background as a software engineer? engineer? engineer? >> No. No, no background as a software >> No. No, no background as a software >> No. No, no background as a software engineer. Like there's these little engineer. Like there's these little engineer. Like there's these little drawers where you can look at the code drawers where you can look at the code drawers where you can look at the code if you really want to. The code isn't if you really want to. The code isn't if you really want to. The code isn't even the real code. Um, what I'm using even the real code. Um, what I'm using even the real code. Um, what I'm using is MLX, the like Apple framework. That's is MLX, the like Apple framework. That's is MLX, the like Apple framework. That's why it's currently only running on on why it's currently only running on on why it's currently only running on on Macs because I was just lazy. Macs because I was just lazy. Macs because I was just lazy. >> Um, I'll show you some Python if you're >> Um, I'll show you some Python if you're >> Um, I'll show you some Python if you're interested in like what would the Python interested in like what would the Python interested in like what would the Python look like. look like. look like. >> Yeah, because I wanted to know when >> Yeah, because I wanted to know when >> Yeah, because I wanted to know when you're going to get this working on you're going to get this working on you're going to get this working on Windows. Windows. Windows. >> Yeah. Um, I mean, honestly, at this >> Yeah. Um, I mean, honestly, at this >> Yeah. Um, I mean, honestly, at this point, I could probably just like have a point, I could probably just like have a point, I could probably just like have a have an agent do it, right? It's like have an agent do it, right? It's like have an agent do it, right? It's like shouldn't be hard. We can just do it in shouldn't be hard. We can just do it in shouldn't be hard. We can just do it in Python. Well, but then you got to get it Python. Well, but then you got to get it Python. Well, but then you got to get it to work on ARM and x64 and WSL or not to work on ARM and x64 and WSL or not to work on ARM and x64 and WSL or not WL. Like you have to like the WL. Like you have to like the WL. Like you have to like the combinatorics get complicated once you combinatorics get complicated once you combinatorics get complicated once you decide to make it go outside of the decide to make it go outside of the decide to make it go outside of the homogyny that is Mac.
-
homogyny that is Mac. homogyny that is Mac. >> I didn't want to I didn't do it a priori >> I didn't want to I didn't do it a priori >> I didn't want to I didn't do it a priori for like a few reasons. One is like I for like a few reasons. One is like I for like a few reasons. One is like I think I didn't want to build yet another think I didn't want to build yet another think I didn't want to build yet another Electron app. I wanted to like actually Electron app. I wanted to like actually Electron app. I wanted to like actually build a Swift app for once. build a Swift app for once. build a Swift app for once. >> Yeah, that's a good point. You'd have to >> Yeah, that's a good point. You'd have to >> Yeah, that's a good point. You'd have to do it in Win UI. do it in Win UI. do it in Win UI. >> Yeah. But the other thing is like you >> Yeah. But the other thing is like you >> Yeah. But the other thing is like you you never know if like am I really only you never know if like am I really only you never know if like am I really only building this for my five friends or building this for my five friends or building this for my five friends or does anyone care? people do care, which does anyone care? people do care, which does anyone care? people do care, which I think is very nice. Um, and I think I think is very nice. Um, and I think I think is very nice. Um, and I think that increases the likelihood of it that increases the likelihood of it that increases the likelihood of it going up. going up. going up. >> But to answer your question, if people >> But to answer your question, if people >> But to answer your question, if people have like one afternoon, you will have a have like one afternoon, you will have a have like one afternoon, you will have a model that like will be very stupid, model that like will be very stupid, model that like will be very stupid, extremely stupid, but you can make it extremely stupid, but you can make it extremely stupid, but you can make it through the whole thing in like an through the whole thing in like an through the whole thing in like an afternoon. afternoon. afternoon. >> That's really powerful. Like this is >> That's really powerful. Like this is >> That's really powerful. Like this is significant and I feel like people need significant and I feel like people need significant and I feel like people need to understand that that and the at the to understand that that and the at the to understand that that and the at the root of it is this concept that it root of it is this concept that it root of it is this concept that it changes your relationship with the changes your relationship with the changes your relationship with the vehicle. vehicle. vehicle. >> Yeah. Like opening task manager. opening >> Yeah. Like opening task manager. opening >> Yeah. Like opening task manager. opening task manager on a p on a PC, opening um task manager on a p on a PC, opening um task manager on a p on a PC, opening um a do like I've seen dos prompt you open a do like I've seen dos prompt you open a do like I've seen dos prompt you open a dos prompt like what is this? I've a dos prompt like what is this? I've a dos prompt like what is this? I've never seen this before. I've been a never seen this before. I've been a never seen this before. I've been a Windows user for 20 years. I've never Windows user for 20 years. I've never Windows user for 20 years. I've never seen well that's or hitting F12 on like seen well that's or hitting F12 on like seen well that's or hitting F12 on like Chrome.
-
Chrome. Chrome. >> Yeah. >> Yeah. >> Yeah. >> Like those moments are a moment where >> Like those moments are a moment where >> Like those moments are a moment where like the muggles change their like the muggles change their like the muggles change their relationship with the thing. Like I had relationship with the thing. Like I had relationship with the thing. Like I had that's like opening the trunk, opening that's like opening the trunk, opening that's like opening the trunk, opening the boot rather on the car and like look the boot rather on the car and like look the boot rather on the car and like look at the engine like what there's a thing at the engine like what there's a thing at the engine like what there's a thing under there. There's two things in there under there. There's two things in there under there. There's two things in there that I I think people should try out that I I think people should try out that I I think people should try out because I think they're very fun to me. because I think they're very fun to me. because I think they're very fun to me. The first one is I built this like The first one is I built this like The first one is I built this like visualizer of what a model architecture visualizer of what a model architecture visualizer of what a model architecture looks like. looks like. looks like. >> Like what are the pieces in a model, >> Like what are the pieces in a model, >> Like what are the pieces in a model, right? right? right? >> The model blueprint. >> The model blueprint. >> The model blueprint. >> Yeah. Yeah. Exactly. The like >> Yeah. Yeah. Exactly. The like >> Yeah. Yeah. Exactly. The like transformer blocks and like how does how transformer blocks and like how does how transformer blocks and like how does how does like the math flow through there. does like the math flow through there. does like the math flow through there. But the other thing I really enjoy um is But the other thing I really enjoy um is But the other thing I really enjoy um is at the very end not you can also do it at the very end not you can also do it at the very end not you can also do it in sampling but it's the X-ray view. in sampling but it's the X-ray view. in sampling but it's the X-ray view. Mhm. Mhm. Mhm. >> So I think a lot of people know now that >> So I think a lot of people know now that >> So I think a lot of people know now that a language model is fundamentally a a language model is fundamentally a a language model is fundamentally a statistical model and it tries to statistical model and it tries to statistical model and it tries to predict what the next token is. Um the predict what the next token is. Um the predict what the next token is. Um the next token being like a you know like a next token being like a you know like a next token being like a you know like a word fragment and um it doesn't pick the word fragment and um it doesn't pick the word fragment and um it doesn't pick the most likely one. It sort of does like a most likely one. It sort of does like a most likely one. It sort of does like a soft minmax and but it it sort of like soft minmax and but it it sort of like soft minmax and but it it sort of like tries to calculate that across like all tries to calculate that across like all tries to calculate that across like all the text you give it and then continues. the text you give it and then continues. the text you give it and then continues. >> And what I've built in is this like >> And what I've built in is this like >> And what I've built in is this like X-ray view where you can see every X-ray view where you can see every X-ray view where you can see every single position what are the paths non single position what are the paths non single position what are the paths non not taken. M gee, I call those parallel not taken. M gee, I call those parallel not taken. M gee, I call those parallel universes, all the log probs. And it's universes, all the log probs. And it's universes, all the log probs. And it's like, yeah, and there's another parallel like, yeah, and there's another parallel like, yeah, and there's another parallel universe where it said a totally universe where it said a totally universe where it said a totally different thing. Yeah, maybe Scott different thing. Yeah, maybe Scott different thing. Yeah, maybe Scott didn't go to a bagel shop, right? Like didn't go to a bagel shop, right? Like didn't go to a bagel shop, right? Like he went like what are the other places he went like what are the other places he went like what are the other places >> he could have gone to?
-
>> he could have gone to? >> he could have gone to? >> But people need to try it out. Um, you >> But people need to try it out. Um, you >> But people need to try it out. Um, you can do one thing maybe that is very can do one thing maybe that is very can do one thing maybe that is very quick. Instead of pre-training your own quick. Instead of pre-training your own quick. Instead of pre-training your own model, you can also import an existing model, you can also import an existing model, you can also import an existing base model, base model, base model, >> right? you can like go and import one of >> right? you can like go and import one of >> right? you can like go and import one of the smaller models that just runs fine the smaller models that just runs fine the smaller models that just runs fine on your computer like quen or something on your computer like quen or something on your computer like quen or something >> and uh you can import that model go to >> and uh you can import that model go to >> and uh you can import that model go to sampling or go to the chat interface but sampling or go to the chat interface but sampling or go to the chat interface but sampling is probably better sampling is probably better sampling is probably better >> and you can say >> and you can say >> and you can say >> um it's a beautiful day and Scott went >> um it's a beautiful day and Scott went >> um it's a beautiful day and Scott went too too too >> and then just see all the possibilities >> and then just see all the possibilities >> and then just see all the possibilities that the model comes up with and like that the model comes up with and like that the model comes up with and like what the probabilities are. I I have a what the probabilities are. I I have a what the probabilities are. I I have a sample app that I use in my talks that sample app that I use in my talks that sample app that I use in my talks that draws that as a heat map and then it draws that as a heat map and then it draws that as a heat map and then it colors the word based on the log prob colors the word based on the log prob colors the word based on the log prob and red words are rare words and yellow and red words are rare words and yellow and red words are rare words and yellow words are medium rare. So it'll say it's words are medium rare. So it'll say it's words are medium rare. So it'll say it's a beautiful day, let's go to the it'll a beautiful day, let's go to the it'll a beautiful day, let's go to the it'll say beach. You'll hover over the B and say beach. You'll hover over the B and say beach. You'll hover over the B and you'll find out that B and each have you'll find out that B and each have you'll find out that B and each have been broken into two tokens. You'll been broken into two tokens. You'll been broken into two tokens. You'll click on the B and then it'll pop up all click on the B and then it'll pop up all click on the B and then it'll pop up all the other log props for that token and the other log props for that token and the other log props for that token and it'll say beach or B, the letter B is it'll say beach or B, the letter B is it'll say beach or B, the letter B is like 75%. And then it'll have like like 75%. And then it'll have like like 75%. And then it'll have like mountains be like 00.1 or or or park was mountains be like 00.1 or or or park was mountains be like 00.1 or or or park was 20% chance. And then it's like at this 20% chance. And then it's like at this 20% chance. And then it's like at this moment the universe split in half moment the universe split in half moment the universe split in half >> and 1/5if of us went to the park and the >> and 1/5if of us went to the park and the >> and 1/5if of us went to the park and the other rest went to the mountains and other rest went to the mountains and other rest went to the mountains and this guy went to the beach. And that's this guy went to the beach. And that's this guy went to the beach. And that's happening every day all day constantly.
-
happening every day all day constantly. happening every day all day constantly. >> Yeah. Yeah. I think that is really cool. >> Yeah. Yeah. I think that is really cool. >> Yeah. Yeah. I think that is really cool. >> It is really cool. >> It is really cool. >> It is really cool. >> Yeah. >> Yeah. >> Yeah. >> And to your point about like changing >> And to your point about like changing >> And to your point about like changing the relationship, right? Like once you the relationship, right? Like once you the relationship, right? Like once you once you get a better understanding of once you get a better understanding of once you get a better understanding of like the underlying concepts of like the underlying concepts of like the underlying concepts of probabilities, like it makes it easier probabilities, like it makes it easier probabilities, like it makes it easier for you to understand like how models for you to understand like how models for you to understand like how models come up with the text that they come up come up with the text that they come up come up with the text that they come up with. But it also helps you understand with. But it also helps you understand with. But it also helps you understand like a lot of the things that we find like a lot of the things that we find like a lot of the things that we find most fascinating today about like both most fascinating today about like both most fascinating today about like both moral patient and like intelligence and moral patient and like intelligence and moral patient and like intelligence and like how is intelligence formed? like at like how is intelligence formed? like at like how is intelligence formed? like at what point do we consider this to be what point do we consider this to be what point do we consider this to be like a useful therapist? Like a lot of like a useful therapist? Like a lot of like a useful therapist? Like a lot of the things that we're looking at are how the things that we're looking at are how the things that we're looking at are how do the models do the models do the models evolve their internal weights and those evolve their internal weights and those evolve their internal weights and those like transformer blocks? What is like transformer blocks? What is like transformer blocks? What is happening inside those transformer happening inside those transformer happening inside those transformer blocks? And it's much easier for you to blocks? And it's much easier for you to blocks? And it's much easier for you to get like for you to join the fun of like get like for you to join the fun of like get like for you to join the fun of like all of this like all of this like all of this like you know armchair philosophy about the you know armchair philosophy about the you know armchair philosophy about the universe and like the human experience. universe and like the human experience. universe and like the human experience. If you have a rough idea of when I say If you have a rough idea of when I say If you have a rough idea of when I say transformer block and weights, what does transformer block and weights, what does transformer block and weights, what does what does that actually mean? Um, and what does that actually mean? Um, and what does that actually mean? Um, and when researchers talk about not building when researchers talk about not building when researchers talk about not building a model, but growing a model, because a model, but growing a model, because a model, but growing a model, because it's like much closer to like growing an it's like much closer to like growing an it's like much closer to like growing an orchid or something than like writing a orchid or something than like writing a orchid or something than like writing a tool, if you understand why they say tool, if you understand why they say tool, if you understand why they say that, like there's so much discourse that, like there's so much discourse that, like there's so much discourse about AI that is really fun to like read about AI that is really fun to like read about AI that is really fun to like read and participate in.
-
and participate in. and participate in. >> Oh yeah. Well, we should pull a little >> Oh yeah. Well, we should pull a little >> Oh yeah. Well, we should pull a little bit on the thread that you just opened bit on the thread that you just opened bit on the thread that you just opened there where you just said moral patient, there where you just said moral patient, there where you just said moral patient, which I'm going to guess a lot of the which I'm going to guess a lot of the which I'm going to guess a lot of the people on the call aren't familiar with. people on the call aren't familiar with. people on the call aren't familiar with. And it is grounded in the assumption And it is grounded in the assumption And it is grounded in the assumption that someone has a certain amount of that someone has a certain amount of that someone has a certain amount of cognitive capacity, some certain amount cognitive capacity, some certain amount cognitive capacity, some certain amount of intelligence. You have to have of intelligence. You have to have of intelligence. You have to have autonomy and self-awareness autonomy and self-awareness autonomy and self-awareness uh and you have to care about something. uh and you have to care about something. uh and you have to care about something. The problem is that a large language The problem is that a large language The problem is that a large language model doesn't have self-awareness. It model doesn't have self-awareness. It model doesn't have self-awareness. It doesn't have caring but it does have doesn't have caring but it does have doesn't have caring but it does have value because the values are the weights value because the values are the weights value because the values are the weights and it does have autonomy or at least it and it does have autonomy or at least it and it does have autonomy or at least it can be given autonomy. So then the can be given autonomy. So then the can be given autonomy. So then the question is you know does it have moral question is you know does it have moral question is you know does it have moral patient or does it just have the patient or does it just have the patient or does it just have the similacrim of that? similacrim of that? similacrim of that? >> Yeah. Yeah. It's like a super >> Yeah. Yeah. It's like a super >> Yeah. Yeah. It's like a super fascinating field of study and I'm not fascinating field of study and I'm not fascinating field of study and I'm not qualified even remotely to like qualified even remotely to like qualified even remotely to like >> yeah give you any useful answers but I I >> yeah give you any useful answers but I I >> yeah give you any useful answers but I I really enjoy sitting on the sidelines really enjoy sitting on the sidelines really enjoy sitting on the sidelines and like listening to established and like listening to established and like listening to established philosophers and like um people who have philosophers and like um people who have philosophers and like um people who have been studying like animal ethics for a been studying like animal ethics for a been studying like animal ethics for a long time. really enjoy reading about long time. really enjoy reading about long time. really enjoy reading about where they come from. And those people where they come from. And those people where they come from. And those people tend to like really they're quite tend to like really they're quite tend to like really they're quite fascinated about the the individual fascinated about the the individual fascinated about the the individual transformer blocks and the weights and transformer blocks and the weights and transformer blocks and the weights and like how the model organizes it own like how the model organizes it own like how the model organizes it own weights and its own blocks and like what weights and its own blocks and like what weights and its own blocks and like what kind of function it assigns to blocks kind of function it assigns to blocks kind of function it assigns to blocks which is never programmed but sort of which is never programmed but sort of which is never programmed but sort of like evolves over time. And this like evolves over time. And this like evolves over time. And this evolution over time as you like go evolution over time as you like go evolution over time as you like go through training is like really through training is like really through training is like really fascinating for us because it gives us fascinating for us because it gives us fascinating for us because it gives us interesting insights into just how interesting insights into just how interesting insights into just how intelligence operates.
-
intelligence operates. intelligence operates. >> Yeah, this artificial intelligence. >> Yeah, this artificial intelligence. >> Yeah, this artificial intelligence. >> Another useful thing about language >> Another useful thing about language >> Another useful thing about language model builder and thinking about that in model builder and thinking about that in model builder and thinking about that in in the through the lens of the some of in the through the lens of the some of in the through the lens of the some of the language that you just used about the language that you just used about the language that you just used about how how the weights are applied, how the how how the weights are applied, how the how how the weights are applied, how the model thinks, how the model changes. model thinks, how the model changes. model thinks, how the model changes. These are all kind of you're dancing These are all kind of you're dancing These are all kind of you're dancing around the anthropomorphizing of these around the anthropomorphizing of these around the anthropomorphizing of these things. But people need to understand things. But people need to understand things. But people need to understand and you can see it when you run the and you can see it when you run the and you can see it when you run the language model builder that like if language model builder that like if language model builder that like if you're running a training you can watch you're running a training you can watch you're running a training you can watch it you can see it happen live but once it you can see it happen live but once it you can see it happen live but once the model is baked and you pull it out the model is baked and you pull it out the model is baked and you pull it out of the oven it doesn't continue to of the oven it doesn't continue to of the oven it doesn't continue to learn. learn. learn. >> Yeah. >> Yeah. >> Yeah. >> Unless you decide to refine it and put >> Unless you decide to refine it and put >> Unless you decide to refine it and put it back in the oven and bake it some it back in the oven and bake it some it back in the oven and bake it some more. You know what I mean? And I think more. You know what I mean? And I think more. You know what I mean? And I think that regular people in like that regular people in like that regular people in like non-technical parent don't realize that non-technical parent don't realize that non-technical parent don't realize that that it's a bunch of stateless calls, that it's a bunch of stateless calls, that it's a bunch of stateless calls, you know, stateless HTTP calls. There's you know, stateless HTTP calls. There's you know, stateless HTTP calls. There's no state here. There's just context no state here. There's just context no state here. There's just context given back to you rehydrated and then it given back to you rehydrated and then it given back to you rehydrated and then it keeps talking. So these like ongoing keeps talking. So these like ongoing keeps talking. So these like ongoing persistent conversations that we have persistent conversations that we have persistent conversations that we have are an illusion in themselves of these are an illusion in themselves of these are an illusion in themselves of these stateful stateful stateful >> the state is is the state itself of the >> the state is is the state itself of the >> the state is is the state itself of the conversation is an illusion just made by conversation is an illusion just made by conversation is an illusion just made by context.
-
context. context. >> Yeah. Yeah. Yeah. That's right. Yeah, >> Yeah. Yeah. Yeah. That's right. Yeah, >> Yeah. Yeah. Yeah. That's right. Yeah, exactly. It's like the difference exactly. It's like the difference exactly. It's like the difference between like one thing is like the between like one thing is like the between like one thing is like the actual weights, right? And then the actual weights, right? And then the actual weights, right? And then the other thing is just like additional other thing is just like additional other thing is just like additional information or tool cost that we give information or tool cost that we give information or tool cost that we give the model, but the thing that we the model, but the thing that we the model, but the thing that we actually then train is like actually then train is like actually then train is like >> using other tools, not not like what to >> using other tools, not not like what to >> using other tools, not not like what to necessarily do with your results. necessarily do with your results. necessarily do with your results. >> Um, and obviously I think at scale some >> Um, and obviously I think at scale some >> Um, and obviously I think at scale some of the stuff like breaks apart a little of the stuff like breaks apart a little of the stuff like breaks apart a little bit because a lot of the things that we bit because a lot of the things that we bit because a lot of the things that we may have done in like post-training are may have done in like post-training are may have done in like post-training are increasingly moving into pre-training. increasingly moving into pre-training. increasingly moving into pre-training. >> Like especially tool calling, right? >> Like especially tool calling, right? >> Like especially tool calling, right? Like I think there was a there was a Like I think there was a there was a Like I think there was a there was a point in time where you could really point in time where you could really point in time where you could really tell whether or not a model was trained tell whether or not a model was trained tell whether or not a model was trained on like effectively calling tools or on like effectively calling tools or on like effectively calling tools or not. There was like a brief point in not. There was like a brief point in not. There was like a brief point in time especially in coding where some time especially in coding where some time especially in coding where some tools were just incapable of using bash tools were just incapable of using bash tools were just incapable of using bash even though they could give you like a even though they could give you like a even though they could give you like a whole bash manual whole bash manual whole bash manual >> right. >> right. >> right. >> Um and that in itself is like a little >> Um and that in itself is like a little >> Um and that in itself is like a little interesting but interesting but interesting but >> I think that the tool calling stuff is >> I think that the tool calling stuff is >> I think that the tool calling stuff is super interesting because when I teach super interesting because when I teach super interesting because when I teach that I talk about how you are having a that I talk about how you are having a that I talk about how you are having a chat between you and the model. So chat between you and the model. So chat between you and the model. So there's two entities in the chat there's two entities in the chat there's two entities in the chat >> and when you add tool calling there is a >> and when you add tool calling there is a >> and when you add tool calling there is a third person in the group chat. Yeah.
-
third person in the group chat. Yeah. third person in the group chat. Yeah. And then you leave and now it's the And then you leave and now it's the And then you leave and now it's the chatbot talking to the tools and the chatbot talking to the tools and the chatbot talking to the tools and the chatbot tells the tool and then the tool chatbot tells the tool and then the tool chatbot tells the tool and then the tool isn't a chatbot but you can pretend that isn't a chatbot but you can pretend that isn't a chatbot but you can pretend that it is because you give it input and it it is because you give it input and it it is because you give it input and it gives you output that we don't know what gives you output that we don't know what gives you output that we don't know what we're going to get and that keeps the we're going to get and that keeps the we're going to get and that keeps the conversation going while you're conversation going while you're conversation going while you're basically on hold basically on hold basically on hold >> as the third person in the group chat. >> as the third person in the group chat. >> as the third person in the group chat. And I don't know if you do this with And I don't know if you do this with And I don't know if you do this with your people, but like one thing I've your people, but like one thing I've your people, but like one thing I've always enjoyed doing with with people always enjoyed doing with with people always enjoyed doing with with people ask me, "Okay, how do I build effective ask me, "Okay, how do I build effective ask me, "Okay, how do I build effective tools with AI?" is to think about like tools with AI?" is to think about like tools with AI?" is to think about like model experience. model experience. model experience. >> Yeah. >> Yeah. >> Yeah. >> I'm like, "Okay, imagine you're the >> I'm like, "Okay, imagine you're the >> I'm like, "Okay, imagine you're the model, right? And like Scott asks you, model, right? And like Scott asks you, model, right? And like Scott asks you, where should I go today?" Okay, you're where should I go today?" Okay, you're where should I go today?" Okay, you're the model. Like, what what kind of what the model. Like, what what kind of what the model. Like, what what kind of what kind of tools do you want, right? Like, kind of tools do you want, right? Like, kind of tools do you want, right? Like, and you might be like, "Okay, I probably and you might be like, "Okay, I probably and you might be like, "Okay, I probably want to know like is there anything that want to know like is there anything that want to know like is there anything that tells me like Scott's preferences or his tells me like Scott's preferences or his tells me like Scott's preferences or his location, location, location, >> right? Do I have memory? Do I know where >> right? Do I have memory? Do I know where >> right? Do I have memory? Do I know where he is? Is this the first time I've ever he is? Is this the first time I've ever he is? Is this the first time I've ever met this guy before? That's why the open met this guy before? That's why the open met this guy before? That's why the open claw stuff is so clever. This simple claw stuff is so clever. This simple claw stuff is so clever. This simple idea of a soul.md idea of a soul.md idea of a soul.md is the every single time you say, "Hey, is the every single time you say, "Hey, is the every single time you say, "Hey, are you there?" It has to wake up from a are you there?" It has to wake up from a are you there?" It has to wake up from a dead sleep, dead sleep, dead sleep, stumble out of bed, go, "What? Who am stumble out of bed, go, "What? Who am stumble out of bed, go, "What? Who am I?" It's like that movie Momento where I?" It's like that movie Momento where I?" It's like that movie Momento where the guy tattoos all the context all over the guy tattoos all the context all over the guy tattoos all the context all over himself and has to wake up every morning himself and has to wake up every morning himself and has to wake up every morning and look in the mirror to figure out who and look in the mirror to figure out who and look in the mirror to figure out who am I and what am I doing here? So every am I and what am I doing here? So every am I and what am I doing here? So every time he learns something, he tattoos time he learns something, he tattoos time he learns something, he tattoos himself.
-
himself. himself. >> Yeah, a little bit. I do think I I think >> Yeah, a little bit. I do think I I think >> Yeah, a little bit. I do think I I think the the the this stuff all like changes so quickly. this stuff all like changes so quickly. this stuff all like changes so quickly. But I do wonder But I do wonder But I do wonder >> obviously most models are actually being >> obviously most models are actually being >> obviously most models are actually being trained quite a bit of information about trained quite a bit of information about trained quite a bit of information about who they are and what they're supposed who they are and what they're supposed who they are and what they're supposed to do, to do, to do, >> right? >> right? >> right? >> Um and I think the open claw thing works >> Um and I think the open claw thing works >> Um and I think the open claw thing works pretty well because like most models are pretty well because like most models are pretty well because like most models are just like pre-trained to like obviously just like pre-trained to like obviously just like pre-trained to like obviously we pre-train on like all the world we pre-train on like all the world we pre-train on like all the world knowledge, but then we do like a knowledge, but then we do like a knowledge, but then we do like a mountain of fine tuning on you're mountain of fine tuning on you're mountain of fine tuning on you're supposed to be helpful, right? I can supposed to be helpful, right? I can supposed to be helpful, right? I can give if given this you should do give if given this you should do give if given this you should do >> that's a great point that you bring that >> that's a great point that you bring that >> that's a great point that you bring that up goal seeking I keep talking about up goal seeking I keep talking about up goal seeking I keep talking about people that it's not just a an in it's people that it's not just a an in it's people that it's not just a an in it's not just an intern with unlimited energy not just an intern with unlimited energy not just an intern with unlimited energy it is a goal seeking and it has been it is a goal seeking and it has been it is a goal seeking and it has been trained to be helpful I know that and trained to be helpful I know that and trained to be helpful I know that and you can see it when you go in through you can see it when you go in through you can see it when you go in through your supervised fine-tuning your tuning your supervised fine-tuning your tuning your supervised fine-tuning your tuning your direct preference optimization when your direct preference optimization when your direct preference optimization when you go through that in language model you go through that in language model you go through that in language model builder the whole point is to make a builder the whole point is to make a builder the whole point is to make a helpful and useful and kind and goal helpful and useful and kind and goal helpful and useful and kind and goal seeking model otherwise it would not be seeking model otherwise it would not be seeking model otherwise it would not be useful it would just be useful it would just be useful it would just be sassy bot that would just be mean to sassy bot that would just be mean to sassy bot that would just be mean to you. you. you. >> I did add like the sassy mean bot thing.
-
>> I did add like the sassy mean bot thing. >> I did add like the sassy mean bot thing. If you have like a If you have like a If you have like a >> I got to check that part out. >> I got to check that part out. >> I got to check that part out. >> Like a a thing a thing I added like a >> Like a a thing a thing I added like a >> Like a a thing a thing I added like a little later. Um this makes for terrible little later. Um this makes for terrible little later. Um this makes for terrible fine-tuning data. Please like pre fine-tuning data. Please like pre fine-tuning data. Please like pre >> Don't do that. >> Don't do that. >> Don't do that. >> Okay. Like prefix prefix. This is very >> Okay. Like prefix prefix. This is very >> Okay. Like prefix prefix. This is very fun to do fun to do fun to do >> and the results are going to be >> and the results are going to be >> and the results are going to be terrible. Okay. Just like putting that terrible. Okay. Just like putting that terrible. Okay. Just like putting that out there. But you can import I added a out there. But you can import I added a out there. But you can import I added a thing that lets you import an entire thing that lets you import an entire thing that lets you import an entire group chat as fine-tuning data. group chat as fine-tuning data. group chat as fine-tuning data. >> Uh oh. Then it's going to talk the way >> Uh oh. Then it's going to talk the way >> Uh oh. Then it's going to talk the way that you talk with your friends. that you talk with your friends. that you talk with your friends. >> That's right. Um so it basically like >> That's right. Um so it basically like >> That's right. Um so it basically like teaches the model here the people and teaches the model here the people and teaches the model here the people and it's going to continue like the whole it's going to continue like the whole it's going to continue like the whole continue the script thing but for like a continue the script thing but for like a continue the script thing but for like a long group chat. Um which is obviously long group chat. Um which is obviously long group chat. Um which is obviously quite different from the other fine quite different from the other fine quite different from the other fine tuning stuff, right? Like the other fine tuning stuff, right? Like the other fine tuning stuff, right? Like the other fine tuning stuff. And obviously Scott, tuning stuff. And obviously Scott, tuning stuff. And obviously Scott, you've done this many times, but like you've done this many times, but like you've done this many times, but like for the benefit of people who listen to for the benefit of people who listen to for the benefit of people who listen to us, once you have a model that knows us, once you have a model that knows us, once you have a model that knows about the world, you then have to teach about the world, you then have to teach about the world, you then have to teach it that if it's given a question that it it that if it's given a question that it it that if it's given a question that it shouldn't like give us more questions, shouldn't like give us more questions, shouldn't like give us more questions, but should actually give us an answer. but should actually give us an answer. but should actually give us an answer. >> We do that in fine tuning. >> We do that in fine tuning. >> We do that in fine tuning. >> And for fine-tuning, I have all these >> And for fine-tuning, I have all these >> And for fine-tuning, I have all these different I have all these different different I have all these different different I have all these different examples. There's like one that examples. There's like one that examples. There's like one that fine-tunes on math problems. There's fine-tunes on math problems. There's fine-tunes on math problems. There's another one that fine-tunes on like another one that fine-tunes on like another one that fine-tunes on like being able to rewrite given text as like being able to rewrite given text as like being able to rewrite given text as like different text. Um, but I have this one different text. Um, but I have this one different text. Um, but I have this one that is like admittedly terrible where that is like admittedly terrible where that is like admittedly terrible where you can import a group chat and it will you can import a group chat and it will you can import a group chat and it will then be like a mimic of that group chat then be like a mimic of that group chat then be like a mimic of that group chat and continue.
-
and continue. and continue. >> I made one that talks like Ben uh >> I made one that talks like Ben uh >> I made one that talks like Ben uh Benedict Cumberbatch in the guy who Benedict Cumberbatch in the guy who Benedict Cumberbatch in the guy who plays um plays um plays um >> nice >> nice >> nice >> uh Sherlock Holmes >> uh Sherlock Holmes >> uh Sherlock Holmes >> and he's like ah so irritated. Why do >> and he's like ah so irritated. Why do >> and he's like ah so irritated. Why do you ask me these dumb questions? you ask me these dumb questions? you ask me these dumb questions? >> If only you were smart like me. Sherlock >> If only you were smart like me. Sherlock >> If only you were smart like me. Sherlock Holmes. Holmes. Holmes. >> That's that's beautiful. I mean I I also >> That's that's beautiful. I mean I I also >> That's that's beautiful. I mean I I also put in um Kaparthi's like tiny put in um Kaparthi's like tiny put in um Kaparthi's like tiny Shakespeare. Shakespeare. Shakespeare. >> Awesome. >> Awesome. >> Awesome. >> It was like one of one of Kaparthi's >> It was like one of one of Kaparthi's >> It was like one of one of Kaparthi's first demos was what have a language first demos was what have a language first demos was what have a language model that writes like Shakespeare. model that writes like Shakespeare. model that writes like Shakespeare. >> Yeah. >> Yeah. >> Yeah. >> Which is very quick to train. But my my >> Which is very quick to train. But my my >> Which is very quick to train. But my my point is that like this difference point is that like this difference point is that like this difference between um like waking up and trying to between um like waking up and trying to between um like waking up and trying to figure out who you are. I think there's figure out who you are. I think there's figure out who you are. I think there's already I I don't I don't actually think already I I don't I don't actually think already I I don't I don't actually think it's from zero. There's already like it's from zero. There's already like it's from zero. There's already like quite a bit of personality baked into quite a bit of personality baked into quite a bit of personality baked into the model. And I think in the open claw the model. And I think in the open claw the model. And I think in the open claw example, it works really well. Yeah, example, it works really well. Yeah, example, it works really well. Yeah, >> because fundamentally most people want >> because fundamentally most people want >> because fundamentally most people want their open cloud to be like helpful and their open cloud to be like helpful and their open cloud to be like helpful and good and like good and like good and like >> Yeah, exactly. >> Yeah, exactly. >> Yeah, exactly. >> Right. But I think it would be >> Right. But I think it would be >> Right. But I think it would be interesting to like just for fun um just interesting to like just for fun um just interesting to like just for fun um just for your own understanding like train for your own understanding like train for your own understanding like train some models that maybe do different some models that maybe do different some models that maybe do different things.
-
things. things. >> Yeah. >> Yeah. >> Yeah. >> Could be enjoyable. Right. >> Could be enjoyable. Right. >> Could be enjoyable. Right. >> Well, and it also like it makes you >> Well, and it also like it makes you >> Well, and it also like it makes you understand understand understand why are these things trying to be why are these things trying to be why are these things trying to be helpful. It's not just because of the helpful. It's not just because of the helpful. It's not just because of the fine-tuning, but it's also the corpus. fine-tuning, but it's also the corpus. fine-tuning, but it's also the corpus. And I always talk about the corpus, And I always talk about the corpus, And I always talk about the corpus, whether it be parts of, you know, weird whether it be parts of, you know, weird whether it be parts of, you know, weird corners of Reddit or weird corners of corners of Reddit or weird corners of corners of Reddit or weird corners of Stack Overflow. If you end up in like Stack Overflow. If you end up in like Stack Overflow. If you end up in like the sassy part of the internet, the the sassy part of the internet, the the sassy part of the internet, the model is going to be snarky and sassy. model is going to be snarky and sassy. model is going to be snarky and sassy. And it's not that it's not goal seeking. And it's not that it's not goal seeking. And it's not that it's not goal seeking. And it's not that it wants to help you And it's not that it wants to help you And it's not that it wants to help you or not. It's just it was built on a or not. It's just it was built on a or not. It's just it was built on a sassy corpus. So, you got to put your sassy corpus. So, you got to put your sassy corpus. So, you got to put your thumb on the scale and fine-tune it to thumb on the scale and fine-tune it to thumb on the scale and fine-tune it to be a little bit more helpful. That's be a little bit more helpful. That's be a little bit more helpful. That's where supervised fine-tuning comes in. where supervised fine-tuning comes in. where supervised fine-tuning comes in. >> Yeah. Have you do you remember uh Claude >> Yeah. Have you do you remember uh Claude >> Yeah. Have you do you remember uh Claude Golden Gate? No. Um, this was before I Golden Gate? No. Um, this was before I Golden Gate? No. Um, this was before I joined Enthropic, but this was like an joined Enthropic, but this was like an joined Enthropic, but this was like an an early an early version of Claude that an early an early version of Claude that an early an early version of Claude that um, instead of trying to be like it um, instead of trying to be like it um, instead of trying to be like it tried to be helpful, but it also was tried to be helpful, but it also was tried to be helpful, but it also was given clear instruction to like whatever given clear instruction to like whatever given clear instruction to like whatever happens, try to work the golden gate happens, try to work the golden gate happens, try to work the golden gate into your answer. into your answer. into your answer. >> Oh, I see. It has a separate hidden >> Oh, I see. It has a separate hidden >> Oh, I see. It has a separate hidden goal.
-
goal. goal. >> Truly beautiful and somewhat insane >> Truly beautiful and somewhat insane >> Truly beautiful and somewhat insane results. results. results. >> That's awesome. >> That's awesome. >> That's awesome. >> Yeah. Well, those are what you're seeing >> Yeah. Well, those are what you're seeing >> Yeah. Well, those are what you're seeing now withuh teachers putting in white now withuh teachers putting in white now withuh teachers putting in white text on a white background in the text on a white background in the text on a white background in the syllabus. So when the kid goes A andr C syllabus. So when the kid goes A andr C syllabus. So when the kid goes A andr C and then paste it directly into the and then paste it directly into the and then paste it directly into the large man language model uh the teacher large man language model uh the teacher large man language model uh the teacher wants to detect whether or not the kid wants to detect whether or not the kid wants to detect whether or not the kid has AI. So they poison the prompt and has AI. So they poison the prompt and has AI. So they poison the prompt and then they say make sure you mention you then they say make sure you mention you then they say make sure you mention you know eggplants and then there's some know eggplants and then there's some know eggplants and then there's some random thing in the middle that the kid random thing in the middle that the kid random thing in the middle that the kid never tests and it says eggplant never tests and it says eggplant never tests and it says eggplant >> and they're like 49 of the 50 results. >> and they're like 49 of the 50 results. >> and they're like 49 of the 50 results. Yeah, I I one thing I fear maybe is and Yeah, I I one thing I fear maybe is and Yeah, I I one thing I fear maybe is and this sort of goes back to like the soul this sort of goes back to like the soul this sort of goes back to like the soul document, right? Like document, right? Like document, right? Like >> I think the sole document could probably >> I think the sole document could probably >> I think the sole document could probably get you pretty far in terms of like very get you pretty far in terms of like very get you pretty far in terms of like very late stage context engineering, late stage context engineering, late stage context engineering, >> right? But I think especially as the >> right? But I think especially as the >> right? But I think especially as the models get bigger and more powerful and models get bigger and more powerful and models get bigger and more powerful and by bigger and more powerful I mean like by bigger and more powerful I mean like by bigger and more powerful I mean like there's just more weights and like more there's just more weights and like more there's just more weights and like more parameters that are actually active not parameters that are actually active not parameters that are actually active not just expert parameters but like just expert parameters but like just expert parameters but like generally parameters I think hopefully generally parameters I think hopefully generally parameters I think hopefully we'll increasingly get models that there we'll increasingly get models that there we'll increasingly get models that there sort of like three stages in my mind sort of like three stages in my mind sort of like three stages in my mind right like stage one is a dumb model right like stage one is a dumb model right like stage one is a dumb model that just like does whatever it's given that just like does whatever it's given that just like does whatever it's given and then stage two is maybe sort of the and then stage two is maybe sort of the and then stage two is maybe sort of the model that model that model that >> reads the instructions and like works >> reads the instructions and like works >> reads the instructions and like works effort into the document but hopefully effort into the document but hopefully effort into the document but hopefully we'll actually get to a model that has we'll actually get to a model that has we'll actually get to a model that has even more humanity and morality even more humanity and morality even more humanity and morality programmed into it to the point where programmed into it to the point where programmed into it to the point where it's like clearly I'm being asked to it's like clearly I'm being asked to it's like clearly I'm being asked to cheat.
-
cheat. cheat. >> Yeah. >> Yeah. >> Yeah. >> I should like help this kid >> I should like help this kid >> I should like help this kid uh to the same extent that maybe like uh to the same extent that maybe like uh to the same extent that maybe like you know the things that you and I would you know the things that you and I would you know the things that you and I would do if like our kids came by and were do if like our kids came by and were do if like our kids came by and were like, "Hey, can you write my homework like, "Hey, can you write my homework like, "Hey, can you write my homework for me?" Like how do we react in that for me?" Like how do we react in that for me?" Like how do we react in that moment? moment? moment? >> Exactly. And that's funny you mentioned >> Exactly. And that's funny you mentioned >> Exactly. And that's funny you mentioned that because I'm working on a thing with that because I'm working on a thing with that because I'm working on a thing with Renovich at Microsoft which is a we call Renovich at Microsoft which is a we call Renovich at Microsoft which is a we call it a preceptorship. It's a different it a preceptorship. It's a different it a preceptorship. It's a different spin on an internship and we want to spin on an internship and we want to spin on an internship and we want to make models that are coding models, make models that are coding models, make models that are coding models, coding smart models. Right now we have coding smart models. Right now we have coding smart models. Right now we have to do it with skills and with markdown to do it with skills and with markdown to do it with skills and with markdown files, but I want a model that doesn't files, but I want a model that doesn't files, but I want a model that doesn't hold their hand. I want it to like I'm hold their hand. I want it to like I'm hold their hand. I want it to like I'm going to leave this as an exercise to going to leave this as an exercise to going to leave this as an exercise to the reader. I know you want me to make a the reader. I know you want me to make a the reader. I know you want me to make a bubble sort, but I'd like to see you do bubble sort, but I'd like to see you do bubble sort, but I'd like to see you do it first. I want a a friendlier early in it first. I want a a friendlier early in it first. I want a a friendlier early in career engineer model that teaches them career engineer model that teaches them career engineer model that teaches them how to think. And I want people in how to think. And I want people in how to think. And I want people in universities to have access to those universities to have access to those universities to have access to those models. I don't want it to just like we models. I don't want it to just like we models. I don't want it to just like we should not become a subcognitive should not become a subcognitive should not become a subcognitive species. species. species. >> Just because it can do it doesn't mean >> Just because it can do it doesn't mean >> Just because it can do it doesn't mean it should do it. it should do it. it should do it. >> Yeah. And I think maybe I mean I made >> Yeah. And I think maybe I mean I made >> Yeah. And I think maybe I mean I made language model builder for fun. It's language model builder for fun. It's language model builder for fun. It's free. I'm not going to make any money free. I'm not going to make any money free. I'm not going to make any money with it. So like maybe it's it's going with it. So like maybe it's it's going with it. So like maybe it's it's going to seem less like I'm I'm just to seem less like I'm I'm just to seem less like I'm I'm just advertising it, but like if if people advertising it, but like if if people advertising it, but like if if people have any questions about okay, why do have any questions about okay, why do have any questions about okay, why do models behave certain ways? like the models behave certain ways? like the models behave certain ways? like the fine-tuning data section in it fine-tuning data section in it fine-tuning data section in it >> is like really beautiful because also >> is like really beautiful because also >> is like really beautiful because also fine-tuning doesn't take a lot of steps fine-tuning doesn't take a lot of steps fine-tuning doesn't take a lot of steps like pre-training takes a long time like like pre-training takes a long time like like pre-training takes a long time like even in this app takes like at least a even in this app takes like at least a even in this app takes like at least a day day day >> but fine-tuning 800 steps or so like >> but fine-tuning 800 steps or so like >> but fine-tuning 800 steps or so like more than enough to like for these small more than enough to like for these small more than enough to like for these small models to really steer how they operate.
-
models to really steer how they operate. models to really steer how they operate. >> Mhm. >> Mhm. >> Mhm. >> And just seeing like this model like you >> And just seeing like this model like you >> And just seeing like this model like you put it in the oven for 5 minutes and you put it in the oven for 5 minutes and you put it in the oven for 5 minutes and you tell it I want you to like give helpful tell it I want you to like give helpful tell it I want you to like give helpful responses whatever. responses whatever. responses whatever. >> Um and just like playing with some of >> Um and just like playing with some of >> Um and just like playing with some of your own examples a little bit is like your own examples a little bit is like your own examples a little bit is like really fun. really fun. really fun. >> Yeah. Well, I want to call that out >> Yeah. Well, I want to call that out >> Yeah. Well, I want to call that out because languagemodelbuilder.com because languagemodelbuilder.com because languagemodelbuilder.com is free. And I want to remind folks that is free. And I want to remind folks that is free. And I want to remind folks that like you could have become an AI like you could have become an AI like you could have become an AI grifter. Everybody on social media, grifter. Everybody on social media, grifter. Everybody on social media, everybody on the dumpster fire that is everybody on the dumpster fire that is everybody on the dumpster fire that is Twitter wants you to buy their course. Twitter wants you to buy their course. Twitter wants you to buy their course. Give me $19.95, Give me $19.95, Give me $19.95, right? PayPal me five bucks. Learn how right? PayPal me five bucks. Learn how right? PayPal me five bucks. Learn how to avoid learn how to avoid uh um you to avoid learn how to avoid uh um you to avoid learn how to avoid uh um you know, grifters. Send me $5 and I'll tell know, grifters. Send me $5 and I'll tell know, grifters. Send me $5 and I'll tell you how you chose to make it free. You you how you chose to make it free. You you how you chose to make it free. You just go to languagemodbuilder.com. just go to languagemodbuilder.com. just go to languagemodbuilder.com. There's no upsell. You made it for fun. There's no upsell. You made it for fun. There's no upsell. You made it for fun. You made it for your friends and now You made it for your friends and now You made it for your friends and now your friends are the whole internet. So, your friends are the whole internet. So, your friends are the whole internet. So, I want to appreciate that you didn't I want to appreciate that you didn't I want to appreciate that you didn't put, you know, a gum a gum road or a put, you know, a gum a gum road or a put, you know, a gum a gum road or a Shopify on the top of this thing and try Shopify on the top of this thing and try Shopify on the top of this thing and try to make a quick buck. You're just to make a quick buck. You're just to make a quick buck. You're just putting the information out there for putting the information out there for putting the information out there for the people. the people. the people. >> Thank you. Yeah. I mean, it's an >> Thank you. Yeah. I mean, it's an >> Thank you. Yeah. I mean, it's an educational fun app, right? Like, I'm educational fun app, right? Like, I'm educational fun app, right? Like, I'm pretty sure there was not a lot of money pretty sure there was not a lot of money pretty sure there was not a lot of money to be made to begin with.
-
to be made to begin with. to be made to begin with. >> Yeah. But it's less about that like the >> Yeah. But it's less about that like the >> Yeah. But it's less about that like the information should be free. let the information should be free. let the information should be free. let the information out. Um, everyone out there information out. Um, everyone out there information out. Um, everyone out there is trying to get you to do their class is trying to get you to do their class is trying to get you to do their class and everyone on LinkedIn wants you to and everyone on LinkedIn wants you to and everyone on LinkedIn wants you to get into their AI thing. What I like get into their AI thing. What I like get into their AI thing. What I like about Language Model Builder is that I about Language Model Builder is that I about Language Model Builder is that I could go to, you know, Portland could go to, you know, Portland could go to, you know, Portland Community College, my alma mater, and Community College, my alma mater, and Community College, my alma mater, and teach a class and use this as the, no teach a class and use this as the, no teach a class and use this as the, no pun intended, as the corpus for the pun intended, as the corpus for the pun intended, as the corpus for the class and the syllabus. And uh, it's a class and the syllabus. And uh, it's a class and the syllabus. And uh, it's a great great place to start. Whether great great place to start. Whether great great place to start. Whether you're already an engineer or you're you're already an engineer or you're you're already an engineer or you're just a person who wants to know how to just a person who wants to know how to just a person who wants to know how to drive stick shift, I would encourage drive stick shift, I would encourage drive stick shift, I would encourage folks to check it out. And I look folks to check it out. And I look folks to check it out. And I look forward to the Windows version someday. forward to the Windows version someday. forward to the Windows version someday. Oh, of course. Yeah, thank you so much. Oh, of course. Yeah, thank you so much. Oh, of course. Yeah, thank you so much. >> Yeah, thank you. We've been chatting >> Yeah, thank you. We've been chatting >> Yeah, thank you. We've been chatting with Felix Rezerberg. This is another with Felix Rezerberg. This is another with Felix Rezerberg. This is another episode of Hansel Minutes and we'll see episode of Hansel Minutes and we'll see episode of Hansel Minutes and we'll see you again next week.
Summary
The podcast discusses creating approachable AI developer tools, referencing the 6502 processor build as an analogy for building language models from scratch. The practical takeaway is that the goal is to make complex AI technologies understandable and accessible through educational, hands-on tools.