Downloads · 30 days
53
5% of all-time downloads
LLMWildling/gemma-4-125b-a12b
gemma-4-125b-a12b is a text generation model from LLMWildling. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
Gemma-4-125B-A12B is an expanded sparse Mixture-of-Experts language model based on google/gemma-4-26B-A4B-it. This release focuses on agentic coding, repository understanding, multi-turn tool use, explicit reasoning,…
Downloads · 30 days
53
5% of all-time downloads
All-time downloads
975
Public
Parameters
74.2B
77.2 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors77.2 GB · 100%
How the weights are stored.
U871.1B · 96%
From the Hugging Face model README
Gemma-4-125B-A12B is an expanded sparse Mixture-of-Experts language model based
on google/gemma-4-26B-A4B-it. This release focuses on agentic coding,
repository understanding, multi-turn tool use, explicit reasoning, and
long-context software tasks.
The model is released in MXFP4 format for the expert weights, with shared and non-expert weights kept in BF16.
google/gemma-4-26B-A4B-it688 total experts50125BA12BThis checkpoint expands the Gemma 4 expert pool while preserving sparse inference. Each token activates a selected subset of experts rather than the full parameter set.
68850 experts per token7.27%11.4B12.2BThis model was created on a two-GPU workstation. The following command is the tested two-GPU serving configuration:
CUDA_VISIBLE_DEVICES=0,1 vllm serve /path/to/gemma-4-125b-a12b \
--served-model-name vllm/doobee \
--host 0.0.0.0 \
--port 23333 \
--dtype bfloat16 \
--tensor-parallel-size 2 \
--enable-expert-parallel \
--max-model-len 200000 \
--gpu-memory-utilization 0.96 \
--trust-remote-code \
--reasoning-parser gemma4 \
--tool-call-parser gemma4 \
--enable-auto-tool-choice \
--default-chat-template-kwargs '{"enable_thinking": true}' \
--language-model-only \
--skip-mm-profiling \
--max-num-seqs 1 \
--max-num-batched-tokens 8192 \
--enable-log-requests
Use a vLLM build with Gemma 4 MXFP4 MoE support. Long-context serving is memory-intensive; the command above is configured for a 200k token context on two high-memory GPUs.
The included chat template is intended to be used with thinking enabled. Tool calling should be exercised through native OpenAI-compatible tool-call paths rather than raw text parsing.
Recommended evaluation settings:
temperature=0.0 for deterministic smoke tests.temperature=0.2 to 0.7 for normal agentic evaluation.Thanks to NVIDIA for providing a broad range of pretraining and post-training resources that helped make this work possible.