蚂蚁 inclusionAI 发布 SingVL_S1_27B 多模态决策模型
inclusionAI/SingVL_S1_27B
蚂蚁 inclusionAI 在 HuggingFace 发布基于 Qwen3.5-27B 的多模态决策模型 SingVL_S1_27B,支持对文本或 JSON 及最多四张图片的命名问题作答。公开 Decision Index 0.3 面板显示文本得分 74.50、视觉得分 84.496,推理错误均为 0。模型提供可下载推理适配器和 FastAPI HTTP 服务,示例需至少 80 GB 显存。
Sing VL S1 27B
Sing VL S1 27B is a multimodal decision model built on Qwen3.5-27B. It answers named questions over text or JSON and up to four images. Each question is encoded as a complete prompt. The model scores the candidate labels at the last input position using bidirectional full attention and causal Gated DeltaNet (GDN).
- Choice selects an option and returns a probability for each candidate.
- Noul returns the probability that a yes/no proposition is true.
- Score rates the input against 2–10 levels ordered from low to high and returns the probability of each level and the expected zero-based level.
Public Decision Index 0.3
| Panel | Public Index | Completed requests | Inference errors |
|---|---|---|---|
| Text | 74.50 | 140,178 | 0 |
| Vision | 84.496 | 12,210 | 0 |
The full public runs used the Scheme1 v2 evaluation adapter with BF16 SDPA, one forward pass per question, the original candidate order, and temperature 1. The maximum prompt length was 65,536 tokens for Text and 10,000 for Vision. The Vision evaluation used an image area range of 65,536–1,806,336 pixels. The downloadable inference adapter uses the same attention and candidate readout with native Transformers preprocessing and text question batching.
Per-benchmark results
Vision (11 benchmarks)
| Benchmark | Accuracy | Skill |
|---|---|---|
| CV-Bench | 90.09 | 83.65 |
| BLINK | 89.18 | 83.25 |
| RealWorldQA | 88.62 | 81.41 |
| CharXiv | 88.91 | 85.21 |
| InfographicVQA | 99.18 | 98.91 |
| Mind2Web | 95.68 | 94.24 |
| Winoground | 95.50 | 91.00 |
| KIE (CORD+FUNSD) | 96.47 | 94.19 |
| Moderation (Hateful Memes) | 85.08 | 70.16 |
| R-Bench-M | 63.16 | 55.78 |
| MMMU-Pro vision | 61.39 | 55.71 |
Text (43 benchmarks)
| Benchmark | Original metric | Raw | Skill |
|---|---|---|---|
| BFCL | case exact accuracy | 97.40 | 96.49 |
| ToolRet | nDCG@10 | 73.01 | 68.84 |
| API-Bank | accuracy | 86.81 | 86.56 |
| BANKING77 | macro-F1 | 94.79 | 94.72 |
| CLINC150+OOS | macro-F1 | 96.93 | 96.91 |
| RouterBench † | selected quality (quality objective) | 79.64 | 52.26 |
| Home appliance simulator | case exact accuracy | 100.00 | 100.00 |
| SGD/SGD-X † | macro-F1 | 60.41 | 34.13 |
| ContractNLI | macro-F1 | 86.67 | 80.72 |
| ANLI | macro-F1 | 81.98 | 73.01 |
| BPoMP | accuracy | 99.50 | 99.01 |
| Humicroedit | accuracy | 68.84 | 37.67 |
| POP909-CL | accuracy | 84.83 | 84.71 |
| cfcolor | accuracy | 74.10 | 48.21 |
| MMLU † | accuracy | 89.80 | 86.40 |
| GPQA Diamond | accuracy | 64.29 | 52.38 |
| ARC-Easy † | accuracy | 99.41 | 99.21 |
| ARC-Challenge † | accuracy | 97.35 | 96.47 |
| WinoGrande | accuracy | 95.74 | 91.48 |
| HellaSwag | accuracy | 98.48 | 97.97 |
| ChessBench | accuracy | 29.62 | 23.35 |
| MuSR | accuracy | 95.08 | 92.18 |
| SATA-Bench | case exact accuracy | 54.55 | 53.95 |
| SimpleBench † | accuracy | 70.00 | 64.00 |
| BRIGHT | nDCG@10 | 49.39 | 42.74 |
| Amazon ESCI | macro-F1 | 63.45 | 54.15 |
| ACOS | per-review F1 | 64.49 | 63.35 |
| FinEntity | macro-F1 | 93.65 | 90.66 |
| iSarcasmEval | Sarcasm F1 · track A, English | 70.61 | 62.19 |
| VAST | macro-F1 | 82.37 | 73.56 |
| NLI4CT | macro-F1 | 88.48 | 77.59 |
| CRUXEval | accuracy | 91.05 | 85.80 |
| CLadder | accuracy | 96.30 | 92.60 |
| HLE | accuracy | 13.17 | 0.00 |
| Habermas Machine | accuracy | 64.56 | 48.56 |
| GSM8K | accuracy | 84.84 | 82.01 |
| PhishNChips phishing decisions | accuracy | 80.25 | 60.50 |
| MMLU-Pro | accuracy | 80.20 | 77.73 |
| BBH fixed-option tasks | accuracy | 93.21 | 90.16 |
| RAGTruth response-level hallucination | F1 on hallucinated class | 85.12 | 69.15 |
| HoVer claim verification | accuracy | 90.77 | 81.54 |
| When2Call MCQ | accuracy | 90.42 | 87.23 |
| New Yorker caption matching | accuracy | 88.45 | 85.56 |
† Decision Index reports these benchmarks separately and excludes them from the Text Index.
Usage
Use Python 3.12 and hardware-compatible PyTorch and torchvision builds. The example loads the complete BF16 checkpoint on one device. Use an accelerator with at least 80 GB of memory for the short examples, with extra memory for longer prompts.
hf download inclusionAI/SingVL_S1_27B --local-dir ./singvl-s1-27b
cd singvl-s1-27b/inference
python -m pip install -r requirements.txt
Python
from PIL import Image
from model import SingVLS1
model = SingVLS1("..", device="cuda:0")
# Text
text, _ = model.predict(
state="The color is red. ",
questions={
"color": {
"type": "choice",
"instructions": "Which color is named?",
"criteria": {"red": "Red", "blue": "Blue"},
},
"yesno": {"type": "noul", "instructions": "Is the named color red?"},
"redness": {
"type": "score",
"instructions": "How clearly does the text identify the color as red?",
"criteria": ["Not red", "Possibly red", "Clearly red"],
},
},
)
print(text["answers"])
# Images in blue-then-red order. Both state values work.
questions = {
"which": {
"type": "choice",
"instructions": "Which image is red?",
"criteria": {"first": "The first image", "second": "The second image"},
}
}
with Image.open("examples/blue.png") as blue, Image.open("examples/red.png") as red:
for state in ({}, "<image>\n<image>\n"):
vision, _ = model.predict(state=state, questions=questions, images=[blue, red])
print(vision["answers"])
With no <image> markers, the model inserts them before the state text. With explicit markers, use one per image. The markers match the images in list order.
Use the same score question format with images. The answer includes probabilities and a legend, both keyed by the zero-based level number as a string. For example, probabilities of 0.1, 0.3, and 0.6 on three levels give 0 × 0.1 + 1 × 0.3 + 2 × 0.6 = 1.5.
HTTP API
Start the FastAPI server. Send requests to POST http://127.0.0.1:8173/v1/systemone from another terminal on the same machine. Interactive API docs are at http://127.0.0.1:8173/docs.
python serve.py --model .. --port 8173 --image-root ./examples
Send a text request with an inline JSON body.
curl -fsS http://127.0.0.1:8173/v1/systemone \
-H 'Content-Type: application/json' -d '{
"model": "sing-vl-s1",
"state": "The color is red. ",
"questions": {
"color": {
"type": "choice",
"instructions": "Which color is named?",
"criteria": {"red": "Red", "blue": "Blue"}
},
"yesno": {"type": "noul", "instructions": "Is the named color red?"},
"redness": {
"type": "score",
"instructions": "How clearly does the text identify the color as red?",
"criteria": ["Not red", "Possibly red", "Clearly red"]
}
}
}'
For a Vision request, add an ordered images array. Its entries can be Base64 data URLs (data_url), raw Base64 strings (base64), or server-side file paths (path). Paths are relative to --image-root or absolute paths inside that directory. With the server command above, send the example filenames directly.
curl -fsS http://127.0.0.1:8173/v1/systemone \
-H 'Content-Type: application/json' -d '{
"model": "sing-vl-s1",
"state": {},
"images": ["blue.png", "red.png"],
"questions": {
"which": {
"type": "choice",
"instructions": "Which image is red?",
"criteria": {"first": "The first image", "second": "The second image"}
}
}
}'
For the same request with explicit image markers, use "state": "<image>\n<image>\n".
The response puts results under answers using the supplied question IDs. The text example selects red and returns answers.redness.score on a 0–2 scale. The Vision example selects second.
Command-line inference
python infer.py --model .. --request examples/text.json
python infer.py --model .. --request examples/vision.json \
--image examples/blue.png --image examples/red.png
For evaluation with the native Transformers adapter, see Decision Index.
来源:蚂蚁 inclusionAI:HuggingFace 新模型 · huggingface.co