Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

xingxm
/
DesignCoder

Text Generation
Transformers
Safetensors
designcoder
ui-generation
front-end
html
css
javascript
code-generation
full-sft
Model card Files Files and versions
xet
Community

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")
    # 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
DesignCoder
102 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
xingxm's picture
xingxm
Update model card: drop removed 9B ep20 arm
827032f verified 2 days ago
  • designcoder_qwen3.5_4b_muon_bs32_step1900
    Add designcoder_qwen3.5_4b_muon_bs32_step1900 (base Qwen3.5-4B, Muon, lr1e-5, global bs32, 2 epochs, step 1900) 2 days ago
  • designcoder_qwen3.5_9b_adamw_bs16_step3800
    Add designcoder_qwen3.5_9b_adamw_bs16_step3800 (base Qwen3.5-9B, AdamW, lr2e-5, global bs16, 2 epochs, step 3800) 2 days ago
  • designcoder_qwen3.5_9b_muon_bs16_step3800
    Add training log for 9b muon run 2 days ago
  • designcoder_qwen3.6_27b_adamw_bs32_step1900
    Add designcoder_qwen3.6_27b_adamw_bs32_step1900 (base Qwen3.6-27B, AdamW, lr1e-5, global bs32, 2 epochs, step 1900) 2 days ago
  • .gitattributes
    2.09 kB
    Add designcoder_qwen3.6_27b_adamw_bs32_step1900_r2 (base Qwen3.6-27B, AdamW, lr1e-5, global bs32, 2 epochs, step 1900, rerun 2) 2 days ago
  • README.md
    2.69 kB
    Update model card: drop removed 9B ep20 arm 2 days ago