im-mopd / README.md
shkim0824's picture
Add files using upload-large-folder tool
9e34e05 verified
|
Raw History Blame
4.09 kB
---
license: other
license_name: mixed
tags:
- on-policy-distillation
- multi-teacher
- model-merging
---
# IM-MOPD: models and data snapshot
Students, teachers, paper models, rebuttal models and training data of **"No Pain, More Gain: Iterative Merging for Effective Multi-Teacher On-Policy Distillation"** (arXiv 2609.34745), as they were on the training clusters on 2026-11-30.
This is a research snapshot, not a polished release: folder names are the original run names. A checkpoint folder (`checkpoint-100`, `final`, …) is a complete Hugging Face model folder.
## Layout
The repository mirrors the original folder layout. `RESTORE_MANIFEST.tsv` lists every file and size. `ALIASES.tsv` lists the entry points the code uses, such as `immopd/models/teacher-*`.
**Students**
| Folder | Model |
|---|---|
| `immopd/models/Qwen3-4B-OT3` | Qwen3-4B after 2 epochs of OpenThoughts3 SFT |
| `immopd/models/Qwen3-1.7B-OT3` | the same for Qwen3-1.7B |
**Teachers**
| Folder | Teachers |
|---|---|
| `immopd_rebuttal/outputs/sft/*/checkpoint-*` | SFT teachers med, law and τ² for 4B and 1.7B. These are the rebuttal versions, which open with `<think> ` |
| `immopd/outputs/sft/*/checkpoint-*`, `immopd/past/sft_tau2/...` | SFT teachers in the paper versions, which open with `<think>\n` |
| `immopd/models/teacher-{fin,if}` | finance and IF teachers, 4B, GRPO step 200, fp32 |
| `immopd/models/rl_steps/rl-{fin,if}-1p7b-ck200` | finance and IF teachers, 1.7B |
| `immopd_llama/outputs/sft/ext_{r1_distill,olmo3_think}_*` | R1-Distill-Llama-8B and OLMo-3-7B-Think SFT teachers |
| `immopd_llama/models/teacher-*-{fin,if}` | R1-Distill-Llama-8B and OLMo-3-7B-Think RL teachers |
**Paper models**: all in `immopd/outputs/opd/<run>/checkpoint-100`, unless noted.
| Run | Paper item |
|---|---|
| `mopd-5dom-128-sean`, `mopd-5dom-128-1p7b-base` | MOPD, Table 1 |
| `mopd-5dom-128-sftw-s14f`, `mopd-5dom-128-1p7b-sftw-s14f` | SFT warm-up + MOPD, Table 1 |
| `p4-mopd-5dom-sean-uni-b25-ramp03-ifb` (4B), `mopd-5dom-128-1p7b-vramp-t40-l03` (1.7B) | **IM-MOPD (ours)**, Tables 1, 2, 3 |
| `*-merged-uniform` | Table 1 Uniform merge |
| `p4-*-t110m50l50f20i50` | Table 2 All at initialization |
| `*autoramp*`, `*vramp*`, `*ramp-t60*` | Tables 3, 9 and 10, the γ and δ grid |
| `*-ns85323*`, `*-uni042`, `p4-*-t38m24l14f10i14` | Figures 1 and 3 |
| `mopd-2dom-medif-64-r*/checkpoint-200` | Figure 3b and Table 11 |
The SFT warm-up inits are in `immopd/outputs/sft/wu_mix_*`.
**Rebuttal models**
- `immopd_rebuttal/outputs/opd/*`: the Qwen arms.
- `immopd_llama/outputs/opd/*/final`: the R1-Distill-Llama-8B and OLMo-3-7B-Think arms, the Qwen 200-step runs, TIES/DARE runs and three seeds.
- `immopd_llama/outputs/sft/wu_mix_ext_*`: R1-Distill-Llama-8B and OLMo-3-7B-Think warm-up inits.
**Data**
| Folder | Contents |
|---|---|
| `immopd/data/sft_distill*`, `immopd_rebuttal/data/sft_distill*` | teacher SFT data |
| `immopd/data/rl_pools`, `rl3dom` | teacher RL data and the MOPD prompt pools; the byte-exact training files |
| `immopd/data/sft_warmup/wu_mix_*`, `immopd_rebuttal/data/sft_warmup` | warm-up mixtures |
| `immopd/data/p4_val` | merge-decision validation set |
| `immopd/data/mopd_splits` | prompt splits |
| `immopd/data/tau2` | τ² data |
| `immopd_llama/data/ext` | data rendered for R1-Distill-Llama-8B and OLMo-3-7B-Think |
Benchmark test sets are not re-hosted here. `immopd/data/eval/MANIFEST.json` in the code repository lists their sources and sha256.
## Use one model
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
sub = "immopd/outputs/opd/p4-mopd-5dom-sean-uni-b25-ramp03-ifb/checkpoint-100"
tok = AutoTokenizer.from_pretrained("shkim0824/im-mopd", subfolder=sub)
model = AutoModelForCausalLM.from_pretrained("shkim0824/im-mopd", subfolder=sub, torch_dtype="auto")
```
## License
Each model keeps the license of its base model:
- Qwen3: Apache-2.0
- OLMo-3-7B-Think: Apache-2.0
- DeepSeek-R1-Distill-Llama-8B: MIT, on top of the Llama 3.1 Community License of its base
Data files keep the licenses of their source datasets.