Instructions to use QiHoaran/ArchiCell with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use QiHoaran/ArchiCell with PEFT:
Task type is invalid.
- Transformers
How to use QiHoaran/ArchiCell with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="QiHoaran/ArchiCell")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QiHoaran/ArchiCell", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use QiHoaran/ArchiCell with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "QiHoaran/ArchiCell" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "QiHoaran/ArchiCell", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/QiHoaran/ArchiCell
- SGLang
How to use QiHoaran/ArchiCell 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 "QiHoaran/ArchiCell" \ --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": "QiHoaran/ArchiCell", "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 "QiHoaran/ArchiCell" \ --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": "QiHoaran/ArchiCell", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use QiHoaran/ArchiCell with Docker Model Runner:
docker model run hf.co/QiHoaran/ArchiCell
ArchiCell
ArchiCell generates discrete architectural tokens from natural-language descriptions and decodes them into 64 x 64 x 64 voxel buildings.
This repository contains the inference weights for two stages of the ArchiCell pipeline:
tokenizer/best.pt: Stage 1 structure-aware VQ tokenizer checkpoint.lora/: Stage 2 PEFT LoRA adapter and its tokenizer files forQwen/Qwen3.5-0.8B-Base.
The Qwen base model is not duplicated here. Download it separately from Qwen/Qwen3.5-0.8B-Base.
Download
git lfs install
git clone https://huggingface.co/QiHoaran/ArchiCell weights/ArchiCell
git clone https://huggingface.co/Qwen/Qwen3.5-0.8B-Base models/Qwen3.5-0.8B-Base
Use with the ArchiCell source repository
python stage_3_inference/infer.py \
--model_dir models/Qwen3.5-0.8B-Base \
--lora_ckpt weights/ArchiCell/lora \
--stage3_checkpoint weights/ArchiCell/tokenizer/best.pt \
--out_dir outputs/my_run \
--save_mode voxel
Source code and complete instructions: QiHoaran/ArchiCell on GitHub.
Weight details
- Base model:
Qwen/Qwen3.5-0.8B-Base - LoRA rank: 16
- LoRA alpha: 32
- LoRA target modules:
q_proj,k_proj,v_proj,o_proj - VQ codebook size: 1024
- Tokenizer input: 7 channels
- Tokenizer latent grid: 8 x 8 x 8
- Tokenizer output voxel grid: 64 x 64 x 64
The LoRA training-state checkpoint is intentionally excluded because it is only required for resuming training, not inference.
Status and limitations
These are research weights for the ArchiCell V1 pipeline. The Stage 1 checkpoint and Stage 2 adapter are published for inference and reproducibility; broader generalization has not been established.
- Downloads last month
- -
Model tree for QiHoaran/ArchiCell
Base model
Qwen/Qwen3.5-0.8B-Base