Image-Text-to-Text
Transformers
Safetensors
English
Korean
Chinese
qwen3_5_moe
feature-extraction
jev
decision
decision-engine
calibrated
calibration
probability
vision
vision-language
multimodal
vlm
image-classification
zero-shot-image-classification
zero-shot-classification
visual-question-answering
multiple-choice
yes-no
scoring
visual-inspection
quality-control
defect-detection
industrial-inspection
food-inspection
agriculture
egg
robotics
physical-ai
edge-ai
document-understanding
screen-understanding
Mixture of Experts
mixture-of-experts
qwen3.5
multilingual
korean
chinese
conversational
Instructions to use masterset-ai/PhysicalEye-Decide-35B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use masterset-ai/PhysicalEye-Decide-35B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="masterset-ai/PhysicalEye-Decide-35B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("masterset-ai/PhysicalEye-Decide-35B") model = AutoModel.from_pretrained("masterset-ai/PhysicalEye-Decide-35B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use masterset-ai/PhysicalEye-Decide-35B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "masterset-ai/PhysicalEye-Decide-35B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "masterset-ai/PhysicalEye-Decide-35B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/masterset-ai/PhysicalEye-Decide-35B
- SGLang
How to use masterset-ai/PhysicalEye-Decide-35B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "masterset-ai/PhysicalEye-Decide-35B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "masterset-ai/PhysicalEye-Decide-35B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "masterset-ai/PhysicalEye-Decide-35B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "masterset-ai/PhysicalEye-Decide-35B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use masterset-ai/PhysicalEye-Decide-35B with Docker Model Runner:
docker model run hf.co/masterset-ai/PhysicalEye-Decide-35B
Update model card
Browse files
README.md
CHANGED
|
@@ -1,70 +1,73 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
base_model: FINAL-Bench/Darwin-35B-A3B-Opus
|
| 4 |
-
library_name: transformers
|
| 5 |
-
pipeline_tag: image-text-to-text
|
| 6 |
-
tags:
|
| 7 |
-
- vision
|
| 8 |
-
- decision
|
| 9 |
-
- multiple-choice
|
| 10 |
-
- classification
|
| 11 |
-
- moe
|
| 12 |
-
- qwen3_5_moe
|
| 13 |
-
---
|
| 14 |
-
|
| 15 |
-
# PhysicalEye-Decide-35B
|
| 16 |
-
|
| 17 |
-
**One forward pass. One calibrated decision.**
|
| 18 |
-
|
| 19 |
-
PhysicalEye-Decide-35B answers a question about an image by choosing among the options you give it, and returns a probability for every option. It does not write text. It reads the image, the question and the options once, and outputs a decision.
|
| 20 |
-
|
| 21 |
-
Use it for visual inspection, yes/no checks, option selection and scoring on production lines, in apps and in robots.
|
| 22 |
-
|
| 23 |
-
## Results
|
| 24 |
-
|
| 25 |
-
| Test | Result |
|
| 26 |
-
|---|---|
|
| 27 |
-
| Egg inspection, held-out test (100 photos, good vs bad) | **98.0%** accuracy, mean confidence 0.964 |
|
| 28 |
-
| AI2D diagram questions (200, 4 options) | **87.0%** (chance 25%) |
|
| 29 |
-
| Latency per decision, median (one B200 GPU) | **0.051 s** (p80 0.068 s) |
|
| 30 |
-
|
| 31 |
-
## How it works
|
| 32 |
-
|
| 33 |
-
- Backbone: a vision-language Mixture-of-Experts model (35B total, about 3B active per token).
|
| 34 |
-
- A small decision readout sits on top of the backbone and scores each option directly.
|
| 35 |
-
- Output: one probability per option. Probabilities are temperature-calibrated.
|
| 36 |
-
|
| 37 |
-
## Input format
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
"
|
| 45 |
-
"
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
-
|
| 70 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: FINAL-Bench/Darwin-35B-A3B-Opus
|
| 4 |
+
library_name: transformers
|
| 5 |
+
pipeline_tag: image-text-to-text
|
| 6 |
+
tags:
|
| 7 |
+
- vision
|
| 8 |
+
- decision
|
| 9 |
+
- multiple-choice
|
| 10 |
+
- classification
|
| 11 |
+
- moe
|
| 12 |
+
- qwen3_5_moe
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# PhysicalEye-Decide-35B
|
| 16 |
+
|
| 17 |
+
**One forward pass. One calibrated decision.**
|
| 18 |
+
|
| 19 |
+
PhysicalEye-Decide-35B answers a question about an image by choosing among the options you give it, and returns a probability for every option. It does not write text. It reads the image, the question and the options once, and outputs a decision.
|
| 20 |
+
|
| 21 |
+
Use it for visual inspection, yes/no checks, option selection and scoring on production lines, in apps and in robots.
|
| 22 |
+
|
| 23 |
+
## Results
|
| 24 |
+
|
| 25 |
+
| Test | Result |
|
| 26 |
+
|---|---|
|
| 27 |
+
| Egg inspection, held-out test (100 photos, good vs bad) | **98.0%** accuracy, mean confidence 0.964 |
|
| 28 |
+
| AI2D diagram questions (200, 4 options) | **87.0%** (chance 25%) |
|
| 29 |
+
| Latency per decision, median (one B200 GPU) | **0.051 s** (p80 0.068 s) |
|
| 30 |
+
|
| 31 |
+
## How it works
|
| 32 |
+
|
| 33 |
+
- Backbone: a vision-language Mixture-of-Experts model (35B total, about 3B active per token).
|
| 34 |
+
- A small decision readout sits on top of the backbone and scores each option directly.
|
| 35 |
+
- Output: one probability per option. Probabilities are temperature-calibrated.
|
| 36 |
+
|
| 37 |
+
## Input format
|
| 38 |
+
|
| 39 |
+
One request carries up to 4 images, an optional context (`state`) and one or more questions.
|
| 40 |
+
Three question types are supported: `choice` (pick one option), `noul` (yes or no) and `score` (a value on a scale).
|
| 41 |
+
|
| 42 |
+
```json
|
| 43 |
+
{
|
| 44 |
+
"images": ["<base64 image>"],
|
| 45 |
+
"state": "Egg inspection line, candling light.",
|
| 46 |
+
"questions": {
|
| 47 |
+
"q1": {"type": "choice", "question": "Is this egg good or bad?", "options": ["good", "bad"]}
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
The response has one entry per question key in `answers`, with the chosen option and its probability.
|
| 53 |
+
|
| 54 |
+
## Files
|
| 55 |
+
|
| 56 |
+
- `model-*.safetensors`: backbone weights
|
| 57 |
+
- `readout.safetensors`: decision readout
|
| 58 |
+
- `decision_config.json`: option codes, token ids and calibration temperature
|
| 59 |
+
|
| 60 |
+
## Base model and license
|
| 61 |
+
|
| 62 |
+
- Built on [FINAL-Bench/Darwin-35B-A3B-Opus](https://huggingface.co/FINAL-Bench/Darwin-35B-A3B-Opus), a Qwen3.5 MoE based model.
|
| 63 |
+
- Released under Apache-2.0. The upstream Qwen license notice applies to the base weights.
|
| 64 |
+
|
| 65 |
+
## Training data credits
|
| 66 |
+
|
| 67 |
+
The decision readout was trained on openly licensed data:
|
| 68 |
+
|
| 69 |
+
- VQAv2 (CC BY 4.0, annotations), COCO captions and instances 2017 (CC BY 4.0, annotations; images keep their Flickr licenses)
|
| 70 |
+
- TextVQA 0.5.1 (CC BY 4.0), ScreenQA and RICO-SCA / Screen2Words on RICO (CC BY 4.0)
|
| 71 |
+
- CLEVR v1.0 (CC BY 4.0), A-OKVQA (Apache-2.0), VSR (CC BY 4.0), CORD v2 (CC BY 4.0)
|
| 72 |
+
- Open-Jev (CC0 1.0), MMLU auxiliary train (MIT), synthetic charts made in-house
|
| 73 |
+
- Good and Bad Eggs Identification Image Dataset, Md Mafiul Hasan Matin, Marium Jahan, Md. Saroar Jahan, Mendeley Data, doi:10.17632/mdty358x8m.1 (CC BY 4.0)
|