Run this model with HF Jobs
Run Wenbo-huggingface/HomeWorld-FloorPlan-Gen 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/Wenbo-huggingface/HomeWorld-FloorPlan-Gen. 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/Wenbo-huggingface/HomeWorld-FloorPlan-Gen 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/Wenbo-huggingface/HomeWorld-FloorPlan-Gen. 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/Wenbo-huggingface/HomeWorld-FloorPlan-Gen. 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 Wenbo-huggingface/HomeWorld-FloorPlan-Gen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wenbo-huggingface/HomeWorld-FloorPlan-Gen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Wenbo-huggingface/HomeWorld-FloorPlan-Gen")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Wenbo-huggingface/HomeWorld-FloorPlan-Gen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Wenbo-huggingface/HomeWorld-FloorPlan-Gen with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Wenbo-huggingface/HomeWorld-FloorPlan-Gen" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wenbo-huggingface/HomeWorld-FloorPlan-Gen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Wenbo-huggingface/HomeWorld-FloorPlan-Gen
- SGLang
How to use Wenbo-huggingface/HomeWorld-FloorPlan-Gen 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 "Wenbo-huggingface/HomeWorld-FloorPlan-Gen" \ --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": "Wenbo-huggingface/HomeWorld-FloorPlan-Gen", "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 "Wenbo-huggingface/HomeWorld-FloorPlan-Gen" \ --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": "Wenbo-huggingface/HomeWorld-FloorPlan-Gen", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Wenbo-huggingface/HomeWorld-FloorPlan-Gen with Docker Model Runner:
docker model run hf.co/Wenbo-huggingface/HomeWorld-FloorPlan-Gen
HomeWorld
HomeWorld: A Unified Floorplan-to-Furnished Framework for Generating Controllable, Densely Interactive Whole-Home Scenes
ECCV 2026
FloorPlan Generation Model
The floorplan generation model for HomeWorld, a framework for controllable whole-home scene generation and furnishing. Given apartment boundaries, room requirements, and spatial constraints, the model generates a k-d tree with door and window placements. Geometry post-processing converts these predictions into floorplan topology.
Inference
Qwen3 provides the model architecture. LLaMA-Factory manages dataset loading and prompt formatting, and vLLM runs batched generation. The inference wrapper connects this repository's checkpoint and examples to a separate LLaMA-Factory source checkout.
Model files are stored in checkpoint/. When loading directly from this Hugging Face repository with Transformers, specify subfolder="checkpoint".
Follow the LLaMA-Factory installation guide and install its vLLM dependencies. Use a checkout that includes scripts/vllm_infer.py and the qwen3_nothink template. Copy demo_data.json into its data/ directory and merge this entry into data/dataset_info.json:
{
"demo_data": {
"file_name": "demo_data.json"
}
}
Run the wrapper from the LLaMA-Factory root directory, which provides scripts/vllm_infer.py:
cd /path/to/LLaMA-Factory
bash /path/to/HomeWorld_FloorPlan_model/inference_qwen3.sh \
/path/to/HomeWorld_FloorPlan_model/checkpoint demo_data predictions.jsonl
The arguments are the checkpoint path, registered dataset name, and optional output filename. Each prediction record contains prompt, predict, and label.
Topology Conversion
Use kdtree2topology_updated() to convert predicted k-d trees and attachments into room polygons, wall hierarchies, and door/window connections. Sample outputs are Python dictionary strings and can be parsed with ast.literal_eval().
Before conversion, rename kdtree2topology/l1_training.py/ to kdtree2topology/l1_training/ and provide the custom Polygon.py module required by the geometry code.
Citation
@inproceedings{li2026homeworld,
title={HomeWorld: A Unified Floorplan-to-Furnished Framework for Generating Controllable, Densely Interactive Whole-Home Scenes},
author={Li, Wenbo and Ju, Xiaoliang and Qin, Zipeng and Fang, Rongyao and Li, Hongsheng},
booktitle={European Conference on Computer Vision},
pages={40--58},
year={2026},
organization={Springer}
}