Content
summary Summary

Google has introduced Gemma, a new generation of open AI models that builds on the experience of the Gemini models and aims for responsible AI development.

Ad

Google DeepMind and other Google teams created Gemma to provide developers and researchers around the world with accessible, capable models, the company said. The model comes in two sizes: Gemma-2B and Gemma-7B, each with pre-trained and instruction-based variants.

The Gemma models have been trained on up to 6 trillion mostly English-language tokens from web pages, math problems, and code, using similar architectures, data, and training methods as the Gemini family of models. Unlike Gemini, Gemma is not multimodal and has not been trained for peak performance on multilingual tasks.

Image: Google DeepMind

According to Google's technical report, Gemma outperforms similarly sized open models such as LLaMA 2 with 7 and 13 billion parameters and Mistral-7B in 11 out of 18 text-based tasks. The largest lead is seen in math and coding, although there is a lot of room for improvement in general.

Ad
Ad
Image: Google DeepMind

Google's progress is also notable in that Gemma-2B, a much smaller model, outperformed Mistral-7B with more than three times as many parameters in safety tests. The Gemma-7B model also outperformed in experiments evaluating the accuracy of following prompts. However, Gemma cannot currently compete with commercial alternatives or larger open-source models such as LLaMA-2-70B or Mixtral-8x7B.

Image: Google DeepMind

Google says it is aware that open-source LLMs can be exploited for harmful purposes. These include the creation of counterfeit images, AI-generated misinformation, and illegal and disturbing content.

Making the weights freely available, rather than hiding the model behind an API, poses an additional risk. But Google says it has taken several steps to ensure the safety and reliability of Gemma. The pre-trained models have been stripped of personal information and other sensitive data.

In addition, they were adapted to behave responsibly through extensive fine-tuning and human feedback (RLHF). Google then evaluated the models through manual red-teaming, automated adversarial testing, and performance assessments for dangerous activities.

To help external developers build safe AI applications, Google also introduced the new Responsible Generative AI Toolkit. This toolkit includes safety classification methods, debugging tools, and best practices based on Google's experience with large-scale language models.

Recommendation
Image: Google

Gemma is optimized for multiple AI hardware platforms, including NVIDIA GPUs and Google Cloud TPUs. Nvidia will integrate the Gemma models into its data chatbot app "Chat with RTX" and offers test versions of the Gemma 2B and Gemma 7B models in its Playground.

Compatibility with key frameworks such as JAX, PyTorch, and TensorFlow makes Gemma a versatile model in the AI development portfolio. Google also provides access to Gemma through free credits for research and development on platforms such as Kaggle and Google Cloud. New cloud users receive a $300 credit, and researchers can also apply for funding of up to $500,000 in credits.

Gemma appears to be a very strategic move by Google Deepmind

Gemma could be an attempt by Google Deepmind to get its foot in the open-source door. It's still difficult to predict how the model market will evolve and whether proprietary models will remain as dominant as OpenAI's GPT models currently are.

So far, Meta has been a pioneer in Big Tech open-source language models with its LLaMA family. With its open-source policy, Meta wants to dominate the developer scene and get them used to its AI ecosystem to later develop higher quality AI products more efficiently.

Ad
Ad
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.

Gemma could be a strategic move to enter the open-source market, just in case Meta CEO Mark Zuckerberg is right. Google has played a similar game before - and won: Android is the leading mobile operating system.

Support our independent, free-access reporting. Any contribution helps and secures our future. Support now:
Bank transfer
Summary
  • Google introduces Gemma, a new generation of open AI models based on the experience gained from the Gemini models and geared towards responsible AI development. The models are available in two sizes: Gemma-2B and Gemma-7B.
  • Gemma outperforms similarly sized open models such as LLaMA 2 and Mistral-7B in 11 out of 18 text-based tasks, with the largest lead observed in the areas of math and coding.
  • To ensure Gemma's safety and reliability, Google has filtered personal information and sensitive data from the models and introduced the Responsible Generative AI Toolkit, which includes security classification methods, debugging tools, and best practices for developers.
Jonathan works as a freelance tech journalist for THE DECODER, focusing on AI tools and how GenAI can be used in everyday work.
Join our community
Join the DECODER community on Discord, Reddit or Twitter - we can't wait to meet you.