Li Yaxuan
Li Yaxuan
Thanks for your interest and suggestion! We have uploaded the OPD model where `Qwen3-4B-Base-GRPO` serves as the Teacher and `Qwen3-1.7B-Base` serves as the Student here: https://huggingface.co/lllyx/Qwen3-1.7B-Base-OPD
Thanks for pointing this out. Your derivation is correct: if Eq. (5) is interpreted as a KL between two distributions that are independently renormalized on `S_t`, then for `k=1` both...
Thanks for the question! For each prompt, we sample four on-policy responses. Since reverse KL is generally mode-seeking, our initial hypothesis is that using multiple responses per prompt can reduce...
Hi, thank you for your interest! We have added the verl example script used for reproducing the original top-k distillation setting here: [`verl_example/opd.sh`](https://github.com/thunlp/OPD/blob/main/verl_example/opd.sh) For top-k KL OPD, please use: ```bash...
> Thanks a lot ~ In the config of [verl_example/opd.sh](https://github.com/thunlp/OPD/blob/main/verl_example/opd.sh), I could not find the `verl/recipe/r1_ascend/deepscaler.py` file. Can I leave it to the default config (default_compute_score logic in verl)? Thanks...
Thanks for pointing this out! Now we have provided the dataset used for SFT here: https://huggingface.co/datasets/llxy/OpenThought3-Qwen3-4B You can download/load the dataset from Hugging Face and use it to apply SFT....
请问你说的是指脚本里面`export MODEL_DTYPE=${MODEL_DTYPE:-fp32}` 这个setting吗?这个setting是我们之前频繁遇到OOM的问题魔改了verl使其load的model type变成bf16,后来发现魔改后会出现严重的bug。不涨点并且grad norm无法正常下降,必须设置成fp32,但是flashh-attn本身还是使用的是bf16的,因此在训练的时候会autocast 浅绿色是fp32的,深绿色是bf16的,其余配置相同,都是跑的最原始的sampled token的 on policy distillation
> 读了一下代码,是模型参数和优化器都使用了float32但前向的时候用了bf16是吗? 是的,你可以看看verl的官方实现,verl官方本身是没有提供这个model_dtype的接口的,所以不用改这个地方
> 请问就改了这一处吗还有别的地方修改吗? 其实改了很多地方哈,特别是改了在reward计算的时候和loss计算的时候,并且记录了一系列metric(有的论文里面没有放出来,但其实也有一些有意思的现象)详细可以看看源码~
只要选择能提取boxed中的数字然后和标准答案比对的reward function都行,这两个你可以看下应该都是实现了的