Instructions to use kilizi/pop-mopd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kilizi/pop-mopd with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kilizi/pop-mopd")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kilizi/pop-mopd", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kilizi/pop-mopd with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kilizi/pop-mopd" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kilizi/pop-mopd", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/kilizi/pop-mopd
- SGLang
How to use kilizi/pop-mopd 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 "kilizi/pop-mopd" \ --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": "kilizi/pop-mopd", "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 "kilizi/pop-mopd" \ --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": "kilizi/pop-mopd", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use kilizi/pop-mopd with Docker Model Runner:
docker model run hf.co/kilizi/pop-mopd
POP-MOPD: Step-100 Token Curriculum Models
Two merged SmolLM3-3B checkpoints trained with domain-aware token curriculum on top of Open-MOPD. Both start from the same MixSFT student initialization and use Math, Code, and instruction-following teachers.
| Directory | Variant | Training step | Curriculum updates |
|---|---|---|---|
pre-mask-step-100/ |
Original pre-mask domain weighting | 100 | 400 |
post-mask-step-100/ |
Domain weighting recomputed from selected token shares | 100 | 400 |
Each directory is a standalone Transformers model directory containing two BF16 safetensors shards, a weight index, model/generation configuration, tokenizer files, chat template, and the saved token curriculum controller state. These are merged inference weights, not complete optimizer/FSDP resume checkpoints.
Training
- Student initialization:
BytedTsinghua-SIA/Open-MOPD-SmolLM3-3B-MixSFT. - Domain teachers:
BytedTsinghua-SIA/Open-MOPD-SmolLM3-3B-RL-Math,BytedTsinghua-SIA/Open-MOPD-SmolLM3-3B-RL-Code, andBytedTsinghua-SIA/Open-MOPD-SmolLM3-3B-RL-IF. - Prompts:
BytedTsinghua-SIA/Open-MOPD-Data, multi-domain RL prompt mixture. - Batch size 1024, inner minibatch 256, learning rate 1.5e-6.
- Conditional top-16 reverse KL for curriculum scoring, EMA beta 0.9, per-domain token coverage 0.2 to 0.8.
- Tokens with larger student/teacher divergence are selected within each domain. Selection is globally pooled across data-parallel ranks before each inner update.
- The original clipped OPD loss, hard teacher routing, and reward refresh are retained.
- Pre-mask: domain loss budgets are based on the original rollout weights.
- Post-mask: token shares are recomputed from selected counts per inner update; mean absolute reward magnitudes remain frozen from the full pre-mask rollout.
Implementation: https://github.com/biaoliu-kiritsugu/MOPD-POP
Loading
Select exactly one subdirectory; the repository root does not contain a model. The training/evaluation environment used Transformers 4.57.6.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "kilizi/pop-mopd"
variant = "pre-mask-step-100" # or "post-mask-step-100"
tokenizer = AutoTokenizer.from_pretrained(repo_id, subfolder=variant)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
subfolder=variant,
torch_dtype="auto",
)
Use the bundled tokenizer chat template when formatting conversations.
Local Step-100 Evaluation
Results snapshot: November 23, 2026 (Asia/Shanghai).
| Benchmark | Metric | Pre-mask | Post-mask |
|---|---|---|---|
| AIME24 | mean@64 | 24.4271% | 23.9583% |
| AIME25 | mean@64 | 25.6771% | 24.6875% |
| LiveCodeBench v5 | pass@1, 10 generations/problem | 19.1018% | 23.4132% |
| LiveCodeBench v6 | pass@1, 10 generations/problem | 20.5143% | -- |
| IFEval | strict prompt-level accuracy | 73.0129% | -- |
| IFBench test | strict prompt-level accuracy | 25.0000% | -- |
| Three-domain macro-average | Mean of the three domain means | 31.2889% | -- |
-- means no completed result is available in this snapshot, not zero.
The post-mask evaluation is incomplete (3/6 benchmarks); no complete macro score
is reported. All numeric benchmark fields, diagnostic metrics, and the original
MOPD comparison are recorded in experiment_results.md.
These single-run results do not establish statistical significance or exact
agreement with the upstream paper.
Provenance and Limitations
The pre-mask checkpoint's saved controller configuration predates the explicit
share_basis field; a missing field means pre_mask. The post-mask checkpoint
explicitly records share_basis: post_mask. Both controller states have 400 updates.
Files were exported from each run's merged step-100 evaluation model directory. Safetensors headers, tensor-to-shard mapping, payload lengths, configuration, and tokenizer JSON were checked before upload. This upload process did not run a new GPU inference test or new benchmark evaluation.
The models may produce incorrect or unsafe content and are research checkpoints. Use subject to the applicable upstream model, teacher, and dataset licenses; this model card does not grant a new license.
Model tree for kilizi/pop-mopd
Base model
HuggingFaceTB/SmolLM3-3B-Base