Gemma-4-E2B-it · 1k-token budget · grpo · immunecod
RL-finetuned google/gemma-4-E2B-it trained for math reasoning under a 1,024-token generation budget. Released as part of an anonymous ICLR 2027 submission.
Run ID (petname): immunecod · checkpoint step 280
Seed ablation. One of three training seeds (42, 43, 44) of the same recipe; this run uses seed 44. This repo is the best checkpoint of this run by validation accuracy (step 280); the final step-300 checkpoint is a separate repo. Validation accuracy is measured every 10 steps on 480 held-out DeepScaleR problems.
Other checkpoints from this seed ablation (gemma-4-E2B-it, 1k budget):
- gemma4-e2b-1k-grpo-multiseed-seed42-idealskunk-s250
- gemma4-e2b-1k-grpo-multiseed-seed42-idealskunk-s300
- gemma4-e2b-1k-grpo-multiseed-seed43-daringquagga-s300
- gemma4-e2b-1k-grpo-multiseed-seed44-immunecod-s300
Training
| Base model | google/gemma-4-E2B-it |
| Algorithm | GRPO (leave-one-out baseline, group reward normalization, token-level loss). Responses that hit the budget are truncated and scored as-is. |
Generation budget (max_new_tokens) | 1,024 |
| Data | DeepScaleR (math), 3 epochs max |
| Batch | 32 prompts × 8 rollouts per step |
| Optimizer | Adam, cosine LR schedule, peak LR 3e-6, 10 warmup steps |
| Steps | 280 |
| Reward | binary answer correctness (\boxed{} extraction) |
| Weights dtype | F32 |
Training prompt (user turn, rendered with the base model's chat template):
Think step-by-step to solve the following problem. Output your answer inside of \\boxed{} tags.:
{problem}
Let's think step-by-step
Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "budget-internalization-iclr2027/gemma4-e2b-1k-grpo-multiseed-seed44-immunecod-s280"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
With vLLM: vllm serve budget-internalization-iclr2027/gemma4-e2b-1k-grpo-multiseed-seed44-immunecod-s280
License
Inherits the license of the base model (google/gemma-4-E2B-it).