Download rl_agent_config.json from elijahross/laya-sam: direct link, hf CLI and curl.
- Browser
- Download file 5.85 kB
-
https://huggingface.co/elijahross/laya-sam/resolve/main/rl_agent_config.json
- Command line
-
hf download hf://elijahross/laya-sam/rl_agent_config.json
-
curl -L -o rl_agent_config.json https://huggingface.co/elijahross/laya-sam/resolve/main/rl_agent_config.json
5.85 kB
| { | |
| "encoder": "answerdotai/ModernBERT-large", | |
| "head_layers": 2, | |
| "max_len": 1024, | |
| "head_max_len": 256, | |
| "max_prefixes": 6, | |
| "act_costs": { | |
| "escalate": 0.5 | |
| }, | |
| "cost_wrong_act": 3.0, | |
| "amp_dtype": "bf16", | |
| "model_name": "laya-typed-decisions", | |
| "temperature": [ | |
| 1.128664493560791, | |
| 1.0, | |
| 1.1944787502288818 | |
| ], | |
| "training": { | |
| "updates": 7313, | |
| "epochs_completed": 1, | |
| "hours": 1.96, | |
| "world_size": 1, | |
| "fine_tuned_from_checkpoint": true, | |
| "laya_train": { | |
| "epochs": 2, | |
| "micro_batch": 8, | |
| "grad_accum": 4, | |
| "encoder_lr": 2.5e-05, | |
| "head_lr": 0.0001, | |
| "min_lr": 1e-06, | |
| "weight_decay": 0.01, | |
| "grad_clip": 1.0, | |
| "loss": "rlcd", | |
| "rl_samples": 4, | |
| "sigma_start": 0.4, | |
| "sigma_end": 0.1, | |
| "w_sph": 0.75, | |
| "w_rps": 1.0, | |
| "shuffle_options": [ | |
| "choice" | |
| ], | |
| "option_layout": null, | |
| "freeze_encoder": false, | |
| "calib_max": 400, | |
| "calib_frac": 0.1, | |
| "calib_seed": 20260922, | |
| "seed": 0, | |
| "max_len": null, | |
| "head_max_len": null, | |
| "amp": null, | |
| "gradient_checkpointing": null, | |
| "log_every": 100, | |
| "label_smoothing": 0.05, | |
| "text_column": "text", | |
| "label_column": "label", | |
| "question_id": "label", | |
| "instructions": null, | |
| "eval_data": null, | |
| "target_error": 0.1, | |
| "min_abstain_n": 10 | |
| }, | |
| "laya_train_calibration": { | |
| "choice": { | |
| "items": 138, | |
| "temperature": 1.128664493560791, | |
| "issues": [], | |
| "accuracy": 0.9782608695652174, | |
| "mean_confidence": 0.9341198336432255 | |
| }, | |
| "score": { | |
| "items": 0, | |
| "temperature": 1.0, | |
| "issues": [] | |
| }, | |
| "noul": { | |
| "items": 262, | |
| "temperature": 1.1944787502288818, | |
| "issues": [], | |
| "accuracy": 0.9809160305343512, | |
| "mean_confidence": 0.9576678015444002 | |
| } | |
| }, | |
| "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": 0.3867, | |
| "accuracy": 0.9125, | |
| "mean_confidence": 0.9287, | |
| "ece": 0.0295, | |
| "brier": 0.1426, | |
| "brier_top1": 0.0775, | |
| "by_type": { | |
| "choice": { | |
| "items": 138, | |
| "loss": 0.3404, | |
| "accuracy": 0.9565, | |
| "mean_confidence": 0.9087, | |
| "ece": 0.0594, | |
| "brier": 0.0669, | |
| "brier_top1": 0.0384 | |
| }, | |
| "noul": { | |
| "items": 262, | |
| "loss": 0.4111, | |
| "accuracy": 0.8893, | |
| "mean_confidence": 0.9392, | |
| "ece": 0.0578, | |
| "brier": 0.1824, | |
| "brier_top1": 0.0982 | |
| } | |
| } | |
| }, | |
| "after": { | |
| "items": 400, | |
| "loss": 0.2169, | |
| "accuracy": 0.98, | |
| "mean_confidence": 0.9495, | |
| "ece": 0.0375, | |
| "brier": 0.0377, | |
| "brier_top1": 0.0224, | |
| "by_type": { | |
| "choice": { | |
| "items": 138, | |
| "loss": 0.299, | |
| "accuracy": 0.9783, | |
| "mean_confidence": 0.9341, | |
| "ece": 0.0542, | |
| "brier": 0.0466, | |
| "brier_top1": 0.0291 | |
| }, | |
| "noul": { | |
| "items": 262, | |
| "loss": 0.1737, | |
| "accuracy": 0.9809, | |
| "mean_confidence": 0.9577, | |
| "ece": 0.0286, | |
| "brier": 0.033, | |
| "brier_top1": 0.0188 | |
| } | |
| } | |
| }, | |
| "comparison": { | |
| "delta_accuracy": 0.0675, | |
| "delta_loss": -0.1698, | |
| "delta_ece": 0.008, | |
| "delta_brier": -0.1049, | |
| "delta_brier_top1": -0.0551, | |
| "delta_mean_confidence": 0.0208 | |
| }, | |
| "calibration": { | |
| "choice": { | |
| "items": 138, | |
| "temperature": 1.128664493560791, | |
| "issues": [], | |
| "accuracy": 0.9782608695652174, | |
| "mean_confidence": 0.9341198336432255 | |
| }, | |
| "score": { | |
| "items": 0, | |
| "temperature": 1.0, | |
| "issues": [] | |
| }, | |
| "noul": { | |
| "items": 262, | |
| "temperature": 1.1944787502288818, | |
| "issues": [], | |
| "accuracy": 0.9809160305343512, | |
| "mean_confidence": 0.9576678015444002 | |
| } | |
| }, | |
| "abstention_thresholds": { | |
| "choice:6-10": 0.9245, | |
| "noul:2": 0.7763, | |
| "choice:3-5": 0.2842 | |
| }, | |
| "training": { | |
| "epochs": 2, | |
| "micro_batch": 8, | |
| "grad_accum": 4, | |
| "encoder_lr": 2.5e-05, | |
| "head_lr": 0.0001, | |
| "min_lr": 1e-06, | |
| "weight_decay": 0.01, | |
| "grad_clip": 1.0, | |
| "loss": "rlcd", | |
| "rl_samples": 4, | |
| "sigma_start": 0.4, | |
| "sigma_end": 0.1, | |
| "w_sph": 0.75, | |
| "w_rps": 1.0, | |
| "shuffle_options": [ | |
| "choice" | |
| ], | |
| "option_layout": null, | |
| "freeze_encoder": false, | |
| "calib_max": 400, | |
| "calib_frac": 0.1, | |
| "calib_seed": 20260922, | |
| "seed": 0, | |
| "max_len": null, | |
| "head_max_len": null, | |
| "amp": null, | |
| "gradient_checkpointing": null, | |
| "log_every": 100, | |
| "label_smoothing": 0.05, | |
| "text_column": "text", | |
| "label_column": "label", | |
| "question_id": "label", | |
| "instructions": null, | |
| "eval_data": null, | |
| "target_error": 0.1, | |
| "min_abstain_n": 10 | |
| } | |
| }, | |
| "abstention_thresholds": { | |
| "choice:6-10": 0.9245, | |
| "noul:2": 0.7763, | |
| "choice:3-5": 0.2842 | |
| } | |
| }, | |
| "gradient_checkpointing": true, | |
| "max_tokens_per_batch": 4096, | |
| "fine_tuned": true | |
| } |