{ "encoder": "answerdotai/ModernBERT-large", "head_layers": 2, "max_len": 768, "head_max_len": 512, "max_prefixes": 6, "act_costs": { "escalate": 0.5 }, "cost_wrong_act": 3.0, "amp_dtype": "bf16", "model_name": "rl-agent", "temperature": [ 1.9877519607543945, 1.0, 1.0 ], "training": { "updates": 7313, "epochs_completed": 1, "hours": 1.96, "world_size": 1, "fine_tuned_from_checkpoint": true, "laya_train": { "epochs": 4, "micro_batch": 8, "grad_accum": 8, "encoder_lr": 2.5e-05, "head_lr": 0.0001, "min_lr": 1e-06, "weight_decay": 0.01, "grad_clip": 1.0, "loss": "soft-ce", "rl_samples": 4, "sigma_start": 0.4, "sigma_end": 0.1, "w_sph": 0.75, "w_rps": 1.0, "shuffle_options": [], "option_layout": null, "freeze_encoder": false, "calib_max": 400, "calib_frac": 0.1, "calib_seed": 20260922, "seed": 0, "max_len": 768, "head_max_len": 512, "amp": null, "gradient_checkpointing": null, "log_every": 100, "label_smoothing": 0.0, "text_column": "text", "label_column": "label", "question_id": "label", "instructions": null, "eval_data": null, "target_error": 0.01, "min_abstain_n": 10 }, "laya_train_calibration": { "choice": { "items": 400, "temperature": 1.9877519607543945, "issues": [], "accuracy": 0.8575, "mean_confidence": 0.8994799126217312 }, "score": { "items": 0, "temperature": 1.0, "issues": [] }, "noul": { "items": 0, "temperature": 1.0, "issues": [] } }, "train_report": { "eval_source": "calibration_slice", "eval_mode": "in_sample_calibration", "is_held_out": false, "eval_items": 400, "note": "Metrics reflect in-sample calibration fit, not independent held-out evaluation. Provide --eval for held-out validation.", "before": { "items": 400, "loss": 23.8939, "accuracy": 0.3875, "mean_confidence": 0.9603, "ece": 0.5728, "brier": 1.1697, "brier_top1": 0.5598, "by_type": { "choice": { "items": 400, "loss": 23.8939, "accuracy": 0.3875, "mean_confidence": 0.9603, "ece": 0.5728, "brier": 1.1697, "brier_top1": 0.5598 } } }, "after": { "items": 400, "loss": 0.496, "accuracy": 0.8575, "mean_confidence": 0.8995, "ece": 0.0657, "brier": 0.2175, "brier_top1": 0.0981, "by_type": { "choice": { "items": 400, "loss": 0.496, "accuracy": 0.8575, "mean_confidence": 0.8995, "ece": 0.0657, "brier": 0.2175, "brier_top1": 0.0981 } } }, "comparison": { "delta_accuracy": 0.47, "delta_loss": -23.3979, "delta_ece": -0.5071, "delta_brier": -0.9522, "delta_brier_top1": -0.4617, "delta_mean_confidence": -0.0608 }, "calibration": { "choice": { "items": 400, "temperature": 1.9877519607543945, "issues": [], "accuracy": 0.8575, "mean_confidence": 0.8994799126217312 }, "score": { "items": 0, "temperature": 1.0, "issues": [] }, "noul": { "items": 0, "temperature": 1.0, "issues": [] } }, "abstention_thresholds": { "choice:11+": 1.0 }, "training": { "epochs": 4, "micro_batch": 8, "grad_accum": 8, "encoder_lr": 2.5e-05, "head_lr": 0.0001, "min_lr": 1e-06, "weight_decay": 0.01, "grad_clip": 1.0, "loss": "soft-ce", "rl_samples": 4, "sigma_start": 0.4, "sigma_end": 0.1, "w_sph": 0.75, "w_rps": 1.0, "shuffle_options": [], "option_layout": null, "freeze_encoder": false, "calib_max": 400, "calib_frac": 0.1, "calib_seed": 20260922, "seed": 0, "max_len": 768, "head_max_len": 512, "amp": null, "gradient_checkpointing": null, "log_every": 100, "label_smoothing": 0.0, "text_column": "text", "label_column": "label", "question_id": "label", "instructions": null, "eval_data": null, "target_error": 0.01, "min_abstain_n": 10 } }, "abstention_thresholds": { "choice:11+": 0.9806 }, "abstention_fit": { "rows": "dev", "n": 2000, "target_error": 0.01, "conservative": true, "replaces": { "choice:11+": 1.0 } } }, "fine_tuned": true }