Text Classification
Laya
Safetensors
English
decision-model
traffic-signal-control
jevlight
sumo
system-one
smart-city
Instructions to use kennedy-kitoko/Traffic-AI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use kennedy-kitoko/Traffic-AI with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download train_report.json from kennedy-kitoko/Traffic-AI: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/kennedy-kitoko/Traffic-AI/resolve/main/train_report.json
- Command line
-
hf download hf://kennedy-kitoko/Traffic-AI/train_report.json
-
curl -L -o train_report.json https://huggingface.co/kennedy-kitoko/Traffic-AI/resolve/main/train_report.json
2.58 kB
| { | |
| "eval_source": "data/laya_traffic/v2_phase_specification_v1/validation.jsonl", | |
| "eval_mode": "held_out", | |
| "is_held_out": true, | |
| "eval_items": 400, | |
| "note": "Metrics reflect independent held-out evaluation.", | |
| "before": { | |
| "items": 400, | |
| "loss": 1.3888, | |
| "accuracy": 0.355, | |
| "mean_confidence": 0.2944, | |
| "ece": 0.0606, | |
| "brier": 0.4109, | |
| "brier_top1": 0.2326, | |
| "by_type": { | |
| "choice": { | |
| "items": 400, | |
| "loss": 1.3888, | |
| "accuracy": 0.355, | |
| "mean_confidence": 0.2944, | |
| "ece": 0.0606, | |
| "brier": 0.4109, | |
| "brier_top1": 0.2326 | |
| } | |
| } | |
| }, | |
| "after": { | |
| "items": 400, | |
| "loss": 0.6542, | |
| "accuracy": 0.98, | |
| "mean_confidence": 0.7481, | |
| "ece": 0.2332, | |
| "brier": 0.0004, | |
| "brier_top1": 0.1083, | |
| "by_type": { | |
| "choice": { | |
| "items": 400, | |
| "loss": 0.6542, | |
| "accuracy": 0.98, | |
| "mean_confidence": 0.7481, | |
| "ece": 0.2332, | |
| "brier": 0.0004, | |
| "brier_top1": 0.1083 | |
| } | |
| } | |
| }, | |
| "comparison": { | |
| "delta_accuracy": 0.625, | |
| "delta_loss": -0.7346, | |
| "delta_ece": 0.1726, | |
| "delta_brier": -0.4105, | |
| "delta_brier_top1": -0.1243, | |
| "delta_mean_confidence": 0.4537 | |
| }, | |
| "calibration": { | |
| "choice": { | |
| "items": 240, | |
| "temperature": 1.0349146127700806, | |
| "issues": [], | |
| "accuracy": 0.9791666666666666, | |
| "mean_confidence": 0.7380992388438022 | |
| }, | |
| "score": { | |
| "items": 0, | |
| "temperature": 1.0, | |
| "issues": [] | |
| }, | |
| "noul": { | |
| "items": 0, | |
| "temperature": 1.0, | |
| "issues": [] | |
| } | |
| }, | |
| "abstention_thresholds": { | |
| "choice:3-5": 0.2579 | |
| }, | |
| "training": { | |
| "epochs": 10, | |
| "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": "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": 3407, | |
| "max_len": null, | |
| "head_max_len": null, | |
| "amp": null, | |
| "gradient_checkpointing": null, | |
| "log_every": 10, | |
| "label_smoothing": 0.0, | |
| "text_column": "text", | |
| "label_column": "label", | |
| "question_id": "label", | |
| "instructions": null, | |
| "eval_data": "data/laya_traffic/v2_phase_specification_v1/validation.jsonl", | |
| "target_error": 0.1, | |
| "min_abstain_n": 10 | |
| } | |
| } |