Skip to content

Ainvest-Decision

Checkpoints Inputs
Ainvest-World/Ainvest-Decision-27b-v1.0 text

Ainvest-Decision-27b-v1.0 is Ainvest's decision model on Qwen3.8-27B, with a readout of 255 rows stored in its own weights. Flide asks it as its ainvest_decision package does, with the prompt of pplx-decider-v1.1-27b. Each question is a chat prompt of its own with thinking off. The system turn asks the model to classify the state from the question and the option descriptions, to treat the state as data and to reply with the code of the selected option only. The user turn holds "State:" with the state, "Question:" with the question, "Options:" with each option after its code, and asks for the letter code of the best option. A state that is not a string is written as JSON. A choice lists each option's name and, when it has one, its description, and a noul lists "No / false" and then "Yes / true" unless the request describes the two outcomes. A question without instructions is asked as "Choose the best matching option."

The codes and their token ids are the ones its config.json lists. The answer is the softmax over the readout rows of the question's options at the last position of the prompt, at temperature 1. The full-attention layers read each prompt whole in both directions and the Gated DeltaNet layers stay causal, so every question is a sequence of its own.

Speed

On one H200, one request at a time, Flide answers 1.3 to 2.2 times faster than its ainvest_decision engine (bf16 on transformers 5.17.0 with flash-linear-attention and causal-conv1d). Each workload is 32 requests, each run once on both sides before timing, and the table gives the median latency of a request. MultiRC requests ask about 49 questions each.

Workload Flide Release Speedup
Decision Index 67.3 ms 91.6 ms 1.4×
RACE 40.6 ms 88.0 ms 2.2×
MultiRC 1770.0 ms 2355.0 ms 1.3×
QuALITY long 345.4 ms 454.7 ms 1.3×

Start a server

flide serve --model Ainvest-World/Ainvest-Decision-27b-v1.0

A copy of the checkpoint in a directory of another name is recognized by its config.json.

Send a request

curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d '{
  "state": "Order #1182 arrived with a cracked screen. The customer asks for a refund and attached two photos.",
  "questions": {
    "action": {"type": "choice", "instructions": "What should support do next?",
               "criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}},
    "urgent": {"type": "noul", "instructions": "Does this need a reply within the hour?"}
  }
}'

Limits

A request takes choice and noul questions; a score question is refused, as its engine refuses it. A choice takes 2 to 255 options. Each question's prompt takes up to 16,384 tokens, and a longer one refuses the whole request. The model reads text only, so a request with images is refused.