widebluesky/wbs-decision-demo

Demo release v1

This is a trained tiny demo model for testing the training, publication, download and inference workflow. Its tiny BERT backbone is initialized randomly and trained for two epochs on synthetic fixtures from advai-notebooks. Its outputs and metrics do not establish domain quality; this repository is a placeholder for future domain-trained releases.

Model and training

{
  "base": "random tiny BERT",
  "hidden_size": 64,
  "head": "independent option scorer",
  "pooling": "mean",
  "encoding": "pair",
  "decoder": "typed",
  "temperature": [
    0.49462966431923044,
    54.59815003313503,
    54.59815003313503
  ],
  "temperature_by_options": {},
  "loss": "supervised CE + ordinal score loss",
  "encoder_lr": 0.0001,
  "head_lr": 0.0003,
  "epochs_completed": 2,
  "seed": 42,
  "optimizer": "adamw",
  "device": "cpu",
  "precision": "fp32",
  "parameter_count": 62465
}

This release uses the validation-selected epoch-2 checkpoint with temperature calibration fitted only on the separate calibration split.

Inference

# In a checkout of advai-notebooks:
python -m pip install -e '.[decision]'
from advai_notebooks.decision.model import DecisionModel

model = DecisionModel.load("widebluesky/wbs-decision-demo", revision="main", device="cpu")
result = model.system_one("The service is down and I will cancel.", task="triage")
print(result)

triage contains department (choice), urgency (score) and churn_risk (noul). Task definitions and calibration parameters are included. Plain Transformers AutoModel does not reconstruct this project's decision architecture.

Pin a commit SHA in revision for reproducible inference.

Synthetic held-out test metrics

These results describe the published weights on synthetic examples only.

{
  "n": 12,
  "accuracy": 0.3333333333333333,
  "nll": 0.9632161831938105,
  "brier": 0.6109643744562393,
  "ece": 0.10845711330572765,
  "normalized_score_mae": 0.3750126250088215
}

Only inference weights, tokenizer, model configuration and required runtime metadata are included. Raw training records, optimizer state, checkpoints for resuming training and local machine paths are not part of this publication.

Training and evaluation dataset

Dataset: widebluesky/wbs-decision-demo. Verified dataset revision: ccdf91daf6b2810dbf63eda37e69dd2ab3af8f6c (demo-v1).

This is the synthetic source dataset used for this trained demo release. Its record fingerprint matches the saved training-run provenance; the published dataset was reloaded and checked record-by-record before associating it with this model.

The triage configuration contains 12 train, 4 validation, 10 calibration and 4 test messages. Each message has choice, score and noul labels. Calibration records are used only for temperature fitting. Question and option definitions are preserved in source/tasks.json.

from datasets import load_dataset

data = load_dataset(
    "widebluesky/wbs-decision-demo", "triage",
    revision="ccdf91daf6b2810dbf63eda37e69dd2ab3af8f6c", token=True,
)

Access uses the existing Hugging Face login; both model and dataset repositories are private. Original project-native data files are available under source/ in the dataset repository. Canonical dataset fingerprint: 2ed63814602e43b30c66678574f4808d06b3fd01e829eab4c06f039d16be4c11.

Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
62.5k params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train widebluesky/wbs-decision-demo