Zero-Shot Classification
OpenDecision
Safetensors
English
decision
text-classification
intent-classification
routing
multi-label
deberta-v3
Eval Results (legacy)
Instructions to use Tokz-labs/OpenDecision-Large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- OpenDecision
How to use Tokz-labs/OpenDecision-Large with OpenDecision:
# pip install tokz-opendecision from opendecision import OpenDecision, Choice, Bool, MultiLabel model = OpenDecision.from_pretrained("Tokz-labs/OpenDecision-Large") out = model.decide( "I was charged twice for my May invoice and the app keeps logging me out.", { "queue": Choice(["billing", "technical", "account", "sales"]), "tags": MultiLabel(["double_charge", "login_issue", "refund_request", "outage"]), "urgent": Bool(), }, ) print(out["queue"].best, out["tags"].selected, out["urgent"].policy) - Notebooks
- Google Colab
- Kaggle
Commit ·
37ced30
0
Parent(s):
OpenDecision-Large 0.1.0
Browse files- .gitattributes +35 -0
- README.md +127 -0
- backbone_config.json +31 -0
- config.json +12 -0
- model.safetensors +3 -0
- tokenizer/added_tokens.json +5 -0
- tokenizer/special_tokens_map.json +31 -0
- tokenizer/spm.model +3 -0
- tokenizer/tokenizer.json +0 -0
- tokenizer/tokenizer_config.json +79 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: opendecision
|
| 6 |
+
pipeline_tag: zero-shot-classification
|
| 7 |
+
base_model: microsoft/deberta-v3-large
|
| 8 |
+
tags:
|
| 9 |
+
- decision
|
| 10 |
+
- text-classification
|
| 11 |
+
- intent-classification
|
| 12 |
+
- routing
|
| 13 |
+
- zero-shot-classification
|
| 14 |
+
- multi-label
|
| 15 |
+
- deberta-v3
|
| 16 |
+
datasets:
|
| 17 |
+
- fastino/fast-decisions
|
| 18 |
+
- nyu-mll/multi_nli
|
| 19 |
+
- alisawuffles/WANLI
|
| 20 |
+
- stanfordnlp/snli
|
| 21 |
+
- fancyzhx/dbpedia_14
|
| 22 |
+
- mteb/banking77
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# OpenDecision-Large
|
| 26 |
+
|
| 27 |
+
📄 Technical report: [*OpenDecision: Fast Schema-Conditioned Decisions with Packed Candidate Encoding*](https://github.com/tokz-labs/OpenDecision/releases/latest/download/OpenDecision.pdf) (PDF; arXiv version coming soon) · [Code](https://github.com/tokz-labs/OpenDecision)
|
| 28 |
+
|
| 29 |
+
OpenDecision-Large is a 433.9M-parameter encoder that makes **decisions over
|
| 30 |
+
options you define at call time**: intent, routing, triage, sentiment, document type,
|
| 31 |
+
yes/no gates and multi-label tags — several questions about the same text in one call. It
|
| 32 |
+
does not generate text; it returns a probability for every option.
|
| 33 |
+
|
| 34 |
+
This is the accuracy-first model (cross-encoder: one encoder pass per option). For the
|
| 35 |
+
lowest cost per decision use [OpenDecision-Large-Packed](https://huggingface.co/Tokz-labs/OpenDecision-Large-Packed).
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
pip install "opendecision @ git+https://github.com/tokz-labs/OpenDecision"
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from opendecision import OpenDecision, Choice, Bool, MultiLabel
|
| 45 |
+
|
| 46 |
+
model = OpenDecision.from_pretrained("Tokz-labs/OpenDecision-Large")
|
| 47 |
+
out = model.decide(
|
| 48 |
+
"I was charged twice for my May invoice and the app keeps logging me out.",
|
| 49 |
+
{
|
| 50 |
+
"queue": Choice(["billing", "technical", "account", "sales"]),
|
| 51 |
+
"tags": MultiLabel(["double_charge", "login_issue", "refund_request", "outage"]),
|
| 52 |
+
"urgent": Bool(),
|
| 53 |
+
},
|
| 54 |
+
)
|
| 55 |
+
print(out["queue"].best, out["tags"].selected, out["urgent"].policy)
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## Benchmarks
|
| 59 |
+
|
| 60 |
+
Classification suite, complete test sets, macro-F1. Every system is an open model run through its own
|
| 61 |
+
package on identical inputs, label names and questions (GLiNER2.5 with its best interface per dataset):
|
| 62 |
+
|
| 63 |
+
| Model | AG News | CLINC150 | IMDb | Rotten Tomatoes | XNLI | Average |
|
| 64 |
+
|---|---|---|---|---|---|---|
|
| 65 |
+
| **OpenDecision-Large** | 87.37 | 76.38 | 94.84 | 92.03 | 88.93* | 87.91 |
|
| 66 |
+
| OpenDecision-Large-Packed | 86.70 | 75.95 | 94.59 | 89.96 | 88.97* | 87.23 |
|
| 67 |
+
| SemIf (Qwen3.5-4B, 4B) | 87.28 | 78.22 | 95.27 | 88.46 | 82.36 | 86.32 |
|
| 68 |
+
| JevK5 v0.3 (4B) | 85.45 | 79.86 | 95.06 | 87.60 | 83.40 | 86.27 |
|
| 69 |
+
| Laya (421M) | 92.42 | 47.57 | 92.16 | 87.99 | 87.22 | 81.47 |
|
| 70 |
+
| GLiFormer large-v1 (576M) | 82.88 | 59.49 | 94.19 | 84.06 | 82.03 | 80.53 |
|
| 71 |
+
| GLiNER2.5-Decide (340M) | 71.37 | 66.19 | 90.02 | 85.83 | 47.65 | 72.21 |
|
| 72 |
+
|
| 73 |
+
\* SNLI, MultiNLI and WANLI are in the training data: XNLI is not zero-shot for this model. Without XNLI
|
| 74 |
+
it still has the highest average (87.66 vs 87.31 for SemIf). AG News,
|
| 75 |
+
CLINC150, IMDb and Rotten Tomatoes contribute no training text, but guided our choice of training data.
|
| 76 |
+
On one NVIDIA L4 it needs 77.4 GPU-seconds per 1,000 of these decisions, against
|
| 77 |
+
267.4 for JevK5 and 275.0 for SemIf.
|
| 78 |
+
|
| 79 |
+
Label sets that no training data targeted (macro-F1; GoEmotions: exact match). Here the 4B models and
|
| 80 |
+
Laya generalize better:
|
| 81 |
+
|
| 82 |
+
| Model | TREC | Emotion | Subjectivity | Average of 3 | GoEmotions |
|
| 83 |
+
|---|---|---|---|---|---|
|
| 84 |
+
| JevK5 v0.3 (4B) | 88.00 | 51.66 | 76.54 | 72.07 | 3.85 |
|
| 85 |
+
| SemIf (Qwen3.5-4B, 4B) | 83.36 | 47.99 | 61.53 | 64.29 | 0.87 |
|
| 86 |
+
| Laya (421M) | 83.00 | 48.54 | 54.79 | 62.11 | 10.26 |
|
| 87 |
+
| **OpenDecision-Large** | 65.13 | 49.15 | 56.71 | 57.00 | 10.83 |
|
| 88 |
+
| OpenDecision-Large-Packed | 62.95 | 48.30 | 55.68 | 55.64 | 13.30 |
|
| 89 |
+
| GLiNER2.5-Decide (340M) | 59.09 | 53.33 | 55.93 | 56.12 | 30.85 |
|
| 90 |
+
| GLiFormer large-v1 (576M) | 57.97 | 41.71 | 50.50 | 50.06 | 34.51 |
|
| 91 |
+
|
| 92 |
+
The final training stage adds 125,142 examples of 15,942 classification tasks invented
|
| 93 |
+
by an LLM, with these task families excluded; it raised the three-task average from
|
| 94 |
+
45.97 to 57.00. On GoEmotions the model selects too many labels;
|
| 95 |
+
a tuned threshold on the policy works better than the default outcome threshold. For a new kind of
|
| 96 |
+
decision, fine-tune on a few hundred labeled examples (`python -m opendecision.cli.train`).
|
| 97 |
+
|
| 98 |
+
## Technical details
|
| 99 |
+
|
| 100 |
+
- Backbone: DeBERTa-v3-large; two linear heads on each option's [CLS] vector — a policy
|
| 101 |
+
score (softmax over the option set) and a candidate-local outcome logit (sigmoid).
|
| 102 |
+
- Input: one `[CLS] question + text [SEP] option [SEP]` sequence per option, up to 512
|
| 103 |
+
tokens; options truncated to 32 tokens.
|
| 104 |
+
- Policy probabilities are overconfident; dividing policy logits by a temperature of about 2.8 fixes most of it (technical report, §3.4).
|
| 105 |
+
- Throughput: 77.4 GPU-seconds per 1,000 decisions on the classification suite, one NVIDIA L4 in bf16.
|
| 106 |
+
- Training: two stages from DeBERTa-v3-large on LLM-generated decisions and LLM-invented
|
| 107 |
+
classification tasks (OpenAI models), the Fast Decisions public development split, MultiNLI,
|
| 108 |
+
WANLI and samples of DBpedia-14, BANKING77, SNLI, WikiText-103 and 20 Newsgroups (Mitchell 1997,
|
| 109 |
+
CC BY 4.0). Every source allows commercial use under its license; see the technical report.
|
| 110 |
+
|
| 111 |
+
## Scope and limitations
|
| 112 |
+
|
| 113 |
+
English only. Not a chat, reasoning or question-answering model. Inputs beyond 512 tokens
|
| 114 |
+
are truncated. The benchmarks above were also used to select training mixtures. Most
|
| 115 |
+
training text was generated or labeled by OpenAI models.
|
| 116 |
+
|
| 117 |
+
## Citation
|
| 118 |
+
|
| 119 |
+
```bibtex
|
| 120 |
+
@misc{alwarawreh2026opendecision,
|
| 121 |
+
title = {OpenDecision: Fast Schema-Conditioned Decisions with Packed Candidate Encoding},
|
| 122 |
+
author = {Alwarawreh, Abdallah},
|
| 123 |
+
year = {2026},
|
| 124 |
+
note = {Tokz Labs technical report},
|
| 125 |
+
url = {https://github.com/tokz-labs/OpenDecision/releases/latest/download/OpenDecision.pdf}
|
| 126 |
+
}
|
| 127 |
+
```
|
backbone_config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attention_probs_dropout_prob": 0.1,
|
| 3 |
+
"hidden_act": "gelu",
|
| 4 |
+
"hidden_dropout_prob": 0.1,
|
| 5 |
+
"hidden_size": 1024,
|
| 6 |
+
"initializer_range": 0.02,
|
| 7 |
+
"intermediate_size": 4096,
|
| 8 |
+
"layer_norm_eps": 1e-07,
|
| 9 |
+
"legacy": true,
|
| 10 |
+
"max_position_embeddings": 512,
|
| 11 |
+
"max_relative_positions": -1,
|
| 12 |
+
"model_type": "deberta-v2",
|
| 13 |
+
"norm_rel_ebd": "layer_norm",
|
| 14 |
+
"num_attention_heads": 16,
|
| 15 |
+
"num_hidden_layers": 24,
|
| 16 |
+
"pad_token_id": 0,
|
| 17 |
+
"pooler_dropout": 0,
|
| 18 |
+
"pooler_hidden_act": "gelu",
|
| 19 |
+
"pooler_hidden_size": 1024,
|
| 20 |
+
"pos_att_type": [
|
| 21 |
+
"p2c",
|
| 22 |
+
"c2p"
|
| 23 |
+
],
|
| 24 |
+
"position_biased_input": false,
|
| 25 |
+
"position_buckets": 256,
|
| 26 |
+
"relative_attention": true,
|
| 27 |
+
"share_att_key": true,
|
| 28 |
+
"transformers_version": "4.57.6",
|
| 29 |
+
"type_vocab_size": 0,
|
| 30 |
+
"vocab_size": 128003
|
| 31 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "cross_encoder",
|
| 3 |
+
"backbone": "microsoft/deberta-v3-large",
|
| 4 |
+
"max_state_tokens": 512,
|
| 5 |
+
"max_candidate_tokens": 48,
|
| 6 |
+
"max_header_tokens": 20,
|
| 7 |
+
"cross_candidate_tokens": 32,
|
| 8 |
+
"row_chunk_size": 128,
|
| 9 |
+
"pack_size": 16,
|
| 10 |
+
"pack_candidate_tokens": 3072,
|
| 11 |
+
"pack_cell_budget": 6000000
|
| 12 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54d65dd6524a45a58ded8beca688cf8fda4bf35fe86a0f9f765bc5a1ea9561ad
|
| 3 |
+
size 1735709104
|
tokenizer/added_tokens.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"[CAND]": 128002,
|
| 3 |
+
"[DEC]": 128001,
|
| 4 |
+
"[MASK]": 128000
|
| 5 |
+
}
|
tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
{
|
| 4 |
+
"content": "[DEC]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"content": "[CAND]",
|
| 12 |
+
"lstrip": false,
|
| 13 |
+
"normalized": false,
|
| 14 |
+
"rstrip": false,
|
| 15 |
+
"single_word": false
|
| 16 |
+
}
|
| 17 |
+
],
|
| 18 |
+
"bos_token": "[CLS]",
|
| 19 |
+
"cls_token": "[CLS]",
|
| 20 |
+
"eos_token": "[SEP]",
|
| 21 |
+
"mask_token": "[MASK]",
|
| 22 |
+
"pad_token": "[PAD]",
|
| 23 |
+
"sep_token": "[SEP]",
|
| 24 |
+
"unk_token": {
|
| 25 |
+
"content": "[UNK]",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": true,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer/spm.model
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
|
| 3 |
+
size 2464616
|
tokenizer/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "[PAD]",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "[CLS]",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "[SEP]",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "[UNK]",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": true,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"128000": {
|
| 36 |
+
"content": "[MASK]",
|
| 37 |
+
"lstrip": false,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
},
|
| 43 |
+
"128001": {
|
| 44 |
+
"content": "[DEC]",
|
| 45 |
+
"lstrip": false,
|
| 46 |
+
"normalized": false,
|
| 47 |
+
"rstrip": false,
|
| 48 |
+
"single_word": false,
|
| 49 |
+
"special": true
|
| 50 |
+
},
|
| 51 |
+
"128002": {
|
| 52 |
+
"content": "[CAND]",
|
| 53 |
+
"lstrip": false,
|
| 54 |
+
"normalized": false,
|
| 55 |
+
"rstrip": false,
|
| 56 |
+
"single_word": false,
|
| 57 |
+
"special": true
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"additional_special_tokens": [
|
| 61 |
+
"[DEC]",
|
| 62 |
+
"[CAND]"
|
| 63 |
+
],
|
| 64 |
+
"bos_token": "[CLS]",
|
| 65 |
+
"clean_up_tokenization_spaces": false,
|
| 66 |
+
"cls_token": "[CLS]",
|
| 67 |
+
"do_lower_case": false,
|
| 68 |
+
"eos_token": "[SEP]",
|
| 69 |
+
"extra_special_tokens": {},
|
| 70 |
+
"mask_token": "[MASK]",
|
| 71 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 72 |
+
"pad_token": "[PAD]",
|
| 73 |
+
"sep_token": "[SEP]",
|
| 74 |
+
"sp_model_kwargs": {},
|
| 75 |
+
"split_by_punct": false,
|
| 76 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 77 |
+
"unk_token": "[UNK]",
|
| 78 |
+
"vocab_type": "spm"
|
| 79 |
+
}
|