Text Generation
Transformers
Safetensors
designcoder
ui-generation
front-end
html
css
javascript
code-generation
full-sft
Run this model with HF Jobs
Run xingxm/DesignCoder 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/xingxm/DesignCoder. 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/xingxm/DesignCoder 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/xingxm/DesignCoder. 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/xingxm/DesignCoder. 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 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
Add designcoder_qwen3.5_4b_muon_bs256_data41287_step200 (bench-200: 83.36)
Browse filesFiles changed (12)
- .gitattributes+1
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/README.mdAdded+73
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/chat_template.jinjaAdded+154
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/config.jsonAdded+113
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/generation_config.jsonAdded+10
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/model.safetensorsAdded+3
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/processor_config.jsonAdded+60
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/tokenizer.jsonAdded+3
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/tokenizer_config.jsonAdded+34
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/trainer_log.jsonlAdded+27
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/trainer_state.jsonAdded+174
- designcoder_qwen3.5_4b_muon_bs256_data41287_step200/training_loss.pngAdded
39 unmodified lines40414239 unmodified linesdesigncoder_qwen3.6_27b_adamw_bs32_step1900/tokenizer.json filter=lfs diff=lfs merge=lfs -textdesigncoder_qwen3.6_27b_adamw_bs32_step1900_r2/tokenizer.json filter=lfs diff=lfs merge=lfs -textdesigncoder_qwen3.5_4b_adamw_bs256_data41287_step200/tokenizer.json filter=lfs diff=lfs merge=lfs -text39 unmodified lines4041424339 unmodified linesdesigncoder_qwen3.6_27b_adamw_bs32_step1900/tokenizer.json filter=lfs diff=lfs merge=lfs -textdesigncoder_qwen3.6_27b_adamw_bs32_step1900_r2/tokenizer.json filter=lfs diff=lfs merge=lfs -textdesigncoder_qwen3.5_4b_adamw_bs256_data41287_step200/tokenizer.json filter=lfs diff=lfs merge=lfs -textdesigncoder_qwen3.5_4b_muon_bs256_data41287_step200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273---license: apache-2.0base_model: Qwen/Qwen3.5-4Btags:- designcoder- ui-generation- front-end- sftlanguage:- en---
# DesignCoder v2 - 4B (Muon, step 200)
Supervised fine-tune of **Qwen3.5-4B** for design-to-code generation (landing pages anddashboards) from the DesignCoder v2 agent trajectories.
## Training
| Field | Value ||---|---|| Base model | `Qwen/Qwen3.5-4B` || Dataset | `designcoder_sft_v2_train` — **41,287 samples** (`data41287`) || Optimizer | Muon || Learning rate | 2.0e-5 || Global batch size | 256 || Exported step | 200 || Epoch at export | 1.51 || Hardware | 8 nodes x 8 H20 || Source run | `designcoder_v2_4b_muon_newdata_8n64g_20260918_2000/checkpoint-200` |
> **Dataset note:** this checkpoint is trained on the **41,287-sample** revision> (`ckpt_data41287`). The earlier checkpoints in this repository (`*_step1900`,> `*_step3800`) come from the **37,865-sample** revision (`ckpt_data37865`) and are> *not* directly comparable.
## Benchmark
Evaluated on the frozen 200-case DesignCoder bench (`bench_data/test-prompts-200.jsonl`+ `test-rubrics-200.jsonl`). Every rubric item is a binary screenshot check, judged by avision model over full-page screenshots; the score is the unweighted mean of Prompt Fitand the six rubric dimensions.
**Score: 83.36**
Matches AdamW at step 200 and degrades less afterwards (step 266: 81.27 vs AdamW 68.35).
### Why this step and not the last one
Checkpoint selection was done by running the benchmark, not by picking the lowesttraining loss. Across all four runs in this release the best checkpoint sits at roughly75% of training, and loss kept decreasing while benchmark scores fell. The most extremecase: 4B AdamW loss improved from 0.2696 (step 200) to 0.2682 (step 266) while its scorecollapsed from 84.22 to 68.35.
## Usage
The model is trained as a tool-using agent. Each case runs`design_search` -> (`websearch`, landing only) -> a final answer with exactly three codeblocks in this order: `html`, `css`, `js`. Reproduce the system prompts and toolobservation format from `examples/designcoder/runtime/infer_designcoder.py`; feeding abare instruction without the tool turns will not match the training distribution.
```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizer
repo = "xingxm/DesignCoder"sub = "designcoder_qwen3.5_4b_muon_bs256_data41287_step200"tok = AutoTokenizer.from_pretrained(repo, subfolder=sub)model = AutoModelForCausalLM.from_pretrained( repo, subfolder=sub, dtype="bfloat16", device_map="auto")```123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154{%- set image_count = namespace(value=0) %}{%- set video_count = namespace(value=0) %}{%- macro render_content(content, do_vision_count, is_system_content=false) %} {%- if content is string %} {{- content }} {%- elif content is iterable and content is not mapping %} {%- for item in content %} {%- if 'image' in item or 'image_url' in item or item.type == 'image' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain images.') }} {%- endif %} {%- if do_vision_count %} {%- set image_count.value = image_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Picture ' ~ image_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|image_pad|><|vision_end|>' }} {%- elif 'video' in item or item.type == 'video' %} {%- if is_system_content %} {{- raise_exception('System message cannot contain videos.') }} {%- endif %} {%- if do_vision_count %} {%- set video_count.value = video_count.value + 1 %} {%- endif %} {%- if add_vision_id %} {{- 'Video ' ~ video_count.value ~ ': ' }} {%- endif %} {{- '<|vision_start|><|video_pad|><|vision_end|>' }} {%- elif 'text' in item %} {{- item.text }} {%- else %} {{- raise_exception('Unexpected item type in content.') }} {%- endif %} {%- endfor %} {%- elif content is none or content is undefined %} {{- '' }} {%- else %} {{- raise_exception('Unexpected content type.') }} {%- endif %}{%- endmacro %}{%- if not messages %} {{- raise_exception('No messages provided.') }}{%- endif %}{%- if tools and tools is iterable and tools is not mapping %} {{- '<|im_start|>system\n' }} {{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>" }} {{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {%- if content %} {{- '\n\n' + content }} {%- endif %} {%- endif %} {{- '<|im_end|>\n' }}{%- else %} {%- if messages[0].role == 'system' %} {%- set content = render_content(messages[0].content, false, true)|trim %} {{- '<|im_start|>system\n' + content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" %} {%- set content = render_content(message.content, false)|trim %} {%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %} {%- endif %}{%- endfor %}{%- if ns.multi_step_tool %} {{- raise_exception('No user query found in messages.') }}{%- endif %}{%- for message in messages %} {%- set content = render_content(message.content, true)|trim %} {%- if message.role == "system" %} {%- if not loop.first %} {{- raise_exception('System message must be at the beginning.') }} {%- endif %} {%- elif message.role == "user" %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is string %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in content %} {%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- set content = content.split('</think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- set reasoning_content = reasoning_content|trim %} {%- if loop.index0 > ns.last_query_index %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %} {%- for tool_call in message.tool_calls %} {%- if tool_call.function is defined %} {%- set tool_call = tool_call.function %} {%- endif %} {%- if loop.first %} {%- if content|trim %} {{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- else %} {{- '<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- else %} {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }} {%- endif %} {%- if tool_call.arguments is defined %} {%- for args_name, args_value in tool_call.arguments|items %} {{- '<parameter=' + args_name + '>\n' }} {%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %} {{- args_value }} {{- '\n</parameter>\n' }} {%- endfor %} {%- endif %} {{- '</function>\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.previtem and loop.previtem.role != "tool" %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if not loop.last and loop.nextitem.role != "tool" %} {{- '<|im_end|>\n' }} {%- elif loop.last %} {{- '<|im_end|>\n' }} {%- endif %} {%- else %} {{- raise_exception('Unexpected message role.') }} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- else %} {{- '<think>\n' }} {%- endif %}{%- endif %}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113{ "architectures": [ "Qwen3_5ForConditionalGeneration" ], "dtype": "bfloat16", "eos_token_id": 248046, "hidden_size": 2560, "image_token_id": 248056, "model_type": "qwen3_5", "pad_token_id": 248044, "text_config": { "attention_bias": false, "attention_dropout": 0.0, "attn_output_gate": true, "bos_token_id": null, "dtype": "bfloat16", "eos_token_id": 248044, "full_attention_interval": 4, "head_dim": 256, "hidden_act": "silu", "hidden_size": 2560, "initializer_range": 0.02, "intermediate_size": 9216, "layer_types": [ "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention", "linear_attention", "linear_attention", "linear_attention", "full_attention" ], "linear_conv_kernel_dim": 4, "linear_key_head_dim": 128, "linear_num_key_heads": 16, "linear_num_value_heads": 32, "linear_value_head_dim": 128, "mamba_ssm_dtype": "float32", "max_position_embeddings": 262144, "mlp_only_layers": [], "model_type": "qwen3_5_text", "mtp_num_hidden_layers": 1, "mtp_use_dedicated_embeddings": false, "num_attention_heads": 16, "num_hidden_layers": 32, "num_key_value_heads": 4, "pad_token_id": null, "partial_rotary_factor": 0.25, "rms_norm_eps": 1e-06, "rope_parameters": { "mrope_interleaved": true, "mrope_section": [ 11, 11, 10 ], "partial_rotary_factor": 0.25, "rope_theta": 10000000, "rope_type": "default" }, "tie_word_embeddings": true, "use_cache": false, "vocab_size": 248320 }, "tie_word_embeddings": true, "transformers_version": "5.8.0", "use_cache": false, "video_token_id": 248057, "vision_config": { "deepstack_visual_indexes": [], "depth": 24, "dtype": "bfloat16", "hidden_act": "gelu_pytorch_tanh", "hidden_size": 1024, "in_channels": 3, "initializer_range": 0.02, "intermediate_size": 4096, "model_type": "qwen3_5_vision", "num_heads": 16, "num_position_embeddings": 2304, "out_hidden_size": 2560, "patch_size": 16, "spatial_merge_size": 2, "temporal_patch_size": 2 }, "vision_end_token_id": 248054, "vision_start_token_id": 248053}12345678910{ "_from_model_config": true, "eos_token_id": [ 248046, 248044 ], "pad_token_id": 248044, "transformers_version": "5.8.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:40c6f826893807cc89fb27d9dcdf5b6b659f52d0fe340f3a7a4ca48ba120ac0bsize 9078620536123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "image_processor": { "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.5, 0.5, 0.5 ], "image_processor_type": "Qwen2VLImageProcessor", "image_std": [ 0.5, 0.5, 0.5 ], "merge_size": 2, "patch_size": 16, "resample": 3, "rescale_factor": 0.00392156862745098, "size": { "longest_edge": 16777216, "shortest_edge": 65536 }, "temporal_patch_size": 2 }, "processor_class": "Qwen3VLProcessor", "video_processor": { "do_convert_rgb": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "do_sample_frames": true, "fps": 2, "image_mean": [ 0.5, 0.5, 0.5 ], "image_std": [ 0.5, 0.5, 0.5 ], "max_frames": 768, "merge_size": 2, "min_frames": 4, "patch_size": 16, "resample": 3, "rescale_factor": 0.00392156862745098, "return_metadata": false, "size": { "longest_edge": 25165824, "shortest_edge": 4096 }, "temporal_patch_size": 2, "video_processor_type": "Qwen3VLVideoProcessor" }}123version https://git-lfs.github.com/spec/v1oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523size 1998932512345678910111213141516171819202122232425262728293031323334{ "add_prefix_space": false, "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "image_token": "<|image_pad|>", "is_local": true, "local_files_only": false, "model_max_length": 262144, "model_specific_special_tokens": { "audio_bos_token": "<|audio_start|>", "audio_eos_token": "<|audio_end|>", "audio_token": "<|audio_pad|>", "image_token": "<|image_pad|>", "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>" }, "pad_token": "<|endoftext|>", "padding_side": "right", "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+", "processor_class": "Qwen3VLProcessor", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null, "video_token": "<|video_pad|>", "vision_bos_token": "<|vision_start|>", "vision_eos_token": "<|vision_end|>"}123456789101112131415161718192021222324252627{"current_steps": 10, "total_steps": 266, "loss": 0.5630179405212402, "lr": 6.666666666666667e-06, "epoch": 0.07561436672967864, "percentage": 3.76, "elapsed_time": "0:08:43", "remaining_time": "3:43:11"}{"current_steps": 20, "total_steps": 266, "loss": 0.5371263504028321, "lr": 1.4074074074074075e-05, "epoch": 0.15122873345935728, "percentage": 7.52, "elapsed_time": "0:17:01", "remaining_time": "3:29:20"}{"current_steps": 30, "total_steps": 266, "loss": 0.49235782623291013, "lr": 1.999654451568528e-05, "epoch": 0.22684310018903592, "percentage": 11.28, "elapsed_time": "0:25:21", "remaining_time": "3:19:29"}{"current_steps": 40, "total_steps": 266, "loss": 0.4500593185424805, "lr": 1.987585312769669e-05, "epoch": 0.30245746691871456, "percentage": 15.04, "elapsed_time": "0:33:38", "remaining_time": "3:10:07"}{"current_steps": 50, "total_steps": 266, "loss": 0.42681360244750977, "lr": 1.9584768190468624e-05, "epoch": 0.3780718336483932, "percentage": 18.8, "elapsed_time": "0:41:54", "remaining_time": "3:01:00"}{"current_steps": 60, "total_steps": 266, "loss": 0.4071804523468018, "lr": 1.912831195321268e-05, "epoch": 0.45368620037807184, "percentage": 22.56, "elapsed_time": "0:50:09", "remaining_time": "2:52:13"}{"current_steps": 70, "total_steps": 266, "loss": 0.39105584621429446, "lr": 1.8514359907527693e-05, "epoch": 0.5293005671077504, "percentage": 26.32, "elapsed_time": "0:58:25", "remaining_time": "2:43:34"}{"current_steps": 80, "total_steps": 266, "loss": 0.37974603176116944, "lr": 1.7753504907192923e-05, "epoch": 0.6049149338374291, "percentage": 30.08, "elapsed_time": "1:06:42", "remaining_time": "2:35:05"}{"current_steps": 90, "total_steps": 266, "loss": 0.37000892162322996, "lr": 1.6858874403810507e-05, "epoch": 0.6805293005671077, "percentage": 33.83, "elapsed_time": "1:15:03", "remaining_time": "2:26:45"}{"current_steps": 100, "total_steps": 266, "loss": 0.3609487533569336, "lr": 1.584590395163162e-05, "epoch": 0.7561436672967864, "percentage": 37.59, "elapsed_time": "1:23:20", "remaining_time": "2:18:21"}{"current_steps": 110, "total_steps": 266, "loss": 0.3564270496368408, "lr": 1.4732070889412693e-05, "epoch": 0.831758034026465, "percentage": 41.35, "elapsed_time": "1:33:21", "remaining_time": "2:12:23"}{"current_steps": 120, "total_steps": 266, "loss": 0.3498083591461182, "lr": 1.3536592794235696e-05, "epoch": 0.9073724007561437, "percentage": 45.11, "elapsed_time": "1:41:36", "remaining_time": "2:03:37"}{"current_steps": 130, "total_steps": 266, "loss": 0.34761178493499756, "lr": 1.2280095910035343e-05, "epoch": 0.9829867674858223, "percentage": 48.87, "elapsed_time": "1:49:52", "remaining_time": "1:54:56"}{"current_steps": 140, "total_steps": 266, "loss": 0.3408467769622803, "lr": 1.0984259271618947e-05, "epoch": 1.052930056710775, "percentage": 52.63, "elapsed_time": "1:57:35", "remaining_time": "1:45:49"}{"current_steps": 150, "total_steps": 266, "loss": 0.34069344997406004, "lr": 9.671440664303813e-06, "epoch": 1.1285444234404536, "percentage": 56.39, "elapsed_time": "2:05:51", "remaining_time": "1:37:19"}{"current_steps": 160, "total_steps": 266, "loss": 0.33812880516052246, "lr": 8.364290872697175e-06, "epoch": 1.2041587901701323, "percentage": 60.15, "elapsed_time": "2:14:10", "remaining_time": "1:28:53"}{"current_steps": 170, "total_steps": 266, "loss": 0.33647570610046384, "lr": 7.08536287419749e-06, "epoch": 1.279773156899811, "percentage": 63.91, "elapsed_time": "2:22:27", "remaining_time": "1:20:27"}{"current_steps": 180, "total_steps": 266, "loss": 0.3343865394592285, "lr": 5.8567227200175865e-06, "epoch": 1.3553875236294897, "percentage": 67.67, "elapsed_time": "2:30:43", "remaining_time": "1:12:00"}{"current_steps": 190, "total_steps": 266, "loss": 0.33516898155212405, "lr": 4.699568817414224e-06, "epoch": 1.4310018903591684, "percentage": 71.43, "elapsed_time": "2:39:01", "remaining_time": "1:03:36"}{"current_steps": 200, "total_steps": 266, "loss": 0.3339242696762085, "lr": 3.63386618185811e-06, "epoch": 1.5066162570888468, "percentage": 75.19, "elapsed_time": "2:47:20", "remaining_time": "0:55:13"}{"current_steps": 210, "total_steps": 266, "loss": 0.3346614122390747, "lr": 2.678001969593701e-06, "epoch": 1.5822306238185255, "percentage": 78.95, "elapsed_time": "2:57:17", "remaining_time": "0:47:16"}{"current_steps": 220, "total_steps": 266, "loss": 0.33385310173034666, "lr": 1.8484682338758154e-06, "epoch": 1.6578449905482042, "percentage": 82.71, "elapsed_time": "3:05:30", "remaining_time": "0:38:47"}{"current_steps": 230, "total_steps": 266, "loss": 0.33525657653808594, "lr": 1.159577378464939e-06, "epoch": 1.7334593572778827, "percentage": 86.47, "elapsed_time": "3:13:48", "remaining_time": "0:30:20"}{"current_steps": 240, "total_steps": 266, "loss": 0.3362842559814453, "lr": 6.23215217819253e-07, "epoch": 1.8090737240075614, "percentage": 90.23, "elapsed_time": "3:22:03", "remaining_time": "0:21:53"}{"current_steps": 250, "total_steps": 266, "loss": 0.33722240924835206, "lr": 2.4863590457230745e-07, "epoch": 1.88468809073724, "percentage": 93.98, "elapsed_time": "3:30:19", "remaining_time": "0:13:27"}{"current_steps": 260, "total_steps": 266, "loss": 0.33485195636749265, "lr": 4.230226252580516e-08, "epoch": 1.9603024574669186, "percentage": 97.74, "elapsed_time": "3:38:38", "remaining_time": "0:05:02"}{"current_steps": 266, "total_steps": 266, "epoch": 2.0, "percentage": 100.0, "elapsed_time": "3:44:40", "remaining_time": "0:00:00"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174{ "best_global_step": null, "best_metric": null, "best_model_checkpoint": null, "epoch": 1.5066162570888468, "eval_steps": 500, "global_step": 200, "is_hyper_param_search": false, "is_local_process_zero": true, "is_world_process_zero": true, "log_history": [ { "epoch": 0.07561436672967864, "grad_norm": 1.71875, "learning_rate": 6.666666666666667e-06, "loss": 0.5630179405212402, "step": 10 }, { "epoch": 0.15122873345935728, "grad_norm": 1.1640625, "learning_rate": 1.4074074074074075e-05, "loss": 0.5371263504028321, "step": 20 }, { "epoch": 0.22684310018903592, "grad_norm": 0.578125, "learning_rate": 1.999654451568528e-05, "loss": 0.49235782623291013, "step": 30 }, { "epoch": 0.30245746691871456, "grad_norm": 0.361328125, "learning_rate": 1.987585312769669e-05, "loss": 0.4500593185424805, "step": 40 }, { "epoch": 0.3780718336483932, "grad_norm": 0.2578125, "learning_rate": 1.9584768190468624e-05, "loss": 0.42681360244750977, "step": 50 }, { "epoch": 0.45368620037807184, "grad_norm": 0.2060546875, "learning_rate": 1.912831195321268e-05, "loss": 0.4071804523468018, "step": 60 }, { "epoch": 0.5293005671077504, "grad_norm": 0.1875, "learning_rate": 1.8514359907527693e-05, "loss": 0.39105584621429446, "step": 70 }, { "epoch": 0.6049149338374291, "grad_norm": 0.177734375, "learning_rate": 1.7753504907192923e-05, "loss": 0.37974603176116944, "step": 80 }, { "epoch": 0.6805293005671077, "grad_norm": 0.17578125, "learning_rate": 1.6858874403810507e-05, "loss": 0.37000892162322996, "step": 90 }, { "epoch": 0.7561436672967864, "grad_norm": 0.171875, "learning_rate": 1.584590395163162e-05, "loss": 0.3609487533569336, "step": 100 }, { "epoch": 0.831758034026465, "grad_norm": 0.1689453125, "learning_rate": 1.4732070889412693e-05, "loss": 0.3564270496368408, "step": 110 }, { "epoch": 0.9073724007561437, "grad_norm": 0.169921875, "learning_rate": 1.3536592794235696e-05, "loss": 0.3498083591461182, "step": 120 }, { "epoch": 0.9829867674858223, "grad_norm": 0.173828125, "learning_rate": 1.2280095910035343e-05, "loss": 0.34761178493499756, "step": 130 }, { "epoch": 1.052930056710775, "grad_norm": 0.173828125, "learning_rate": 1.0984259271618947e-05, "loss": 0.3408467769622803, "step": 140 }, { "epoch": 1.1285444234404536, "grad_norm": 0.1728515625, "learning_rate": 9.671440664303813e-06, "loss": 0.34069344997406004, "step": 150 }, { "epoch": 1.2041587901701323, "grad_norm": 0.173828125, "learning_rate": 8.364290872697175e-06, "loss": 0.33812880516052246, "step": 160 }, { "epoch": 1.279773156899811, "grad_norm": 0.171875, "learning_rate": 7.08536287419749e-06, "loss": 0.33647570610046384, "step": 170 }, { "epoch": 1.3553875236294897, "grad_norm": 0.1728515625, "learning_rate": 5.8567227200175865e-06, "loss": 0.3343865394592285, "step": 180 }, { "epoch": 1.4310018903591684, "grad_norm": 0.169921875, "learning_rate": 4.699568817414224e-06, "loss": 0.33516898155212405, "step": 190 }, { "epoch": 1.5066162570888468, "grad_norm": 0.1728515625, "learning_rate": 3.63386618185811e-06, "loss": 0.3339242696762085, "step": 200 } ], "logging_steps": 10, "max_steps": 266, "num_input_tokens_seen": 0, "num_train_epochs": 2, "save_steps": 100, "stateful_callbacks": { "TrainerControl": { "args": { "should_epoch_stop": false, "should_evaluate": false, "should_log": false, "should_save": true, "should_training_stop": false }, "attributes": {} } }, "total_flos": 3.9209534074782745e+19, "train_batch_size": 1, "trial_name": null, "trial_params": null}.gitattributes+1
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/README.mdAdded+73
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/chat_template.jinjaAdded+154
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/config.jsonAdded+113
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/generation_config.jsonAdded+10
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/model.safetensorsAdded+3
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/processor_config.jsonAdded+60
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/tokenizer.jsonAdded+3
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/tokenizer_config.jsonAdded+34
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/trainer_log.jsonlAdded+27
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/trainer_state.jsonAdded+174
designcoder_qwen3.5_4b_muon_bs256_data41287_step200/training_loss.pngAdded
