File size: 1,200 Bytes
fe29078
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
  "engine": "onnx",
  "family": "gliclass",
  "layout": "gliclass-uni-v1",
  "contract": "markers",
  "source": {
    "repo": "knowledgator/gliclass-instruct-large-v1.0",
    "revision": "825e5478c1bf4bffbf297690517097ccbdb2e006",
    "reference": "gliclass==0.1.20",
    "license": "Apache-2.0",
    "author": "Knowledgator"
  },
  "encoder": "microsoft/deberta-v3-large",
  "max_len": 1024,
  "tokenize": {
    "add_special_tokens": true,
    "template": "[CLS] $A [SEP]",
    "truncation": "right, to max_len"
  },
  "special_tokens": {
    "cls": 1,
    "sep": 2,
    "pad": 0,
    "label": 128001,
    "label_text": "<<LABEL>>",
    "text_sep": 128002,
    "text_sep_text": "<<SEP>>",
    "example": 128003,
    "example_text": "<<EXAMPLE>>"
  },
  "sanitize": [
    "<<LABEL>>",
    "<<SEP>>",
    "<<EXAMPLE>>"
  ],
  "noul": {
    "pair_when": "both true and false descriptions are non-empty",
    "pair_labels": [
      "false",
      "true"
    ],
    "single_label": "instructions",
    "single_prompt": ""
  },
  "inputs": [
    "input_ids",
    "attention_mask",
    "marker_pos",
    "marker_mask",
    "qtype"
  ],
  "outputs": [
    "logits"
  ],
  "min_markers": 1,
  "opset": 20
}