Jeremy Howard (Fast.ai), Shreya Shankar (UC Berkeley), and Hamel Husain (Parlance Labs) join Hugo Bowne-Anderson to talk about how LLMs and OpenAI are changing the worlds of data science, machine learning, and machine learning engineering. Jeremy Howard (https://twitter.com/jeremyphoward) is co-founder of fast.ai, an ex-Chief Scientist at Kaggle, and creator of the ULMFiT approach on which all modern language models are based. Shreya Shankar (https://twitter.com/sh_reya) is at UC Berkeley, ex Google brain, Facebook, and Viaduct. Hamel Husain (https://twitter.com/HamelHusain) has his own generative AI and LLM consultancy Parlance Labs (https://parlance-labs.com/) and was previously at Outerbounds, Github, and Airbnb. They talk about How LLMs shift the nature of the work we do in DS and ML, How they change the tools we use, The ways in which they could displace the role of traditional ML (e.g. will we stop using xgboost any time soon?), How to navigate all the new tools and techniques, The trade-offs between open and closed models, Reactions to the recent Open Developer Day and the increasing existential crisis for ML. LINKS The panel on YouTube (https://youtube.com/live/MTJHvgJtynU?feature=share) Hugo and Jeremy's upcoming livestream on what the hell happened recently at OpenAI, among many other things (https://lu.ma/byxyzfrr?utm_source=vg) Vanishing Gradients on YouTube (https://www.youtube.com/channel/UC_NafIo-Ku2loOLrzm45ABA) Vanishing Gradients on twitter (https://twitter.com/VanishingData) Get full access to Vanishing Gradients at hugobowne.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Hey, it's Hugo Bowne-Anderson here, your friendly neighborhood podcast host.
SPEAKER_03Today, I'm speaking with Jeremy Howard, Shreya Shankar, and Hamil Hussain about large language models, open AI, and the existential crisis for machine learning engineering. So Jeremy Howard is co-founder of Fast.ai, an ex-chief scientist at Kaggle, and creator of the ULMFIT approach on which all modern language models are based. Shreya Shankar is at UC Berkeley, and she's also ex-Google Brain, Facebook, and Viaduct. Hamil Hussain has his own generative AI and LLM consultancy,
SPEAKER_03Palance Labs, and was previously at Outer Bounds, GitHub, and Airbnb. So part of the intention of this panel was to explore the impact of OpenAI's Developer Day. And as it happened, we recorded this panel less than 24 hours before the OpenAI board let Sam Altman go, which precipitated a sequence of events that I really don't need to tell you about. But it's clearly worth discussing those more, which I'll be doing with Jeremy Howard on November 29 in another live stream. And there's a link to that in the show notes to sign up.
SPEAKER_03If you like it, write us a review on iTunes and or anywhere else. If you don't like it, do not write us a review. Also, this episode was recorded as a YouTube live stream, so when we occasionally refer to people commenting in the chat,
SPEAKER_03that's what we're on about. We plan to have more such live streams, and you can subscribe to our channel to keep up to date. The link's in the show notes. I'm your host, Hugo Bowne-Anderson, and welcome to Vanishing Grades.
Bye. Bye.
SPEAKER_03Without further ado, I'll get everyone to introduce themselves in a bit more detail, but I'm just so excited to be here with Shreya Shankar, who is at UC Berkeley, but ex-Google Brain, Facebook, and Viaduct. Hamil Hussain, who's currently started his own super interesting consultancy, Parlance Labs, but ex-OuterBounds, GitHub, and Airbnb as well. And Jeremy Howard, fellow Australian, co-founder of Fast.ai, and Honorary professor at the University or Uni of Queensland, as we call it. Former president and chief scientist at Kaggle.
Creator of the UL MFIT approach on which all modern language models are based.
SPEAKER_03But most importantly, a connoisseur of delicious biscuits, which we've discussed many times on podcasts. The first podcast recording we did. Wait, wait, wait.
SPEAKER_02Americans don't know what biscuits are.
SPEAKER_03There aren't even biscuits in America, really. The closest they have are cookies, but they're not quite the same, are they?
SPEAKER_02They're not the biscuits you get in the south of the US.
SPEAKER_03Exactly. I remember once when I came to San Francisco through Australia, I hope people aren't dropping off already. They're like, talk about this type of stuff the whole time. But I brought you and your family a bunch of Tim Tams. Yeah. which, you know, you and your daughter were absolutely amazed. No, people are engaging. Any biscuits to recommend is the most important question in the... Double coat Tim Tams. Double coat and the, yeah, double coat, yeah, mint slices. And if it's a hot day in summer, put them in the freezer.
SPEAKER_03Just for a bit and then get into it. I think we're all done. This has been a great conversation and I appreciate all of your time. But I'd love to just go around the proverbial table, the Zoom room, the YouTube stream, and get everyone to introduce themselves briefly. And let me know a bit about why you're so interested in LLM. So Shreya, I thought we could start with you.
SPEAKER_00Yeah. Hey, everyone. I'm Shreya. I am a PhD student at UC Berkeley studying HCI and databases. And I am particularly interested in data management for machine learning centered around, you know, how can we improve ML engineers' lives? What's that human-centered focus? What are the problems they face? And how can we help more people become ML engineers? Because there just aren't as many as the world needs. So what really excites me about LLMs is that they make machine
learning more
SPEAKER_00accessible to use in software projects. So you don't need to have very strong ML expertise or backgrounds. But you still run into all the same problems that ML engineers run into when they deploy their ML models. So I think it's just a super fun world of seeing, you know, how do we build better tooling for these people?
SPEAKER_03Amazing. And I'm really excited later on to dive deeper into what you've seen in the space and how the mechanics of how these things have changed and kind of what you see happening, what you see happening in the future. Hamill, tell us a bit about yourself and why you're so interested.
SPEAKER_02Wait, wait, wait, wait, wait, wait, wait. Let's not do that. I'll introduce Hamill because Hamill's too humble. I love it. Hamill, for those of you that don't know, is the guy that led the team that created the first coding large language model product at GitHub. It was awesome. And so it's so impressed the people at GitHub that they shut it down and bought something similar from OpenAI instead. I don't know what they were thinking, but it was really awesome.
SPEAKER_02And it set the agenda in terms of what's possible. I don't really remember such a big successful kind of commercial rollout of a product, large language model ever actually coding or otherwise. So Hamill's been doing this stuff for a while and he's quite good.
SPEAKER_01Thanks, Jeremy. I first learned about language models through Jeremy. So owing to Jeremy, I got started on all of this stuff and continue to actually learn quite a bit all the time from Jeremy.
SPEAKER_03And so perhaps Hamill, you could say a bit about why you're so excited about LLMs now and a bit more context around Hamill. I mean, Hamill's been working machine learning way before it was that popular, as has Jeremy as well, but been working ML for 20 plus years in consultancy as well. And kind of come full circle to it now with LLMs.
SPEAKER_01Yeah, why is it exciting? It's hard to say. I mean, it seems very obvious. You can do so many things with them. They're very capable. It's a very easy-to-use substrate to do so many tasks, to interact directly with humans. It opens up a whole new world of products that you can develop and make. So I think, yeah, it's really exciting.
SPEAKER_03I think it would only be fair... To have a sense of symmetry here. So Hamill, would you mind introducing Jeremy?
SPEAKER_01I can definitely try. It's very, it's definitely a tall order to introduce someone as impressive as Jeremy. But you know, Jeremy has been doing machine learning for a long time. He trained his first neural net very, very long time ago. I don't even know how many years ago that is. Jeremy, how many years ago was that? Like super long time ago.
SPEAKER_02My first neural net? 30 years, I think.
SPEAKER_01Yeah. So it was like, even before they were cool or even probably a lot of people knew about it. People know Jeremy for a lot of different reasons. Jeremy started many successful businesses. And then more recently, you know, he's created Thalass AI, which is a education and research lab that has educated many people on on machine learning and AI, including, and that's kind of how I got to know Jeremy. And, you know, Jeremy is actually very central to this discussion about LLMs
and in a very big
SPEAKER_01way. So Jeremy and several colleagues produced research, ULM fit, which we may get into in this podcast, which was one of the fundamental pieces of research that enabled large language models, particularly around transfer learning, which was a really big deal. And right now, Jeremy is continuing to do research and education and is a really big force of nature in the field and does quite a lot for the community.
SPEAKER_02Thanks, Samuel.
SPEAKER_03So with all of that in mind, what's so exciting, Jeremy, for you at the moment about large language models?
SPEAKER_02I don't know. I'm trying to decide how excited I am still. It's quite transformative. So something I'm really excited about is when my wife, Rachel, and I started Class.ai, the goal was to make AI more accessible. So that was back in like 96, 97, I guess. Because at that time it was, you know, not accessible at all. There were five labs in the world basically studying deep learning in any serious way.
And the only people who knew how to train a model that did anything useful were
SPEAKER_02people who had been at those five labs. That was basically it. And we had some progress in making AI more accessible, but only some, because in the end we we were really hamstrung by this prerequisite we always had, which is if you were going to learn deep learning from us, you needed to have had at least a very solid year of coding background, you know, like an intense year of coding background or a less intense few years of coding background. And that ruled out most of the world. And so then when I think about large language models,
SPEAKER_02it's like, well, maybe that's, and I'm sure that constraint's gone now. You know, you can do a lot more with no code or not much code, the idea of being able to create useful things with code, you can now use stuff like ChatGPT and Codex to build things where it's doing most of the coding and you only need to understand enough to kind of tweak the logic here and there or paste in a string here or there or whatever. So yeah, I'm pretty enthusiastic about the ability
of this technology to democratize access to coding and to AI so that lots of people can create the tools that they want in their lives and that maybe didn't have the skills or expertise to do it before and something i want to hear from all of you about your people have built or researched tools to make machine learning and ai more accessible as we've been talking around how do you think about your role or how have your personal goals changed with the advent of large language models so maybe we could start with you jeremy then go back around i
don't think the goals
SPEAKER_02changed at all right so My wife, Rachel, and I did something quite out there when we started Fast at AI, which was we quit what we were doing and decided we weren't going to try and make any more money because we wanted to focus 100% on the mission of making AI more accessible. And we felt like there was a huge danger that AI could result in a world where power is more centralized and that
SPEAKER_02Any kind of dependence on any external financial stuff would make us, you know, we'd have conflicts. And that's got, then that's happened, you know, like now we're all talking about it. So at the time, nobody else seemed to give a shit about centralization of power due to AI, but now it's happening. And a lot of people care, which is great. I mean, it's a shame it's happening, but it's great people care. So the mission has actually suddenly become a lot more serious, actually,
because the rubbers hit the road and it's clear that dystopian outcomes could
SPEAKER_02absolutely happen. But the way of achieving that mission probably needs to change a lot as well, you know. I always created everything at FastAI on the basis that you could genuinely create world-class models as good as anybody on your laptop or on CoLab in a day or two. And that's still true somewhat in some areas, but it's not true if you want to create a GPT-4 competitor.
SPEAKER_02It's not going to happen. Or else before, if you wanted to create an ImageNet, you know, classifier competitor, you know, we outcompeted Google and Intel with their fleets of servers. But yeah, we're not. And that was on a single machine. But we can't do that anymore. So yeah, things are changing.
SPEAKER_03Yeah, and that's, of course, something you built software and abstraction layers for people to write code on top of to facilitate that. This is something I hope we get to more. I've actually just put in the chat a link to your recent post, AI Safety in the Age of Disenlightenment. You did mention that having tools like ChatGPT can democratize a lot of what's happening. It democratizes a certain aspect of what's happening. Of course, something I hope we get to later is how having access to hardware to your own open source models,
being able to fine tune them yourself and not relying on vendors where power is centralized is something we really need to think a lot more concretely about.
SPEAKER_02Yeah. Increasingly, the better models are being trained on the output of models. So for example, DALI 3, which is magnificent, 99%, I think, of the captions are generated by AI. So we're kind of starting to enter into this positive feedback loop bit where AI is making AI better, which could be great, but it creates natural monopolies. And monopolies are terrible for society. And the more power a monopoly has, the more terrible system for society it is.
SPEAKER_02So it's a bit of a worrying situation. And the better AI turns out to be, the more problematic having it controlled by what's likely to be a monopoly is going to be somewhere between economically a bit sad to an existential risk for human society.
SPEAKER_03And I'm glad you gave voice to the positive feedback loops at play. Something I hope we get to at some point is the regulatory capture, which we're seeing play out in real time. But before we get there, I'd love to hear from Shreya. How do you think about your role changing with the advent of LLMs or how have your personal goals changed or what you're working on?
SPEAKER_00I don't know how I'm going to follow Jeremy's answer. I'm sorry, I did this to you last time. Yeah. I think for me, I feel like I'm always focused on studying the ML and now AI engineer persona. So I feel like I inevitably started studying it because the people that I was already studying started to use it. So...
SPEAKER_00Yeah, I don't think I've changed my goals, higher level goals per se, but I have started to notice I'm talking to people from different backgrounds now. The problems that they're running into are a little bit interesting, a little bit more different. People without the resources, without lots of labeled data are now using LLMs. And so I think I'm just noticing a few of these things and I don't quite, you know, have it all together in my head.
SPEAKER_00And maybe it's worth studying more deeply. But yeah, my short answer is just I don't think anything's really changed. I have to get a PhD. I have to graduate, like still doing the things that I've got to do.
SPEAKER_02I never got that.
SPEAKER_03Absolutely. And I do think, though, you already gave voice to this emerging role or emergent role of AI engineer and how that may change. Maybe not necessarily the basic... capabilities we all have when performing these roles, but perhaps the different types of skills and where the focus is may actually change. So Hamill was actually very interested in talking about your paper, revisiting engineering via declarative crowdsourcing and how that relates to the emergence of these new technologies and roles.
SPEAKER_03So I hope to get to that. Hamill. You're the one who inspired this panel in a lot of ways in this episode by telling me about your existential crisis that changes on a daily basis. So, you know, what's happening with you, man?
SPEAKER_01Yeah. It's a bit of a rollercoaster sometimes. Like, so the perspective I'm dealing with, so like there's many different perspectives. So one perspective is as an ML engineer, right? you know, in industry, that's your career. If your career is somehow tied to helping people sort of operationalize ML or doing this quote ML engineering stuff, especially with LLMs. It is confusing to look out really far and try to think about
SPEAKER_01What might happen? I mean, it's of course confusing for almost any profession, but it is, it seems somewhat acute in ML engineering, like, okay, what do I focus on? You know, should I, with a limited amount of time, should I really be focusing on getting into the guts of, you know, like deep learning, you know, should I be training models? Should I be more focused on something, some other aspect? And then it keeps shifting really fast. you know, so shifting in many ways.
SPEAKER_01So like the models, the technologies, the centralization of resources, of power, and really, and so like what I think about is like, okay, how do I add the most value to society given my skill set? And what should I like, what should I do? What should I think about? And it's actually very confusing. Like one thought on one hand, one thought that goes to my mind is like, you know, well, open AI, you know, automate away enough to truly democratize this in such a way where,
SPEAKER_01you know, I should be really thinking about something else. And there's already some hints of that, like I experienced in real time that my clients actually culture, you know, like the people I work with, a lot of them are using open AI and it's like a very sticky thing. And I'm excited just like everybody else about open source models. In a way, I want nothing more than to get people off of open AI and have their own open models. But I'm kind of swimming upstream sometimes against that force
that I can feel.
SPEAKER_01And it does... I do think about that. But I think there's a lot of... With that being said, it's not all negative. That's the nature of this existential crisis in a way. But then also there's a lot of ways that it can be exciting. There's definitely... So I think one exciting part of AI and ML has always been the intersection of different fields. Like if you can be a domain expert in a certain field and then bring ML to that field, that's always been an exciting part. I haven't drifted towards that yet.
SPEAKER_01But I think there's even more opportunity for that now, like being an expert in two fields and bridging them together very deeply. And so those are like some positive thoughts that I have. It's like, OK, if I don't know what to do, maybe I will start drifting in that direction or concentrate in that direction. So I mean, honestly, and also, I don't know, like I look too far out in the future, but I try to think too far in the future that it's like you can kind of like staring into an abyss. But so I tried to be a little bit more short term. But yeah, these are the thoughts that are going through my head.
SPEAKER_02And to be fair, the reason that OpenAI is so sticky is because their models are really good and cheap, which is great. It's nice to have really good models that we can use. Definitely.
SPEAKER_01Yeah. And then, yeah, with OpenAI and DevDay and stuff like that, they're releasing more and more infrastructure around their models, not just their models. And people are really... eager to take that on. Even if it may not be as good as something else, it's very sticky.
SPEAKER_02But isn't that, like, that really surprised me how bad they are at creating these things around their models. Like, first they tried plugins, and that was a total failure. Then they tried GPTs, which aren't a total waste of time, but the product's really badly made. Anybody who thinks that they've achieved AGI internally would have to explain how it is that they've got some kind of super intelligence internally, but they can't write a web app that's any good.
SPEAKER_03Well, this is actually really important because when Hamill and I first talked about the OpenAI developer day, it was like, wow, this is mind-blowing. And then both of us went and used stuff and was like oh no wait yeah me too why is it so bad why is it that you type text over here and then if you type text over here and then you hit this button then all that text disappears with no way to get it back it's like basic stuff i'm sure they'll fix these things but yeah they don't have asi internally that's for
SPEAKER_02sure
SPEAKER_03Absolutely. And these products are subpar compared to the marketing, but I think the original chat GPT release, right. Was cause he, that wasn't the newest technology, right. As you well know, but the product experience somehow was transformational with that first chat GPT, right. It did capture a lot of us.
SPEAKER_02Which is because it, it was a minimal interface on top of their model and they're good at making models. So there's lots of room to improve it, but that in itself was fantastic.
SPEAKER_03So I do want to get a bit more into OpenAI Dev Day. Before that, I want to kind of think about the role of the ML engineer and how it changes. Now we have LLMs. Shreya, you actually had a question for Jeremy around this. I don't know if you have it in front of you and want to ask it.
SPEAKER_02Wait, Shreya is the one who knows all about this. I don't know why you're asking me a question.
SPEAKER_00I don't think I know anything about this.
SPEAKER_02Okay. I think all of you know a lot about this.
SPEAKER_03Not me. Everyone has foster syndrome at the moment, to be clear. Even Hamill's like, no, we shouldn't do a podcast because I don't know enough. And I'm like, dude, this is wild. So yeah, Shreya, perhaps you could ask Jeremy your wonderful question.
SPEAKER_00Jeremy, you've helped to teach so many people machine learning from non-traditional backgrounds. They didn't study CS in college, for example. What skills or tools, like maybe two or three, do you see people needing to have now for an ML engineer role that you weren't teaching five years ago?
SPEAKER_02Oh, okay. I can actually kind of answer that question. Good. Thank you. So actually, I've been shocked to discover that the answer is almost nothing's changed. And I know this for a few reasons. So one is, you know, I recently redid both parts one and two of the course after a relaxing global pandemic break. And so coming back to it, I had to look back over and be like, oh, what was I talking about two or three years ago?
SPEAKER_02Because everything's changed, hasn't it? It kind of felt that way. But then I looked at it and I was like, oh, no, all of these things are equally relevant. Nothing's changed. And I think that's because the stuff I teach is I don't really teach tools, you know, I don't really teach, you know, high level application platforms or whatever. I teach fundamentals and it's fascinating how they haven't changed at all. So, you know, I, um, I think I've got a bit better at teaching some of it.
SPEAKER_02So I've, you know, so I've changed like how I teach SGD is now in a much more interactive way with little sliders and things. And it used to be like, Oh, here's a picture from my book. Let me tell you about the picture. When I teach about production-ization, even that hasn't changed much. Like I do always show Atul and, you know, I used to use Voila. Now I use Gradio. But the fact is in each case, it's like, oh, look, you know, here's a REST interface we create. And like, you know, so we show with Gradio, like, oh, here's how you create a little JavaScript layer over the REST
interface and do it
SPEAKER_02if you like with it. You know, data loaders, data sets, batching. It's all basically the same. And the amount of stuff that's actually changed is... is pretty minimal for people who are trying to build and train models. The thing that's changed is how much you can now do without building and training models. So I recently did a video called The Hacker's Guide to Language Models, which is kind of a 90-minute brain dump of all the things I
figure people ought to
SPEAKER_02know. And most of it was not about... training models at all. A lot of it was just like, here's how to use OpenAI's models. Or even the training was like, oh, here's a script you can download called Axolotl. And you just type Axolotl space data set name at the command line and it does it. So that stuff That's interesting because it's a whole different audience. It's a whole different way of thinking about it. So it's definitely making me think.
For all these people that maybe don't need to know really how to train models,
SPEAKER_02I still want to teach them how to take full advantage of AI. And I think it needs a different approach.
SPEAKER_03And although you don't, I mean, there is not a focus on training, but you do make clear how important, well, we'll call it transfer learning, but in the form of fine tuning or using RAG or these types of things. And I think, I can't recall quite correctly, but you published a blog post recently. I had a conversation called The End of Fine Tuning. So I'm wondering if you could just expand upon that and tell us about the importance of transfer learning as a general concept.
SPEAKER_02Oh, yeah. It's everything. So we didn't know that. When Rachel and I started Fast.ai, we didn't know that. So when we started Fast.ai, it was totally speculative. It was like, is it possible to not be a PhD graduate from one of the five deep learning labs and build something without access to Google Brain Compute Cloud that's useful? And we didn't know the answer to that. But as we started looking into transfer learning,
SPEAKER_02that was like, nobody was talking about, we were like, holy shit, why is nobody talking about this thing that actually makes the answer to this question? Yes, you can do it. You know, you can do it on a, well, Colab didn't exist then, but you can do it on a small AWS instance, or you can do it on your own computer with one NVIDIA gaming card on it. And Yeah, it's basically, okay, so now you're taking advantage of some big company that has trained a big model on lots of data and lots of computers and has been kind enough to
release that to the
SPEAKER_02world. And then it's learned for vision, how to recognize objects and shadows and rotations, and that's the hard bit. And then if you know all that, recognizing the difference between a a golden retriever and a poodle is easy. So that's, you know, that's the transfer learning bit. It takes like a couple of minutes on one graphics card. And yeah, so then the big step, I guess, I'd then talk was to say like, oh, obviously that exact same process will work in language. I thought it was really obvious.
So I asked a bunch of NLP people I knew, this is obviously going to work in language as well.
SPEAKER_02And they all said, nah, definitely won't work. Language is totally different. It's way harder. There's no way anything that's happening in computer vision will work. So for whatever reason, I guess because I'm an arrogant bastard, I just did it anyway. And it did work. So ULM fit, which you mentioned earlier, is transfer learning for language. Rather than pre-training on a million ImageNet images and figuring out which ones are cats and which ones are cricket bats, I trained on Wikipedia. Then trained it to figure out the next word of a sentence.
SPEAKER_02But it's the same thing, right? The basic model you end up with from that isn't any use to anybody until you fine-tune it, until you do transfer learning on it. And the frustrating thing was that nobody realized, even after ULM fit, nobody realized that the fine-tuning bit was the important bit. Until, you know, so I kind of felt like I was yelling out into the void there and being like, it's all about the fine tuning. And it wasn't until ChatGPT came out, which was based on fine tuning, of course, instruction tuning and I like Jeff and everybody's like,
SPEAKER_02oh, wow, fine tuning is pretty cool, isn't it? So, you know, it took a few years from the insight and the demonstration to people actually understanding what it was that was demonstrated.
SPEAKER_03Absolutely. So Hamill, part of the genesis for this conversation was this crisis around ML engineering. And also you and I have chatted a lot about the emergence of this new role recently of the AI engineer. So I'm wondering if you can speak to ML engineering and whatever AI engineering is and give us your kind of nascent thoughts on this duality here.
SPEAKER_01Okay. So there's this term AI engineer. Kind of understand what it is, but I don't really focus too much on the sort of popularized definition and just more focus on what does my day-to-day life look like when I'm trying to work on LLMs and what are the types of things I tend to focus on. And the thing that I tend to focus on a lot is looking at lots of data and evaluating and thinking about evaluation. And the reason that is, is like, so the key is,
SPEAKER_01and it's actually something that I also learned from Jeremy, is like, you need to iterate really fast. When you're working on something, your loop has to be super fast. If you change something, try something new, you should be able to get feedback within minutes or less. or as fast as you can. And if you don't have a good evaluation framework, you can do that. And then also, that's the nature of algorithms. If you want to fine tune them, or if you want to discover what your failure modes are, you need to look at lots of data to understand what those are.
And this is actually a core skill that a lot of data scientists and machine
SPEAKER_01learning engineers are really good at. That's kind of a key cornerstone of being a data scientist, even before L learns. And that's something that really transfers really well. The things that are a little bit new are being okay with more software engineering because now the ML is closer to whatever platform or software that you're working with. So just to be really concrete here,
SPEAKER_01I still see what the people I work with, you know, like about half the time I'm still able to use Python and develop, you know, the language model component in like a microservice. But then the other half of the time in that, in the other half, I would say is like growing more, or I see like more of it, or like, you know, can't really develop in this microservice and I have to understand an entire application that might be written in another language like TypeScript, for example. And so that's what I mean by being more of, you know, getting more into software engineering.
SPEAKER_03We've got a great question from Charles. That was a question related to something Jeremy was saying, but it's very relevant to this. Charles Fry has asked, do the folks Jeremy mentioned who don't need to train models need to use Python? JavaScript seems like a better choice potentially if you're consuming models via APIs to deliver value at the application layer. So how does that type of thing relate to what you're talking about?
SPEAKER_01Yeah, so I mean, and the reality is, it's like microservices are okay. Like a lot of people, you know, people like really large companies, maybe Silicon Valley companies have been using those and certainly that's a thing. But then a lot of people are not using microservices and a lot of modern applications are not built with Python. Like there's no Python anywhere in there. And so if you want to glue these large language models, especially if you're calling APIs, to the application and reason about it, you have to start getting comfortable in these other languages.
Because it's not... You can't just hand it off and pretend like it's someone else's problem.
SPEAKER_01You have to kind of... tinker with, okay, how does this actually work and interact with the application? That's very much part of the language model is like the, the, where the, the LLM meets the US and reasoning about that. You have to think about that. I'm not saying you have to be an expert, but it is when day-to-day work, I do find that, I do find that to be the case. So I do see like, okay, the, the, the AI engineering definition as like, that's popularized right now is like,
It's like this JavaScript developer who learns a bunch of language model tools and
SPEAKER_01APIs and things like LangChain and stuff like that. And it's like gluing stuff. The only little bit of the quibble I have with that is, okay, you need to look at lots of data. And a lot of the best data tools are in Python. And so that's a force that's pulling that skill into this AI engineer that's unavoidable. You have to look at lots of data. How are you going to do that? If you're coming from a front-end developer background or something like that, I think that's... You know, I find that to be a blind spot that I'm constantly am seeing.
People rushing into creating application around large language models without a
SPEAKER_01good evaluation framework or without really looking at any data. And so I think these two skills come like match. I don't have the best answer of how to master all of them and just, you know, doing it one step at a time and like learning what I need to learn to do a good job, I guess. I'm curious what, yeah, if anyone else has a perspective, yeah.
SPEAKER_03Well, I'm also interested in, there are a lot of things happening here where we've got a democratization and we've talked about how, you know, people with low-code skills and no-code skills can use large language models and that type of stuff on one side. On the other side, it's like, you need to know some Python and now some application layer stuff and then Langchain and being able to look at data. And it's not only looking at tabular data now, it's, you know... of large amounts of unstructured data that we're not even certain how to version or evaluate. So perhaps Shreya,
I know you think a lot about the democratization of these skills and who can do
SPEAKER_03these types of jobs. So how do you square these different takes for yourself in terms of being able to do stuff with low code, but also in some ways when you go one layer below, suddenly you need to know all these different things and have all these hacker skills.
SPEAKER_00I love this question. I also love that you mentioned looking at the data as a core skill of ML engineers. And what a lot of people don't realize is that looking at the data and building intuition for what does materially impact your ML system, like changing your data, adding something to your output, putting assertions, evaluation, testing... If you're a trained ML engineer, you know to do these things.
SPEAKER_00But if you are not familiar with machine learning or if, you know, LLMs is your first foray into having some sort of software with machine learning in it, then you are more inclined to add instructions to the prompt. Say like, do not output something of this form. You're inclined to do a lot of prompt engineering and hope that at the end of the day, the system is just going to work for all failure cases. And It makes sense because people are always going to do what they're familiar with. Like Hamel mentioned, he is looking into containers for LLMs.
SPEAKER_00He's looking at different ways to fine-tune, to go deep in that way. But a lot of other people are spending all their time on LLMs and they still don't, they don't do any training of models. They don't do any fine tuning of models. Everything is around, you know, how do we build better prompt engineering tools? How do we eyeball responses? Like where do we involve humans in the loop? How do we write better eval specs that use GPT-4? I find this very, very fascinating. Just, you know, the different ways that people are approaching the same problems.
SPEAKER_00And it's not really clear if there is only one right way to do things. I think looking at the data as a core skill set, everybody ends up realizing like, oh, this is something that's important. But not everyone has strong opinions on whether they should be using Jupyter Notebooks to test their prompts, or they should be serving their models with REST APIs, or they should be able to use like Python or JavaScript or whatever. These kinds of questions, I feel like they're Just the fact that there's like different right answers to them
means means maybe we shouldn't be looking at them as much as the questions that everybody unanimously
SPEAKER_00arise at that same conclusion.
SPEAKER_03Absolutely. And people coming from very different directions. That's one of the beautiful things here. People coming from a lot of different spaces. And there are actually two questions in the chat that I want to get to. Before that, Charles has also mentioned looking at data is Genshi Genbutsu, which I recognized, but I had to look it up. It's the Japanese principle of going and directly observing a location and its conditions in order to understand and solve any problems faster and more effectively. So thank you, Charles. I'm going to use that time and time again.
SPEAKER_02I just wanted to mention something about what Hamill said. I think, well, kind of, I'm just going to hear your guys' thoughts about this, but I agree it can be helpful to dive into TypeScript or dive into all kinds of other languages or whatever, libraries. And that kind of thing used to scare the hell out of me. You know, I always like to just one language, focus on that for years, one web application framework,
SPEAKER_02one database backend, one of everything, because that's all my brain can handle. And if I had to do something outside things that I'd done in the last couple of years and was still kind of in my working memory, I'd probably just skip it, not do it, do something else, or find somebody else who knew how to do it and get them to do it. For me, that's changed with chat gpt and codex because yeah i find i can dive in now you know i can dive in and do some video processing with ffmpeg or like yeah i don't know
the other day i even wanted to just grab some stuff from my apple notes and chat gpt's like oh here's a Python script that uses open scripting architecture to attach to notes to enumerate.
SPEAKER_02And I just like, okay, I wouldn't have written that myself. I don't know how to... I used open scripting architecture like 25 years ago when I was playing with Apple script, but that's about it. So I guess I feel like I kind of want to encourage people to actually not just think of themselves as back-end Python programmers or front-end JavaScript engineers or something, because actually... I find now, yeah, if ChatGPT is there to help me get started on some different backend or library or
SPEAKER_02platform or language, I can look like I know what I'm doing pretty quickly and... I actually think that's really interesting because they're like building a team or something. I wonder now, like, is it better to have a five-person team of really quick learners, open-minded people who are really curious about everything versus a 50-person team of specialists in every area? Yeah. You know, I always hated when I was running companies hiring specialists
because there's all
SPEAKER_02this friction that it creates. And the more you create that friction, the more you need more specialists to help with that friction management. And then you suddenly need management hierarchies and stuff. Yeah. I don't know. I'm wondering if there's different ways to do things now. You don't necessarily need unicorns, but maybe more people can be unicorns now.
SPEAKER_01I agree with that. The only reason I'm able to dive into these things is become a co-pilot ChatGPT. And basically everything I do with regards to writing code, I'm using those heavily. Like all the time.
SPEAKER_02Now that we're up to the new knowledge cutoff for April, you know, a lot of these tools didn't exist when it was trained, but now we can actually ask about them.
SPEAKER_01Yeah, I think that's a great point. Like whatever I said shouldn't be that scary. It isn't that scary. I'm able to dive into these other languages and get lots of help. And with a lot of practice, you can actually take some work. So the one thing I want to say is one thing that's really surprising is a lot of people aren't using it. large language models in their daily lives. If someone asked me, what should I do to get better with large language models? Like a developer asked me. One interesting thing I like find quite often is they're not really using large language models like in their daily lives,
SPEAKER_01like all the time. And that That's something that you should change if you're not using my Larsen. Try to use it as much as you can.
SPEAKER_02Also, at least for now, the fundamental software engineering and computer science skills have suddenly become more important, in my opinion. Like the fact that I know... how to test for edge cases, you know, the fact that I understand race conditions, the fact that I understand how to debug things. Like suddenly these are actually the skills that matter. Whether or not I know the details of what parameters this function expects or what module to find it in or whatever, you know,
SPEAKER_02doesn't matter anymore. But like, interestingly, I find chat GPT, GPT-4, incredibly bad at almost all coding. Anything that it hasn't seen before in the training set, it's terrible. And it's terrible at software engineering because it says like, oh, I see there's a bug. I'll fix it. And it assumes it knows what the bug is. It assumes it knows how to fix it. And it'll even write a comment at the top saying like, making it work by blah, you know, it's still broken.
SPEAKER_02It's like, oh, one final fix to do blah, and it's still broken. And so I find I have to tell it, you know, I'll say like, the recommended way to debug a piece of code is to write just one or two lines at a time, test the output and the types of what you're expected, and then don't move on until you've run that piece of code. And like, I have to teach it how to, debug and i have to tell it create tests that include these things but gee when i do that then i'm 10x faster because it's it's i could just say
just do that thing and it saves my limited brain capacity as well because now it's doing that kind of boring menial stuff but yeah i feel like the foundations i know are really
SPEAKER_02dramatically more important than they were a year ago
SPEAKER_03The iterative cycle with ChatGPT, GPT-4 you've just mentioned, Jeremy, though, is something you've spoken about publicly. Hamill and I recently discussed it several times on several podcasts that the first time you ask something usually isn't the best response, and then you have a conversation with it. And I suppose that's analogous to the first machine learning model you train usually isn't the best model, but then you introspect, do some error analysis,
SPEAKER_02and keep going. I was referring to the code interpreter that self reflects, like it runs its code and its test doesn't pass or it gets a compilation error or whatever. And it says, I'll fix it. And it, it never fixes it. You know, sometimes I'll let it run. It takes like 20 minutes, come back and the chat's like 12 attempts. And eventually I'll just stop it. But when I use this trick of like teaching it, basic software engineering principles. I teach it the way of coding that Hamel and I do in kind of notebooks,
SPEAKER_02because actually ChatGPT code interpreter is literally a Jupyter notebook underneath. So I teach it, like I say, like, okay, here's what I want you to create. Now, only think of the very first one or two lines of code write those check the outputs and types and stop and come back to me to see if i want to continue and when i do it that way it can actually solve things just like a human generally you can't just say write this algorithm and it
writes the you know the person writes 50 lines of code and it works that's not how it happens be
SPEAKER_02interesting to see if openai ever figure this out and actually teach ChatGPT software engineering? Because if they did, it would be much more useful.
SPEAKER_01I think it's really important because it's really the write-offs. Like, oh, you could just, oh, I don't need to learn how to use ChatGPT. It's just talking to a thing. But no, actually what Jeremy is saying is being very thoughtful and practicing what works and what doesn't makes it, it's just like a completely different world. And a lot of people don't do that yet, to my surprise. Jeremy and anyone else, do you use system prompts to teach it in these ways?
SPEAKER_03And or do you see a future of creating your own GPTs?
SPEAKER_02I find system prompts aren't nearly enough. It's a bit specific to the context. I do want to try... Yeah, I do want to try creating some GPTs because I think with some thinking about how to cluster the different kinds of things that chat GPTs are predictably bad at and predictably can be taught how to do it well, could make for some useful GPTs. But it's also something I feel... Maybe this is a better place for open source models, because open source models, you've got a bit more flexibility and the fine tuning and RAG
and stuff is a bit
SPEAKER_02cheaper. I don't know if you guys have looked at OpenAI assistance, which is the API thing behind OpenAI. GPTs it's just insanely expensive like insanely expensive I don't understand what's going on there it's not that good either so no it's not that good either no so yeah this feels like the edge of there's some things open AI is really good at but this is yeah this is maybe not one of them is putting these things together into a more holistic product
SPEAKER_03I would love your impressions and feelings from open AI developer day. And then perhaps how that changed when you started actually playing around with the tools. Anyone can feel free to start.
SPEAKER_01At first, I was like, oh, wow, they're getting into more of the infrastructure around language models. Like, it seems like they're making a big play. I was like, oh, of course, maybe it'll be good. It seems they're putting a lot of, yeah, it seems like they might have some advantage there. And then as soon as I got access, I played with it as much as I could the entire day. I was really disappointed. I struggled to make, for example, GPTs worked the way, at least that they were advertised. And I thought, wow, this is just really mad.
And then I had less of an existential crisis to a degree because I thought,
SPEAKER_01okay, there's a lot of this, the tremendous, that white space is like definitely still there. And it's, but yeah, I mean, that was what's going through my head. Rea, how about you? I... I still feel very optimistic about developer day or just everything that was announced.
SPEAKER_00I found it very interesting, like how strongly people reacted to it. So maybe some people have very, very high expectations or, you know, a whole bunch of people were talking about how like startups are canceled now due to developer day. And I'm like, how are they canceled? Like, they're all pre-seed or seed stage or whatever. Like, it's not like they exist. They don't even have a product that everyone's using. It really reinforced in my mind that like OpenAI is fundamentally building a consumer product.
And so they're going to throw a hundred things at the wall and probably only one of
SPEAKER_00them will stick because that is how consumer products work. And we are the consumers. And it's not like, you know, somebody is like building a technology that organizations that like enterprises are using and, you know, they get like $1 million contract and like they're happy. Like we're the consumers that we're trying everything and not everything will stick. And I think that's like pretty far for the course. With GPTs, at first I was like, okay, what could I possibly do with a GPT? I don't know what I need a GPT for that chat GPT doesn't
already do for me.
SPEAKER_00But I found one case, one use case. I spent six hours thinking of use cases and building different things. But this is around making figures for my talks or my slides. And I think it's because I have a clear process. I have a style that I want to make figures in. Like I want to make it a little bit simple, maybe black and white, a little cartoony, cute. And I want that to persist. And I need to make many, many figures. I need to make a figure for every few or visual for every few slides.
SPEAKER_00And I know that there's a broader theme.
SPEAKER_02Could you give an example of like a figure?
SPEAKER_00Yeah. Or just like a visual.
SPEAKER_02Yeah, but can you be specific? Like you're talking about like a neural network diagram or a...
SPEAKER_00A neural network diagram could be one of them. I gave a talk at a lab this morning and the title figure, hold on, let me pull it up. Title slide figure is, should I share my screen? I feel like that's the best way to show this. Yeah. Okay. Okay. So I want cohesive figures or visuals, whatever you want to call it. And the best way to do that was a custom GPT because it
remembers the style and all
SPEAKER_00of the things, you know.
SPEAKER_02Right. How does it remember the style and all of the things?
SPEAKER_00I put it on the system prompt.
SPEAKER_02Okay, so it doesn't exactly know like you couldn't, it's not that you can have exactly the same character appear each time, but just that the general style.
SPEAKER_00It knows like the pattern of the queries that I have. So my queries are like, my slide is titled today's roadmap. And, you know, I want like a long winding road, but not too windy. And I want it to go top to bottom or left to right. I don't know, something like that. Yeah. And I felt so happy when I got it.
SPEAKER_02They're beautiful. I love it.
SPEAKER_00Thank you. Really nice.
SPEAKER_02This is really cool.
SPEAKER_00This is something that, say, I wanted to do without a GPT or whatever. I kind of would have my stable diffusion prompt, and I'd have to give it the context every single time. It goes to the point of... At the end of the day, I just keep paying attention to the emotions that all of us feel when all these new things come up. That's the whole point of Developer Day. Like, it's to release tooling that get us all really hyped or, like, really upset or really demotivated or in an existential crisis.
SPEAKER_00Like, that's the way that all of this works. So...
SPEAKER_02Yeah, I've been trying to decide whether I'm ready to make a call on OpenAI and whether we should say NGMI. They're not going to make it. Because that's my feeling after seeing their recent stuff, is I'm feeling like, hmm, they're not going to make it. Because the basic premise here is exponential growth in capabilities. And no, they're hitting the wall. They're closing up signups to ChatGPD+.
SPEAKER_02They're tweaking, like their new product is the same product as Forbes before, but a bit cheaper and faster. And it actually seems a little bit crappier. They're not releasing stuff a year because they can't get enough GPUs to run it on. This is not feeling like a... boom, fast takeoff of superintelligence. Do you know what I mean? This is feeling like, oh, we found a quite useful, really quite useful technology that quite quickly surprised a
lot of people in how
SPEAKER_02capable it was There was then an assumption that that would result in a rapid feedback loop of improvement, which I kind of expected as well. But the thing I had, I think, not thought enough about is that improving capabilities without increasing energy and other resource use is...
SPEAKER_02not obvious. It's not necessarily clear that that's possible. And so we kind of seem to be, or at least OpenAI kind of seem to be hitting a bit of a wall here, which I think is interesting. And so, yeah, I mean, I'm sure they're going to do the $10 billion training run at some point. And then maybe after that, they'll do the $100 billion training run. But then I think, well, what then, right? Because now you've got this api that's going to cost like three dollars per token or something you know and and
two hours later you get two sentences um that are like 30 better than the ones that it'd give you now so i've been finding this quite interesting and also yeah also the fact that chat gpt was basically an accident you know it was like oh it's try just chucking something out there to help people understand a little bit about
SPEAKER_02what GPT-4 is going to be. Maybe a handful of people will use it. And, you know, accidentally that was really useful. And now they're kind of like, oh, you know, and then Microsoft's like, oh, you guys create useful products. So we want to, you know, Microsoft's now basically in control, right? Because OpenAI is entirely dependent on Microsoft. And Microsoft gets 75% of the profits. So they've got to keep churning out
useful products to Microsoft and it seems they're not actually that good at
SPEAKER_02churning out useful products you know so I don't know I think it's really interesting to me this open AI the result of both open AI dev day and just their overall trajectory since releasing GPT-4 is like I'm becoming more and more bearish on their future, I guess. It kind of feels like they're going to be, you know, I could imagine them being the next Google, which is not bad,
SPEAKER_02you know, to be sure, or Alphabet. But, yeah, not sure they're going to go past that.
SPEAKER_03Slightly bearish on OpenAI. Does that make you more bullish on open source models? Yes.
SPEAKER_02Not sure. I don't know how I feel about open source models. I mean, I like open source models and I want them to be successful, but I think open AI is very good at what they do. You know, they're good at building models and they're good at serving models. But, you know, I think the thing is, like, if you look at Anthropix, you know, leaked pitch deck where they said like, oh, whoever's ahead in 2025, 2026, they're going to win. So that's all that matters. Yeah, I'm not sure that's true, actually.
SPEAKER_02I used to think that's reasonably likely. I had a reasonable chance of being true. Now I don't think it's going to be true. So that does mean that the open source folks are going to have, I think, time to catch up. You know, obviously, if there was this exponential growth thing going on, then that's it for open source unless states get involved and either forcibly slow down the big commercial companies or massively inject something into this kind of... academic collaborations like, you know, a CERN style project,
open source was going to lose.
SPEAKER_03That'd be awesome.
SPEAKER_02Yeah.
SPEAKER_03Let's just clear about what Anthropic is and correct. I'm going to state some recent historical facts that may, I probably need to fact check. You can fact check me. Anthropic was formed by A bunch of people who were high up at OpenAI and perhaps expressed dissatisfaction with the money OpenAI was taking and that it was becoming more closed.
SPEAKER_02Well, they were pissed off about the codex thing, particularly. They thought that was irresponsible. So my understanding is that was the forcing function where they were like, okay, that's too much. We're out.
SPEAKER_03That makes sense. And then they left to form Anthropic. But of course, after that, they recognized that they needed pretty serious injections of capital and took maybe $4 billion from Amazon or something like that.
SPEAKER_02Yeah, this is what happens to every do-gooder company in the world. At some point, the stakeholders are like, oh, whatever we're doing, we could do it better if only we had more money. And so then they start bringing in people who are good at making money and then they become controlled by those people or they themselves get focused on making money because this is a capitalist society. So yeah, the exact thing that Anthropic left because they hated it. They've now done the same thing.
SPEAKER_02They've released a consumer product. They have a sales team. They have their employees get equity. That is obviously pointless unless they're making a profit and have some way of making that into liquidity. And everybody who's got any background in business at all knew that all of those things were going to happen. Because of course they do. So in your mind, what are the odds that one company like OpenAI or Anthropik
SPEAKER_03create a monopoly, capture the entire market, or an oligopoly, like a handful of them do, either through acquiring increasing resources or regulatory capture, which we haven't really talked about yet, but I'd be interested in your thoughts on that as well.
SPEAKER_02So to me, it just totally depends, right? Putting aside regulatory capture. If these positive feedback loops... are a thing and they're a thing even given resource constraints and energy constraints and so forth. So if these companies are actually able to continually improve capabilities at a growing rate without having an accompanying growing rate in cost, then it basically has to be a monopoly. You know, whoever's ahead gets ahead by further and further.
SPEAKER_02And so why would anybody use the alternative? And so they end up with, you know, all the power in the world because they own the thing which is like responsible for all the value in the world. On the other hand, if that, as I think seems likely now, if that isn't going to happen, then there's no particular reason there would be any, well, I think the economics look similar to Google and Google is a monopoly to be clear, but they only get to stay a monopoly if they keep being
reasonably good at what
SPEAKER_02they do. There's nothing fundamentally making it impossible for like if they became just crap as being a search engine and somebody else can just come along and be a better search engine.
SPEAKER_03So they do have a pretty serious monopoly on search, but I suppose on the advertising market, you can think of Facebook or Meta and Google.
SPEAKER_02I mean, they don't have a, it's not impossible for others to compete with them if they stopped being good at what they were doing. They actually have to keep being a good search engine in order to maintain that monopoly ditto to some extent for amazon like they've got a lot of monopolies practices and they're actually being taken to court i guess by the ftc but nonetheless if if they were not genuinely a good place to buy stuff from then people will stop buying stuff from them and in fact in
australia they're not a particularly good place to buy stuff from you know not not that many people use it
SPEAKER_02in australia
SPEAKER_03Can you tell us a bit about regulatory capture? And then I want to go on to kind of talking about how to think about whether to use open source models or vendor-based models and that type of stuff. But particularly with everything that's happened recently in the US and the EU, I'd have to fire myself for not asking you about regulatory capture. I mean, it's a great time to talk about regulatory capture because everything is changing.
SPEAKER_02So if you had asked me last week, I would have been pretty dismal on it. It was, you know, there was this massive shift in the Overton window where suddenly... All these world governments and world leaders, you know, Sam Altman was going out doing state visits and stuff. And the overarching theme I kept hearing from governments was, oh, wow, existential risk is such a problem. We have to care a lot about AI safety and the way we should be doing it.
SPEAKER_02Like, look at the EU AI Act. It totally changed from earlier versions to be like, oh, well... Everybody's going to have to submit their model runs ahead of time and have them approved to prove that they're safe before they train their model. And previous versions, correct me if I'm wrong, were about more like deployment. High-risk applications, yes. They were like, if you're going to use AI to decide which insurance claims get paid out, then...
These are all these things you have to do first, which makes perfect sense. Or else if it's like you're not allowed to train a model until you can prove that
SPEAKER_02model can't be used to send a blackmail email, obviously that's impossible because it's a general purpose computing device. So the regulatory capture there was basically because it's impossible to prove a model is safe. And because new competitors couldn't come in until they could prove their models are safe, and the existing models were all assumed to be safe because frontier models were defined as being anything bigger than the current biggest ones. It was just totally locking in the entrenched players. You know, it's full on 100% regulatory capture.
So then interestingly, it's all changed in the last few days, basically in Europe.
SPEAKER_02A few companies in Europe told their representatives this act is going to destroy us. And we are the biggest hope in this country to compete with open AI and Anthropic. So if you do this, we're dead. So like that was Mistral in France. It was, let's call it like Alifalfa or whatever in Germany. Somebody in Italy was doing something similar. I don't know who it was, but so then their governments came out and said, all right, we're not going to do anything that threatens open source.
SPEAKER_02Yeah. and then the uk who had been the most like into the you know rishi sumac was like all over this existential risk stuff and yeah one of his ministers came out yesterday and said no we're not going to do anything that's going to threaten open source so yeah it's been this fascinating reaction from politicians of being like oh Maybe if we just do all this stuff that the corporate lobbying tells us to do,
SPEAKER_02American corporate lobbying tells us to do, and in the process destroy the ability of our local companies to compete, maybe that's not a good idea. And we said also a similar thing, like suddenly even in VC, a bunch of VCs a couple of days ago all signed this thing saying, we're going to make sure that all of our portfolio companies ensure safety. Again, can't be done. So now there are literally founders who putting up screenshots on Twitter of their emails to VCs saying,
I'm pulling out of this round that you're going to do because you signed this. And I've heard through the grapevine that VCs, the VCs that signed it are very surprised.
SPEAKER_02I don't think they'd thought it through. But to me, I'm just like, well, what were you thinking? You know, who decides on behalf of their portfolio companies what their portfolio companies are required to do? And the VCs don't. They don't understand this as well as their portfolio companies do. So why are they telling their portfolio companies what to do? It's madness. So I think maybe a bit of common sense is starting to appear, fingers crossed.
SPEAKER_03Absolutely. So bringing this back to a conversation of what people who are listening and watching can... can do to get started with all of these technologies. I think this difference between vendor-based stuff and open source models is very interesting. Of course, you mentioned your hacker's guide to large language models on YouTube recently, where you start with using chat GPT, GPT-4, because it's the easiest way to get started, but then show people how to how to get up and running with open source models as well. So I wonder if Shreya and Hamill,
what thoughts you have on the trade-offs between developers using open source models and closed models and situations in which it would make sense to use one or
SPEAKER_03the other?
SPEAKER_01I can go first. I actually see them working together very well. So like a lot of people who are using GPT, you know, GPT-4, GPT-3.5, and they get started this way. If you're logging your data in a sensible manner, like you're logging your traces from your language model invocations, that is a rich source of data that then you can use to fine tune. And you can, like the same data you can use to fine tune open AI models with, you can use that same data to fine tune open models.
SPEAKER_01There's nothing preventing you from doing that, except some people are a little bit skittish around the terms of service. But I find that terms of service fear to be a little bit... I mean, so I'm not a lawyer, but I find the terms of service, like fear of terms of service to not make that much logical sense. So the terms of service goes something like, okay, you can't use the data that's generated by GPT-4 to train a competing model. Now, if you really think about that, what does that mean?
So that means, like, if you have function calling and rag and all of this stuff in your product,
SPEAKER_01Any data generating process that your language model touches is now, quote, infected by this GPT-4 terms of service. And then if you really think about it carefully, if you have that view of the terms of service, maybe you shouldn't be using OpenAI because none of your data is yours. Because there's so many things, like when you have RAG and function calling and all this stuff, there's so many data generating processes. that to think that you will never be able to train your model based on anything it touches,
SPEAKER_01that doesn't make, that doesn't, this seems like a really difficult position. that even OpenAI wouldn't want. And so this data can be used. And it's actually what a lot of people are doing successfully is strapping themselves this way. Now, yes, you don't want to train a foundation model that competes with OpenAI, but that's not what most people are trying to do. They're just trying to use hybrid between both or use them together. And there's a lot of reasons why people want to use these things together. For example, for evaluation, you want to use a lot of times the most powerful model you can
for certain tasks.
SPEAKER_01And then also synthetic data generation and things like that. A lot of times you want to use a powerful model. There's a lot of things where you can use them together. So I see actually that they complement each other, if you think about it correctly, in a lot of ways.
SPEAKER_02And Hamill's being over-humble again. He may not be a lawyer, but he is trained as a lawyer. So he's not totally speaking out of his ass yet.
SPEAKER_01I mean, again, it's not legal advice. The basic common sense principle is if a company, if someone has some rule and that rule, a certain reading of that rule doesn't make sense for that company, well, that's probably not a good reading of that rule because they're the ones who made the rule. And so, yeah, I just want to say that. So, yeah, I'll give it over to Shreya. I'm curious what she has things said.
SPEAKER_00I just think they work hand in hand. I mean, anecdotally, GPT-4 is the best LLM we have today. So I think a lot of people get value out of trying GPT-4 to just see what is the best performance you could hope for your Tufts that involves LLMs. And if that's not good enough, then you may need to wait a little bit more or think about how you want to do your data engineering before putting stuff in your prompt. But just having that kind of ceiling performance or a notion of a ceiling performance can help figure out what you want to do next.
SPEAKER_00The other thing is, I mean, it's kind of crazy, but I think that OpenAI has some of the best API ergonomics. For these LLMs, like to get started with LLAMA, you need to figure out, or an open source model, you need to figure out, okay, like I should probably serve it somewhere. And then I need to talk to that server. And this also costs money or I need to pay someone else who's serving LLAMA. And then it kind of feels the same. So, yeah, I feel like it's one of those things where there's no real
right answer and people
SPEAKER_00end up trying a bunch of different models. What I think is really interesting is sometimes people will try a model or try developing their LLM chain or pipeline on top of some model, and they would have overfit so hard to that. Their prompt will overfit so much to that model that when they try it like off the bat on some other, model, they might be like, oh, this performance is so bad in comparison. I'm not going to consider using an open source model. But a lot of that is just because they spend so much time prompts engineering on like GPT 3.5 turbo. And well, yeah, that does make sense.
Like you've added all of these special instructions to your prompt to figure out
SPEAKER_00the failure modes or cut those cases. Yeah. So I'm excited for them to all kind of progress at the same, to get to the same level.
SPEAKER_03Absolutely. We see that happening in parallel and converging and intersecting. I do wonder if there's a question as to what the term open source even... We use open source when we talk about models to mean... generally like the weights are released, but that doesn't necessarily mean the code is released or even what the training data is, right? So it seems like open source is kind of even potentially a multidimensional space now, right? Well, I mean, the main problem is the license under which the weights are released. So generally the code is available under like a real open
source license like Apache.
SPEAKER_02But the weights generally come with a license agreement, which, for example, in the case of the E34B model, which is currently the best open source model or base model, is a no commercial use license. LAMA 2 comes with a license that does not let you use LAMA 2 data directly. to train models other than Lama models and also requires you to not use it at all if you're a giant company. PHY2, which was just released by Microsoft, is a no commercial use license.
SPEAKER_02And the CEO of Microsoft got up on stage and said, we're releasing a new open source model, PHY2. So I use those words, but it's not open source under any normal definition, like in the sense of commercial, you know, no commercial use. So there's very few models that are available under a do what you want license. LAMA2, I guess, is the closest we have.
SPEAKER_03We're going to have to wrap up in a couple of minutes. I do have a question because I have, you know, a group of people here who have deep expertise in this, but we're all very interested in literate programming and notebooks to a variety of extents. How do you think tools like notebooks are affected by LLMs and how might literate and exploratory programming need to adapt to incorporate everything that's happening in generative AI and LLMs at the moment? In 30 seconds, Jeremy.
SPEAKER_02I think Hamill should start on this one. He's been thinking about it more recently than I have, I suspect.
SPEAKER_01Yeah. So the tools that incorporate LLM stuff has been developed with IDs in mind first. And so that's one struggle that I feel is... kind of like literate programming tools like the ones that Jeremy made, like MB Dev. Okay, I can't use Copilot as fluidly inside notebooks as I can, you know, in IDEs and things like that. And I think that paradigm is really important to bring into things like notebooks.
SPEAKER_01As Jeremy said, ChatGPT is a notebook. And it's like a very native environment to have conversations with developers not only yourself, but with an AI or with anything else. I think it does need to evolve. Currently, we're at this point where There's a lot of tension between that because even as a person that loves these environments, I'm being pulled away in cases where I want to avail myself of LLMs in my program.
SPEAKER_02You know what? ChatGPT is a notebook disconnected from the rest of the world, just like Jupyter notebooks were pre-NBDev. So pre-NBDev, notebooks were a thing you could only basically do, like some prototyping or analysis in. They were disconnected from the rest of the world. No tests, no libraries, no continuous integration, no anything. It was its own little world. So yeah, ChatGPT now feels like that to me,
which really limits its utility.
SPEAKER_01I agree. I think it's a big opportunity to meld these worlds together.
SPEAKER_03Well, I've got a final question. I want to keep it pretty vague, but I'm wondering, maybe we're going to start with Shreya. For anyone working in this space or getting started in this space, what's a call to action? Something that you'd like to see more people do?
SPEAKER_00Oh man, Hummel already said it earlier, but just figure out how to use ChatGPT as much as you can in your daily life in a way that's like sustainable. So not try to ask ChatGPT for everything, but genuinely. Well, one thing I did, I want to say like in January or February of this year was, okay, for two weeks, I'm going to just try to do everything in ChatGPT. And wow, did that help me understand what it could be useful for, what its failure modes were. Yeah, with an open mind, honestly.
SPEAKER_01Awesome. How about you, Hamill? Just to add on that, look at data. Look at lots of data. Don't just vibe check stuff also. Try to measure, come up with metrics on if your system is working or not. And look at lots of data. And if you find that looking at data is painful, make some small tools for yourself to help you look at that data. And I'm talking about the LLM data specifically. Awesome. And Jeremy? Watch my Hacker's Guide to Language Models and try out some of the things that I show.
SPEAKER_02And also when it comes to trying out making your own tools, try making them in some of these super fast and easy things like Gradio or Solana, the new kind of voila thing.
SPEAKER_03Mm-hmm.
SPEAKER_02Yeah. So when I was working with John O. Whittaker on a recent Kaggle competition, an LLM Kaggle competition, I thought he showed a great example. He's actually got a video of it. Maybe we could link to where he was like, oh, I want to understand this data better. So I'll spend 15 minutes or half an hour, I don't know exactly, creating a little radio tool. That's something that he just whipped up in a few minutes to use it. for a few hours. And I like that idea, the idea that we can build, particularly now if you use ChatGPT, you can whip up a quick look through the data tool,
SPEAKER_02you know, mark a flag, a few duplicate records, stuff like that. You can create it in a few minutes.
SPEAKER_03Great. And actually, we'll include that link to Jono's video in the show notes. Jono has been here saying nice things and commenting as well. I've already linked to your hackers guide to LLMs here as well and told people to check it out.
SPEAKER_02I told Jono to come and to troll Hamill as much as possible. And I don't see any sign of that happening. So he's let me know.
SPEAKER_01He'll troll me afterwards for sure.
SPEAKER_03I'll also just add, I do think advice to, you know, interact with these LLMs and ChatGPT as much as possible. Hamill a few weeks ago suggested that I, you know, when I, when I go for walks, talk with ChatGPT, you know, cause it's got whisper and all of that to do speech to text, to text, to text, to text, to speech now. And so chatting with ChatGPT while going for long walks has been incredibly insightful into what is possible, what's possible there and what isn't. It's time to wrap up, but I'd love to thank everyone for joining.
SPEAKER_03And I'd also love to thank all of you, Shreya, Hamill, and Jeremy, not only for your deep expertise, but your time. And I always enjoyed chatting with you all. And it was just such a wonderful conversation. So thank you all.
SPEAKER_02Thank you, Hugo. And thank you for doing your best to make me look good, which is always a challenge.
SPEAKER_03Thanks, Hugo. Thanks for tuning in, everybody. And thanks for sticking around to the end of the episode. I would honestly love to hear from you about what resonates with you in the show, what doesn't, and anybody you'd like to hear me speak with, along with topics you'd like to hear more about. The best way to let me know currently is on Twitter. At Vanishing Data is the podcast handle, and I'm at Hugo Bowne. See you in the next episode.
Hilary Mason, CEO of Hidden Door, works with agents across software development and creative projects. Drawing on Richard Hamming’s distinction between science and engineering, she describes agents as “bringing the...
Agents can write the code, run the analysis, and produce a convincing explanation. How do you check that they’ve answered the right question, used the data appropriately, and reached a conclusion you can act on? I...
“It’s an LLM, a loop, and enough tokens.” - Nicolay Gerold, Amp Code So why does a coding agent forget your instructions, keep reading tiny pieces of a file, or struggle with an edit another model handles easily?...
“If you feel that a product is hard to eval, or you feel like, ‘I don’t even know how to eval this,’ it’s a strong smell that your product isn’t good.” - Hamel Husain, on AI product design An AI data agent tells you...
“It would be sad if local models were not an option and there were only proprietary models. It’s good to have alternatives. Competition is good for business.” - Sebastian Raschka, on open-weight AI Kimi K3’s weights...