How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("zero-shot-classification", model="gump2049/APUS-Reflex2", trust_remote_code=True)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModel

processor = AutoProcessor.from_pretrained("gump2049/APUS-Reflex2", trust_remote_code=True)
model = AutoModel.from_pretrained("gump2049/APUS-Reflex2", trust_remote_code=True, device_map="auto")
Quick Links

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

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:

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. 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. 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.

Downloads last month
31
Safetensors
Model size
26B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support