Mindket

gemma-4-E4B

新上架第 1 版 · 更新于

概览

Google DeepMind 的 Gemma 4 系列中的 E4B 模型,一个能读文字、图片和音频并输出文字的开放模型,面向笔记本和手机运行而设计。

gemma-4-E4B 是一款工具包,属于开发类,由 Mindket 上架。可免费获取。当前为第 1 版,最近更新于 。在本页下载,是一个装着它全部文件的 zip 压缩包。这些文件不会自己运行。

速览

你需要
  • Python 和 pip
  • transformers 库
  • 约 16 GB BF16 权重的磁盘和内存,按记录的估算,4 位约 4 GB
用在
  • 装有 transformers 库的 Python,这是这个仓库列出的库
  • Windows、macOS 或 Linux,下载步骤需要 Python
  • 笔记本和手机级硬件,模型卡点名了小模型适用
先运行
pip install -U huggingface_hub
hf download google/gemma-4-E4B

平台

Windows操作系统
macOS操作系统
Linux操作系统

关于

它是什么

gemma-4-E4B 是 Google DeepMind 的 Gemma 4 开放模型之一。它接收文字、图片和音频作为输入,用文字回答。记录列出的参数量是含嵌入的 8B,模型卡把 4.5B 算作有效规模。

这个模型的上下文窗口是 128K 个词元,支持 140 多种语言。它面向文本生成、编程和推理。

适合谁

它适合想要一个小到能放进笔记本或边缘设备的开放多模态模型的开发者和研究者。这个系列还有更大的尺寸,最大到 31B,面向工作站。

行业谁在用怎么用例子
软件开发者加入一个能处理文字、图片和音频输入的本地模型回答一个关于照片的问题
移动和边缘应用开发者在笔记本或手机级设备上运行模型一个离线也能用的功能
研究机器学习研究者研究或微调开放模型与更大的 Gemma 4 尺寸做对比
智能体工具开发者使用函数调用和思考模式一个根据请求选择工具的助手

如果你想用托管的聊天机器人,又不打算运行模型,可以跳过它。

用在哪里

  • 装有 transformers 库的 Python,这是这个仓库列出的库
  • Windows、macOS 或 Linux,下载步骤需要 Python
  • 笔记本和手机级硬件,模型卡点名了小模型适用
用例谁用得到什么
聊天和推理开发者带可配置思考模式的文字回答
图片和音频问题应用开发者关于一张图片或一段录音的文字回答
编程帮助工程师文字形式的代码和解释

如何设置

先准备好下面这些东西。

  • Python 和 pip
  • transformers 库
  • 约 16 GB BF16 权重的磁盘和内存,按记录的估算,4 位约 4 GB
  1. 用 pip 安装 Hugging Face hub 包。
  2. 用 hf 命令下载仓库。
  3. 用 transformers 加载模型,运行细节见模型卡。
pip install -U huggingface_hub
hf download google/gemma-4-E4B

如何使用

模型加载好之后,你给它文字,也可以再加图片或音频,它会写回文字。模型卡称它支持 system 角色,让对话更稳定,也原生支持给智能体用的函数调用。

示例

你加载模型,附上一段简短的录音。你问 "What was said in this clip?"。模型卡列出这个尺寸支持音频输入,所以模型会读取声音并用文字回复。

新手与专家

先用一条简短的文字提示词,读读回复。跑通后再加图片。音频放最后,因为它需要多一点设置。

E4B 里的 E 表示有效参数。小模型给每个解码层的每个词元一个自己的小嵌入,这些表很大,但只用来查表。所以 4.5B 有效参数包含在总共 8B 里。注意力把 512 个词元的局部滑动窗口和全局层混合起来,最后一层总是全局的。

稠密 Gemma 4 模型的上下文长度
E2B128 K tokens
E4B128 K tokens
12B256 K tokens
31B256 K tokens
  1. 用 hf 下载模型
  2. 用 transformers 加载
  3. 发送文字、图片或音频
  4. 模型写回文字

注意事项

  • License: Apache 2.0
  • Cost to run: 来源没有提到费用,但你需要能放下约 16 GB BF16 权重的硬件
  • Data it reaches: 它把文件从 Hugging Face 下载到你的电脑上

README 和文件

README

gemma-4-E4B

Google DeepMind 的 Gemma 4 系列中的 E4B 模型,一个能读文字、图片和音频并输出文字的开放模型,面向笔记本和手机运行而设计。

由 google 在 Hugging Face 上制作。这些说明是 Mindket 根据它的模型页面和模型卡写的,模型自己的文件和许可证在 Hugging Face 上。

简介

它是什么:gemma-4-E4B 是 Google DeepMind 的 Gemma 4 开放模型之一。它接收文字、图片和音频作为输入,用文字回答。记录列出的参数量是含嵌入的 8B,模型卡把 4.5B 算作有效规模。

这个模型的上下文窗口是 128K 个词元,支持 140 多种语言。它面向文本生成、编程和推理。

适合谁:它适合想要一个小到能放进笔记本或边缘设备的开放多模态模型的开发者和研究者。这个系列还有更大的尺寸,最大到 31B,面向工作站。

行业 | 谁在用 | 怎么用 | 例子
软件 | 开发者 | 加入一个能处理文字、图片和音频输入的本地模型 | 回答一个关于照片的问题
移动和边缘 | 应用开发者 | 在笔记本或手机级设备上运行模型 | 一个离线也能用的功能
研究 | 机器学习研究者 | 研究或微调开放模型 | 与更大的 Gemma 4 尺寸做对比
智能体 | 工具开发者 | 使用函数调用和思考模式 | 一个根据请求选择工具的助手

如果你想用托管的聊天机器人,又不打算运行模型,可以跳过它。

用在哪里:

  • 装有 transformers 库的 Python,这是这个仓库列出的库
  • Windows、macOS 或 Linux,下载步骤需要 Python
  • 笔记本和手机级硬件,模型卡点名了小模型适用
用例 | 谁用 | 得到什么
聊天和推理 | 开发者 | 带可配置思考模式的文字回答
图片和音频问题 | 应用开发者 | 关于一张图片或一段录音的文字回答
编程帮助 | 工程师 | 文字形式的代码和解释

如何设置:先准备好下面这些东西。

  • Python 和 pip
  • transformers 库
  • 约 16 GB BF16 权重的磁盘和内存,按记录的估算,4 位约 4 GB
  1. 用 pip 安装 Hugging Face hub 包。
  2. 用 hf 命令下载仓库。
  3. 用 transformers 加载模型,运行细节见模型卡。
pip install -U huggingface_hub
hf download google/gemma-4-E4B

如何使用:模型加载好之后,你给它文字,也可以再加图片或音频,它会写回文字。模型卡称它支持 system 角色,让对话更稳定,也原生支持给智能体用的函数调用。

示例:你加载模型,附上一段简短的录音。你问 "What was said in this clip?"。模型卡列出这个尺寸支持音频输入,所以模型会读取声音并用文字回复。

新手与专家:先用一条简短的文字提示词,读读回复。跑通后再加图片。音频放最后,因为它需要多一点设置。

E4B 里的 E 表示有效参数。小模型给每个解码层的每个词元一个自己的小嵌入,这些表很大,但只用来查表。所以 4.5B 有效参数包含在总共 8B 里。注意力把 512 个词元的局部滑动窗口和全局层混合起来,最后一层总是全局的。

Title: 稠密 Gemma 4 模型的上下文长度
E2B: 128 K tokens
E4B: 128 K tokens
12B: 256 K tokens
31B: 256 K tokens
用 hf 下载模型
用 transformers 加载
发送文字、图片或音频
模型写回文字

注意事项:

  • License: Apache 2.0
  • Cost to run: 来源没有提到费用,但你需要能放下约 16 GB BF16 权重的硬件
  • Data it reaches: 它把文件从 Hugging Face 下载到你的电脑上

Hugging Face 上的数据(2026年11月13日)

  • 任务:any to any
  • 框架:transformers
  • 参数量:8B
  • Weights: about 16 GB in BF16; about 4 GB at 4-bit (estimate)
  • Formats: Safetensors
  • 最近 30 天下载:449,316
  • 点赞:508
  • 许可证:apache-2.0
  • Quantized versions: 37
  • Fine-tunes: 150
  • 标签:transformers, safetensors, gemma4, image-text-to-text, any-to-any

链接

  • 模型:https://huggingface.co/google/gemma-4-E4B
  • 文件:https://huggingface.co/google/gemma-4-E4B/tree/main

获取模型

用 Hugging Face 的命令行下载它的文件:

pip install -U huggingface_hub
hf download google/gemma-4-E4B

然后按它的模型卡使用它。这个工具包里没有会自己运行的东西。

文件
README.md  4 KB

1 个文件,共 4 KB,以 zip 压缩包下载。

更新内容

  • 第 1 版 · 2026-11-12

同类产品对比

同一分类里与本产品共有标签最多的已上架 Hugging Face 模型。

产品最近 30 天下载点赞参数量许可证最近更新
gemma-4-E4B 本页449,3165088Bapache-2.0
gemma-4-E4B-it共有 any-to-any · gemma4 · image-text-to-text4,298,3481,8508Bapache-2.0
gemma-4-E2B-it共有 any-to-any · gemma4 · image-text-to-text3,017,0591,1295.1Bapache-2.0
gemma-4-E2B共有 any-to-any · gemma4 · image-text-to-text109,3875595.1Bapache-2.0
gemma-4-12B-it-qat-GGUF共有 any-to-any · gemma4 · transformers196,87161711.9Bapache-2.0
gemma-4-12B-it共有 any-to-any · image-text-to-text · transformers1,738,9051,73512Bapache-2.0
数据为 Mindket 在 2026-11-12 读取的数值。

评价

还没有评分

写评价

还没有评价。

大家怎么说

Hacker News、Bluesky、X、Reddit、Facebook 和 YouTube 上提到这个项目的帖子和评论,来自每周一次的搜索和 Trendshift。它们不是 Mindket 写的,也未经核实,点开即可在原帖处阅读。

ericlbuehlerShow HN: Run Agent Skills with mistral.rs v0.8.10: /v1/skills support and moreHey all! I'm the maintainer of mistral.rs. I just landed support for OpenAI-compatible Agent Skills via a /v1/skills endpoint, and it works with local open models. Until now Skills have basically been locked to closed models, and with the ability to have private, local intelligence becoming…20 分 · 2 条回复ChaoticHumanMy only contribution to that "LLMs just secretly call external calculators!" debate is: 1st: external tool calls were never a secret but were always advertised as a feature for LLMs. 2nd: this screenshot is just a conversation with gemma-4-e4b, a locally running LLM, without external tool calls.4 赞nekitamoUsing Google's Gemma 4 E4B Local AI Model to Reverse Engineer a Simple Crackme1 分asuraHow fun would it be if this worked on SDR huggingface.co/google/Diari...2 赞 · 1 条回复gcrFirst response from the Project Suncatcher prototype satelliteA competing team at Google already exfiltrated the weights of the model running on the satellite and uploaded them to huggingface! https://huggingface.co/google/gemma-4-E4BSharon MachlisNew unofficial Google Gemma 4B LLM for better speech to text? “This is not an officially supported Google product.” “[D]esigned to post-process, correct, and optimize automatic speech recognition (ASR) and speaker diarization outputs.” huggingface.co/google/Diari...2 赞wrxdAccelerating Gemma 4: faster inference with multi-token prediction draftersI'm not sure I understand how this work https://huggingface.co/google/gemma-4-E4B-it-assistant has 78.8M parameters while the standard variant https://huggingface.co/google/gemma-4-E4B-it has 8B parameters. Is gemma-4-E4B-it-assistant a model I can use stand-alone or a model I need to use in…Victor KlaueGoogle veröffentlicht DiarizationLM-Gemma-4-E4B-v1 unter Apache-2.0. Das 4B-Modell korrigiert ASR- und Speaker-Diarization-Ausgaben mit locality-preserving Supervision. GGUF-Quantisierungen (Q4_K_M) ermöglichen lokale Inferenz via llama.cpp.1 赞adrian_bAccelerating Gemma 4: faster inference with multi-token prediction draftersI do not know what you mean by sparse models. All 4 gemma-4-*-it models, regardless whether they are dense models or MoE models, have associated small models for MTP, whose names are obtained by adding the "-assistant" suffix. https://huggingface.co/google/gemma-4-E2B-it-assistant…ChaoticHumanDamn, even plain old Gemma 4 E4B without additional tools, MCP servers, etc. meaning even one of the smaller Gemma 4 models without extras, gets that one correct by now (something even I admittedly didn't expect).1 赞AbuAssarAccelerating Gemma 4: faster inference with multi-token prediction draftersthese are the updated models: google/gemma-4-31B-it-assistant google/gemma-4-26B-A4B-it-assistant google/gemma-4-E4B-it-assistant google/gemma-4-E2B-it-assistant@jbet.bsky.socialI entered a prompt into my local google/gemma-4-e4b LLM: Two movies seem to capture the current Zeitgeist: "Don't Look Up (2021)" and "Idiocracy (2006)". What are movies are relevant to this political-economic changes occurring.1 条回复

搜索日期

Mindket 的更多商品

查看 Mindket 的全部商品

DeepSeek-R1-GGUF

unsloth · 工具包

671B 参数 DeepSeek-R1 推理模型的 GGUF 版本,带 1.58-bit 和 2-bit 动态量化,可在内存足够的本机上用 llama.cpp 运行。

新上架

Axion-1.0-35B-GGUF

prithivMLmods · 工具包

提供 Axion-1.0-35B 的 GGUF 文件,这是一个有约 30 亿激活参数的 35B 混合专家模型,面向科学推理、信息查找和工具使用。适合配合 llama.cpp 在本地使用。

新上架

HEART

Phips · 工具包

用一个超分辨率网络放大低分辨率图像,可以在一块消费级 GPU 上训练,并导出为 ONNX。适合训练或运行图像放大模型的人。

新上架

开发类的相似商品

查看开发类的全部商品

Bonsai-27B-GGUF

lmstudio-community · 工具包

面向 LM Studio 的 27B Bonsai 模型 GGUF 转换版,含 3.80 GB 的 Q1_0 语言文件和 0.93 GB 的 BF16 视觉投影器。已测试文本、视觉和并行工具调用。

新上架

以每权重 2.9 位的 EXL3 量化运行 DeepSeek-V4.1-Flash-1017,这是一份 196 GiB 的副本,适合在自己硬件上部署大模型的人。困惑度与原模型相差不大。

新上架

MusicGen Small

facebook · 工具包

根据文字描述或音频提示生成短音乐片段,是 facebook MusicGen 的 small 检查点。适合想在自己电脑上试用文字生成音乐的开发者和音乐爱好者。

新上架