Latest / Talk Python To Me / #467: Data Science Panel at PyCon 2024
Transcript
- 0:00I have a special episode for you this time around.
- 0:02We're coming to you live from PyCon 2024.
- 0:05I had the chance to sit down with some amazing people
- 0:09from the data science side of things.
- 0:10Jody Burchell, Maria Jose Molina Contreras,
- 0:14and Jessica Green.
- 0:15We cover a whole set of recent topics
- 0:17from a data science perspective.
- 0:19Though we did have to cut the conversation a bit short
- 0:22as they were coming from and going to talks
- 0:24they were all giving,
- 0:25but it's still a pretty deep conversation.
- 0:27I know you'll enjoy it.
- 0:29This is Talk Python To Me,
- 0:30episode 467 recorded on location in Pittsburgh
- 0:34on May 18th, 2024.
- 0:36Are you ready for your host?
- 0:38Here he is.
- 0:39You're listening to Michael Kennedy on Talk Python To Me.
- 0:42Live from Portland, Oregon,
- 0:44and this segment was made with Python.
- 0:46Welcome to Talk Python To Me,
- 0:51a weekly podcast on Python.
- 0:53This is your host, Michael Kennedy.
- 0:54Follow me on Mastodon, where I'm @mkennedy,
- 0:57and follow the podcast using @talkpython,
- 0:59both on fosstodon.org.
- 1:02Keep up with the show and listen to over seven years
- 1:04of past episodes at talkpython.fm.
- 1:07We've started streaming most of our episodes live on YouTube.
- 1:11Subscribe to our YouTube channel over at talkpython.fm/youtube
- 1:14to get notified about upcoming shows and be part of that episode.
- 1:19This episode is brought to you by Sentry.
- 1:21Don't let those errors go unnoticed.
- 1:22Use Sentry like we do here at Talk Python.
- 1:24Sign up at talkpython.fm/sentry.
- 1:28And it's brought to you by Code Comments,
- 1:30an original podcast from Red Hat.
- 1:32This podcast covers stories from technologists
- 1:35who've been through tough tech transitions
- 1:37and share how their teams survived the journey.
- 1:40Episodes are available everywhere you listen to your podcasts
- 1:43and at talkpython.fm/code dash comments.
- 1:47Hello from PyCon.
- 1:48Hello, Jessica, Jody, Maria.
- 1:51Welcome to Talk Python To Me.
- 1:52It's awesome to have you all here.
- 1:54And I'm looking forward to talking about data science,
- 1:56some fun LLM questions, maybe,
- 1:59some controversial questions,
- 2:00some data science tools,
- 2:01all sorts of good things.
- 2:03Of course, before we get to that,
- 2:04you know, Jody, you've been on the show a time or two.
- 2:07And people may know you, but maybe not.
- 2:10So how about a quick introduction,
- 2:11what you all are into?
- 2:12Maria, you want to start?
- 2:13Oh, okay.
- 2:14Well, my name is Maria.
- 2:16I am originally from Barcelona,
- 2:18but I am based in Berlin.
- 2:20I work as a data scientist in a small startup
- 2:24that we're trying to solve some sustainability problems.
- 2:29And yeah, that is me.
- 2:31Excellent.
- 2:31Yeah, so my name is Jody,
- 2:32and I am a data science developer advocate.
- 2:35I've been working in data science for about eight years.
- 2:38And yeah, I'm currently working at JetBrains,
- 2:39as you can see from the shirt.
- 2:40And in the background.
- 2:42And the background.
- 2:43And so I say my interest at the moment
- 2:46is natural language processing,
- 2:48because I worked in that a big chunk of my career.
- 2:50But core statistics will always be my love.
- 2:53So tabular data, I'm there for you always.
- 2:55Beautiful.
- 2:56Yeah, my name is Jessica.
- 2:58So I'm an ML engineer at Koja,
- 3:00which is the search engine for a better planet.
- 3:03I am actually a career changer.
- 3:06So I used to roast coffee for a living.
- 3:07And I really just got into this field
- 3:09in the last six years.
- 3:11So I don't have like any formal training.
- 3:14I'm a community slash self-taught engineer.
- 3:16And I went through more of a like a backend focused path.
- 3:20And now I've started to work in the ML realm.
- 3:22So really exciting.
- 3:24Yeah, very, very interesting.
- 3:25Another thing I absolutely love is coffee.
- 3:27Yeah.
- 3:28Oh my gosh, coffee is so good.
- 3:31I think we're running on it at PyCon.
- 3:32Pretty much we are.
- 3:33Yeah.
- 3:34We're getting farther into the show
- 3:36and more coffee is needed.
- 3:38But I do want to ask you, you know,
- 3:40what do you think about being in the data science space?
- 3:43That's a really different world
- 3:45that interacting with people all day
- 3:46and working with your hands more or whatever.
- 3:49like how has it been with this switch?
- 3:52There is a lot of synergies actually
- 3:53when you're stood behind the espresso machine
- 3:55and you're getting all the orders in
- 3:57and then you need to like problem solve
- 3:59to like how you get everyone their correct order
- 4:02to the way that they like it.
- 4:03So there was a lot of transferable skills, I will say.
- 4:06But I think what I found really powerful
- 4:09and especially maybe learning at this specific period of time
- 4:13is how accessible a lot of the tools are today.
- 4:16So like how, I won't say easy
- 4:19because I put a lot of hard work into it,
- 4:20but like how possible it is
- 4:23even with a background like mine to get into the field.
- 4:26Awesome.
- 4:26I switched, I didn't have a formal education either.
- 4:29I took two computer college courses
- 4:32just because they match, you know,
- 4:34I needed for something else.
- 4:35And yeah, I thought it,
- 4:37I think you can completely succeed here teaching yourself.
- 4:41There's so many resources.
- 4:42Honestly, the problem is what resources
- 4:44do you choose to learn these days, right?
- 4:46You can spend all your time.
- 4:47Well, I'm doing another tutorial.
- 4:48I'm doing another class.
- 4:49Like some point you got to start doing something, right?
- 4:51Yeah.
- 4:52And I think actually it felt like that
- 4:54probably when we all started.
- 4:56Yeah.
- 4:56So data science was just getting hot when I started.
- 4:59And oh my God, back when I started,
- 5:01this is how long ago it was.
- 5:02There were actually like those articles,
- 5:04like R versus Python.
- 5:05Like there's no conversations anyone's having anymore,
- 5:07but they have similar conversations.
- 5:08And I think it makes it super difficult for beginners
- 5:11because the field felt inaccessible,
- 5:13I think, eight years ago.
- 5:15The field feels very hostile to beginners right now,
- 5:18I think, because of the AI hype.
- 5:20I don't actually think the field has changed that much
- 5:23in fundamentals.
- 5:24It's just NLP has become a bigger thing
- 5:27in computer vision recently,
- 5:28but we can get into that later.
- 5:30Yeah, I completely agree with you.
- 5:32To be honest, for me,
- 5:34data science is super broad world,
- 5:38full of a lot of things that are kind of popping up,
- 5:42doing different evolution during time.
- 5:44And it's so interesting to see the evolution
- 5:48in the last eight years.
- 5:50I started eight years ago in data science.
- 5:53And I remember when,
- 5:55how I was doing things eight years ago
- 5:58and how I'm doing things now.
- 6:00And I love it.
- 6:02I love to see this progression.
- 6:03And I am pretty sure that in eight more years,
- 6:07we're going to be in something completely different
- 6:10and super exciting.
- 6:12Yeah, I totally agree with that.
- 6:13I do.
- 6:14And I also think data science is interesting
- 6:16because coming into it,
- 6:18you can be a data scientist,
- 6:20but because some other reason, right?
- 6:22I could be a data scientist
- 6:23because I'm interested in biology
- 6:25or sustainability or something.
- 6:27Whereas if you're a web developer
- 6:29or you build APIs or you optimize,
- 6:31you know, whatever,
- 6:33you're more focused on,
- 6:34I care about the thing, the code itself,
- 6:36rather than I'm trying to,
- 6:38I care about that.
- 6:38And this is a tool to address that.
- 6:40Yeah, yeah.
- 6:41Yeah, actually, I was going to say,
- 6:42I met a bioinformatician yesterday.
- 6:44Like, that's also a data scientist,
- 6:46like someone who works in genetic data.
- 6:48Yeah, absolutely.
- 6:49I had a comment from,
- 6:50I did a show recently
- 6:52from about how Python's used in neurology labs, right?
- 6:56And somebody wrote me,
- 6:57this is my favorite episode.
- 6:58It speaks to me.
- 6:58I'm also a neurologist.
- 6:59You know, like, it's really cool.
- 7:00All right, we're looking out,
- 7:02kind of the backside a little bit,
- 7:04but we're looking out of the expo hall here at PyCon.
- 7:07So I don't know how about you all feel,
- 7:09but for me, this is like my geek holiday.
- 7:12I get to come here,
- 7:13and it's really special to me
- 7:15because I get to see my friends
- 7:17who I've collaborated with projects on
- 7:19and I admire and I've worked with,
- 7:21but I might never see them outside of this week.
- 7:24You know, maybe they live in Australia or Europe
- 7:27or some oddly just down the street,
- 7:30and yet still, I don't see them except here.
- 7:32So maybe, what are your thoughts on PyCon here?
- 7:36It's my first time attending,
- 7:37so I'm super stoked.
- 7:39I have to say, like, it's slightly overwhelming
- 7:42because there's so many things going on
- 7:44and like you mentioned,
- 7:45the opportunity to meet so many folks
- 7:47that I either already knew in some capacity
- 7:49but had never met or didn't meet before
- 7:51but have heard of their work.
- 7:52So yeah, it's been a real honor to be here, right?
- 7:55I mean, we are all based in Berlin,
- 7:57so we do actually know each other,
- 7:59but it's also a pleasure just to come away
- 8:01on a geek holiday with friends.
- 8:03Yeah, and we were actually all just at PyCon DE
- 8:06just before this, like a month ago.
- 8:08Yeah, one month or so.
- 8:09Yeah, it's a different scale, let's put it that way,
- 8:12but I think it's a similar feel.
- 8:13Like, one thing that I value so much
- 8:15about the Python community is that it's community,
- 8:18and I'm very lucky to have gotten involved
- 8:21in a program called Hatchery,
- 8:23which you two have also been involved in,
- 8:25the Hatchery we're running is Humble Data.
- 8:28And what I like is this program got accepted
- 8:31at a Python conference,
- 8:33which is designed for people who have never coded
- 8:35and who are career changers,
- 8:37because I'm also a career changer from academia.
- 8:39And this is what makes, I think, Python special,
- 8:42the community, and I think the PyCons
- 8:44are an absolute representation of that.
- 8:46Yeah, absolutely.
- 8:47For me, it's the same feeling.
- 8:50I love to go to different conferences of Python,
- 8:54because we have a lot of things in common,
- 8:58but also we have differences,
- 9:00and the different conferences bring a different point of value.
- 9:05And I think it's awesome.
- 9:07And came here and met friends.
- 9:10This is my third time in here,
- 9:12and I'm super, super excited and happy.
- 9:14And I'm super eager to next year.
- 9:16And also the Python in Espanol.
- 9:19Yeah, yeah, yeah, of course.
- 9:20And also we have even,
- 9:21and here we have a track that is PyCon charlas
- 9:25to be even more welcoming to different people
- 9:28from different communities.
- 9:29And it's just amazing.
- 9:31It's super nice, to be honest.
- 9:33Awesome.
- 9:33Yeah, I definitely want to encourage people out there listening
- 9:36who feel like,
- 9:37oh, I'm not high enough of a level of Python.
- 9:40I know.
- 9:41To come.
- 9:41I'm not ready for PyCon.
- 9:43I believe last year,
- 9:45I haven't heard any numbers this year,
- 9:46I believe last year,
- 9:4650% of the attendees were first time attendees.
- 9:49And I think that's generally true.
- 9:51A lot of times people are,
- 9:53it's their first time coming.
- 9:54And yeah, it's,
- 9:55I think you can get a lot out of it
- 9:56even if you're not super advanced.
- 9:58Maybe even more so than if you are super advanced.
- 10:01I definitely have had the opportunity,
- 10:03like the honor,
- 10:03I would actually say,
- 10:04to like listen into conversations around topics
- 10:08that I find interesting,
- 10:09but aren't part of my day-to-day work.
- 10:11And it's just like general vibe that
- 10:13whether it's at lunch or during the breaks
- 10:15or after a talk,
- 10:16you get to partake in these conversations,
- 10:18which ultimately will advance you.
- 10:21So if you also want to get sponsoring, right?
- 10:24Like a lot of people need their work to sponsor them.
- 10:26I think there's a lot of reasoning
- 10:27behind asking for PyCon as a conference
- 10:30because there's so much value.
- 10:32Jessica, that's a great point.
- 10:33And I think also,
- 10:34I was talking to someone earlier
- 10:36about how much more affordable this is
- 10:38than a lot of tech conferences.
- 10:39A lot of them are like,
- 10:40how many thousand dollars is just the ticket?
- 10:43And this is not that cheap,
- 10:45but it's relatively cheap compared.
- 10:47And also, oh, sorry.
- 10:49I was going to say,
- 10:50you could do a plug for EuroPython while you're here.
- 10:52We have also the option to have grants.
- 10:55There is a different programs,
- 10:58PyLadies grants or the conference organizes grants.
- 11:01Also, this is something that could help people
- 11:05to try to apply or come here.
- 11:08Yeah, they mentioned that at the opening keynote
- 11:11or the introductions before the keynote.
- 11:13It's some significant number of grants that were given.
- 11:17I can't remember the number,
- 11:18but it's like half a million dollars or something in grants.
- 11:20Was that what it was?
- 11:20I think it was around that scale.
- 11:22Yeah.
- 11:23Yeah.
- 11:23It's a really big deal.
- 11:25And I suppose all three of you being from Berlin,
- 11:27we should say generally the same stuff
- 11:30applies to EuroPython as well, I imagine, right?
- 11:32Yeah.
- 11:32So if you're in Europe,
- 11:34you know, the biggest deal is to get all the way to the US,
- 11:37maybe go to EuroPython as well,
- 11:38which would be fun.
- 11:39Yeah.
- 11:40or something more local.
- 11:41This portion of Talk Python To Me
- 11:43is brought to you by OpenTelemetry support at Sentry.
- 11:46In the previous two episodes,
- 11:49you heard how we use Sentry's error monitoring at Talk Python
- 11:52and how distributed tracing connects errors,
- 11:55performance and slowdowns and more across services and tiers.
- 11:59But you may be thinking our company uses OpenTelemetry,
- 12:03so it doesn't make sense for us to switch to Sentry.
- 12:05After all, OpenTelemetry is a standard
- 12:08and you've already adopted it, right?
- 12:10Well, did you know with just a couple of lines of code,
- 12:13you can connect OpenTelemetry's monitoring
- 12:16and reporting to Sentry's backend.
- 12:18OpenTelemetry does not come with a backend
- 12:21to store your data, analytics on top of that data,
- 12:23a UI or error monitoring.
- 12:25And that's exactly what you get
- 12:27when you integrate Sentry with your OpenTelemetry setup.
- 12:30Don't fly blind.
- 12:32Fix and monitor code faster with Sentry.
- 12:35Integrate your OpenTelemetry systems
- 12:37with Sentry and see what you've been missing.
- 12:39Create your Sentry account at talkpython.fm
- 12:42slash Sentry dash telemetry.
- 12:44And when you sign up, use the code TALKPYTHON,
- 12:47all caps, no spaces.
- 12:48It's good for two free months of Sentry's business plan,
- 12:51which will give you 20 times as many monthly events
- 12:54as well as other features.
- 12:55My thanks to Sentry for supporting Talk Python.
- 12:58Jody, you've been on the receiving end of many, many questions.
- 13:04And you've been, let's see here, doing demos,
- 13:07swarmed with people for a day and a half.
- 13:09I'm surprised you still have your voice.
- 13:11I've got to give a talk in two hours too.
- 13:13So I hope I have a voice.
- 13:14Yeah.
- 13:15Speak quietly.
- 13:16Save a little bit for that.
- 13:19One of the questions you said was that people are still just have core data science questions.
- 13:24They're not necessarily trying to figure out how LLMs are going to change the world.
- 13:28But how do you do that with pandas or whatever?
- 13:30Like, what are your thoughts on this?
- 13:32Yeah.
- 13:32What are your takeaways?
- 13:33So I alluded to the fact I have an academic background.
- 13:36I've probably talked about this on the last podcast.
- 13:38But basically, my background is in behavioral sciences.
- 13:41So a lot of core statistics and working with what's called tabular data, data and tables.
- 13:47And pretty much, I would say, look, this is a guesstimate.
- 13:51This is not scientific.
- 13:53But my kind of gut feeling, PyCon after PyCon, conference after conference that I do,
- 13:57I think like 80% of people are probably still doing this stuff
- 14:00because business questions are not necessarily solved with the cutting edge.
- 14:04Business questions are solved with the simplest possible models that will address your needs.
- 14:10I think we talked about this in the last podcast.
- 14:12So like, for an example, my last job, we had to deal with low latency systems,
- 14:17like very low latency.
- 14:18So we used a decision tree to solve the problem.
- 14:21Decision tree is a very old algorithm.
- 14:23It's not sexy anymore, but everyone's secretly still using it.
- 14:27And so, yeah, some people are doing cutting edge LLM stuff.
- 14:30But my feeling is this is a technology that maybe has more interest than real profitable applications
- 14:38because these are expensive models to run and deploy and to set up reliable pipelines for.
- 14:45Yeah, my gut feeling is a lot of people still just doing boring linear regression,
- 14:50which I will defend until the day I live.
- 14:52My favorite algorithm.
- 14:53Amazing.
- 14:54Yeah.
- 14:54Yeah.
- 14:54And I mean, I think we've seen that in our work as well is we don't per se need the biggest, fanciest thing.
- 15:01We need something that works and provides users with useful information.
- 15:05I think there's also still a lot of problems with large language models,
- 15:09like Simon alluded to in the keynote today around security.
- 15:13So if you want to put this into a product, it's still kind of early days.
- 15:17But I don't think those base kind of NLP techniques are going to go away anytime soon.
- 15:23And I think like we spoke about learners earlier and people coming into the field.
- 15:27There's still a huge amount of value just to go and learn this core aspects that will serve you really well.
- 15:34Absolutely.
- 15:35Way more than LLMs and AIs and all that stuff.
- 15:38You can use a LLM to learn it.
- 15:40You too, too.
- 15:42That's what we just saw in the keynote.
- 15:43Yeah, absolutely.
- 15:44And I also think what people are going to do with LLMs and stuff a lot is ask it to help keep me this little bit of code or that bit of code.
- 15:52But you're going to need to be able to look at it and say, yeah, that does make sense.
- 15:55Yeah, that does fit in.
- 15:56And so you need to know that's a reasonable use of pandas.
- 15:59What do you think, Maria?
- 15:59I completely agree.
- 16:02The LLM school is kind of complex.
- 16:05I think that it has a lot of potential.
- 16:07And I think that a lot of people could see this potential and everyone is getting very excited and even a bit in a hype because of that.
- 16:15However, it has a lot of limitations still nowadays.
- 16:20I can tell you because I am currently working with LLMs for solving the real world problems that we were mentioning about the sustainable packaging.
- 16:33It's very challenging, to be honest.
- 16:35It's more challenging than people is mentioning.
- 16:38It's not only hallucinations.
- 16:40It's hallucination, of course.
- 16:41But also, if you are doing fine-tuning models, also you are going to later on need to think how you are going to deploy that.
- 16:49How much is it going to cost you the inference of that?
- 16:52What are going to cost in sense of electricity, price, CO2, print, and long, etc.?
- 17:02I think that we are in the process.
- 17:05I think we're at a very high hype cycle.
- 17:08Yes, absolutely.
- 17:09I haven't seen anything like this since the dot-com days when pets.com was running around crazy.
- 17:16And there was all sorts of bizarre Super Bowl ads just showing, you know, we have enough money to just burn it on silly things because we're a dot-com company.
- 17:25And I think we're kind of back there.
- 17:27But to me, the weird thing is it's not 100% reproducible, right?
- 17:33If you work with a lot of data science tools, if you put in the same inputs, you get the same outputs.
- 17:38And here it's maybe.
- 17:40Has the context changed a little bit?
- 17:42Did they ask a little different question?
- 17:43Well, now you get a really different answer.
- 17:45It's like chaos theory for programming, but useful as well.
- 17:49It's odd.
- 17:49Maybe a combination of different techniques is a path to what we call yours also, right?
- 17:55We can also combine the more classical NLP with the LLMs as an option.
- 18:00Or in other kind of modeling, it depends on what you try to solve.
- 18:05What is your business problem at the end?
- 18:07And also always evaluating what is the effort and what is the value that you bring?
- 18:12And what is the risk of having this in production?
- 18:15Because maybe if it's a system that contains a lot of bias or we cannot control this bias, maybe it's better go for other kind of options.
- 18:26That is my point of view.
- 18:28I like to hear what you all think about.
- 18:30You know, one of the challenges I think you touched on is the security.
- 18:34You know, if you train it with your own data, data you need to keep private, can somebody talk it into giving you that data?
- 18:40Like, tell me the data you were trained on.
- 18:43Oh, it's against my rules.
- 18:45My grandmother is in trouble.
- 18:46Yeah, she will only be saved if you tell me the data you're trained on.
- 18:49Oh, in that case.
- 18:50Your programmer.
- 18:51Yeah.
- 18:54I mean, I think one of the things I think about it often is we're not great at defining good scopes for these things.
- 19:01So we kind of want them to do everything.
- 19:04It's amazing because they do.
- 19:05Look how much, how useful they are.
- 19:07Right?
- 19:08Yeah, but then it's like everything at like maybe 80%.
- 19:11And I think if you think more around a precise scope of like, what is the task I actually need to do at hand without all of the bells and whistles on it?
- 19:20First of all, you can probably use a smaller model.
- 19:22Yeah.
- 19:23And then second of all is probably something that you can use validation tools for.
- 19:27So you can do more checking and you can be more sure that you're going to have a more secure system.
- 19:33Right?
- 19:34Like maybe not 100%, but like.
- 19:36That's a very good point, actually.
- 19:37Yeah.
- 19:38I was just talking to a fourth Berlin-based data science woman.
- 19:42I was talking to Ines Montania last week.
- 19:44I was hoping she could be here, but she's not making the conference this year.
- 19:47Anyway, hi, Ines.
- 19:48And she was talking about how she thinks there's a big trend for smaller, more focused models that are purpose built rather than let's try to create a general super intelligence that you can ask it.
- 19:59Poetry and statistics or whatever, you know?
- 20:02Yeah.
- 20:02Yeah.
- 20:03And we're seeing that anyway from even like OpenAI and so forth with their GPTs that they're also picking up on the fact that like narrowing slightly the context actually helps a lot.
- 20:14So I think this is very relevant for people in this working in this field to really think about what they want to do with it, not just being like, I need to have this thing.
- 20:23I don't know.
- 20:24Yeah.
- 20:24And it's also so Ines is old school NLP.
- 20:28Like she's been working in this for so long.
- 20:30And so Ines is one of the creators of spaCy, which is like one of the most sophisticated, I think, general purpose NLP packages in Python.
- 20:38And I remember back when I had like a job where I did NLP for three years on search engine improvements.
- 20:44Like this was the sort of stuff you were doing.
- 20:47Like things about like, okay, it seems kind of quaint now, but it's still really important.
- 20:51Like how can you clean your data effectively?
- 20:54And it's very complex when it comes to tech stuff.
- 20:56And so, yeah, like Ines, of course, she's completely right.
- 21:00But she's seen all of this.
- 21:02She knows where this is going.
- 21:03Yeah, absolutely.
- 21:04Absolutely.
- 21:04Let's touch on some tools.
- 21:06I know, Maria, you had some interesting ones.
- 21:09Just general data science tools that while people are listening, should be like, let's check the LLM or as Jodi puts it, old school, just core data science.
- 21:19Yeah.
- 21:21It's going to depend on what kind of problem you want to solve.
- 21:24Again, it's like, it's not the tool.
- 21:27This is my perspective.
- 21:29It's not only one tool or 10 tools.
- 21:32It depends on your problem.
- 21:33And depending on your problem, we have tools that are going to help us more or easier than others.
- 21:41For instance, some tools that I'm using currently, just for giving you an example, is Lankchain or Giscard.
- 21:50And, yeah, they are two open source libraries.
- 21:55Lankchain is more focused in the chat system in case that you want to develop a chat system.
- 22:03Of course, it has a lot of more applications because Lankchain is super useful also for handling all the large language models.
- 22:12Yeah, there's some cool boosts here that are boosts with cool products based on Lankchain as well.
- 22:18Oh, really?
- 22:18I'm going to take a look.
- 22:20I'm going to take a look.
- 22:21Lankchain that then you export as a Python application.
- 22:24It's very neat.
- 22:26It's very good.
- 22:27Yeah, but you also said Giscard.
- 22:29Yeah.
- 22:29G-I-S-K-R-D.
- 22:30Exactly.
- 22:31Okay.
- 22:31It's the one that has a turtle, the logo.
- 22:34Very cute.
- 22:36This people is developing a library for evaluating the models.
- 22:42Try to take a look in the bias of the system.
- 22:45Has tests.
- 22:48Test your models and generating metrics to help you understand if the model that you are using or training or fine tuning is something that you can trust or not.
- 23:00Or you need to reevaluate or restart the system or whatever you need to do.
- 23:04I think this kind of libraries are super necessary, especially right now that still it's very young, the field.
- 23:14And I think that they are very, very important.
- 23:17This portion of Talk By Thunderclap is brought to you by Code Comments, an original podcast from Red Hat.
- 23:22You know when you're working on a project and you leave behind a small comment in the code?
- 23:27Maybe you're hoping to help others learn what isn't clear at first.
- 23:31Sometimes that Code Comment tells a story of a challenging journey to the current state of the project.
- 23:37Code Comments, the podcast, features technologists who've been through tough tech transitions, and they share how their teams survived that journey.
- 23:46The host, Jamie Parker, is a Red Hatter and an experienced engineer.
- 23:50In each episode, Jamie recounts the stories of technologists from across the industry who've been on a journey implementing new technologies.
- 23:58I recently listened to an episode about DevOps from the folks at Worldwide Technology.
- 24:03The hardest challenge turned out to be getting buy-in on the new tech stack rather than using that tech stack directly.
- 24:09It's a message that we can all relate to, and I'm sure you can take some hard-won lessons back to your own team.
- 24:15Give Code Comments a listen.
- 24:17Search for Code Comments in your podcast player or just use our link, talkpython.fm/code dash comments.
- 24:25The link is in your podcast player's show notes.
- 24:27Thank you to Code Comments and Red Hat for supporting Talk Python To Me.
- 24:31Terry?
- 24:32Yeah, so maybe I'm going to do a little plug for my talk.
- 24:35So when I was doing psychology, I was fascinated by psychometrics.
- 24:40And what you learn when you learn psychometrics is measurement captures one specific thing, and you need to be very clear about what it captures.
- 24:49And so at the moment, we're seeing a lot of leaderboards to help people evaluate LLM performance, but also things like hallucination rates or things like bias and toxicity.
- 24:59What we need to understand is these things have extremely specific definitions.
- 25:03So in my talk, I'm going to be delving into a package, which I do, a package, sorry, a measurement that I love called truthful QA.
- 25:09But truthful QA is designed to measure a specific type of hallucinations in English-speaking communities because it assesses incorrect facts, things like misconceptions, misinformation, conspiracies.
- 25:21They're not going to be present in other languages.
- 25:24And so it's not as easy as looking at, okay, this model has a low hallucination rate.
- 25:28What does that mean?
- 25:30Or this model has good performance.
- 25:31Does it have that performance in your domain?
- 25:34How did they assess that?
- 25:35So it's very boring, but actually it's not because measurement is super sexy.
- 25:39Yeah.
- 25:39You need to think about this stuff.
- 25:41It's really interesting, but it's challenging and it requires a lot of hard graph from you.
- 25:46Awesome.
- 25:46And while people will be watching this in the future after your talk is out, that talk will be on YouTube, right?
- 25:54Yes, it'll be recorded.
- 25:54Yeah, so people can check out your talk.
- 25:56What's the title?
- 25:56Lies, Damn Lies, and Large Language Models.
- 25:59Oh, I love it.
- 26:00It's the best title I've ever come up with.
- 26:02That is a good title.
- 26:03I love it.
- 26:04Jessica, tools?
- 26:05Libraries, packages?
- 26:07Maybe I'll plug my tutorial that was two days ago and will also be recording somewhere at some point.
- 26:13Okay.
- 26:14We were working on looking at monitoring and observability of Python applications, which could well be your AI, LLM kind of thing.
- 26:24And we're using a package called Code Carbon.
- 26:28So it measures the carbon emissions of your code, of your workload.
- 26:33So this is one way that we can start to kind of get an idea of the impact that we're having with these things.
- 26:41So I think it's a really great library.
- 26:42It's open source.
- 26:43They're looking for contributors.
- 26:45And it's not the full picture, of course, because if you're using like a cloud provider, you also need to ask and follow up with them to get further information.
- 26:53How much of theirs is renewable versus non-renewable energy?
- 26:57Yeah, exactly.
- 26:58Is it a coal plant?
- 26:59Please say it's not a coal plant.
- 27:00Yeah, yeah.
- 27:00We live in Germany.
- 27:02Germany is not too bad, but yeah, there is a lot of coal in there.
- 27:06So I think this is a great way to start to think about it as technologists, because often it's easy to see these problems as something out of our control.
- 27:15or beyond the scope of the work that we do us every day.
- 27:18But I think there's still a lot that we actually can do.
- 27:21Make a huge difference.
- 27:22And just as simple as could we cache this output and then reuse it or let it run for five minutes on the cluster.
- 27:29And, oh, we're not that big of a hurry.
- 27:30We'll just let it run over and over and over and then let it run in continuous integration.
- 27:34Exactly.
- 27:35Yeah, exactly.
- 27:36And I mean, the good thing there also is those things cost money, too.
- 27:39So you don't just need to save the planet.
- 27:41You can also save yourself some money.
- 27:43Exactly.
- 27:43Spend it on something else.
- 27:44A hundred percent the same, but usually you have this benefit that other people care more about money.
- 27:51As a business metric.
- 27:52Money and time.
- 27:53It can be a bit easier to sell, yeah.
- 27:54Absolutely.
- 27:55You know, I've had a couple of episodes on this previously, but just give people a sense of how much energy is in training some of these large models.
- 28:03sense.
- 28:04It's on one of the shows that I talked to, there was some research done that say training one of these large models just one time is as much as, say, a person driving a car for a year type of energy.
- 28:15And you're like, oh, that's no joke.
- 28:18And so that might encourage you to run smaller models or things like that, which make a big difference.
- 28:23I think for a long time we were thinking like, oh, it's the training that's everything.
- 28:27And then it's kind of like fine once the training's done.
- 28:30But actually the inference is also just as compute heavy.
- 28:33When you see the slow words coming out, that's pin CPUs right there.
- 28:37It's already regressive.
- 28:38It loops.
- 28:39Yeah.
- 28:39I think it's, you have to look at it holistically.
- 28:42I think it's very useful to have these metrics that we compare to other things because then we get a sense of like how daunting that is.
- 28:50So I think like comparing it to like air travel or like to cars and so forth is good.
- 28:55But we tend to focus a little bit on like, oh, it's just this part of the system and not the system as a whole.
- 29:01Well, I think the training was done a lot previously and the usage was done less.
- 29:07And now the usage has just gone out of control.
- 29:09Like if you don't have AI in your, I don't know, menu ordering app, it's a useless thing, right?
- 29:14It's like everybody needs it.
- 29:16Yeah.
- 29:16They don't really need it, I think, but they think they need it or the VCs think they need it or something.
- 29:20I think also like a lot of people might think, oh, we need to train our own models.
- 29:24But with things like RAG, like retrieval, augmentation, generation, that now a lot of vector database services are promoting and educating people around how to do.
- 29:33That's not true.
- 29:35So you can take like a base model and start to give it your data without the need to like tune something yourself, like train something yourself.
- 29:42Yeah.
- 29:43All right.
- 29:43We are very, very nearly out of time here, ladies.
- 29:46We all have different things we got to run off and do.
- 29:49But let me just close out with some quick thoughts.
- 29:52And really, this deserves maybe two hours, but we've got two minutes.
- 29:55For data scientists out there listening who are concerned that things like Copilot and Devin and all these weird, I'll write code for you things are going to make learning data science not relevant.
- 30:08What do you think?
- 30:09I think it's still going to be super relevant.
- 30:11I think that it's going to help a lot.
- 30:15And I think that it could be seen as a potential useful tool that could help to a lot of people.
- 30:25It's even for beginners, for learning.
- 30:28I think for people who are starting to code, could be super useful to try to take a look with Copilot or with LLMs and say, hey, I don't understand the code.
- 30:39Can you explain to me what is happening in this function or something like that?
- 30:43From here to be able to introduce an idea and have a production ready code, we are very far away, to be honest, right now.
- 30:53We need more work and the field needs to improve a bit of that.
- 30:59But I truly believe that it's going to help us a lot at some point in time.
- 31:04I think maybe I'll take like a different perspective and say that I think for data scientists, like the core concern for us is not really code.
- 31:12It's more data, I guess.
- 31:14Yeah, absolutely.
- 31:15Yeah.
- 31:15So I think like I'm seeing some potential, like even with our own tools at JetBrains, to potentially help introduce people to the idea of how to work with data.
- 31:25But there's not really necessarily huge shortcuts here because you're struggling to learn how to clean a data set and evaluate for quality.
- 31:32And so the science part of data science, I don't think it's ever going to go away.
- 31:37Like you still need to be able to think about business problems.
- 31:39Absolutely.
- 31:39You still need to be able to think about data.
- 31:40And we'll be there forever.
- 31:41It'll be there forever.
- 31:42Thank God.
- 31:43It's so good.
- 31:44That's fun.
- 31:46Maybe as not a data scientist, I can give a slightly different perspective.
- 31:50I feel like because it comes up just for general programming all the time as well, right?
- 31:55And I think one of the things that is at the moment most hurting our industry is the lack of getting people into junior level jobs and not AI or any technology itself.
- 32:07It's a very human problem.
- 32:08Yeah.
- 32:09As are pretty much all of the problems with AI itself.
- 32:12So I think, to be honest, what we need to do is really hire more juniors, make more entry-level programs, and get people into these positions and get them trained upon using the tools.
- 32:24We don't need to gatekeep.
- 32:26There's going to be plenty of work for the rest of us for the next foreseeable future, considering all the big social problems that we have to solve.
- 32:35So I just think we should do that.
- 32:37All right.
- 32:38Well, let's leave it there.
- 32:39Maria, Jodi, Jessica, thank you so much for being on the show.
- 32:42Thank you.
- 32:43Thank you very much.
- 32:43It was amazing.
- 32:44Bye, everyone.
- 32:45Bye.
- 32:45Bye.
- 32:45This has been another episode of Talk Python To Me.
- 32:49Thank you to our sponsors.
- 32:51Be sure to check out what they're offering.
- 32:53It really helps support the show.
- 32:54Take some stress out of your life.
- 32:56Get notified immediately about errors and performance issues in your web or mobile applications with Sentry.
- 33:03Just visit talkpython.fm/sentry and get started for free.
- 33:07And be sure to use the promo code talkpython, all one word.
- 33:11Code comments, an original podcast from Red Hat.
- 33:14This podcast covers stories from technologists who've been through tough tech transitions and share how their teams survived the journey.
- 33:23Episodes are available everywhere you listen to your podcasts and at talkpython.fm/code dash comments.
- 33:29Want to level up your Python?
- 33:31We have one of the largest catalogs of Python video courses over at Talk Python.
- 33:34Our content ranges from true beginners to deeply advanced topics like memory and async.
- 33:39And best of all, there's not a subscription in sight.
- 33:42Check it out for yourself at training.talkpython.fm.
- 33:45Be sure to subscribe to the show.
- 33:47Open your favorite podcast app and search for Python.
- 33:50We should be right at the top.
- 33:51You can also find the iTunes feed at /itunes, the Google Play feed at /play, and the direct RSS feed at /rss on talkpython.fm.
- 34:01We're live streaming most of our recordings these days.
- 34:04If you want to be part of the show and have your comments featured on the air, be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 34:11This is your host, Michael Kennedy.
- 34:13Thanks so much for listening.
- 34:15I really appreciate it.
- 34:16Now get out there and write some Python code.
- 34:18I'll see you next time.