Gemma-4-E2B-it · 1k-token budget · grpo · luckymarmot
RL-finetuned google/gemma-4-E2B-it trained for math reasoning under a 1,024-token generation budget. Released with the paper Budget Internalization: Fixed-Budget RLVR Trades Test-Time Scaling for In-Budget Accuracy.
Run ID (petname): luckymarmot · checkpoint step 300
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 | 300 |
| 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
Citation
TODO
License
Inherits the license of the base model (google/gemma-4-E2B-it).