Gemma 2B vs granite-3b-code-base-2k
Gemma 2B is made by Google DeepMind and granite-3b-code-base-2k by IBM. See the full spec comparison below.
| Spec | Gemma 2B | granite-3b-code-base-2k |
|---|---|---|
| Provider | Google DeepMind | IBM |
| Released | Feb 21, 2024 | Apr 23, 2024 (better) |
| Type | Chat LLM | Chat LLM |
| Parameters | 2.5B | 3.5B |
| Context window | — | — |
| Max output | — | — |
| Input price / 1M | — | — |
| Output price / 1M | — | — |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | gemma | apache-2.0 |
| Reasoning mode | No | No |
| Tool calling | No | No |
| API providers | — | — |
| Epoch Capabilities Index | 75.7 | — |
| MMLU | 42.3% | — |
| GSM8K | 17.7% | — |
| HellaSwag | 71.4% | — |
About Gemma 2B
Gemma 2B is an open-weight chat llm from Google DeepMind, released Feb 21, 2024. It has 2.5B parameters. It scores 75.7 on the Epoch Capabilities Index. Full Gemma 2B specs →
About granite-3b-code-base-2k
granite-3b-code-base-2k is an open-weight chat llm from IBM, released Apr 23, 2024. It has 3.5B parameters. Full granite-3b-code-base-2k specs →
Compare other models
FAQ
Which is better, Gemma 2B or granite-3b-code-base-2k?
Gemma 2B is made by Google DeepMind and granite-3b-code-base-2k by IBM. See the full spec comparison below.
Are Gemma 2B and granite-3b-code-base-2k open source?
Gemma 2B is open-weight; granite-3b-code-base-2k is open-weight.