Text Generation
Transformers
Safetensors
English
qwen2
wireless-communications
mathematical-reasoning
grpo
reinforcement-learning
neurips-2026
conversational
text-generation-inference
Instructions to use XINLI1997/WirelessMathLM-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XINLI1997/WirelessMathLM-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="XINLI1997/WirelessMathLM-3B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("XINLI1997/WirelessMathLM-3B") model = AutoModelForCausalLM.from_pretrained("XINLI1997/WirelessMathLM-3B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use XINLI1997/WirelessMathLM-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "XINLI1997/WirelessMathLM-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XINLI1997/WirelessMathLM-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/XINLI1997/WirelessMathLM-3B
- SGLang
How to use XINLI1997/WirelessMathLM-3B 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 "XINLI1997/WirelessMathLM-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XINLI1997/WirelessMathLM-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "XINLI1997/WirelessMathLM-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XINLI1997/WirelessMathLM-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use XINLI1997/WirelessMathLM-3B with Docker Model Runner:
docker model run hf.co/XINLI1997/WirelessMathLM-3B
File size: 3,480 Bytes
206890b 853ebb2 206890b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | ---
license: other
license_name: qwen-research
license_link: LICENSE
base_model: Qwen/Qwen2.5-3B
library_name: transformers
pipeline_tag: text-generation
language:
- en
datasets:
- XINLI1997/WirelessMATHBench-XL
tags:
- wireless-communications
- mathematical-reasoning
- grpo
- reinforcement-learning
- neurips-2026
---
# WirelessMathLM-3B
GRPO-trained reference checkpoint from **WirelessMathBench-XL: An Auditable Benchmark for Wireless Mathematical Reasoning** (NeurIPS 2026, Evaluations and Datasets Track).
[Project page](https://lixin.ai/WirelessMathBench-XL/) · [arXiv](https://arxiv.org/abs/2509.23219) · [OpenReview](https://openreview.net/forum?id=KbbNUVldqT) · [Code](https://github.com/LiXin97/WirelessMathBench-XL) · [Dataset](https://huggingface.co/datasets/XINLI1997/WirelessMATHBench-XL)
## Model
- **Base:** [Qwen/Qwen2.5-3B](https://huggingface.co/Qwen/Qwen2.5-3B). Initialised from the **Qwen2.5-3B** base checkpoint (no SFT warm-start).
- **Training:** GRPO with [EasyR1](https://github.com/hiyouga/EasyR1) on the WirelessMathBench-XL train split (3,227 problems), 40 epochs / 240 steps, composite reward 0.1 × format + 0.9 × verifier accuracy, AdamW (lr 1e-6, cosine), KL coefficient 0.01, 4 × NVIDIA A6000. See Appendix B of the paper.
- **Precision:** bfloat16.
## Results
| Evaluation (WirelessMathBench-XL test) | Accuracy |
|---|---:|
| Full 800-item test split (paper Tab. 3, row D13) | 25.50% |
| 310-item public test subset (paper Appendix L) | 25.16% |
Locked protocol: 2k-token answer budget, T = 0.6, hierarchical verifier (deterministic match, canonicalisation, GPT-4.1-mini fallback judge).
Training-time check under greedy model selection (paper Tab. 7): base 12.37% → GRPO 25.12%. These values use a different protocol from the locked scores.
## Usage
The paper queries these checkpoints through a raw completion endpoint (no chat template), using the dataset's `prompt` field.
```python
from datasets import load_dataset
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "XINLI1997/WirelessMathLM-3B"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, torch_dtype="auto", device_map="auto")
ex = load_dataset("XINLI1997/WirelessMATHBench-XL", "cc_by", split="test")[0]
prompt = ex["prompt"]
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=2048, do_sample=True, temperature=0.6)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
```
## Limitations
- These are **release-split learnability checks**, not evidence of general or verifier-independent reasoning. The train/test split is problem-level, so train and test share source papers.
- The reward verifier and the evaluation fallback share the same checkpoint family and prompt style.
- Intended for research on wireless mathematical reasoning; not a general-purpose assistant.
## License
This model is derived from Qwen2.5-3B and is released under the [Qwen Research License](LICENSE) inherited from the base model.
## Citation
```bibtex
@inproceedings{
li2026wirelessmathbenchxl,
title={WirelessMathBench-XL: An Auditable Benchmark for Wireless Mathematical Reasoning},
author={Xin Li and Mengbing Liu and Yiyang Zhu and Wenhe Zhang and Li Wei and Jiancheng An and Chau Yuen},
booktitle={The Fortieth Annual Conference on Neural Information Processing Systems Evaluations and Datasets Track},
year={2026}
}
```
|