Language Integration in Fine-Tuning Multimodal Large Language Models for Image-Based Regression
Paper • 2507.14997 • Published
How to use royhj/rvtc-qwen2vl-2b-image-only with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-text-to-text", model="royhj/rvtc-qwen2vl-2b-image-only") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("royhj/rvtc-qwen2vl-2b-image-only", dtype="auto")How to use royhj/rvtc-qwen2vl-2b-image-only with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "royhj/rvtc-qwen2vl-2b-image-only"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "royhj/rvtc-qwen2vl-2b-image-only",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker model run hf.co/royhj/rvtc-qwen2vl-2b-image-only
How to use royhj/rvtc-qwen2vl-2b-image-only with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "royhj/rvtc-qwen2vl-2b-image-only" \
--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": "royhj/rvtc-qwen2vl-2b-image-only",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'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 "royhj/rvtc-qwen2vl-2b-image-only" \
--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": "royhj/rvtc-qwen2vl-2b-image-only",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'How to use royhj/rvtc-qwen2vl-2b-image-only with Docker Model Runner:
docker model run hf.co/royhj/rvtc-qwen2vl-2b-image-only
Fine-tuned Qwen2-VL-2B-Instruct model for image aesthetic assessment using the RvTC (Regression via Transformer-Based Classification) framework. This checkpoint uses image-only training without textual context.
Evaluated on AVA test set (19,930 samples):
@inproceedings{jennings2025language,
title={Language Integration in Fine-Tuning Multimodal Large Language Models for Image-Based Regression},
author={Roy H. Jennings, Genady Paikin, Roy Shaul, and Evgeny Soloveichik},
booktitle={2026 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
year={2026},
organization={IEEE}
}