File size: 2,238 Bytes
f33d1de
 
040a418
 
 
 
 
 
 
f33d1de
 
040a418
f33d1de
040a418
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
library_name: transformers
pipeline_tag: zero-shot-classification
tags:
- decision-model
- multimodal
- structured-output
- apus
---

# APUS Reflex2

APUS Reflex2 is a multimodal typed-decision model. It reads one shared state and one or more typed questions, then returns the selected answer and a probability for every option without text generation.

## Protocol

The reference service exposes the APUS/1.0 System One interface:

- `GET /health`
- `GET /v1/models`
- `POST /v1/systemone`

The request contains `state` and a `questions` object. Supported question types are `choice`, `noul` and `score`. Images and videos are accepted as inline data URLs by the HTTP server.

## Quickstart

```bash
pip install -r requirements.txt
python apus_server.py --model . --device cuda:0 --batch-size 1 --host 0.0.0.0 --port 8000
```

Then send a typed decision:

```bash
curl -s http://127.0.0.1:8000/v1/systemone \
  -H 'Content-Type: application/json' \
  -d '{
    "state": "The customer was charged twice for the same order.",
    "questions": {
      "route": {
        "type": "choice",
        "instructions": "Which team should handle this request?",
        "criteria": {"billing": "Billing support", "shipping": "Shipping support"}
      },
      "urgent": {
        "type": "noul",
        "instructions": "Is the request urgent?"
      }
    }
  }'
```

The standalone deployment package provides the validated vLLM path and the same protocol verifier at [`gump2049/APUS-Reflex2-deploy`](https://huggingface.co/gump2049/APUS-Reflex2-deploy). The deployment package is optional for the reference Transformers path.

## Evaluation

The 0.3 public-suite prescreen for this checkpoint is recorded in [`gump2049/APUS-Reflex2-eval-dataset`](https://huggingface.co/datasets/gump2049/APUS-Reflex2-eval-dataset). The public prescreen value is separate from maintainer-side private Decision Index scoring and latency measurements.

## Files and license

The repository contains the model weights, tokenizer, processor configuration, decision configuration and the minimal reference server required for a local Transformers deployment. `LICENSE`, `LICENSE.jeffan` and `NOTICE` are included with the released artifacts.