Zero-Shot Classification
Transformers
Safetensors
vlx_decide
feature-extraction
omai-lab
decision-model
multimodal
custom_code
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
Download vlx_decide_runtime.py from omlab/VLX-Decide-1.0-2B: direct link, hf CLI and curl.
- Browser
- Download file 107 Bytes
-
https://huggingface.co/omlab/VLX-Decide-1.0-2B/resolve/main/vlx_decide_runtime.py
- Command line
-
hf download hf://omlab/VLX-Decide-1.0-2B/vlx_decide_runtime.py
-
curl -L -o vlx_decide_runtime.py https://huggingface.co/omlab/VLX-Decide-1.0-2B/resolve/main/vlx_decide_runtime.py
107 Bytes
| """Public Python entry point for VLX-Decide.""" | |
| from vlx_decide import VLXDecide | |
| __all__ = ["VLXDecide"] | |