File size: 1,258 Bytes
811d51e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
58
59
60
61
62
63
64
{
  "model_type": "veritiana_prompt_classifier",
  "model_version": "3.1.0-multisource-balanced",
  "architecture": "dual_multinomial_logistic_regression",
  "model_file": "model.onnx",
  "input": {
    "name": "features",
    "dtype": "float32",
    "shape": [
      "batch",
      1544
    ]
  },
  "outputs": {
    "task_probabilities": {
      "dtype": "float32",
      "shape": [
        "batch",
        9
      ]
    },
    "complexity_probabilities": {
      "dtype": "float32",
      "shape": [
        "batch",
        3
      ]
    }
  },
  "features": {
    "total": 1544,
    "word_bigram_bins": 1024,
    "character_trigram_bins": 512,
    "numeric_features": 8,
    "hash": "FNV-1a 32-bit over JavaScript UTF-16 code units"
  },
  "task_labels": [
    "general_chat",
    "writing",
    "translation",
    "summarization",
    "research",
    "coding",
    "mathematics",
    "document_analysis",
    "high_stakes"
  ],
  "complexity_labels": [
    "low",
    "medium",
    "high"
  ],
  "thresholds": {
    "task_classified": 0.72,
    "complexity_classified": 0.66,
    "likely": 0.45
  },
  "runtime": {
    "browser": "ONNX Runtime Web 1.22.0",
    "onnx_opset": 13
  },
  "live_demo": "https://www.veritiana.com/prompt_classifier.html"
}