Hi everybody. Thank you for coming. We'll start from a short introduction. I'm Dima. I'm originally from Ukraine. I started building AI businesses before the LLM hype, when everything became AI native. So my company, which I was building before, Reface, became pretty successful — it has 300 million downloads, and we had our evangelists like Ariana Grande, Justin Bieber, Scooter Braun, and we have Andreessen Horowitz and Khosla investors. Currently I am angel investing, I'm doing different stuff in terms of supporting my country. I'm a board member of Endeavor Ukraine, an organization which was founded by Reid Hoffman, and now I'm building my second company called Mirai, which is an on-device AI platform.
And to start this conversation, I want to say that in my days, when I started the company in 2019, AI was kind of hype — not hyped at all — and all this LLM stuff was not so obvious. So we were building all our ML pipelines from scratch, and it was not obvious how to do it. And now founders are in a much, much, much better position, you know, when you can combine different open source, closed source stuff, you can grab any open weights and you can do it easily, fast, in days, not months. And here that is why I'm super excited to welcome Thomas Wolf, who is a co-founder and chief science officer of Hugging Face, an amazing company who turned, you know, open source and AI into an amazing 2 million users marketplace and a versatile community who are shifting the frontier of what AI can do or not, and giving us this opportunity. Thank you for having me, Thomas.
Thanks, Dima. I can just give a word on how I discovered you, because it's quite funny. A couple of years ago my son got very, very excited about a new AI app. So it was before ChatGPT that let you actually change the face of people, and he was showing me Reface, which was your first big app, and I was like, wow, that's really cool. These guys are doing really amazing work. And so when you contacted me for your second company, I didn't connect the name directly, because this was in so different a context — one was playing with my son on the app, and the other was like a very serious infrastructure startup, you know. And then I was like, oh, actually I've followed you for quite some time now.
Thank you. So luckily I have Thomas as my friendly partner as well. So, keeping that in mind, let's kick off this AI infrastructure play, starting with how it has evolved within this like crazy 12 months. From my perspective, you know, I see that AI came from just being a hype cycle to become a must-have option for not only tech businesses — they're deciding on board level whether they should do it or not. And this AGI play, AGI 2027, you wrote about it before, but even if AGI happens — yeah, if it happens — AI will become a foundation layer, AI infrastructure, overnight. You know, whether you succeed or not, if not, you know, AI will still make a huge impact and have its place as like databases once did before. And we should understand that business is business, and when you are thinking about applying and implementing your infrastructure, you should think about cost efficiency, privacy, and in this case you basically need to understand that kind of adoption is coming, the novelty phase is done, now you need to justify that investments in AI should pay back in terms of ROI, and mass deployment has begun.
And starting about that, it's interesting — from your co-founder and Hugging Face vantage standpoint, what do you think founders could not resist and escape, not to keep in mind into account when building AI infrastructure and building businesses with AI?
So I think there is a general shift, a progressive shift, which is what you're saying. We move from kind of just the hype — AI being used in like newspapers, I don't know, to make the cover of Cosmopolitan — to kind of AI becoming more like a natural technology, just like the internet, that everyone kind of expects you to use in your work, in a way, if you can of course, and to incorporate in your startups if you're starting, if you're an entrepreneur. And I often joke, like, people tell me, what are you investing in? Are you investing only in AI? And I would say it's kind of almost difficult nowadays to imagine a new venture, a new startup that doesn't make use of AI. So when you say invested in AI, it's almost everything, right? So it ranges from obviously like really AI-native tools, I don't know, coding help, but it goes down to AI for mechanical engineering, even for construction. So it's really covering everything. And I would say it's a little bit like the internet. We don't really say you invest in internet companies nowadays, which feels very old school to say that. Basically, every company is supposed to have kind of an internet presence, right? Or like it's — except maybe some, I can't imagine I think any company who would not have an internet presence. I think AI is going to be the same.
And so as a consequence, I think it means we'll have a lot of different ways to use AI. So obviously there is the frontier models. It's very important to use them, to understand what they are capable of, to use the latest OpenAI models to really understand where is the frontier. But there are also some issues. The frontier models are extremely powerful, but they're also rather costly. Well, the cost keeps getting down, but if you base all your business on them, it's still a significant cost, and for many new companies it can be the dominant cost actually. And then you have all the models that are not at the frontier but who are still quite powerful. And so you can build things on top, and a big part of these models can also run — and that's what I'm very excited about. They can also run on the edge. They can run on your smartphone. They can run on your laptop. You don't even have to always, you know, pay a distant data center in the US most of the time to run your models, but you can run them locally. And this reduces the cost a lot. It also makes it faster. If it runs on your laptop, it also works in many conditions where you don't have network. So it opens actually a lot of capabilities that I think businesses should also explore nowadays.
Yeah, thank you very much. I totally agree. But so basically we see that a lot of capabilities, but still access to data and evaluation pipelines is pretty crucial. I would like to touch a super fast point of your bread and butter: open source, you know, versus closed source as well. So in my case, when I started, everybody was thinking, okay, should I do open source, should I go open weights, or should I use a closed API, you know? And then I realized that now you can do both, you know. If you are a solid founder, you can get all this infrastructure and do both and understand how we can do it. So from your perspective, what should founders keep in mind when deciding between using some open source solution or closed source? Because closed source is great in terms of, you know, let's call it resources and how businesses can be made and go-to-market velocity, paychecks, and open source is always a frontier of innovation of the community.
I mean, I can just quickly remind what's the difference. I mean, the main difference is: some closed models, you basically have to use them through the data center of someone else. So you have to send your data, they will process it and send it back. So you don't really have the control on where it's happening. You don't really have the control on the cost — they're fixed by the providers — and you don't really have the control of, you know, also the type of model. Usually you have just one model and that's it. Open source is much more flexible. It's like a software you can download. So you can run it even locally, but you can also rent some specific data center or like some specific, you know, GPU, CPU instances and decide to run it yourself, and this brings a wealth of interesting aspects. The first one is data privacy. If it's important, it can be a key. So in finance industry, legal industry, it can be very important. It also lets you really tailor the model. So that's what you said: if you have some specific domain where you work and you're actually not really happy about how the closed models are working, you can fine-tune this model, you can adapt this model and make it better on your domain. And it helps you play a lot with the cost.
So you can run a range of smaller and smaller models. There is kind of a really long tail of models that are smaller and smaller and smaller. They are less and less intelligent, but on the other hand, they are more and more cost effective, because the smaller the model, usually the cheaper it is to run. And in some cases you have to run this. So I know, for instance, I was with a good friend in London who is running like AI models on billions of financial records, and he could not run a very large OpenAI model, that would be much too expensive, much too slow. But with kind of a smaller model, if you choose a mid-range open source model, it can definitely process basically all the records and get full coverage of the financial transactions. So it's mostly — a big part of this is this cost-performance benefit, which means that the first step, usually, to really use AI effectively is to — and that's not very common in previous software maybe — but is to set up a good benchmark. So you gather, you know, a good type of question that you have in your domain and a good type of gold answers, so that you can evaluate all the models — closed source, open, various types of open source models — and see basically which one still gets the performance threshold you need but is the cheapest. So that's usually really the first step you should do.