Text Classification
jev-style
Safetensors
Transformers
qwen3_5_text
text-generation
decision-model
system-one
calibration
classification
long-context
multilingual
qwen3.5
on-device
llm-routing
guardrails
Instructions to use chaoliangUNSW/Jev-Style-0.8B-Decision-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- jev-style
How to use chaoliangUNSW/Jev-Style-0.8B-Decision-v3 with jev-style:
pip install "jev-style[torch]"
from jev_style import JevStyle, noul, choice js = JevStyle.from_pretrained("chaoliangUNSW/Jev-Style-0.8B-Decision-v3") out = js.decide("I was charged twice for one order.", { "billing": noul("This message is about billing."), "team": choice("Which team should handle it?", ["billing", "shipping", "tech"]), }) print(out["answers"]["team"]["choice"]) - Transformers
How to use chaoliangUNSW/Jev-Style-0.8B-Decision-v3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="chaoliangUNSW/Jev-Style-0.8B-Decision-v3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("chaoliangUNSW/Jev-Style-0.8B-Decision-v3") model = AutoModelForCausalLM.from_pretrained("chaoliangUNSW/Jev-Style-0.8B-Decision-v3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 3,765 Bytes
656ca59 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | {
"chart": "calibration",
"metric": "49-suite macro NLL / Brier / ECE, as deployed (lower is better)",
"protocol_label": "v3: mixed (49 suites) / Laya: mixed (49 suites). Laya numbers: official checkpoints re-run by us on identical rows, shipped temperatures.",
"rows": [
{
"panel": "NLL",
"metric": "49-suite macro NLL, as deployed",
"n_rows": 17416,
"v3": 0.4928839178581892,
"best_laya": 2.212565130608199,
"best_laya_checkpoint": "multilingual",
"all_laya_checkpoints": {
"english": 9.669232280968933,
"typed": 7.344998151307391,
"multilingual": 2.212565130608199
},
"ratio_best_laya_over_v3": 4.48901871301224,
"diff_v3_minus_best": -1.7196812127500098,
"diff_ci95": [
-1.7632826815264786,
-1.6751892907984907
],
"diff_ci_method": "case-cluster bootstrap within suites, 2000 resamples (scoreboard n_boot)",
"source_path": "runs/macjev/report_r2/scoreboard/scoreboard.json",
"fields": [
"metrics['t4.macro_nll'].ours_value",
"metrics['t4.macro_nll'].laya_best"
],
"entries": [
"t4.macro_nll.v3",
"t4.macro_nll.laya_best"
],
"claim": "t4.macro_nll_vs_best_laya"
},
{
"panel": "Brier score",
"metric": "49-suite macro Brier, as deployed",
"n_rows": 17416,
"v3": 0.23930092306086748,
"best_laya": 0.7120664110846202,
"best_laya_checkpoint": "multilingual",
"all_laya_checkpoints": {
"english": 1.0124090901595464,
"typed": 0.9474950671291875,
"multilingual": 0.7120664110846202
},
"ratio_best_laya_over_v3": 2.975610799894417,
"diff_v3_minus_best": -0.47276548802375273,
"diff_ci95": [
-0.4843787573639837,
-0.46074418926883626
],
"diff_ci_method": "case-cluster bootstrap within suites, 2000 resamples (scoreboard n_boot)",
"source_path": "runs/macjev/report_r2/scoreboard/scoreboard.json",
"fields": [
"metrics['t4.macro_brier'].ours_value",
"metrics['t4.macro_brier'].laya_best"
],
"entries": [
"t4.macro_brier.v3",
"t4.macro_brier.laya_best"
],
"claim": "t4.macro_brier_vs_best_laya"
},
{
"panel": "ECE",
"metric": "49-suite macro ECE, as deployed",
"n_rows": 17416,
"v3": 0.05416919804670487,
"best_laya": 0.2994167384382702,
"best_laya_checkpoint": "multilingual",
"all_laya_checkpoints": {
"english": 0.4647782759946152,
"typed": 0.40828649732151606,
"multilingual": 0.2994167384382702
},
"ratio_best_laya_over_v3": 5.527435318132494,
"diff_v3_minus_best": -0.24524754039156535,
"diff_ci95": [
-0.24448168599481393,
-0.22893121774401398
],
"diff_ci_method": "case-cluster bootstrap within suites, 2000 resamples (scoreboard n_boot)",
"source_path": "runs/macjev/report_r2/scoreboard/scoreboard.json",
"fields": [
"metrics['t4.macro_ece_as_deployed'].ours_value",
"metrics['t4.macro_ece_as_deployed'].laya_best"
],
"entries": [
"t4.macro_ece_as_deployed.v3",
"t4.macro_ece_as_deployed.laya_best"
],
"claim": "t4.macro_ece_as_deployed_vs_best_laya"
}
],
"footnote": "Macro average over 49 suites, 17,416 identical rows for both models. Protocol: mixed for both v3 and Laya (in-domain on some suites, held-out on others). As deployed: v3 with its supplied deployment temperatures; Laya numbers: official checkpoints re-run by us on identical rows with their shipped temperatures. Best Laya = best of the three official checkpoints (English, typed-decisions, multilingual) per metric; multilingual is best on all three. Paired case-cluster bootstrap 95% CIs (2,000 resamples) of every v3 minus Laya difference exclude zero. Plotted values: figures/calibration.data.json.",
"not_plotted": "optional typed-decisions reliability diagram omitted (see agent report)"
} |