WEBVTT

00:00:30.879 --> 00:00:35.390
<v Andreas Welsch>Today we'll talk about how you can build Generative AI applications with open source tech.

00:00:36.310 --> 00:00:39.780
<v Andreas Welsch>And who better to talk about it than someone who's actively working on that.

00:00:39.950 --> 00:00:41.030
<v Andreas Welsch>Tobias Zwingmann.

00:00:41.030 --> 00:00:42.420
<v Andreas Welsch>Hey Tobias, thanks for joining.

00:00:43.659 --> 00:00:45.049
<v Tobias Zwingmann>Hey Andreas, thanks for having me.

00:00:45.060 --> 00:00:45.799
<v Tobias Zwingmann>It's great to be here.

00:00:46.409 --> 00:00:49.859
<v Andreas Welsch>Hey, why don't you tell our audience a little bit about yourself, who you are and what you do?

00:00:50.299 --> 00:00:50.750
<v Tobias Zwingmann>Yeah, sure.

00:00:51.170 --> 00:00:51.709
<v Tobias Zwingmann>I'm Tobias.

00:00:51.709 --> 00:01:00.500
<v Tobias Zwingmann>I'm based in Hanover in Germany, and yeah, I run my own business, Rapyd.Ai, essentially a AI consultancy, helping businesses to grow with AI.

00:01:00.554 --> 00:01:14.164
<v Tobias Zwingmann>I help companies from the beginning of figuring out what AI is and what AI can do for them, up to the implementation side of things and also building projects and implementing them hands-on with different technologies and yeah, I've been doing that for quite a while now.

00:01:14.224 --> 00:01:16.385
<v Tobias Zwingmann>Also I'm actively on LinkedIn and writing.

00:01:16.715 --> 00:01:20.105
<v Tobias Zwingmann>I've written my first book last year with O'Reilly, AI Powered Business Intelligence.

00:01:20.405 --> 00:01:21.295
<v Tobias Zwingmann>That's the book title.

00:01:21.295 --> 00:01:27.155
<v Tobias Zwingmann>It has been written before ChatGPT came out though, but I'm already working on the next one so that I can tell.

00:01:27.995 --> 00:01:29.614
<v Tobias Zwingmann>And I'm also writing a newsletter.

00:01:29.614 --> 00:01:31.594
<v Tobias Zwingmann>It's called AI for Business Growth.

00:01:31.625 --> 00:01:36.424
<v Tobias Zwingmann>And you can subscribe to the newsletter on aiforbi.rocks.

00:01:36.444 --> 00:01:37.084
<v Andreas Welsch>That's awesome.

00:01:37.114 --> 00:01:45.094
<v Andreas Welsch>And I've been a subscriber for a while and I really enjoy reading all the nuggets and details that you share of how you can go from an idea to an implementation.

00:01:45.094 --> 00:01:49.574
<v Andreas Welsch>That was one of the main reasons why I reached out to you and invited you to the show.

00:01:50.244 --> 00:01:50.974
<v Andreas Welsch>Thanks for being on.

00:01:52.324 --> 00:01:52.724
<v Andreas Welsch>Awesome.

00:01:52.734 --> 00:01:58.024
<v Andreas Welsch>Hey for, those of you in the audience, if you're just joining the stream, drop a comment in the chat where you're joining us from.

00:01:58.699 --> 00:02:01.670
<v Andreas Welsch>I'm curious how global our audience is again today.

00:02:01.719 --> 00:02:04.179
<v Andreas Welsch>Tobias, should we play a little game to kick things off?

00:02:04.765 --> 00:02:05.444
<v Tobias Zwingmann>Absolutely.

00:02:06.405 --> 00:02:07.155
<v Andreas Welsch>Let's see.

00:02:07.375 --> 00:02:12.555
<v Andreas Welsch>This game is called In Your Own Words, and when I hit the buzzer, the wheels will start spinning.

00:02:12.895 --> 00:02:14.485
<v Andreas Welsch>And when they stop, you'll see a sentence.

00:02:15.534 --> 00:02:18.284
<v Andreas Welsch>I'd like you to answer with the first thing that comes to mind, and why.

00:02:18.594 --> 00:02:20.004
<v Andreas Welsch>In your own words.

00:02:21.520 --> 00:02:24.500
<v Andreas Welsch>To make it a little more interesting, you'll only have 60 seconds for your answer.

00:02:24.759 --> 00:02:27.259
<v Andreas Welsch>Now, are you ready for What's the BUZZ?

00:02:27.670 --> 00:02:28.370
<v Tobias Zwingmann>I hope so.

00:02:28.400 --> 00:02:29.830
<v Andreas Welsch>Let's go! Perfect.

00:02:29.879 --> 00:02:30.409
<v Andreas Welsch>Here we go.

00:02:31.409 --> 00:02:34.490
<v Andreas Welsch>If AI were a song, what would it be?

00:02:35.150 --> 00:02:36.520
<v Andreas Welsch>60 seconds on the clock?

00:02:38.719 --> 00:02:39.740
<v Tobias Zwingmann>Oh, that's a good one.

00:02:39.769 --> 00:02:40.539
<v Tobias Zwingmann>That's a good one.

00:02:41.560 --> 00:02:43.590
<v Tobias Zwingmann>The first one that comes to mind is Zombie Nation.

00:02:44.039 --> 00:02:47.639
<v Tobias Zwingmann>I don't know why, but that's the soundtrack I associate with AI somehow.

00:02:47.650 --> 00:02:50.019
<v Tobias Zwingmann>A little bit weird, but also very straightforward in a way.

00:02:51.019 --> 00:02:57.014
<v Andreas Welsch>I think in a way AI has been deemed dead many, times, right?

00:02:57.185 --> 00:03:00.734
<v Andreas Welsch>With all the AI winters and it's always coming back.

00:03:00.844 --> 00:03:01.965
<v Tobias Zwingmann>Always coming back.

00:03:02.014 --> 00:03:02.534
<v Andreas Welsch>Thank you.

00:03:02.534 --> 00:03:04.905
<v Andreas Welsch>That was really on the fly and a great answer.

00:03:06.564 --> 00:03:06.984
<v Andreas Welsch>Perfect.

00:03:06.995 --> 00:03:12.764
<v Andreas Welsch>I'm taking a look at the chat and I'm seeing folks joined from all over the place, so that's really exciting.

00:03:12.764 --> 00:03:20.134
<v Andreas Welsch>From Amsterdam in the Netherlands, to India, to Toronto in Canada, North Carolina in the US, Sweden.

00:03:20.884 --> 00:03:21.594
<v Andreas Welsch>Really awesome.

00:03:21.764 --> 00:03:22.875
<v Andreas Welsch>Thank you for joining.

00:03:23.875 --> 00:03:27.474
<v Andreas Welsch>Why don't we talk a bit about the actual topic of our episode today?

00:03:28.564 --> 00:03:36.835
<v Andreas Welsch>Obviously there's a lot of buzz and hype around Generative AI, and it's been almost a year since we've seen ChatGPT come onto the stage.

00:03:36.914 --> 00:03:46.585
<v Andreas Welsch>But I'm curious, what new use cases do you see that Generative AI enables, or what certain categories do you see and maybe some examples that you can share from them?

00:03:47.025 --> 00:03:56.854
<v Tobias Zwingmann>Personally, I work mostly with B2B companies and with them, especially in the realms of departments like sales, marketing customer support.

00:03:56.944 --> 00:04:13.284
<v Tobias Zwingmann>And in these areas, I see four, I would say like four super categories of use cases that generate an AI either enabled because it's completely new or it enables those because it's just cheaper to do those now than before.

00:04:13.935 --> 00:04:18.795
<v Tobias Zwingmann>And the first sort of category what I call it is summarization and extension.

00:04:19.675 --> 00:04:25.545
<v Tobias Zwingmann>Given you have a large text, it could be a large sales document or it could be a large information from your company.

00:04:25.754 --> 00:04:30.204
<v Tobias Zwingmann>It's very easy to summarize that down and just extract some certain key points or highlight.

00:04:31.125 --> 00:04:36.035
<v Tobias Zwingmann>And on the other hand side, it's also very easily possible to extract things or to expand things.

00:04:36.035 --> 00:04:46.064
<v Tobias Zwingmann>And that's as easy as starting with a very broad or high level marketing idea and then expanding that into an outline, and then expanding that outline into actual content.

00:04:46.064 --> 00:04:50.204
<v Tobias Zwingmann>And then going from a very tiny piece of information to a very long thing.

00:04:50.514 --> 00:04:52.254
<v Tobias Zwingmann>And again this could be anything.

00:04:53.105 --> 00:04:54.314
<v Tobias Zwingmann>It could be a sales transcript.

00:04:54.314 --> 00:04:55.594
<v Tobias Zwingmann>It could be a marketing strategy.

00:04:55.605 --> 00:04:58.284
<v Tobias Zwingmann>It could be anything that we associate normally with knowledge work.

00:04:58.310 --> 00:05:00.019
<v Tobias Zwingmann>So that's the first big category that I see.

00:05:00.620 --> 00:05:02.439
<v Tobias Zwingmann>The second one is search and knowledge retrieval.

00:05:03.060 --> 00:05:07.689
<v Tobias Zwingmann>And this is especially important in customer chatbots or customer support chatbots where I do some projects in.

00:05:08.310 --> 00:05:16.519
<v Tobias Zwingmann>So where you have all that knowledge available of how to deal with certain support issues acquire requests that customers bring in.

00:05:16.730 --> 00:05:24.009
<v Tobias Zwingmann>And you just have to match that piece of information with the question that the customer is asking in the chatbot, the second big use case.

00:05:24.759 --> 00:05:26.939
<v Tobias Zwingmann>And then the third one is digital asset creation.

00:05:27.670 --> 00:05:33.120
<v Tobias Zwingmann>And especially with multimodality now in Generative AI, this is a very important topic.

00:05:33.120 --> 00:05:40.704
<v Tobias Zwingmann>So to generate different types of digital content, like video, images, audio, and obviously also text.

00:05:41.225 --> 00:05:45.435
<v Tobias Zwingmann>So that's especially in sales and marketing a very important topic.

00:05:45.435 --> 00:05:46.504
<v Tobias Zwingmann>And then, finally, coding.

00:05:47.105 --> 00:05:52.334
<v Tobias Zwingmann>And we don't actually see coding so much in sales in terms of we want to code something.

00:05:52.545 --> 00:05:54.615
<v Tobias Zwingmann>But where I do see it a lot is in analytics.

00:05:54.834 --> 00:06:03.689
<v Tobias Zwingmann>So when we analyze data coming from different customer touch points or from different tools, CRM tools, or analytics tools that we use.

00:06:04.199 --> 00:06:21.750
<v Tobias Zwingmann>Before, it was really hard to analyze these things, and now with the help of LLMs and code, it's very easy to translate queries into initial language queries, into SQL queries, or into code, Python code, that finds the top selling products in the database or whatever.

00:06:21.750 --> 00:06:23.819
<v Tobias Zwingmann>So it's very easy to make those bridges.

00:06:24.100 --> 00:06:30.500
<v Tobias Zwingmann>And these are the four super categories that I see where most use cases that I work with fall into.

00:06:31.379 --> 00:06:31.909
<v Andreas Welsch>That's awesome.

00:06:31.909 --> 00:06:32.589
<v Andreas Welsch>Thanks for sharing.

00:06:32.610 --> 00:06:38.659
<v Andreas Welsch>I think it helps thinking along those lines and just seeing what is possible using that new technology.

00:06:38.779 --> 00:06:47.000
<v Andreas Welsch>And to your point, not everything is brand new in many things, or in many ways, it also helps us do things better than we've been able to do them before.

00:06:47.490 --> 00:06:49.110
<v Tobias Zwingmann>To give you one concrete example of that.

00:06:49.290 --> 00:06:56.659
<v Tobias Zwingmann>We're currently working on a chatbot project which actually has already existed in that company for the past couple of years.

00:06:56.659 --> 00:07:01.529
<v Tobias Zwingmann>But the new thing with Generative AI now is that it's much cheaper to run that chatbot.

00:07:01.560 --> 00:07:10.444
<v Tobias Zwingmann>So before, that chatbot essentially consisted of some kind of AI, but also very like handcrafted rule system in the back end of when to pull what kind of information.

00:07:10.784 --> 00:07:16.185
<v Tobias Zwingmann>And that cost immense sums per year to maintain that chatbot at a good quality level.

00:07:16.774 --> 00:07:22.045
<v Tobias Zwingmann>And now with Generative AI, it's just possible to deliver the same experience at just a fraction of the cost.

00:07:22.045 --> 00:07:26.824
<v Tobias Zwingmann>And we're still talking about GPT-4 access here, the expensive version of the model.

00:07:27.034 --> 00:07:33.814
<v Tobias Zwingmann>But still, it's much cheaper than compared to the old approach where you had all these kind of manual tasks and maintenance there involved.

00:07:34.355 --> 00:07:35.795
<v Tobias Zwingmann>I think that's a great use case.

00:07:35.985 --> 00:07:43.024
<v Tobias Zwingmann>Even though it's not completely new, it just works as well out of the box as previously, but just as a much lower cost.

00:07:43.524 --> 00:07:48.504
<v Andreas Welsch>When try to get in touch with my cable provider or some of the retailers when you order something.

00:07:48.584 --> 00:07:50.745
<v Andreas Welsch>They're not yet on that latest technology.

00:07:51.134 --> 00:07:57.334
<v Andreas Welsch>It gets really frustrating because you sometimes end up in this infinite loop of, is this what you mean?

00:07:57.334 --> 00:07:59.194
<v Andreas Welsch>Or here are the three things that I can help you with.

00:07:59.204 --> 00:08:01.725
<v Andreas Welsch>And you say, it's actually number four or five that I need.

00:08:01.725 --> 00:08:02.574
<v Andreas Welsch>That's not on your list.

00:08:04.055 --> 00:08:04.725
<v Andreas Welsch>Agent, right?

00:08:04.764 --> 00:08:06.355
<v Andreas Welsch>Connect me to a real person.

00:08:06.644 --> 00:08:07.305
<v Tobias Zwingmann>Absolutely.

00:08:07.314 --> 00:08:12.245
<v Andreas Welsch>Huge value if that is more natural or is able to understand better what you're looking for.

00:08:12.245 --> 00:08:18.165
<v Andreas Welsch>Now look, when we talk about these kinds of use cases or for big areas where Generative AI can help.

00:08:18.814 --> 00:08:26.689
<v Andreas Welsch>I think on one hand, we see the likes of commercial providers making large language models available.

00:08:27.350 --> 00:08:32.370
<v Andreas Welsch>On the other hand, there's a big debate about going open source for transparency, quality.

00:08:32.379 --> 00:08:35.060
<v Andreas Welsch>They're just as good, maybe not quite as expensive.

00:08:35.639 --> 00:08:40.230
<v Andreas Welsch>When would you say should somebody use off the shelf Generative AI compared to open source?

00:08:40.529 --> 00:08:44.875
<v Andreas Welsch>What are some of the decisions that people should think about and some of the criteria

00:08:46.134 --> 00:08:51.575
<v Tobias Zwingmann>For off the shelf solutions, there are two major advantages that I see right now.

00:08:51.585 --> 00:08:55.795
<v Tobias Zwingmann>The first advantage is, it's super fast to access these services.

00:08:55.869 --> 00:09:08.389
<v Tobias Zwingmann>Everything is just one API call away or maybe there's even already a product or software that is catering to that kind of use case, which you already have in mind, because again, those use cases often come back down to the similar topics or similar categories.

00:09:09.019 --> 00:09:09.719
<v Tobias Zwingmann>So it's fast.

00:09:09.778 --> 00:09:14.749
<v Tobias Zwingmann>And the second one is it's cheap, at least at the beginning, because it's very often usage based.

00:09:15.438 --> 00:09:22.519
<v Tobias Zwingmann>And this is very good for building fast prototypes, for validating ideas, for building the first proof of concept.

00:09:23.999 --> 00:09:36.303
<v Tobias Zwingmann>You can probably with Generative AI and off the shelf services, or generally AI services, you can probably go to the 70, maybe sometimes 80 percent of an application really fast within a couple of days.

00:09:36.313 --> 00:09:45.453
<v Tobias Zwingmann>So personally, when I do consulting projects, I follow that 20-20 rule where I say the first prototype shouldn't take longer than 20 days and it shouldn't cost more than$20,000.

00:09:45.663 --> 00:09:49.303
<v Tobias Zwingmann>So this is what you can very easily do with off the shelf services.

00:09:50.663 --> 00:09:58.744
<v Tobias Zwingmann>But at the same time at some point, there's that tipping point where you need to figure out, okay, is that really the right way to go in the long run?

00:09:58.744 --> 00:10:09.014
<v Tobias Zwingmann>And if you validated a concept or if you validated idea, then sometimes it might be a good choice to switch over to open source technology and just building a more customized stack.

00:10:10.683 --> 00:10:14.053
<v Tobias Zwingmann>Yeah, we can talk about open source in a bit.

00:10:14.234 --> 00:10:23.918
<v Tobias Zwingmann>Just one thought for off the shelf services, which I currently see is that especially enterprises tend to use off the shelf services just because everything is so new.

00:10:24.019 --> 00:10:30.759
<v Tobias Zwingmann>In enterprises, you need that kind of like security and privacy in terms of, okay, data security, but also security and safety in terms of maintaining the solution.

00:10:31.149 --> 00:10:43.359
<v Tobias Zwingmann>And it's sometimes very hard to reason in an internal IT department to use this or that GitHub repository, which has just been released two months ago to run any full scale productive application on that.

00:10:44.058 --> 00:10:51.808
<v Tobias Zwingmann>So that's why a lot of companies also fall back to these off the shelf or enterprise services from professional vendors.

00:10:52.629 --> 00:10:53.889
<v Andreas Welsch>I think that's a great point, right?

00:10:54.428 --> 00:11:04.884
<v Andreas Welsch>So basically, take into account the full calculation, not just look at the cost of inference, fine tuning, if you will, but also to operate it.

00:11:04.884 --> 00:11:06.234
<v Andreas Welsch>And do you have the skills?

00:11:06.234 --> 00:11:10.553
<v Andreas Welsch>Or can you get access to the skills to build it and to maintain it?

00:11:10.563 --> 00:11:13.124
<v Andreas Welsch>I think that's an important consideration that you're pointing out.

00:11:13.173 --> 00:11:13.323
<v Andreas Welsch>Yeah.

00:11:14.323 --> 00:11:21.943
<v Andreas Welsch>With that thought of, sure, there's open source, there's off the shelf, what would you say in terms of quality, right?

00:11:21.953 --> 00:11:26.963
<v Andreas Welsch>I think there are a number of benchmarks, the number of models that are being benchmarked against these.

00:11:28.283 --> 00:11:33.833
<v Andreas Welsch>How comparable are these two types of commercial models, proprietary and open source?

00:11:34.418 --> 00:11:39.899
<v Tobias Zwingmann>So far, GPT-4 still is the leading large language model out there in the world.

00:11:40.068 --> 00:11:49.989
<v Tobias Zwingmann>There's no other model I wouldn't even say not even any other commercial model, but at least no open source model which can compete with GPT-4 in all aspects.

00:11:50.318 --> 00:12:04.068
<v Tobias Zwingmann>There are certain types of LLMs that provide a similar capability or similar performance on different specific use cases tasks if you want to do a sentiment analysis or classify text into different categories very niche categories.

00:12:04.288 --> 00:12:35.068
<v Tobias Zwingmann>But on that broad and universal scale, GPT-4 still has the highest what we call cognitive abilities and also the highest alignment and being able to follow the instructions that are given in the prompt.

00:12:35.068 --> 00:12:37.408
<v Tobias Zwingmann>In that sense I think they are still ahead.

00:12:38.038 --> 00:12:42.318
<v Tobias Zwingmann>But at the same time we do see that open sources is catching up.

00:12:43.448 --> 00:12:46.428
<v Tobias Zwingmann>They are also moving at an incredible pace.

00:12:47.308 --> 00:12:48.628
<v Tobias Zwingmann>We will see how far it goes.

00:12:49.008 --> 00:12:55.168
<v Tobias Zwingmann>But at least for now, I still see their commercial models and especially GPT-4 there on the edge.

00:12:55.188 --> 00:12:56.428
<v Tobias Zwingmann>Everyone's trying to beat it.

00:12:56.478 --> 00:13:02.519
<v Tobias Zwingmann>And I haven't seen a model that is really able to outperform GPT-4 in all aspects.

00:13:03.213 --> 00:13:04.713
<v Andreas Welsch>Thanks for sharing that perspective.

00:13:06.653 --> 00:13:12.793
<v Andreas Welsch>Now with off the shelf software and capabilities you can get pretty far.

00:13:12.793 --> 00:13:25.873
<v Andreas Welsch>Maybe to some extent you get everything out of the box, or depending on what you're looking to do, take something like GPT-4, sure you can prompt it and you can get some good results or some excellent results depending on what you're looking for.

00:13:26.313 --> 00:13:36.413
<v Andreas Welsch>But then on the other side there's also this point around hallucination or giving it more context, so the information is more relevant to what you're trying to create and to generate.

00:13:37.033 --> 00:13:44.743
<v Andreas Welsch>What components do you see are needed to set up and train and overall use open source LLMs then on the other hand?

00:13:45.693 --> 00:13:53.953
<v Tobias Zwingmann>When we consume an LLM as an API or as an end point, there's much more going on than just the raw inference.

00:13:54.553 --> 00:14:06.473
<v Tobias Zwingmann>There are lots of knobs and buttons around that help to make the model safe, to align that model, also to make sure that we have threading limits, that we are able to scale model up and down depending on the usage.

00:14:06.473 --> 00:14:09.203
<v Tobias Zwingmann>So there are lots of like infrastructural components to it.

00:14:09.203 --> 00:14:14.853
<v Tobias Zwingmann>But also at the same time that takes away some flexibility from us, if we want to build something with that.

00:14:14.863 --> 00:14:18.763
<v Tobias Zwingmann>And especially in terms of GPT-4, that directly translates into cost.

00:14:18.763 --> 00:14:25.963
<v Tobias Zwingmann>So GPT-4 is fine if you use those augmented use cases where you don't have that many requests to the model going there.

00:14:26.203 --> 00:14:33.483
<v Tobias Zwingmann>But as soon as you enter more automated and highly integrated use cases your OpenAI bill can accelerate quickly.

00:14:33.483 --> 00:14:43.703
<v Tobias Zwingmann>And that is normally the point where I say, Hey, let's take a look if there's any open source solution that helps you to tackle the exact problem that you want to do.

00:14:44.073 --> 00:14:44.943
<v Tobias Zwingmann>So I'll give you an example.

00:14:44.963 --> 00:14:54.713
<v Tobias Zwingmann>So there was this use case recently where we had survey data coming in from an event organizer just asking their feedback survey after the event.

00:14:54.923 --> 00:14:56.973
<v Tobias Zwingmann>And we wanted to classify open text feedback.

00:14:57.653 --> 00:15:00.673
<v Tobias Zwingmann>GPT-4 can do that super easily.

00:15:00.903 --> 00:15:01.663
<v Tobias Zwingmann>It was pretty good.

00:15:01.953 --> 00:15:06.403
<v Tobias Zwingmann>We also didn't have any kind of hallucinations, because within the prompt, we provided the categories.

00:15:06.423 --> 00:15:09.913
<v Tobias Zwingmann>And the LLM had only to match the text input with those categories.

00:15:09.923 --> 00:15:10.873
<v Tobias Zwingmann>So that worked pretty well.

00:15:10.873 --> 00:15:19.163
<v Tobias Zwingmann>But if we just repeat that over and over again for all events, the sum quite adds up, especially if you pass that for every survey response.

00:15:19.493 --> 00:15:31.113
<v Tobias Zwingmann>Sometimes it might be even better to use a open source model like Llama 2 and trying to fine-tune it on that particular task of saying, Okay, here we want to do that classification task on the text.

00:15:31.263 --> 00:15:35.774
<v Tobias Zwingmann>And now we already have that kind of training data available because that's what we did with GPT-4 right now.

00:15:36.463 --> 00:15:45.733
<v Tobias Zwingmann>And we can now use that data as a training input to try to get Llama, Llama 2 in this case, on a similar performance level as as GPT-4.

00:15:45.753 --> 00:15:51.088
<v Tobias Zwingmann>And then hopefully, have some advantages in the overall cost calculation.

00:15:51.588 --> 00:15:54.758
<v Tobias Zwingmann>Because also make no mistake, hosting a model like Llama 2 doesn't come like for free.

00:15:54.758 --> 00:15:55.899
<v Tobias Zwingmann>You still have to host it somewhere.

00:15:55.899 --> 00:15:58.649
<v Tobias Zwingmann>You still have to have GPU power and everything associated.

00:15:58.649 --> 00:16:02.828
<v Tobias Zwingmann>So it's not okay, like GPT 4 costs us X and LLAMA2 is free of charge.

00:16:02.828 --> 00:16:05.498
<v Tobias Zwingmann>So you still have to have the whole infrastructure also considered.

00:16:06.168 --> 00:16:11.098
<v Tobias Zwingmann>But at least you can make a definite decision if someone asks you, okay why are we paying so much for that model?

00:16:11.098 --> 00:16:11.848
<v Tobias Zwingmann>Isn't there any other way?

00:16:11.848 --> 00:16:14.948
<v Tobias Zwingmann>We can say, okay, we have looked into that and here's the result.

00:16:14.948 --> 00:16:16.328
<v Tobias Zwingmann>And that's why we're doing it this way.

00:16:16.388 --> 00:16:39.378
<v Tobias Zwingmann>So yeah, and I think this is important and also this is how I see it, how you can transition from off the shelf to more custom customized models by trying to fine-tune and trying to adapt models that cater to a more specific task because what you do with those big LLMs is to take its general purpose capability and throw it as a very like specific problem and in many cases it can do that pretty well.

00:16:39.378 --> 00:16:55.008
<v Tobias Zwingmann>But again, like it's literally throwing a lot of computational power at oftentimes a very small problem and at some point might be better to just take a like smaller or more effective model and just apply those to these more specific and niche use cases.

00:16:55.808 --> 00:16:57.858
<v Andreas Welsch>Great point about the cost.

00:16:57.968 --> 00:16:59.738
<v Andreas Welsch>Again, it doesn't come for free.

00:16:59.828 --> 00:17:03.858
<v Andreas Welsch>It might be cheaper, but maybe there are also other components to take into account.

00:17:04.538 --> 00:17:08.608
<v Andreas Welsch>I'm just taking a look at the chat and I see Michael basically confirms what you're saying.

00:17:08.659 --> 00:17:15.378
<v Andreas Welsch>Open source software Generative AI provides a viable alternative based on the cost and the political acceptance.

00:17:15.378 --> 00:17:17.318
<v Andreas Welsch>I see a question from Willy here.

00:17:17.318 --> 00:17:28.409
<v Andreas Welsch>Willy's asking, How do you assess the relevance of European models such as Aleph Alpha Luminas for companies affected by the GDPR, especially considering that Azure services are now running on European servers?

00:17:28.769 --> 00:17:33.429
<v Andreas Welsch>In general, are we in danger of becoming dependent on the one big model, GPT-4?

00:17:34.348 --> 00:17:35.878
<v Tobias Zwingmann>Oh, yeah, that's a good one.

00:17:36.759 --> 00:17:42.439
<v Tobias Zwingmann>I would love to see that European model being being developed and being hosted here.

00:17:42.469 --> 00:17:46.909
<v Tobias Zwingmann>And I think Aleph Alpha just had another like 500 million series B round recently.

00:17:46.909 --> 00:17:48.469
<v Tobias Zwingmann>Things are going into the right directions.

00:17:48.469 --> 00:18:01.949
<v Tobias Zwingmann>But on the other hand side, if you just look at what scale companies like OpenAI are operating, and especially at what speed they are innovating, I really doubt if we can compete with that.

00:18:01.959 --> 00:18:02.548
<v Tobias Zwingmann>I'll give you an example.

00:18:02.919 --> 00:18:20.984
<v Tobias Zwingmann>Most of those benchmarks, including a lot of European models compare themselves still with GPT-3.5 performance and say, Hey, we can beat GPT-3.5, 5, but the thing is GPT-3.5 is like literally available free of charge within ChatGPT and very low cost and you know in the API so that's not really the benchmark.

00:18:20.984 --> 00:18:22.534
<v Tobias Zwingmann>The benchmark is GPT-4.

00:18:22.864 --> 00:18:31.653
<v Tobias Zwingmann>And whenever you compare that to GPT-4, I really wonder if it's such a clever decision to try to build the next GPT-4 from Europe.

00:18:31.953 --> 00:18:38.854
<v Tobias Zwingmann>Maybe we should invest the fragmented resources that we have in Europe, because there's not a single player, there are multiple players.

00:18:39.094 --> 00:18:47.203
<v Tobias Zwingmann>Maybe we should rather invest that into more specific models that are probably catering specific industries or specific use cases or so.

00:18:47.774 --> 00:18:53.034
<v Tobias Zwingmann>Honestly, I don't believe that the next big foundational model that outperforms everything else will come from Europe.

00:18:53.754 --> 00:19:00.004
<v Tobias Zwingmann>There might be still great use cases, but as Willy says here everything that revolves around GDPR, in security, inside of privacy.

00:19:00.024 --> 00:19:04.443
<v Tobias Zwingmann>These things will be just solved just as we did that with cloud computing a decade ago.

00:19:04.754 --> 00:19:09.423
<v Tobias Zwingmann>Everyone then thought, oh, we can't just give our data to one of the big three cloud providers, right?

00:19:09.423 --> 00:19:10.574
<v Tobias Zwingmann>And here we are.

00:19:11.714 --> 00:19:14.484
<v Tobias Zwingmann>I think this is a very similar development happening here.

00:19:14.994 --> 00:19:15.923
<v Andreas Welsch>Thanks for taking that one.

00:19:15.953 --> 00:19:20.134
<v Andreas Welsch>I see there's another one from Josue here in the chat as well.

00:19:20.214 --> 00:19:22.764
<v Andreas Welsch>And maybe if I can rephrase that a bit.

00:19:22.764 --> 00:19:32.264
<v Andreas Welsch>With GPT-4, there's already a relatively cost-effective model available with high performance that comes out at the top of all these benchmarks.

00:19:32.794 --> 00:19:35.584
<v Andreas Welsch>But what are our considerations for using open source?

00:19:35.913 --> 00:19:42.234
<v Andreas Welsch>Is it really about the confidential data that you really don't want to send to those providers even if they don't use them for training?

00:19:42.234 --> 00:19:45.923
<v Andreas Welsch>Or what are some other considerations that you see there to go open source?

00:19:46.284 --> 00:19:53.004
<v Tobias Zwingmann>Yeah, maybe to answer this question, maybe we have to zoom out a little bit because so far we just talked about open source LLMs.

00:19:53.044 --> 00:19:58.964
<v Tobias Zwingmann>But in fact, I think when we look at the open source ecosystem, there is more than just the open source LLMs.

00:19:58.974 --> 00:20:01.084
<v Tobias Zwingmann>So I see three different layers.

00:20:01.094 --> 00:20:09.214
<v Tobias Zwingmann>So we have the LLM layer where we have commercial models like GPT-4 and others, and we have open source models like Llama 2 and Flan and so on.

00:20:09.933 --> 00:20:18.624
<v Tobias Zwingmann>But then there's also this middle or tooling layer where we have tools like LangChain, like LlamaIndex, where we have things like Hugging Face for fine-tuning models.

00:20:18.943 --> 00:20:22.989
<v Tobias Zwingmann>And I think this is where most things are happening right now.

00:20:23.048 --> 00:20:26.219
<v Tobias Zwingmann>And then we have a third layer, which is even abstracting even more.

00:20:26.578 --> 00:20:31.519
<v Tobias Zwingmann>Where you have not only the tool stack, but also the whole front-end components stacked on top of that.

00:20:31.808 --> 00:20:43.224
<v Tobias Zwingmann>These are tools like Vercel AI, for example, Microsoft also putting out some repositories that help you Create a ChatGPT-like interface or setting up the RAG architecture and things like that.

00:20:43.933 --> 00:20:51.024
<v Tobias Zwingmann>And I think this whole ecosystem is what makes these kind of use cases thrive at the moment, especially if you want to have more customizability.

00:20:51.413 --> 00:21:05.249
<v Tobias Zwingmann>Yesterday was that OpenAI Demo Day, and they introduced the capability of building these custom GPTs where you essentially get like the RAG architecture with knowledge retrieval out of the box using these new custom GPT models.

00:21:05.249 --> 00:21:10.392
<v Tobias Zwingmann>And you know one could say why do we need this whole RAG ecosystem if you can just get it out of the box from OpenAI?

00:21:10.692 --> 00:21:14.701
<v Tobias Zwingmann>The answer to that is because there are lots of use cases which need a much higher customization.

00:21:14.991 --> 00:21:27.532
<v Tobias Zwingmann>For example, one customer I currently work with, they have the challenge of handing permission levels of what kind of user in the chat within an enterprise can access what kind of information from the knowledge graph behind that.

00:21:27.762 --> 00:21:32.412
<v Tobias Zwingmann>And ideally, they want to inherit that from, for example, the Azure directory or from their SharePoint.

00:21:32.872 --> 00:21:42.991
<v Tobias Zwingmann>That if a user asks a question to the chatbot, they don't get like the full like access to all the knowledge in the company, but only to those aspects where their current user account has access to.

00:21:43.231 --> 00:21:47.501
<v Tobias Zwingmann>And if you want to build something like this, then you're very quickly in those more customized developments.

00:21:47.501 --> 00:21:55.532
<v Tobias Zwingmann>And in these cases, really tools like LangChain and things like that are really cool to build these kind of functionalities and features really quickly.

00:21:56.251 --> 00:22:03.682
<v Tobias Zwingmann>And this is where I do see the most potential development in this whole LLM ecosystem to happen, at least in the short term.

00:22:04.037 --> 00:22:06.527
<v Tobias Zwingmann>Because this is really democratizing LLM development.

00:22:07.507 --> 00:22:11.356
<v Andreas Welsch>I think we've covered a lot of ground in this episode so far.

00:22:11.356 --> 00:22:17.227
<v Andreas Welsch>I was wondering if you can summarize the top three takeaways for the audience today from our discussion.

00:22:18.366 --> 00:22:23.807
<v Tobias Zwingmann>At the beginning, I would not overthink the whole topic with should I use off the shelf or open source?

00:22:23.807 --> 00:22:24.787
<v Tobias Zwingmann>Should I do it myself?

00:22:24.817 --> 00:22:29.007
<v Tobias Zwingmann>I think go with whatever looks or is more natural for you.

00:22:29.197 --> 00:22:35.167
<v Tobias Zwingmann>If you're the tech guy, if you're a developer and you totally feel like you can build that by yourself, just like implementing the next LangChain.

00:22:35.247 --> 00:22:35.487
<v Tobias Zwingmann>Okay.

00:22:35.947 --> 00:22:51.116
<v Tobias Zwingmann>Just go with that build something for you, but I think in most cases, especially enterprise cases, you're probably better off using an off the shelf service at the beginning in order to get started and figure out not a, if the tech works, but B, if it's actually valuable what you're building.

00:22:51.606 --> 00:22:52.957
<v Tobias Zwingmann>I would always focus on this.

00:22:53.366 --> 00:22:59.787
<v Tobias Zwingmann>And the second takeaway from today is that it's not only as we said about inference costs when you make the whole cost.

00:22:59.787 --> 00:23:03.507
<v Tobias Zwingmann>But also what other kind of hidden costs are associated with that?

00:23:03.747 --> 00:23:07.287
<v Tobias Zwingmann>This is not only running the model and the infrastructure cost.

00:23:07.537 --> 00:23:10.257
<v Tobias Zwingmann>But let's say like you're a medium sized business.

00:23:10.467 --> 00:23:12.126
<v Tobias Zwingmann>Maybe you have a small engineering team.

00:23:12.326 --> 00:23:17.147
<v Tobias Zwingmann>Maybe you have one guy, you know, knowing how to operate or to build stuff in LangChain.

00:23:17.167 --> 00:23:20.387
<v Tobias Zwingmann>You know helping you to build those internal chatbots that you're currently building.

00:23:20.632 --> 00:23:23.981
<v Tobias Zwingmann>What happens if that guy is leaving tomorrow or the day after tomorrow, right?

00:23:24.221 --> 00:23:25.981
<v Tobias Zwingmann>Who can fill that gap?

00:23:26.292 --> 00:23:30.491
<v Tobias Zwingmann>And if you still have resources to fill that gap really quickly, then that's fine.

00:23:30.552 --> 00:23:39.802
<v Tobias Zwingmann>If not, then just be aware that this is all really cutting edge technology and it's not there's a huge labor market out there like JavaScript people waiting to build something for you with that.

00:23:40.001 --> 00:23:51.842
<v Tobias Zwingmann>It's really at the edge and it takes a lot of time often to find people who have done that before and also build productive applications and not only I'll build a small Jupyter notebook prototype.

00:23:51.842 --> 00:23:53.711
<v Andreas Welsch>We're getting close to the end of the show today.

00:23:53.991 --> 00:23:56.842
<v Andreas Welsch>Thank you so much for joining us and for sharing your expertise with us.

00:23:56.872 --> 00:24:08.652
<v Andreas Welsch>I think it was a very insightful discussion and conversation ranging from off the shelf to open source technologies, when to use what, are some of the upsides, some of the downsides of doing that.

00:24:09.292 --> 00:24:11.302
<v Andreas Welsch>And I really appreciate you spending your time with us.

00:24:12.432 --> 00:24:13.072
<v Tobias Zwingmann>Thank you so much.

00:24:13.082 --> 00:24:13.701
<v Tobias Zwingmann>It was my pleasure.

00:24:13.922 --> 00:24:14.672
<v Tobias Zwingmann>Thanks for hosting me.
