Key Specifications

Vendorgoogle
Versiongemma-2b
Release Date2024-02-21
Context Window8192 tokens
Input Modalitiestext
Output Modalitiestext
LicenseGemma License
Documentationhttps://ai.google.dev/gemma/docs

Benchmark Performance

BenchmarkScoreUnitEvaluated AtNotesSource
MMLU48%2024-02-215-shotview
HUMANEVAL43.2pass@12024-02-21view
GSM8K27.8%2024-02-210-shot CoTview
MATH27.5%2024-02-210-shot CoTview
BBH53%2024-02-213-shot CoTview
GPQA18%2024-02-210-shotview
IFEVAL46.4%2024-02-21prompt_strictview
ARC77.7%2024-02-21challengeview
MUSR30.6%2024-02-210-shotview
WINOGRANDE72%2024-02-210-shotview

Pricing

TierPriceCurrency
Input$0.1 / MtokUSD
Output$0.1 / MtokUSD
Cache Read$0 / MtokUSD
Cache Write$0 / MtokUSD

Source: https://ai.google.dev/pricing · as of 2024-02-21

Compliance

  • Data Residency: US
  • SOC2: ✓
  • HIPAA: ✗
  • GDPR: ✓
  • ISO 27001: ✓

Gemma 2B

Model Overview

Google Gemma 2B 轻量开源模型, 8K 上下文, 2B 参数, 适合资源受限环境与边缘部署。

Core Specifications

VendorVersionRelease DateContext WindowInput ModalitiesOutput ModalitiesLicense
Googlegemma-2b2024-02-218KtexttextGemma License

Benchmark Performance

BenchmarkScoreUnitNotes
MMLU (Massive Multitask Language Understanding)48.0%5-shot
HumanEval43.2pass@1
GSM8K (Grade School Math 8K)27.8%0-shot CoT
MATH27.5%0-shot CoT
BBH (BIG-Bench Hard)53.0%3-shot CoT
GPQA18.0%0-shot
IFEval46.4%prompt_strict
ARC77.7%challenge
MUSR30.6%0-shot
WinoGrande72.0%0-shot

Pricing

InputOutputCache ReadCache Write

per million tokens

Strengths

  • Reliable general-purpose model.

Weaknesses

  • MMLU 48.0, weak knowledge reasoning.
  • HumanEval 43.2, coding weak.
  • Proprietary, not self-hostable.
  • Context window 8K is limited.

Use Cases

  • General chat and Q&A

References