Skip to content

JDI-Decision

Checkpoints Inputs
JoyIndustrial/JDI-Decision-V1 text, images

JDI-Decision-V1 is JD Industrials' decision model on Qwen3.8-27B with a readout of 255 answer codes. Flide asks it with the release's d3 prompt: a system turn that sets it up as a decision engine, then for each question one user turn with the state and the question, its options each under a single-token code, and the reply opened at the code's position. The whole prompt is read in both directions, so every question is a sequence of its own, and the answer is the softmax over the codes of the question's options at the last position.

A request with images is read as the release reads it. An image over 1,638,400 pixels is scaled down to fit, keeping its aspect, and saved again (a PNG as PNG, anything else as JPEG at quality 95). PaddleOCR v5 reads the text in each image, PP-OCRv5 mobile detection with en_PP-OCRv5 mobile recognition at the release's settings, and the state becomes {"original_state": ..., "image_text_transcription": ...}. The images then sit ahead of the text of the user turn, sized by the checkpoint's processor.

PaddleOCR is not a dependency of Flide, and text requests do not need it. For images, install paddlepaddle-gpu 3.3.0, paddleocr 3.7.0 and paddlex 3.7.2 in the same environment, as JDI-Decision-V1's page describes; Flide runs it in a process of its own. Without it a request with images is refused.

Speed

On one H200, one request at a time, Flide answers text requests 1.3 to 2.8 times faster than the release's own engine, its d3 runtime as its ComboEngine runs it (bf16, a float32 readout, one question at a time; torch 2.8.0, transformers 5.17.0). 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 69.9 ms 91.4 ms 1.3×
RACE 41.3 ms 88.9 ms 2.2×
MultiRC 1808.6 ms 5105.7 ms 2.8×
QuALITY long 352.2 ms 459.7 ms 1.3×

With images, Flide answers 2.1 times faster than the release's complete system, its ComboEngine (PaddleOCR v5 and the vision tower in parallel, then the decision; torch 2.13.0, PaddlePaddle 3.3.0), measured the same way. GQA requests carry one image and ask about 13 questions each.

Workload Flide Release Speedup
GQA 489.0 ms 1028.0 ms 2.1×

Start a server

flide serve --model JoyIndustrial/JDI-Decision-V1

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.",
  "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?"}
  }
}'

With PaddleOCR installed, a request can carry images in images, as data URLs or plain base64.

IMG=$(base64 -w0 photo.jpg)
curl http://localhost:8000/v1/systemone -H "Content-Type: application/json" -d @- <<EOF
{
  "state": "Order #1182 arrived with a cracked screen. The customer asks for a refund. A photo is attached.",
  "images": ["data:image/jpeg;base64,$IMG"],
  "questions": {
    "cracked": {"type": "noul", "instructions": "Does the photo show a cracked screen?"},
    "action": {"type": "choice", "instructions": "What should support do next?",
               "criteria": {"refund": "refund the order", "replace": "send a replacement", "escalate": "ask a human"}}
  }
}
EOF

Limits

A request takes choice questions of up to 255 options, noul questions, and score questions of 2 to 10 distinct levels. Each question's prompt takes up to 262,144 tokens, images included, and a longer one refuses the whole request.