Add dataset card with paper link, task category and sample usage

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - text-generation
4
+ language:
5
+ - en
6
+ ---
7
+
8
+ # ReOPD Prefix Pool
9
+
10
+ This repository contains a prefix pool dataset from the paper [Multi-Turn On-Policy Distillation with Prefix Replay](https://huggingface.co/papers/2607.04763).
11
+
12
+ ReOPD (Replayed-Prefix On-Policy Distillation) distills a teacher agent into a student **without environment interaction during student training**: the student acts on prefixes replayed from pre-collected teacher trajectories, while the teacher supplies dense per-step supervision. The prefix pool is built from the teacher's RL rollouts with a step-decaying sampling schedule (`p_t ∝ κ^t`, κ = 0.6), favoring early, low-shift prefixes. It matches or improves online OPD accuracy with **zero tool calls** and **4–9× faster rollouts**.
13
+
14
+ - Project page: https://baohaoliao.github.io/ReOPD/
15
+ - Code: https://github.com/BaohaoLiao/ReOPD
16
+ - Hugging Face collection: https://huggingface.co/collections/baohao/reopd
17
+
18
+ ## Sample usage
19
+
20
+ From the [Github repository](https://github.com/BaohaoLiao/ReOPD):
21
+
22
+ Download the prefix pool:
23
+
24
+ ```bash
25
+ hf download baohao/Math_Qwen3-8B_SFT-RL_Prefix --repo-type dataset --local-dir /data/pool
26
+ ```
27
+
28
+ Then use it as `PROMPT_DATA` in the ReOPD distillation script:
29
+
30
+ ```bash
31
+ TEACHER=qwen3-8b STUDENT=qwen3-4b \
32
+ TEACHER_MODEL_PATH=/ckpt/teacher_hf \
33
+ HF_CHECKPOINT=/ckpt/student_hf \
34
+ REF_LOAD=/ckpt/student_torch_dist \
35
+ PROMPT_DATA=/data/pool/train.jsonl \
36
+ SAVE_DIR=/runs/reopd_8b_to_4b \
37
+ bash scripts/train/reopd_math.sh
38
+ ```