Hello everyone. My name is Bhavesh, and today I have a very special guest with me. I have with me Omar, who leads the Gemma initiative in Google. So welcome to India, Omar.
Thank you so much. Very happy to be here.
Yeah. Today we'll kind of discuss a lot of questions that a lot of developers have regarding Gemma, the outlook of how Gemma wants to kind of scale as well. So I'll let first Omar give some introduction about what Gemma is.
Yeah. Thank you so much. So, Gemma is a family of lightweight, state-of-the-art open models. Being open means that you can go, you can download the model, run them in your own computer, your own phone, your own devices, or you can host in your own servers. For Gemma, what we want to do is really empower the ecosystem to build on top of it. So we make sure that it's well integrated into the popular open source tools, that there are good educational materials to enable them to learn how to fine-tune Gemma for their own use cases, for their own languages, for their own needs.
Got it. Thank you. Thank you for the amazing interaction. One question that I have right now, given that you've given this background, given that you look at so many applications that are being built on top of Gemma, is there one project that has kind of really excited you when you've seen that project, that this is something that you've not really expected out of Gemma, but someone's kind of created a solution around this? Like any one project or any version of Gemma that has kind of really appealed to you extremely to that point that this is something that you've not thought of as well.
Yeah, maybe I would like to share two different ones. So the first one is a broader pattern, which is multilinguality, right? So Gemma is a model that already has strong multilingual capabilities. But we have seen communities in different countries, such as in India, that are pushing forward the capabilities of Gemma for their own local languages, right? So Gemma 3, which is the latest Gemma model that we released a couple of months ago, it supports over 140 languages, and out of those there are over 10 languages from India. But even then, we have seen community groups, research labs such as Sarvam, that have pushed forward even further the capabilities of Gemma for local languages, right? So just a couple of weeks ago they released a translation model based on Gemma 3, which was quite exciting to see. So I wouldn't say it's something fully unexpected, but it's very exciting to see what the community can do, given a strong, powerful model that can work as a foundation for their own research. And then we have also been seeing people using Gemma for robotic use cases, right? So Gemma has very strong vision capabilities, and with a bit of additional fine-tuning, you can make Gemma a strong model for your own robotic applications.
Got it. I think just to add on to that, I think the translate model that you're referring to, this is something that I recently tried out as well, and I had some exceptional results for a lot of translate use cases that I was trying to solve for. So yeah, I mean Gemma in itself, with all the modifications that are happening, is something that is kind of enabling a lot of developers to create some amazing applications. One question that I have specific to Gemma 3N, the model that has multilingual and multimodal capabilities which kind of support text, audio, video, etc., how is the architecture different from the normal Gemma model? Like what are the tweaks that you've done to kind of have Gemma 3N different from Gemma 3?
Yeah, that's a great question. So to share a bit more context, we released the first Gemma model about one year ago, a bit further. So there was Gemma 1, then we released Gemma 2 in the summer of last year, around July of last year, and then we released Gemma 3 in March of this year, and a couple of weeks ago, end of June, we announced the full release of Gemma 3N. So 3N is a model with a strong focus on device, a strong focus for very compute-limited devices, so really being able to run the model in a phone or even in a Raspberry Pi or in this kind of IoT applications. The capabilities are very similar in the sense that it's a multimodal model for text and vision, but as you said, it also supports audio understanding. And everything around the design of this model has been with a strong focus on device, right? So for example, for vision we have a new vision encoder called MobileNet. So if you don't know MobileNet, MobileNet is one of the most famous architectures for vision applications for phone, for mobile use cases, and we just announced as part of Gemma 3 and released the MobileNet V5, which is the next version of MobileNet. And many of the architectural decisions here were based on how to make the model very fast for on-device use cases. It's very similar with audio. So we have something called the universal audio encoder, and it's a strong multilingual, extremely fast model that is so fast in Pixel phones, for example, that you can do streaming. That means that as the model is generating, as you are speaking with the model, it can generate the audio very quickly, which is quite exciting to see. And then the third part is in the core language model, right? And there we did a bunch of different things. The first exciting one, which is actually research from Google India, is something called MatFormer. MatFormer is an architecture that allows you to have elastic inference. So let's say that you have a model of 4 billion parameters in the device, but you don't want to use all of the 4 billion parameters. So you don't want it to consume so much GPU for certain use cases. So thanks to elastic inference, you can only enable one or two billion parameters, right? So you give more control and more flexibility to the developer, and that's really the philosophy of Gemma: giving control and flexibility to users to build applications in the way they want to do that.