Views
No views yet
{"action_index": 0}action_index refers to the compact prompt-action list, not directly to a raw environment action. Runtime code maps that index back to the full legal action and the environment validates it. Invalid JSON, missing action_index, out-of-range indices, and illegal actions must be logged and replaced by FallbackSafeAgent.Qwen/Qwen3-4B-Instruct-2507HF_HOME=/workspace/.hf_home python -m training.train_sft_unsloth --dataset data/sft/risk_sft_stratified_50k.jsonl --model Qwen/Qwen3-4B-Instruct-2507 --out models/adapters/qwen3_4b_risk_sft --max-steps -1 --num-train-epochs 1 --limit-rows 0 --validation-split 0.02 --split-seed 3407 --eval-steps 1000 --logging-steps 50| Evaluation | Rows | Strict JSON | Valid Index | Teacher Match | Invalid |
|---|---|---|---|---|---|
| Base model fixed prompt set | 100 | 0.000 | 0.000 | 0.000 | 100 |
| Adapter fixed prompt set | 100 | 0.850 | 0.850 | 0.820 | 15 |
| Adapter held-out validation set | 1000 | 0.779 | 0.779 | 0.722 | 221 |
HF_HOME=/workspace/.hf_home python -m training.benchmark_policy --dataset data/sft/risk_sft_stratified_50k_val.jsonl --model models/adapters/qwen3_4b_risk_sft --out data/prefs/benchmark_heldout.json --limit 1000 --seed 3407