- Podcasts
- DevOps Sauna from Eficode
- Decoding DeepSeek
Decoding DeepSeek
DevOps Sauna from Eficode
- January 30, 2025
- 29 min
About this episodeSend us Fan Mail In this episode of the DevOps Sauna, Darren Richardson and Pinja Kujala are joined by Henri Terho to discuss DeepSeek…
In this episode of the DevOps Sauna, Darren Richardson and Pinja Kujala are joined by Henri Terho to discuss DeepSeek, the newest AI model released from China that's been making headlines on social media. They also share their thoughts on what open source means for AI in general.
Sign up for The Future of Software in London (March 26, 2025):
https://www.thedevopsconference.com/london
Transcript
From the publisherThis transcript comes from the podcast’s own feed, as the publisher wrote it. It has no timestamps.
Decoding DeepSeek
Yeah, it's been kind of explosive over the last few days. We've seen this new DeepSeek model drop and I think the kind of talking point for it has been how much cheaper and how much simpler it has been to generate this. Now, can you elaborate on that at all, or do you think it's just marketing hype?
And we've been talking a lot about training AI and the training needs will become easier. So more people will train AI, and also now it's going to be more accessible, so it's going to be on more devices. So in the long run, I think this is going to be a really big thing for NVIDIA as well, even though they now took a dip.
Yes, this has been on everybody's minds, everybody's lips. If you go to LinkedIn right now, if you go to any technology discussion, any news site, you see DeepSeek, you see there is one model being discussed. So there is so much speculation going on, and people are very keen on jumping to the conclusions.
Henri, as we now say that perhaps this is just will be good news for NVIDIA, but we're looking into some people calling this the Sputnik moment of the AI or somebody says “No, it's not the Sputnik moment. It's the Google moment of AI.” So maybe with this discussion, it might be worth shedding some light and maybe bringing this more into context.
Yeah. I think I read the same article about the Sputnik versus Google moment that I think you're referring to as well. And I think the Google moment put this quite nicely that when you do Sputnik, you have the whole engine of the whole state doing something really great and getting something to orbit and showing that our state can do this.
And the Google moment is more like, yeah, we had two guys in a university classroom figuring out something and writing a paper about it. And I think this moment, this is more about the latter. And I think this also talks a lot about how the whole AI scene and open source scene always has progress and will progress.
And I think this is another rung in the ladder. And I kind of want to take another example here as well about these training models on the cheap to get same performance. Back like a year and a half ago, Silo AI FMN as well trained the bottom model that basically ran with old AMD stuff that we have at the LUMI supercomputer in Finland.
And many people were in the technicals, but oh, you can actually train with something else than NVIDIA as well. And that was also trained quite on the cheap. So there's a lot of these kinds of movements and this is, yes, it's a technical innovation that you can do it on cheap, but it's also a superbly good marketing ploy that they've done and actually releasing the model as open source with nicer licensing.
It became one of the most downloaded apps on the app store, but from a like security and compliance standpoint for use in Europe, it becomes so complicated because it's using servers and data storage in China. It's breaking GDPR regulations. So we, I think we do have to talk about the app for a moment first, because I think the models are more interesting and more complex discussion, but for a moment, let's just go through the app.
And like, so the app, I believe it came up kind of suspiciously quickly, in my opinion, it kind of came from nowhere overnight. And as you say, DeepSeek is a hedge fund. They do know how to play the markets and having an app suddenly explode and become the most downloaded app is certainly something that's going to drive a lot of positive attention that way.
And not even NVIDIA, but I think the target is OpenAI, Anthropic, all of these other companies were building their own model that we did this better. And “Hey, here's an app that we use that everybody just suddenly wants to install and test out.” And I said, “That's a really thick envelope of red tape around it. Where does the data go?”
What does it actually extract from your cell phone? And all of that, we have a lot of the same kind of stuff happening with the European originally when OpenAI and others were training, they also took a lot of data, but now we have a lot of frameworks like GDPR, as you said, to kind of give you consumer rights as well around that. So that you cannot just extract all the data, but exactly like don't use apps that are tied to a lot of different places, at least not in a company context, because as I said, GDPR is pretty much broken on that.
And there's a lot of problems in there around the model in the kind of like LLM infrastructure and the runnables around it. The model in itself said it, that's a more interesting discussion of what's happening there, but exactly the like data storage, the processing of the data, where does it happen? How do we do it?
I think there was a news story that broke in the last couple of hours about there's some suggestion that OpenAI's bases were used to train this model. And I think that comes down to like, if we start talking about the model and talking about the actual function of the model, we can start moving towards that. So, assuming we're done with the app, it's basically just a case of be careful about using it, but that goes for everything because it depends who you trust not to use your data, even when you opt out.
So the one that keeps floating around a lot in media is how many billions of parameters the model has. And that's typically been the dominant factor in many of the articles, they now have this many parameters and they have this many parameters going in there and what's going on. And that's kind of like telling how many buckets the AI can put knowledge into, how many different concepts of knowledge the AI model has.
Is this up to the cat or a mouse or something like that? But of course, these labels that I'm saying are generalizations, but that's basically what AI does is take knowledge, puts it into different buckets, and that's how it understands what is related to each other. And how this is done is basically every single one of these parameters is either a minus one or plus one.
So really like positive relationship or a negative relationship. An example of this would be the Swedish King and the King of the UK, for example, could have a positive relationship of 0.8, for example, and a cat and a king might have a negative relationship of minus two or something like that. Basically, similar concepts have similar relationships, basically.
And this is what we're talking about when we're talking about parameters in models. And the second thing that's been now talked even more, this has always happened in the background, but it hasn't been talked about because it hasn't been relevant in the same way, is what's called how many bit model it is. How big of a resolution that plus-one minus-one relationship has.
And what I think has happened with these DeepSeek models is that they are able to push it back into smaller pieces and work with smaller models and all the hardware is that they've made the resolution of the model smaller. So you don't have to have 32-bit large storage for each of these plus or minus relationships. The resolution, you don't have to have a thousand different options for that.
And that's still the case. If you look at the DeepSeek R1 model, which is the mainline model that they have, even though they're saying that, yes, you can run it on any hardware, you still, if you want to run that, you still need like 300 gigabytes of memory to run it. So that's not the innovation there, but the innovation is really that they can now do sub-models of it with much smaller resolutions that still work quite well.
And that has been outlined in many of the papers and how you can, what's called the distillation basically, take other models and then distill them to be smaller and just take subsets of the data to make them perform still quite well. And that's what's driving now the whole innovation craze and why Meta is making war rooms on how to figure this out and all of that. And that's actually all pretty much in the paper.
So what you can do is basically train another model with the output and input of another model. So basically, this is what's called reinforcement learning that you give the model outputs from, for example, OpenAI. This is what they are claiming that has been done that the trainees have been running queries on OpenAI's model, asking these questions and seeing what comes out, and then giving this data to their own model.
But if you have your own model, you can do it on a much lower level, but you can do it basically with any resource. Basically, I'm even doing model distillation at some point by just talking to OpenAI models and giving my data to them. But this is on a much grander scale, how you can transfer knowledge.
But then, when you do transfer learning or this distillation, transfer learning is also kind of similar term that overlaps with this. You take Llama model from Facebook and transfer a lot of that stuff and give it more weight that this is more important than what you have on the base level. Then you get this distill model that's going on.
Yep. Well, for example, can I say that if I use an Llama model now at Eficode in our company to build a proprietary, well, I cannot do a proprietary model on top of that, but like make an Eficode model and distill knowledge on top of an open source Llama model. Can I say that, hey, I did this just for like half a million that I did my own training?
They've even bought a lot of NVIDIA GPUs before the embargoes that happened. And like, where do you put the limit on what's the price of this project compared to all the big learnings, hiring the team, building up the knowledge base that you have? Yes, I think even OpenAI could train their new models quite cheaply now that they have all the infrastructure and all that place.
It's all run by stuff that you can fix by yourself, but you know what's actually happening under the hood. And we initially got the big pushes with Microsoft and all of that bringing operating systems into the limelight and that this is what you can do with a computer and at some point those become black boxes that you cannot fix. And I think this is now the case in the AI world.
Now that we've gotten the first taste of what we can do with all these language models, the demands are also going up that, Hey, I cannot build my business or my business logic or what I do in my company on top of a black box AI. How can I trust what's going on in there? Or then I don't want to give you all our business processes, what we are doing.
Let's actually talk about that because kind of surrounding this discussion, the AI model itself has been under discussion, but there's, I feel like a lot of mistrust from anything that's basically fronted by a Chinese hedge fund. So I feel like there's been a lot of discussion about the security around even using these models on a local installation, which maybe we can dive into that because I think not a lot of people know how models are applied locally, how they're used. So could you maybe open up a little bit about the architecture of how these models are applied?
If I can view this in a very basic sense, that's, that's, I think that's the kind of like the most interesting thing about layer evolution as well is mathematically this whole thing is, I wouldn't say simple, but kind of beautiful in the way that if we can just by basically using a glorified text prediction that you have on your cell phone output, this kind of level of data that we have, I think it's that great.
And I think on exactly because of this, that there is a lot of AI demystification that we have to do in here is exactly that the model is just a lookup table. And that's why if you go into like GGUK and Opentensors, which are the file types that we use to transfer these files and run these files as well. Yes, they are pretty much just ways of matrix tables.
There's also a little bit about the publication of the model there, because what we do know from security is that zero-day vulnerabilities are extremely valuable, extremely rare things. And the longer you can keep them under wraps, the more data you can get from them, the more you can use them. So the idea of publishing like an open source model to contain a novel vulnerability, exploiting something like the tensors to the minimal amount of executable code there, that would be interesting if it was more of a harder to obtain model, because otherwise it's just going to be ripped apart and discovered.
Yeah. And exactly like I think every single security expert now in any kind of big company, any kind of country in a lot of places, if you'd like to have a zero-day vulnerability in this package, you wouldn't do it now, you would do it later. And at some other point, because everybody's now looking at deep six packets.
And this, I think one kind of another security or threat that has been thought about is kind of like this side channel attacks on what information has been thought to the model, because that's very difficult to confirm. And that's what we see. Of course, the most typical steps of this is kind of like censorship and stuff like that, that happens in all of these models.
For example, that happens in base, in different companies' models, that what information do they choose to omit from their models in training? We always have a model bias. And this is also why now many people, there's the Open-R1 project that they are trying to unwrap because they didn't release the actual source code of the pipeline that they used to train the model.
And this is also like an interesting point on the fact of liability that if you just release a model on MIT license, I'm pretty sure that they are not liable for any of the comments or anything that the model does. And the whole like legal field around AI is a minefield that's yet to be tested in any court. But I think this is one of the big steps now to actually democratizing AI and getting the open source community speed of the US.
And it will be interesting to see what, for example, can legislation follow up with this legislative processes, except especially in the EU are extremely slow as we know them. And it is not a joke. Then somebody said a couple years ago that we will see more development in in these five years now than we saw in the past 40.
And I said, even in our company, the data that's in our experts head is the number one knowledge that we are selling and everybody's selling that. And then, if we, on top of that, sell our processes and give everything out to AI agents, what do we have left? And I think that's the big discussion that's going to change a lot of stuff around companies.
And I think that's what we are now seeing also that initially everybody was going to the cloud, let everybody just test out AI on the cloud, give them all the data. And now many people are realizing that, hey, we might actually have to transition back into on-site or on-prem or something like that because we don't want to give all of our stuff away. And there's a lot of, not just kind of like data privacy discussion, but ethicality, what kind of models, where is that used, who uses it, what's going on and what's going actually into the model and what's being left out, because we don't have that control.
Now with more and more open source happening, companies get more control, even people by themselves get more control if you want to build your own models for usage. And I think one interesting tidbit about why I think this is coming out of China is even though many people don't think of China as a super capitalist country, I think I'm doing some business in China. I think it's even more hyper-capitalistic in the sense that there is no data privacy laws that are very strong.
And this really accelerates some of the development, not always in a good way. For example, there's been cases that rival companies do bomb threats on other companies just to try to like slow down their development, to get their developers out or do like this kind of stuff. So there's a lot of stuff happening in there, but because of no copyright law, I said execution is king in there.
There's also the consideration to be taken with the US side of things. I mean, we're talking about how this DeepSeek model has been open sourced and that comes to question, can it be open sourced if we don't know the data that's gone into it and don't know the pipeline? But on the other side of things, we have the US companies pushing out these completely opaque models that we don't know anything that goes into them.
And when you think about Meta and the other companies who have had these models, they have a lot of data on you already. And the question is, have they ever asked you if they can use that data because it's been collected even before the advent of AI and a lot of this. So there's a lot of data floating around that we don't really have any control.
Hello everybody, my name is Henri, and I'm actually a biologist by background. My background is in computational systems biology, so I've been in the AI field and data field for 15 years and now working as a Senior AI Consultant and really enjoying the progress that's happening in the LLM and the other space as well and through open source fanatic as well.
