Downloads · 30 days
11
100% of all-time downloads
soyrsoyr/jev-playground-rlcd
jev-playground-rlcd is a text classification model from soyrsoyr. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
A calibrated decision classifier trained with a proper scoring rule on synthetic typed questions, a local, open reimplementation of the "System One" decision-model contract documented for Jev-class models. Part of jev…
Downloads · 30 days
11
100% of all-time downloads
All-time downloads
11
Public
Repo size
5.5 GB
Likes
0
Public
Click a slice to open those files.
.safetensors5.5 GB · 99%
From the Hugging Face model README
A calibrated decision classifier trained with a proper scoring rule on synthetic typed questions, a local, open reimplementation of the "System One" decision-model contract documented for Jev-class models. Part of jev-playground.
Given a text state and typed questions, Noul (yes/no), Choice (closed set), Score (ordered levels), it returns calibrated probability distributions over request-defined label sets. The full distribution is the artifact; confidence is derived from it, never a learned head.
In-domain (14 training domains, held-out validation data): vs the same base model, stock:
| Metric | noul | choice | score |
|---|---|---|---|
| accuracy | 0.731 → 0.952 | 0.510 → 0.977 | 0.898 → 0.992 |
Aggregate val ECE 0.0090 over 64K pairs (16-domain v2 run on an RTX 3090); loss stayed above the reference entropy floor the entire run (no label overfitting).
Held-out domains (never seen): transfer scaling is real but weak, and uneven:
| Split | noul | choice | score |
|---|---|---|---|
| In-domain val (14 seen) | 0.952 acc / 0.071 L1 | 0.977 acc / 0.091 L1 | 0.992 acc / 0.077 L1 |
| Held-out invoices (v1, 7 domains) | 0.704 acc | 0.328 acc | 0.406 acc |
| Held-out invoices (v2, 14 domains) | 0.607 acc | 0.464 acc | 0.326 acc |
| Held-out legal (v2, 14 domains) | 0.960 acc | 0.637 acc | 0.362 acc |
Doubling the training domains improved cross-domain choice accuracy (0.328 → 0.464) but the effect is sublinear with large per-domain variance. Noul (closest to the base NLI prior) transfers best; score transfers worst.
This model is calibrated and accurate on its training domains and unreliable outside them. Cross-domain generalization is the open problem: within-domain diversity (paraphrase explosions, co-annotation, varied cardinality) does not transfer across the domain boundary, the encoder fine-tune overwrites the text prior with domain-specific behavior. The architectural fix (zero-shot readout over request-defined label tokens) is tracked in the repo. This scope statement ships with the model on purpose: a lab publishing known weaknesses is more credible than one hiding them.
The checkpoint is a standard NLI sequence classifier (entailment head). The easiest way to serve it is behind the jev-playground contract:
pip install -e ".[server,deberta]" # from the jev-playground repo
hf download soyrsoyr/jev-playground-rlcd --include "deberta-large-7domain/*" --local-dir checkpoints
JEV_PLAYGROUND_BACKEND=deberta JEV_PLAYGROUND_DEBERTA_MODEL=checkpoints/deberta-large-7domain jev-playground-serve --port 8000
Training your own: see the repo, the data engine (training/data.py) emits reference distributions that are exact by construction, and the trainer optimizes a proper scoring rule (log-loss / Brier) against them.
--loss brier).deberta-large-v2-16domain/ dir holds this run; deberta-large-7domain/ the 7-domain run; distilroberta/ an 82M CPU run.MIT