Feature Extraction
Transformers
Safetensors
decision2
decision-model
classification
system-one
custom_code
Instructions to use vllm-sr/Decision-2.0-Sol-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vllm-sr/Decision-2.0-Sol-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="vllm-sr/Decision-2.0-Sol-2B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vllm-sr/Decision-2.0-Sol-2B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from vllm-sr/Decision-2.0-Sol-2B: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/vllm-sr/Decision-2.0-Sol-2B/resolve/73bb148b08891047c5ae96656548a9fbc387f2c8/config.json
- Command line
-
hf download hf://vllm-sr/Decision-2.0-Sol-2B@73bb148b08891047c5ae96656548a9fbc387f2c8/config.json
-
curl -L -o config.json https://huggingface.co/vllm-sr/Decision-2.0-Sol-2B/resolve/73bb148b08891047c5ae96656548a9fbc387f2c8/config.json
1.26 kB
| { | |
| "architectures": [ | |
| "Decision2Model" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_decision2.Decision2Config", | |
| "AutoModel": "modeling_decision2.Decision2Model" | |
| }, | |
| "backbone": { | |
| "config": "backbone/config.json", | |
| "index": "backbone/model.safetensors.index.json", | |
| "weights": [ | |
| "backbone/model-00001-of-00002.safetensors", | |
| "backbone/model-00002-of-00002.safetensors" | |
| ] | |
| }, | |
| "calibration": null, | |
| "custom_pipelines": { | |
| "decision": { | |
| "impl": "pipeline_decision2.Decision2Pipeline", | |
| "pt": [ | |
| "AutoModel" | |
| ], | |
| "type": "text" | |
| } | |
| }, | |
| "decision_format": "vllm-sr-decision", | |
| "decision_weights": { | |
| "decision_head": "decision_head.safetensors" | |
| }, | |
| "format_version": 2, | |
| "manifest": "MODEL_MANIFEST.json", | |
| "max_input_tokens": 16384, | |
| "model_config": "decision_config.json", | |
| "model_name": "Decision-2.0-Sol-2B", | |
| "model_type": "decision2", | |
| "package_schema": "dev2-package/1", | |
| "runtime": { | |
| "entry": "decision2.Decision2.from_pretrained", | |
| "python_package": "decision2" | |
| }, | |
| "runtime_family": "decision2-qwen-full", | |
| "tokenizer": { | |
| "chat_template": "chat_template.jinja", | |
| "config": "tokenizer_config.json", | |
| "json": "tokenizer.json" | |
| } | |
| } | |