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
Remove superseded partial-rubric artifacts
Browse files- eval/significance_tests.json +0 -62
eval/significance_tests.json
DELETED
|
@@ -1,62 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"27B_AdamW_step400_vs_9B_AdamW_step200": {
|
| 3 |
-
"mean_diff": 3.493,
|
| 4 |
-
"bootstrap_ci95": [
|
| 5 |
-
1.842,
|
| 6 |
-
5.136
|
| 7 |
-
],
|
| 8 |
-
"wilcoxon_W": 5676.0,
|
| 9 |
-
"wilcoxon_p": 7.6426218939254e-06,
|
| 10 |
-
"significant_at_0.05": true
|
| 11 |
-
},
|
| 12 |
-
"27B_AdamW_step400_vs_4B_AdamW_step200": {
|
| 13 |
-
"mean_diff": 5.771,
|
| 14 |
-
"bootstrap_ci95": [
|
| 15 |
-
3.993,
|
| 16 |
-
7.612
|
| 17 |
-
],
|
| 18 |
-
"wilcoxon_W": 4807.5,
|
| 19 |
-
"wilcoxon_p": 7.459408306871403e-09,
|
| 20 |
-
"significant_at_0.05": true
|
| 21 |
-
},
|
| 22 |
-
"27B_AdamW_step400_vs_4B_Muon_step200": {
|
| 23 |
-
"mean_diff": 10.271,
|
| 24 |
-
"bootstrap_ci95": [
|
| 25 |
-
8.413,
|
| 26 |
-
12.196
|
| 27 |
-
],
|
| 28 |
-
"wilcoxon_W": 2153.5,
|
| 29 |
-
"wilcoxon_p": 4.759420773419259e-20,
|
| 30 |
-
"significant_at_0.05": true
|
| 31 |
-
},
|
| 32 |
-
"9B_AdamW_step200_vs_4B_AdamW_step200": {
|
| 33 |
-
"mean_diff": 2.278,
|
| 34 |
-
"bootstrap_ci95": [
|
| 35 |
-
0.53,
|
| 36 |
-
4.007
|
| 37 |
-
],
|
| 38 |
-
"wilcoxon_W": 7684.5,
|
| 39 |
-
"wilcoxon_p": 0.01329956259887278,
|
| 40 |
-
"significant_at_0.05": true
|
| 41 |
-
},
|
| 42 |
-
"9B_AdamW_step200_vs_4B_Muon_step200": {
|
| 43 |
-
"mean_diff": 6.778,
|
| 44 |
-
"bootstrap_ci95": [
|
| 45 |
-
4.832,
|
| 46 |
-
8.766
|
| 47 |
-
],
|
| 48 |
-
"wilcoxon_W": 4612.5,
|
| 49 |
-
"wilcoxon_p": 9.92502554694572e-10,
|
| 50 |
-
"significant_at_0.05": true
|
| 51 |
-
},
|
| 52 |
-
"4B_AdamW_step200_vs_4B_Muon_step200": {
|
| 53 |
-
"mean_diff": 4.499,
|
| 54 |
-
"bootstrap_ci95": [
|
| 55 |
-
2.49,
|
| 56 |
-
6.481
|
| 57 |
-
],
|
| 58 |
-
"wilcoxon_W": 5987.5,
|
| 59 |
-
"wilcoxon_p": 2.1404346737721187e-05,
|
| 60 |
-
"significant_at_0.05": true
|
| 61 |
-
}
|
| 62 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|