1. On-device model
Initialise DeBERTa-v3-XSmall Zero-Shot above to run the template crafting & calibration labs.
2. Hypothesis Template Crafting Lab
Score the identical passage and labels across four editable
hypothesis_template patterns using
MoritzLaurer/deberta-v3-xsmall-zeroshot-v1.1-all-33. Watch how framing
alters entailment margin and can flip the top label.
| Template | Top-1 label | Top-1 score | Entailment logit | Runner-up | Latency |
|---|---|---|---|---|---|
| Run the 4-template comparison above. | |||||
3. Multi-Label vs Single-Label Calibration Lab
In single-label mode, Transformers.js takes the raw
entailment logit for every label and runs softmax() across
labels โ forcing probabilities to sum to 100% even on out-of-scope text. In
multi-label mode, each label is evaluated independently via 2-class
softmax([not_entailment, entailment])[1].
| Label | Single-label softmax | Multi-label P(entail) | ฮ (Multi โ Single) | 2-class logit margin |
|---|---|---|---|---|
| Run Calibration Comparison above. | ||||