CoolFace
Modelpublic

budget-internalization-iclr2027/gemma4-e2b-4k-grpo-merrydingo-s300

sourceHugging Faceapache-2.0updated 4d agoView on Hugging Face
0likes9downloads
Model Card

Gemma-4-E2B-it · 4k-token budget · grpo · merrydingo

RL-finetuned google/gemma-4-E2B-it trained for math reasoning under a 4,096-token generation budget. Released as part of an anonymous ICLR 2027 submission.

Run ID (petname): `merrydingo` · checkpoint step 300

Training

Base modelgoogle/gemma-4-E2B-it
AlgorithmGRPO (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)4,096
DataDeepScaleR (math), 3 epochs max
Batch32 prompts × 8 rollouts per step
OptimizerAdam, cosine LR schedule, peak LR 3e-6, 10 warmup steps
Steps300
Rewardbinary answer correctness (\boxed{} extraction)
Weights dtypeF32

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

python
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "budget-internalization-iclr2027/gemma4-e2b-4k-grpo-merrydingo-s300"
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-4k-grpo-merrydingo-s300

License

Inherits the license of the base model (google/gemma-4-E2B-it).