Downloads · 30 days
8
17% of all-time downloads
vaghawan/gemma-4-31b-it-merged-16bit-checkpoint-700
gemma-4-31b-it-merged-16bit-checkpoint-700 is a image-text-to-text model from vaghawan. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as gemma.
Merged 16-bit (bfloat16) checkpoint of unsloth/gemma-4-31B-it with LoRA adapters from training step 700.
Downloads · 30 days
8
17% of all-time downloads
All-time downloads
48
Public
Parameters
31.3B
62.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors62.5 GB · 100%
From the Hugging Face model README
Merged 16-bit (bfloat16) checkpoint of unsloth/gemma-4-31B-it
with LoRA adapters from training step 700.
LoRA is baked into the base weights (merge_and_unload). This is a full
Gemma4ForConditionalGeneration checkpoint and can be served with vLLM
without --enable-lora.
Source adapters: /workspace/llm-finetune/checkpoint/checkpoint-700.
| Metric | Value |
|---|---|
eval_all_loss | 0.813062 |
eval_anchor_loss | 0.803829 |
eval_english_chat_loss | 1.101922 |
eval_hausa_chat_loss | 1.161968 |
eval_tool_loss | 0.207180 |
Requires a vLLM build that includes Gemma 4 (vLLM ≥ 0.19). 31B bf16 needs about 62 GB of VRAM (one 80 GB GPU, or tensor parallel across two).
vllm serve vaghawan/gemma-4-31b-it-merged-16bit-checkpoint-700 \
--dtype bfloat16 \
--max-model-len 8192 \
--gpu-memory-utilization 0.90 \
--enable-auto-tool-choice \
--tool-call-parser gemma4 \
--reasoning-parser gemma4
Multi-GPU:
vllm serve vaghawan/gemma-4-31b-it-merged-16bit-checkpoint-700 \
--dtype bfloat16 \
--tensor-parallel-size 2 \
--max-model-len 16384 \
--gpu-memory-utilization 0.90 \
--enable-auto-tool-choice \
--tool-call-parser gemma4 \
--reasoning-parser gemma4
from transformers import AutoProcessor, Gemma4ForConditionalGeneration
model = Gemma4ForConditionalGeneration.from_pretrained(
"vaghawan/gemma-4-31b-it-merged-16bit-checkpoint-700",
torch_dtype="bfloat16",
device_map="auto",
)
processor = AutoProcessor.from_pretrained("vaghawan/gemma-4-31b-it-merged-16bit-checkpoint-700")