Article complete

Google Challenges Meta’s Llama 2 with Lightweight Open Source LLM, Gemma

Gemma outperforms Llama 2 on several benchmarks, including MMLU, HellaSwag, and HumanEval.

Logo of Gemma, featuring a star-like design and the name "Gemma" in blue against a dark background.

Key takeaways

  • Google launches Gemma, a lightweight open-source LLM that outperforms Meta’s Llama 2 on key benchmarks.
  • Gemma is available in two sizes, 2B and 7B, with pre-trained and instruction-tuned options.
  • Access Gemma for free via Kaggle and Colab, with $300 credits for new Google Cloud users.
  • Utilize Google's Responsible Generative AI Toolkit to foster safe and innovative AI application development.
  • Gemma supports major frameworks, ensuring compatibility and easy integration with existing tools and platforms.

Takeaways drafted with AI from the article text.

Users can start working with Gemma today using free access in Kaggle and a free tier for Colab notebooks. Additionally, first-time Google Cloud users can avail themselves of $300 in credits. Researchers can also apply for Google Cloud credits of up to $500,000 to accelerate their projects.

Gemma outperforms Llama 2 on several benchmarks, including MMLU, HellaSwag, and HumanEval.

To support developer innovation and responsible use, Google is also providing a Responsible Generative AI Toolkit alongside the models. This toolkit includes essential tools for creating safer AI applications with Gemma, offering guidance and support for developers.

To facilitate widespread adoption, Gemma is compatible with major frameworks, including JAX, PyTorch, and TensorFlow through native Keras 3.0. The release includes ready-to-use Colab and Kaggle notebooks, integration with popular tools such as Hugging Face, MaxText, NVIDIA NeMo, and TensorRT-LLM. 

Gemma models can run on various platforms, from laptops and workstations to Google Cloud, with optimisation for industry-leading performance on NVIDIA GPUs and Google Cloud TPUs. 

This development comes after Google recently introduced Gemini 1.5 with a 1 million token context window — the largest ever seen in natural language processing models. In contrast, GPT-4 Turbo has a 128K context window, and Claude 2.1 has a 200K context window.

Published Updated

Spotted an error? Tell our editors. Read our editorial standards and corrections.

Selling to AI teams? Put your brand in front of the 5M+ people who read AIM every month. Plan a campaign

More in this story

Gemini · 5 stories
  1. You are here: Google Challenges Meta’s Llama 2 with Lightweight Open Source LLM, Gemma
  2. Google Introduces API Support for Gemini 1.5 Pro 
  3. Perplexity Releases Advanced Deep Research Upgrade, Open-Sources DRACO Benchmark
  4. Intrinsic Joins Google to Scale Physical AI for Manufacturing & Logistics
  5. OpenAI Poaches Transformer Pioneer Noam Shazeer From Google
About the author

Senior Technology Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.