Run this model with HF Jobs
Run OpenCausaLab/CauSight 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/OpenCausaLab/CauSight. 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/OpenCausaLab/CauSight 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/OpenCausaLab/CauSight. 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/OpenCausaLab/CauSight. 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 OpenCausaLab/CauSight with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenCausaLab/CauSight with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="OpenCausaLab/CauSight") 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("OpenCausaLab/CauSight") model = AutoModelForMultimodalLM.from_pretrained("OpenCausaLab/CauSight", 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 OpenCausaLab/CauSight with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenCausaLab/CauSight" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenCausaLab/CauSight", "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/OpenCausaLab/CauSight
- SGLang
How to use OpenCausaLab/CauSight 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 "OpenCausaLab/CauSight" \ --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": "OpenCausaLab/CauSight", "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 "OpenCausaLab/CauSight" \ --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": "OpenCausaLab/CauSight", "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 OpenCausaLab/CauSight with Docker Model Runner:
docker model run hf.co/OpenCausaLab/CauSight
Improve model card: Add library_name, detailed usage, and GitHub link
Browse filesThis PR significantly enhances the model card for `OpenCausaLab/CauSight` by:
- Adding `library_name: transformers` to the metadata, which enables the "how to use" widget on the Hugging Face Hub, based on the `config.json` and `tokenizer_config.json` files.
- Providing a brief description of the model, summarizing its purpose and capabilities from the paper's abstract.
- Adding a direct link to the official GitHub repository for code and project details.
- Including detailed "User Guide" sections for setup, dataset download, model download, and evaluation, directly extracted from the GitHub README.
- Adding a BibTeX citation for proper academic attribution.
These changes make the model card more informative, user-friendly, and compliant with best practices on the Hugging Face Hub.
123456789101112---license: apache-2.0language:- enbase_model:- Qwen/Qwen2.5-VL-7B-Instructpipeline_tag: image-text-to-text---This work is introduced in the following paper:**CauSight: Learning to Supersense for Visual Causal Discovery** [📄 arXiv](https://arxiv.org/abs/2512.01827)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596---base_model:- Qwen/Qwen2.5-VL-7B-Instructlanguage:- enlicense: apache-2.0pipeline_tag: image-text-to-textlibrary_name: transformers---# CauSight: Learning to Supersense for Visual Causal DiscoveryThis repository contains the **CauSight** model, a novel vision-language model designed to perform visual causal discovery through causally aware reasoning. CauSight enables AI systems to infer cause-and-effect relations among visual entities across diverse scenarios, moving beyond mere perception. It integrates training data curation, Tree-of-Causal-Thought (ToCT) for synthesizing reasoning trajectories, and reinforcement learning with a designed causal reward. Experiments demonstrate that CauSight significantly outperforms models like GPT-4.1 on visual causal discovery.This work is introduced in the following paper:**[CauSight: Learning to Supersense for Visual Causal Discovery](https://arxiv.org/abs/2512.01827)** [📄 arXiv]**Project Page and Code:** [https://github.com/OpenCausaLab/CauSight](https://github.com/OpenCausaLab/CauSight)## 🔧 User Guide### 1. Clone the Repository```bashgit clone https://github.com/OpenCausaLab/CauSight.gitcd CauSight```### 2. Set Up the EnvironmentWe recommend using **conda**:```bashconda create -n causight python=3.10conda activate causightpip install -r requirements.txtpip install -e .```### 3. Download the Dataset (VCG-32K)```bashmkdir -p VCG-32Kpip install huggingface_hubhf loginhf download OpenCausaLab/VCG-32K \--repo-type dataset \--local-dir ./VCG-32K``````bashtar -xzf ./VCG-32K/COCO/images.tar.gz -C ./VCG-32K/COCOtar -xzf ./VCG-32K/365/images.tar.gz -C ./VCG-32K/365```### 4. Download the CauSight Model```bashmkdir -p modelhuggingface-cli download OpenCausaLab/CauSight \--repo-type model \--local-dir ./model```### 5. EvaluationStart the model server, then run inference:```bashbash model_server.shpython run_inference.py```### 6. Tree-of-Causal-Thought (If you want to make your own SFT data with ToCT.)```bashbash model_server.shpython run.py```## CitationIf you find our work helpful or inspiring, please consider citing it:```bibtex@article{zhang2025causight,title={CauSight: Learning to Supersense for Visual Causal Discovery},author={Zhang, Yize and Chen, Meiqi and Chen, Sirui and Peng, Bo and Zhang, Yanxi and Li, Tianyu and Lu, Chaochao},journal={arXiv preprint arXiv:2512.01827},year={2025},url={https://arxiv.org/abs/2512.01827}}```