Sapling Logo

Gemma vs. Gemma 2

LLM Comparison


Gemma

Gemma

Overview

Gemma is a family of lightweight open models from Google built using the same processes used for the the larger Gemini models.


Gemma was first released as a family of open models from Google -- 2B and 7B-parameter models, as of February 2024 -- intended for developers and compute-constrained devices. Despite their size, Gemma models compare favorably to other models of the same size such as the Mistral 7B model.


Initial release: 2024-02-21

Gemma 2

Gemma 2

Overview

Gemma 2 succeeds the Gemma family of lightweight open models from Google built using the same processes used for the the larger Gemini models.


Gemma 2 is the successor to the Gemma family of open models, including larer models (9B and 27B parameters) with outsized performance across benchmarks. Using a combination of techniques such as training on twice as much data, knowledge distillation, and architectural improvements such as sliding window attention, logit soft-capping, and model merging, Gemma 2 outperforms models of similar size (such as Llama 3), with the 27B parameter model being competitive with models more than twice its size (such as Llama 70B).


Initial release: 2024-06-27

Looking for an LLM API/SDK that works out of the box? No prompts or ad hoc guardrails.

Sapling API
More Comparisons

Gemma

Gemma 2

Products & Features
Instruct Models
Coding Capability
Customization
Finetuning
Open Source
License Custom Custom
Model Sizes 2B, 7B 2.6B, 9B, 27B