Instructions to use omlab/VLX-Decide-1.0-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use omlab/VLX-Decide-1.0-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="omlab/VLX-Decide-1.0-2B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("omlab/VLX-Decide-1.0-2B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
VLX-Decide-1.0-2B
VLX-Decide-1.0-2B is a System One model for multimodal decisions, developed by OmAI Lab. It scores supplied candidates for selection (choice), binary verification (noul), and ordinal assessment (score) using text, JSON state, images, or video. Its Mixture of Readouts (MoR) combines an answer-code readout with a gated candidate readout.
Published by OmAI Lab.
Load with Transformers
Install the dependencies in requirements.txt in a CUDA environment. Load the package and call decide with a state and one or more typed questions.
from transformers import AutoModel
model = AutoModel.from_pretrained(
"omlab/VLX-Decide-1.0-2B",
trust_remote_code=True,
device="cuda:0",
verify="full",
)
print(model.decide({
"state": "Mars is called the red planet.",
"questions": {
"q": {
"type": "choice",
"instructions": "Which planet is called the red planet?",
"criteria": {"a": "Mars", "b": "Venus"}
}
}
}))
Serve locally
hf download omlab/VLX-Decide-1.0-2B --local-dir VLX-Decide-1.0-2B
cd VLX-Decide-1.0-2B
python -m pip install -r requirements.txt
python vlx_decide_server.py --model . --device cuda:0
The server exposes GET /health and POST /v1/systemone. Send the same request object accepted by decide to /v1/systemone. Send images and videos as data URLs in the images and videos fields.
License
The model weights, checkpoint files, and associated model configuration files are licensed under the OmAI Model License v1.0. See LICENSE and NOTICE.
- Downloads last month
- 29