1. On-device model
Initialise DeBERTa-v3-Large Zero-Shot v2.0 above to run the template crafting & calibration labs.
2. Hypothesis Template Framing Lab
Score the identical passage and labels across four editable
hypothesis_template patterns using
onnx-community/deberta-v3-large-zeroshot-v2.0-ONNX. Watch how framing
alters entailment odds 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 runs softmax() across
all candidate entailment logits β forcing scores to sum to 100% even when no
label fits. In multi-label mode, each label uses independent 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. | ||||