Llama 3 8B — DPO + reward calibration (RC) + LSC
Built with Meta Llama 3.
This repository contains the final step-477 research checkpoint from neu-l3-ultra-lscx-rc-s42-20261115-a1, trained on the frozen UltraFeedback preference snapshot.
RC calibrates the chosen/rejected gradient contributions using its output-head gradient statistics. LSC supplies the scalar beta while the partner mechanism remains active. The frozen controller input is the raw DPO margin (lsc_signal: dpo_margin).
Method settings
| Setting | Recorded value |
|---|---|
| Initial beta | 0.01 |
| db_calibration_enable | True |
| db_calibration_eps | 1e-12 |
| db_ema_beta | 0.98 |
| lsc_partner | rc_dpo |
| lsc_signal | dpo_margin |
| beta_policy_mode | closed_loop_lsc |
| tau_start | 0.45 |
| z_star | 0.4 |
| eta | 0.1 |
| beta_policy_total_updates | 3816 |
Training data and recipe
| Setting | Recorded value |
|---|---|
| Policy initialization and reference | W-61/llama-3-8b-base-sft-ultrachat-8xh200 |
| SFT revision | 3e76fb18e464425d6e89fdcc025cd6b701c90e1a |
| Preference dataset | HuggingFaceH4/ultrafeedback_binarized |
| Dataset revision | 3949bf5f8c17c394422ccfab0c31ea9c20bdeb85 |
| Dataset split | train_prefs |
| Available training pairs | 61135 |
| Hardware | 4 × NVIDIA H200; Northeastern Explorer |
| Training seed | 42 |
| Optimizer | adamw_torch |
| Learning rate | 5e-07 |
| Schedule / warmup ratio | cosine / 0.1 |
| Effective pair batch | 128 = 4 per GPU × 4 GPUs × 8 accumulation |
| Optimizer steps completed | 477 |
| Max sequence / prompt tokens | 2048 / 1800 |
| Gradient clipping / weight decay | 1.0 / 0.0 |
| Compute precision / attention | bfloat16 / sdpa |
| Serialized model config dtype | float32 |
| Architecture / layers | LlamaForCausalLM / 32 |
| Evaluation during training | Disabled |
The run uses the pinned SFT checkpoint as both initialization and frozen reference. The training set contains chosen/rejected preference pairs; no held-out evaluation or benchmark score is claimed by the training metrics below.
Recorded training diagnostics
| Setting | Recorded value |
|---|---|
| Trainer-reported training loss | 4.7782583571579975 |
| Trainer runtime (seconds) | 7879.9211 |
| Recorded epoch | 0.9989528795811519 |
| Training steps / second | 0.061 |
These are the exact final train_results.json values. Training-loss logging/accumulation conventions are part of this implementation; this aggregate is not an AlpacaEval score or a quality guarantee. No generation benchmark results are included in this card.
Source and artifact provenance
| Setting | Recorded value |
|---|---|
| Run name | neu-l3-ultra-lscx-rc-s42-20261115-a1 |
| Training code commit | 80e41b2d3aa35db2baba1d88ac710007e9db9d80 |
| Training packet SHA-256 | 8ddf2acb3fa042c231004dcfd4fc56095e3f4d0117baf6eb7fcc76cfe34a21e0 |
| Training config SHA-256 | 9178eb18f3e80943939a86b4f94101b22224d1242058faa100dbcfd95f474b6e |
| Checkpoint policy | Model-only; save every 100 steps; retain limit 2; retained checkpoints [400, 477] |
The NEU execution uses GPU initialization and full-state export, single-process preprocessing/data loading, and offline W&B. Model-only snapshots omit optimizer/scheduler/RNG state and are not exact optimizer-resume checkpoints. The serialized final model tensors are uploaded without quantization. These actual runtime and storage choices are disclosed; exact parity with a separate B200 environment is not claimed.
Training logs are archived under training_logs/. The archive includes the run summary, frozen training configuration, training packet, margin/optimizer trajectories and method-specific diagnostics. The original autogenerated-card archive path is training_logs/run/generated-model-card-original.md; this completed card replaces its generic placeholders. Upload receipts, rather than this card, establish archive completion.
Intended use and limitations
This is an experimental preference-optimization checkpoint for research comparison. A single training seed and successful training checks do not establish downstream quality, robustness, or suitability for deployment. Use the tokenizer/config supplied with the archived model and identify an immutable HF revision when evaluating it.
Framework versions
- Transformers 4.51.0
- Pytorch 2.3.1+cu121
- Datasets 2.21.0
- Tokenizers 0.21.4