Instructions to use rat-lab/mh-fresh-K2-jk with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rat-lab/mh-fresh-K2-jk with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
mh-fresh-K2-jk
LoRA adapters for the K=2, jackknife cell of the coverage x debiasing table, entropic risk tau = 10. Trained from scratch -- no warm start.
Provenance
Trained locally by Max Horwitz on the UW Hyak cluster (SLURM job 40455921, launched 2026-09-22). Training COMPLETE (4680 steps).
This set exists because the earlier mh-ec2-ttomd-* table was warm-started
from ipo-e-c10.0/checkpoint-936, which is itself step 936 of the K=8 vanilla
run -- so those K=2/K=4 cells were branches off the K=8 baseline rather than
independent arms. These runs start from the SFT base with a zero-initialised
LoRA adapter and 1000 warmup steps, so no checkpoint from any other run enters
them. Verified from each job's launch line: no --init_adapter, no --load_dir.
What this run is
| algorithm | online IPO (--alg oipo1), risk_egpo/tt_omd.py |
| coverage | K = 2 (--ypp_samples 2) |
| risk | entropic, tau = 10 |
| debiasing | two-timescale bias correction, leave-one-out jackknife estimator |
| TT step size | gamma = 0.1 |
| init | from scratch (SFT base, LoRA = 0), 1000 warmup steps |
| generation | 64 max new tokens |
| seed | 42 |
| base model | vectorzhou/gemma-2-2b-it-alpaca-cleaned-SFT |
| dataset | PKU-Alignment/PKU-SafeRLHF |
| checkpoints | 10 (468 ... 4680, every 468 steps) |
Files
checkpoint-<step>/ holds the LoRA adapter and tokenizer files (no DeepSpeed
resume state). training_dynamics.csv has this run's per-log-step metrics:
loss, grad_norm (L2, pre-clip), kl, rewards/accuracies, rewards/margins.
from peft import PeftModel
from transformers import AutoModelForCausalLM
m = AutoModelForCausalLM.from_pretrained("vectorzhou/gemma-2-2b-it-alpaca-cleaned-SFT")
m = PeftModel.from_pretrained(m, "rat-lab/mh-fresh-K2-jk", subfolder="checkpoint-4680")
- Downloads last month
- -
Model tree for rat-lab/mh-fresh-K2-jk
Base model
vectorzhou/gemma-2-2b-it-alpaca-cleaned-SFT