Views
No views yet
Note on config format: weights are exported in a Qwen3-compatible layout (model_type: qwen3) because Walkie shares the same structural primitives (RMSNorm, SwiGLU, GQA, QK-Norm). This is an export convention for Transformers/vLLM compatibility — the model is Walkie-Code-0.5B, not an official Qwen release.
| Item | Value |
|---|---|
| Parameters | ~501M |
| Architecture | 24-layer decoder, hidden 1280, GQA 4:1 (20Q / 5KV) |
| Context length | 4096 tokens |
| Vocab size | 65536 (BPE) |
| FFN | SwiGLU, d_ffn=3456 |
| Position encoding | RoPE (θ=5×10⁵) |
| Training stages | Pretrain → SFT → DAPO RL |
| Best RL method | DAPO (Direct Advantage Policy Optimization) |
| Metric | Score |
|---|---|
| pass@1 | 37.6% |
| pass@4 | 43.6% |
| pass@8 | 46.6% |
| Dataset | pass@1 |
|---|---|
| HumanEval+ | 34.1% |
| HumanEval | 36.1% |
| MBPP | 42.1% |
| MBPP+ | 38.3% |
| Model | Macro pass@1 |
|---|---|
| Qwen2.5-0.5B-Instruct | 36.7% |
| Walkie-Code-0.5B (this) | 38.4% (+1.7 pp) |
| Stage | pass@1 | pass@8 |
|---|---|---|
| SFT | 33.7% | 41.4% |
| DAPO (this checkpoint) | 37.6% | 46.6% |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4model_id = "Henry665/Walkie-Code-0.5B"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
7model = AutoModelForCausalLM.from_pretrained(
8 model_id,
9 torch_dtype=torch.bfloat16,
10 device_map="auto",
11 trust_remote_code=True,
12)
13
14prompt = "user: Write a Python function to check if a number is prime.\nassistant:"
15inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
16outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.2, top_p=0.95)
17print(tokenizer.decode(outputs[0], skip_special_tokens=True))vllm serve Henry665/Walkie-Code-0.5B --dtype auto --max-model-len 4096user: <instruction>
assistant: <python code>user: / assistant: text prompts are recommended.1@misc{walkie-code-0.5b,
2 title={Walkie-Code-0.5B: A Modular 0.5B Python Code LLM},
3 author={LLM Walk-Through Team},
4 year={2026},
5 howpublished={\url{https://huggingface.co/Henry665/Walkie-Code-0.5B}}
6}