opd-rethink-gemma3-4b-baseline
vanilla distillation checkpoint
2 min readupdated
This model is a student checkpoint at training step 200 from research into EOS (End of Sequence) token alignment. It was trained using on-policy distillation with google/gemma-3-4b-it as the teacher model and google/gemma-3-4b-pt as the base. The checkpoint serves as a baseline without stop-generation fixes, meaning it tends to generate long, repetitive texts. It is aimed at researchers studying distillation processes and completion token behavior in language models.
Key features
- Based on the google/gemma-3-4b-pt architecture with 4.97 billion parameters.
- Trained via on-policy distillation using the verl framework for 200 steps.
- Uses vanilla EOS mode without extra corrections (stops only on native IDs 1 and 106).
- The repository includes all 10 training checkpoints from step 20 to 200.
What you can do
- Research response length and looping issues in vanilla LLM distillation.
- Test generation using specific checkpoint subfolders (e.g., step_0100) via the transformers library.
- Compare this baseline's behavior with versions that fix the EOS semantic token class.
Example
Loading a specific checkpoint (step 100) using the transformers library:
from transformers import AutoModelForCausalLM
m = AutoModelForCausalLM.from_pretrained("kzhao5/opd-rethink-gemma3-4b-baseline-step200", subfolder="checkpoints/step_0100", dtype="bfloat16")Read more
DetailsMethod: on-policy distillation (verl, token-level student-teacher log-prob reward)
Limitations: high truncation rate (truncation rate 1.0 on tests like AMC23 and AIME) due to EOS issues
Format: merged safetensors (bf16) and tokenizer










Comments