Text Generation
Transformers
Safetensors
designcoder
ui-generation
front-end
html
css
javascript
code-generation
full-sft
Instructions to use xingxm/DesignCoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use xingxm/DesignCoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="xingxm/DesignCoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("xingxm/DesignCoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use xingxm/DesignCoder with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "xingxm/DesignCoder" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "xingxm/DesignCoder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/xingxm/DesignCoder
- SGLang
How to use xingxm/DesignCoder 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 "xingxm/DesignCoder" \ --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": "xingxm/DesignCoder", "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 "xingxm/DesignCoder" \ --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": "xingxm/DesignCoder", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use xingxm/DesignCoder with Docker Model Runner:
docker model run hf.co/xingxm/DesignCoder
Commit History
21 days ago
-
DesignCoder UI bench 200: 1400 cells, judge=deepseek-v4.1-flash-expires-on-0910
Verified signature58ca566
25 days ago
-
Add per-case scores and per-criterion judge verdicts
Verified signaturee98071d -
Add per-case scores and per-criterion judge verdicts
Verified signature0753c39
26 days ago
-
Remove superseded partial-rubric artifacts
Verified signature154f089 -
Remove superseded partial-rubric artifacts
Verified signature58d5e63 -
Remove superseded partial-rubric artifacts
Verified signature2f48f07 -
Add full V5.9.2 evaluation artifacts
Verified signature7562182 -
Add full V5.9.2 evaluation artifacts
Verified signature4b4a4e4 -
Add full V5.9.2 evaluation artifacts
Verified signature51aa93b -
Add full V5.9.2 evaluation artifacts
Verified signaturec5124d3 -
Add full V5.9.2 evaluation artifacts
Verified signature84df4f3
27 days ago
-
Add full-run HTML report (4 models x 200 cases)
Verified signaturea9e2060 -
Add eval artifacts: summary, per-case scores, significance tests, rubric stats, HTML report
Verified signatureeb98c6f -
Add eval artifacts: summary, per-case scores, significance tests, rubric stats, HTML report
Verified signatured48d53f -
Add eval artifacts: summary, per-case scores, significance tests, rubric stats, HTML report
Verified signature153178d -
Add eval artifacts: summary, per-case scores, significance tests, rubric stats, HTML report
Verified signatured441fde