Apex-flash

Evidence in, decisions out. Explore SCX Apex, a family of GLiClass 4 based Large Decision Models.

A compact 0.4B Large Decision Model for high-volume text decisions.

Apex-flash brings instruction-guided decisions to CPUs and GPUs. Use it to route tickets, triage requests, apply policies, and choose the next action in your application.

Part of the SCX Apex family, based on GLiClass 4. Give the model evidence, an instruction, and the answers you would accept. It scores the candidate answers in one forward pass without generating text.

Property Value
Parameters Approximately 0.4B
Inputs Text
Backbone microsoft/deberta-v3-large
Framework GLiClass
License Apache 2.0

Use an LLM to write. Use Apex to decide.

  • Change the policy, not the model. Supply instructions, policies, or rubrics at inference time, and change candidate answers as your workflow evolves.
  • Act on confidence. Use calibrated label scores to automate confident decisions and escalate uncertain cases to a person or an LLM. Validate thresholds on your own data.
  • Make decisions directly. Get structured label scores for routing, triage, moderation, ranking, extraction decisions, judging, and selecting the next step.

Choose an Apex model

Model Size Inputs Best suited to
Apex-flash 0.4B Text High-volume decisions on CPU or GPU
Apex-large 9B Text and images Knowledge-heavy and visual decisions

Explore the Apex family collection. Both releases provide open weights under Apache 2.0.

Quick start

Use Python 3.10+ and an up-to-date GLiClass installation:

pip install -U gliclass

The example runs on a CUDA GPU when available and otherwise uses the CPU.

import torch
from gliclass import GLiClassModel, ZeroShotClassificationPipeline

model_id = "scx-admin/Apex-flash"
device = "cuda:0" if torch.cuda.is_available() else "cpu"
model = GLiClassModel.from_pretrained(model_id)
pipeline = ZeroShotClassificationPipeline(
    model,
    model_id,
    classification_type="multi-label",
    max_length=2048,
    device=device,
)

results = pipeline(
    "My parcel has not arrived. Please check the delivery status.",
    ["delivery issue", "refund request", "technical support"],
    threshold=0.5,
)[0]
for result in results:
    print(result["label"], result["score"])

Pass prompt="your instruction or policy" to guide the decision. Use classification_type="single-label" for mutually exclusive choices. Multi-label results may contain more than one label or no labels above the threshold.

Limitations

Predictions depend on label wording, instructions, domain, input length, and thresholds. English is the primary language. Calibration can drift on new domains; evaluate scores and thresholds on representative data. See the upstream model card for training details, evaluations, and further limitations.

Attribution and license

This release republishes the upstream checkpoint under the Apex name. The weights, configuration, tokenizer, and other inference assets are unchanged; no additional fine-tuning is claimed.

Based on GLiClass 4, developed by Knowledgator. Original checkpoint: knowledgator/gliclass-v4-edge, revision 90be5550327b138635db1f63531f9dfa15e624da. Distributed under the upstream Apache License 2.0; see LICENSE. The original model card is preserved in UPSTREAM_README.md and at the upstream link.

Related work: GLiClass and SCX Router.

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

Model tree for scx-admin/Apex-flash

Finetuned
(1)
this model

Collection including scx-admin/Apex-flash

Papers for scx-admin/Apex-flash