Gemma 4 E4B IT

参数

4B

上下文长度

131K

模态

Text

架构

Dense

KV 缓存速率

84 KB/tok

许可证

Apache 2.0

发布日期

2 Mar 2026

训练数据截止日期

-

API 价格 (每 1M)

仅支持自建托管

硬件与系统要求

精度

Native

上下文

工作负载显存: 5.02 GB

INT4 · 8K context

基础权重: 1.86 GB

KV 缓存: 0.66 GB

运行时与计算图: 2.50 GB

最小所需硬件

1x NVIDIA L4 24GB

5.0 / 21.6 GB usable

1x RTX 3060 12GB

5.0 / 10.8 GB usable

Apple M4 24GB

5.0 / 18.0 GB usable

确定特定工作负载的硬件需求:

在显存计算器中打开

运行时要求

权重格式

FP16

CUDA

>= 11.8

PyTorch

>= 2.1

Transformers

>= 5.5.0.dev0

微架构精度注意力算子

Blackwell, Hopper

原生 FP16

FlashAttention-3

Ada Lovelace, Ampere

原生 FP16

FlashAttention-2

架构图

Input TokensToken EmbeddingPosition: RoPEHidden: 2.6k · Context: 131K · Vocab: 262.1kx 42 layersRMSNormPre-AttentionGrouped-Query Attention8Q / 2KV heads · SW: 512Head dim: 256+RMSNormPre-FFNFeed-Forward NetworkGated GELUIntermediate: 10.2k+Final RMSNormOutput Logits

评估基准

没有可用的 Gemma 4 E4B IT 评估基准。

排名

排名

-

编程排名

-

关于 Gemma 4 E4B IT

Gemma 4 E4B IT is Google's instruction-tuned multimodal model with an efficient edge-optimized 4B parameter footprint. It supports complex reasoning, code understanding, and vision-language comprehension.

Specifications

注意力

注意力结构

Grouped-Query Attention

注意力头

8

键值头

2

注意力头维度

256

位置嵌入

ROPE

RoPE Theta

1,000,000

滑动窗口注意力

Yes

滑动窗口大小

512

滑动窗口比例

83.3%

归一化

RMS Normalization

激活函数

Gated GELU

维度

基准精度

FP16

隐藏维度大小

2,560

层数

42

FFN 中间层大小(稠密层)

10,240

分词器

词汇量大小

262,144

关于 Gemma 4

Gemma 4 is Google DeepMind's most advanced open model family, built from Gemini 3 research and technology. Featuring both Dense and Mixture-of-Experts (MoE) architectures, these multimodal models handle text, images, and audio (on smaller variants), with context windows up to 256K tokens. Designed for frontier-level performance across reasoning, coding, and agentic workflows, Gemma 4 delivers unprecedented intelligence-per-parameter from mobile devices to enterprise servers. Released under Apache 2.0 license.


其他 Gemma 4 模型