Image-Text-to-Text
Transformers
Safetensors
English
qwen3_5
chart
infographic
scene-graph
image2scenegraph
conversational
Instructions to use ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph") model = AutoModelForMultimodalLM.from_pretrained("ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph
- SGLang
How to use ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph 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 "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph with Docker Model Runner:
docker model run hf.co/ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph
Download requirements-smoke.txt from ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph: direct link, hf CLI and curl.
- Browser
- Download file 3.78 kB
-
https://huggingface.co/ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph/resolve/main/requirements-smoke.txt
- Command line
-
hf download hf://ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph/requirements-smoke.txt
-
curl -L -o requirements-smoke.txt https://huggingface.co/ChartGalaxyPP/ChartGalaxyPlusPlus-Image2SceneGraph/resolve/main/requirements-smoke.txt
3.78 kB
| agent-detector==2.0.0 | |
| aiohappyeyeballs==2.7.1 | |
| aiohttp==3.14.3 | |
| aiosignal==1.4.0 | |
| annotated-doc==0.0.5 | |
| annotated-types==0.8.0 | |
| anthropic==1.8.0 | |
| anyio==4.15.1 | |
| apache-tvm-ffi==0.1.9 | |
| astor==0.8.1 | |
| attrs==26.1.0 | |
| blake3==1.0.9 | |
| cachetools==7.2.0 | |
| cbor2==6.1.4 | |
| certifi==2026.7.22 | |
| cffi==2.1.1 | |
| charset-normalizer==3.5.1 | |
| click==8.5.0 | |
| cloudpickle==3.1.2 | |
| compressed-tensors==0.15.0.1 | |
| cryptography==50.0.1 | |
| cuda-bindings==13.4.3 | |
| cuda-pathfinder==1.8.2 | |
| cuda-tile==1.6.0 | |
| cuda-toolkit==13.0.2 | |
| depyf==0.20.0 | |
| detect-installer==0.2.1 | |
| dill==0.4.1 | |
| diskcache==5.6.3 | |
| dnspython==2.8.0 | |
| docstring-parser==0.18.0 | |
| einops==0.8.2 | |
| email-validator==2.3.0 | |
| fastapi==0.141.1 | |
| fastapi-cli==0.0.32 | |
| fastapi-cloud-cli==0.26.0 | |
| fastar==0.12.0 | |
| fastsafetensors==0.4.0 | |
| filelock==4.0.3 | |
| flashinfer-cubin==0.6.8.post1 | |
| flashinfer-python==0.6.8.post1 | |
| frozenlist==1.8.0 | |
| fsspec==2026.9.0 | |
| gguf==0.19.0 | |
| googleapis-common-protos==1.75.3 | |
| grpcio==1.84.0 | |
| h11==0.16.0 | |
| hf-xet==1.6.0 | |
| httpcore==1.0.9 | |
| httpcore2==2.13.1 | |
| httptools==0.8.0 | |
| httpx==0.28.1 | |
| httpx2==2.13.1 | |
| huggingface-hub==1.33.0 | |
| idna==3.20 | |
| ijson==3.5.1 | |
| interegular==0.3.3 | |
| jinja2==3.1.6 | |
| jiter==0.17.0 | |
| jmespath==1.1.0 | |
| jsonschema==4.26.0 | |
| jsonschema-specifications==2025.9.1 | |
| lark==1.2.2 | |
| llguidance==1.3.0 | |
| llvmlite==0.47.0 | |
| lm-format-enforcer==0.11.3 | |
| loguru==0.7.3 | |
| markdown-it-py==4.2.0 | |
| markupsafe==3.0.3 | |
| mcp==2.2.0 | |
| mcp-types==2.2.0 | |
| mdurl==0.1.2 | |
| mistral-common==1.12.0 | |
| ml-dtypes==0.6.0 | |
| model-hosting-container-standards==0.1.16 | |
| mpmath==1.3.0 | |
| msgspec==0.21.1 | |
| multidict==6.9.1 | |
| networkx==3.6.1 | |
| ninja==1.13.2 | |
| numba==0.65.0 | |
| numpy==2.3.5 | |
| nvidia-cublas==13.1.0.3 | |
| nvidia-cuda-cupti==13.0.85 | |
| nvidia-cuda-nvrtc==13.0.88 | |
| nvidia-cuda-runtime==13.0.96 | |
| nvidia-cudnn-cu13==9.19.0.56 | |
| nvidia-cudnn-frontend==1.18.0 | |
| nvidia-cufft==12.0.0.61 | |
| nvidia-cufile==1.15.1.6 | |
| nvidia-curand==10.4.0.35 | |
| nvidia-cusolver==12.0.4.66 | |
| nvidia-cusparse==12.6.3.3 | |
| nvidia-cusparselt-cu13==0.8.0 | |
| nvidia-cutlass-dsl==4.8.0 | |
| nvidia-cutlass-dsl-libs-base==4.8.0 | |
| nvidia-cutlass-dsl-libs-core==4.8.0 | |
| nvidia-cutlass-dsl-libs-cu12==4.8.0 | |
| nvidia-ml-py==13.610.43 | |
| nvidia-nccl-cu13==2.28.9 | |
| nvidia-nvjitlink==13.0.88 | |
| nvidia-nvshmem-cu13==3.4.5 | |
| nvidia-nvtx==13.0.85 | |
| openai==3.19.2 | |
| openai-harmony==0.0.8 | |
| opencv-python-headless==5.0.0.93 | |
| opentelemetry-api==1.44.0 | |
| opentelemetry-exporter-otlp==1.44.0 | |
| opentelemetry-exporter-otlp-proto-common==1.44.0 | |
| opentelemetry-exporter-otlp-proto-grpc==1.44.0 | |
| opentelemetry-exporter-otlp-proto-http==1.44.0 | |
| opentelemetry-proto==1.44.0 | |
| opentelemetry-sdk==1.44.0 | |
| opentelemetry-semantic-conventions==0.65b0 | |
| opentelemetry-semantic-conventions-ai==0.5.1 | |
| outlines-core==0.2.14 | |
| packaging==26.3 | |
| partial-json-parser==0.2.1.1.post7 | |
| pillow==12.3.0 | |
| prometheus-client==0.26.0 | |
| prometheus-fastapi-instrumentator==8.1.0 | |
| propcache==0.5.4 | |
| protobuf==7.36.2 | |
| psutil==7.2.2 | |
| py-cpuinfo==9.0.0 | |
| pybase64==1.5.0 | |
| pycountry==26.2.16 | |
| pycparser==3.0 | |
| pydantic==2.13.5 | |
| pydantic-core==2.46.5 | |
| pydantic-extra-types==2.11.1 | |
| pydantic-settings==2.15.0 | |
| pygments==2.21.0 | |
| pyjwt==2.15.0 | |
| python-dotenv==1.2.3 | |
| python-json-logger==4.2.0 | |
| python-multipart==0.0.32 | |
| pyyaml==6.0.3 | |
| pyzmq==27.2.0 | |
| quack-kernels==0.6.5 | |
| referencing==0.37.0 | |
| regex==2026.9.10 | |
| requests==2.34.2 | |
| rich==15.0.0 | |
| rich-toolkit==0.20.5 | |
| rignore==0.8.1 | |
| rpds-py==2026.6.3 | |
| safetensors==0.8.0 | |
| sentencepiece==0.2.2 | |
| sentry-sdk==2.70.0 | |
| setproctitle==1.3.7 | |
| setuptools==81.0.0 | |
| shellingham==1.5.4 | |
| sniffio==1.3.1 | |
| sse-starlette==3.4.11 | |
| starlette==1.7.0 | |
| supervisor==4.3.0 | |
| sympy==1.14.0 | |
| tabulate==0.10.0 | |
| tiktoken==0.14.0 | |
| tilelang==0.1.9 | |
| tokenizers==0.22.2 | |
| torch==2.11.0 | |
| torch-c-dlpack-ext==0.1.5 | |
| torchaudio==2.11.0 | |
| torchvision==0.26.0 | |
| tqdm==4.70.1 | |
| transformers==5.12.1 | |
| triton==3.6.0 | |
| truststore==0.10.4 | |
| typer==0.27.2 | |
| typing-extensions==4.16.0 | |
| typing-inspection==0.4.4 | |
| urllib3==2.8.0 | |
| uvicorn==0.53.0 | |
| uvloop==0.22.1 | |
| vllm==0.20.2 | |
| watchfiles==1.3.0 | |
| websockets==17.1 | |
| xgrammar==0.1.32 | |
| yarl==1.25.1 | |
| z3-solver==4.15.4.0 | |