Run this model with HF Jobs

Run LLMWildling/gemma-4-180b-a22b-coder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/LLMWildling/gemma-4-180b-a22b-coder. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs and Transformers to run batch inference with https://huggingface.co/LLMWildling/gemma-4-180b-a22b-coder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/LLMWildling/gemma-4-180b-a22b-coder. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/LLMWildling/gemma-4-180b-a22b-coder with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="LLMWildling/gemma-4-180b-a22b-coder")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("LLMWildling/gemma-4-180b-a22b-coder")
model = AutoModelForMultimodalLM.from_pretrained("LLMWildling/gemma-4-180b-a22b-coder", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

gemma-4-180b-a22b-coder

gemma-4-180b-a22b-coder is a Gemma 4 based coder model for software engineering, code editing, Q/A, tool use, and long-context assistant workflows.

model

  • Family: gemma-4
  • Variant: coder
  • Model type: sparse Mixture-of-Experts language model
  • Total logical text parameters: approximately 179.4B
  • Active logical text parameters per token: approximately 22.0B
  • Active experts per token: 108
  • Weight format: MXFP4 expert weights with BF16 shared weights
  • Context: up to 200000 tokens in the listed vLLM configuration

serving

CUDA_VISIBLE_DEVICES=0,1 vllm serve /path/to/gemma-4-180b-a22b-coder \
  --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}' \
  --generation-config vllm \
  --language-model-only \
  --skip-mm-profiling \
  --max-num-seqs 1 \
  --max-num-batched-tokens 8192

For clients that should not receive reasoning text, send "include_reasoning": false in chat-completion requests.

files

  • config.json
  • generation_config.json
  • tokenizer.json
  • tokenizer_config.json
  • chat_template.jinja
  • model.safetensors.index.json
  • MXFP4/BF16 safetensor shards

license

This model is released under the Gemma license.

Downloads last month
128
Safetensors
Model size
107B params
Tensor type
BF16
ยท
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support