Run this model with HF Jobs
Run SuhZhang/GeoSR-Model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/SuhZhang/GeoSR-Model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SuhZhang/GeoSR-Model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/SuhZhang/GeoSR-Model. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/SuhZhang/GeoSR-Model. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use SuhZhang/GeoSR-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SuhZhang/GeoSR-Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="SuhZhang/GeoSR-Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SuhZhang/GeoSR-Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SuhZhang/GeoSR-Model with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SuhZhang/GeoSR-Model" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SuhZhang/GeoSR-Model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SuhZhang/GeoSR-Model
- SGLang
How to use SuhZhang/GeoSR-Model 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 "SuhZhang/GeoSR-Model" \ --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": "SuhZhang/GeoSR-Model", "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 "SuhZhang/GeoSR-Model" \ --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": "SuhZhang/GeoSR-Model", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use SuhZhang/GeoSR-Model with Docker Model Runner:
docker model run hf.co/SuhZhang/GeoSR-Model
GeoSR Model Zoo
This repository hosts the released checkpoints for GeoSR: Make Geometry Matter for Spatial Reasoning.
Accepted to ECCV 2026.
Paper | Project Page | Code
Checkpoints
| Folder | Branch / task | Notes |
|---|---|---|
GeoSR3D-Model/ |
static branch |
GeoSR checkpoint for static spatial reasoning |
GeoSR4D-Model/ |
dynamic branch |
GeoSR checkpoint for dynamic spatial reasoning |
The model files are stored exactly as exported from our training directories.
Download
Install the client first if needed:
pip install -U huggingface_hub
Download only the static checkpoint:
python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='SuhZhang/GeoSR-Model', local_dir='data/models', allow_patterns=['GeoSR3D-Model/*'])"
Download only the dynamic checkpoint:
python -c "from huggingface_hub import snapshot_download; snapshot_download(repo_id='SuhZhang/GeoSR-Model', local_dir='data/models', allow_patterns=['GeoSR4D-Model/*'])"
Download the whole repository:
git lfs install
git clone https://huggingface.co/SuhZhang/GeoSR-Model
Usage
In the main GeoSR code repository:
staticbranch evaluation can useMODEL_PATH=./data/models/GeoSR3D-Modeldynamicbranch evaluation can useGEOSR4D_EVAL_MODEL_PATH=../../../data/models/GeoSR4D-Model
Please refer to the main code repository for full training and evaluation instructions:
- Code: https://github.com/SuhZhang/GeoSR
- Project page: https://suhzhang.github.io/GeoSR/
Citation
@inproceedings{zhang2026geosr,
title = {Make Geometry Matter for Spatial Reasoning},
author = {Zhang, Shihua and Shen, Qiuhong and Wang, Shizun and Pan, Tianbo and Wang, Xinchao},
booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
year = {2026}
}