Image-Text-to-Text
Transformers
Safetensors
qwen2_5_vl
qwen3_vl
vision-language
visual-token-pruning
visionzip
scopd
Instructions to use enmingzhangzz/SCOPD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use enmingzhangzz/SCOPD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="enmingzhangzz/SCOPD")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("enmingzhangzz/SCOPD", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use enmingzhangzz/SCOPD with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "enmingzhangzz/SCOPD" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "enmingzhangzz/SCOPD", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/enmingzhangzz/SCOPD
- SGLang
How to use enmingzhangzz/SCOPD 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 "enmingzhangzz/SCOPD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "enmingzhangzz/SCOPD", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "enmingzhangzz/SCOPD" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "enmingzhangzz/SCOPD", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use enmingzhangzz/SCOPD with Docker Model Runner:
docker model run hf.co/enmingzhangzz/SCOPD
Download NOTICE from enmingzhangzz/SCOPD: direct link, hf CLI and curl.
- Browser
- Download file 672 Bytes
-
https://huggingface.co/enmingzhangzz/SCOPD/resolve/main/NOTICE
- Command line
-
hf download hf://enmingzhangzz/SCOPD/NOTICE
-
curl -L -o NOTICE https://huggingface.co/enmingzhangzz/SCOPD/resolve/main/NOTICE
672 Bytes
| SCOPD / SCOPD+ model release | |
| The weights derive from Qwen/Qwen2.5-VL-7B-Instruct, revision | |
| cc594898137f460bfe9f0759e9844b3ce807cfb5, and Qwen/Qwen3-VL-4B-Instruct, revision | |
| ebb281ec70b05090aa6165b016eac8ec08e71b17. Both model cards specify Apache-2.0. | |
| Only fine-tuning LoRA adapter weights are redistributed; base weights are not included. | |
| Evaluation and pruning sources include local patches recorded in evaluation_files.json. | |
| Transformers: see evaluation/runtime/TRANSFORMERS_LICENSE. | |
| VLMEvalKit: see evaluation/third_party/VLMEvalKit/LICENSE. | |
| VisionZip: see evaluation/third_party/VisionZip/LICENSE. | |
| Retained third-party source headers and licenses remain applicable. | |