Downloads · 30 days
19
46% of all-time downloads
iromu/Gemma3-1B-tools-NVFP4
Gemma3-1B-tools-NVFP4 is a machine learning model from iromu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tensorrt_llm. The card lists the license as gemma.
The Gemma 3 1B tool-calling model (LoRA fine-tuned for tool calling and agent-style interactions) quantized to NVFP4 — FP4 e2m1 weights with FP8 e4m3 block scales (group 16), the Blackwell-native format.
Downloads · 30 days
19
46% of all-time downloads
All-time downloads
41
Public
Parameters
651M
1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors997 MB · 97%
How the weights are stored.
U8349M · 54%
From the Hugging Face model README
The Gemma 3 1B tool-calling model (LoRA fine-tuned for tool calling and
agent-style interactions) quantized to NVFP4 — FP4 e2m1 weights with
FP8 e4m3 block scales (group 16), the Blackwell-native format.
This model was fine-tuned from:
google/gemma-3-1b-it
Quantized from the merged BF16 checkpoint
(iromu/Gemma3-1B-tools) with NVIDIA ModelOpt:
NVFP4_DEFAULT_CFG, max scalingsft_tools
train split of
r0b0tlab/qwen3.8-max-glm5.2-kimi-k3-distillationTraining was performed using NVIDIA NeMo AutoModel with LoRA/PEFT.
32320.05*.proj (all *_proj linear layers)40965e-5 (cosine decay, 15 warmup steps, min 1e-6)0.0164 (micro batch 2 x 32 accumulation)336 (4 epochs)bf160.579 → 0.4715 (final epoch)Training used the sft_tools split of the
r0b0tlab/qwen3.8-max-glm5.2-kimi-k3-distillation dataset.
This model was trained with a custom chat template (bundled as
chat_template.jinja). It renders the tool schemas into a developer
turn and emits tool calls as:
<tool_call>
{"name": <function-name>, "arguments": <args-json-object>}
</tool_call>
Serving stacks must render prompts with this template (e.g. via the
tokenizer's apply_chat_template) for tool calling to work.
It is not intended to be a general replacement for larger Gemma models.
Serve the model with TensorRT-LLM:
trtllm-serve serve iromu/Gemma3-1B-tools-NVFP4 --port 8000
<!-- VALIDATION:BEGIN (auto-generated, do not edit) -->
Tool-calling validation on the sft_tools validation split (greedy decoding, 384 max new tokens). Throughput is single-stream greedy decode, not serving throughput.
Pretrained base (google/gemma-3-1b-it): 2.0% exact-args match (1/50). Fine-tuned (BF16): 66.0% exact-args match (33/50) (+64pp vs base).
| Model | Quant | n | Tool call emitted | Names match | Exact args match | Δ exact vs BASE | tok/s |
|---|---|---|---|---|---|---|---|
| Gemma3-1B-tools | BASE (google/gemma-3-1b-it) | 50 | 6/50 (12.0%) | 1/50 (2.0%) | 1/50 (2.0%) | — | 68.5 |
| Gemma3-1B-tools | BF16 | 50 | 50/50 (100.0%) | 41/50 (82.0%) | 33/50 (66.0%) | +64pp | 47.1 |
| Gemma3-1B-tools | NVFP4 | 50 | 34/50 (68.0%) | 2/50 (4.0%) | 2/50 (4.0%) | +2pp | 169.0 |