ms-swift icon indicating copy to clipboard operation
ms-swift copied to clipboard

[RFC] Support for On-Policy Distillation with Student and Teacher from Different Model Families

Open jiang-haoyuan opened this issue 1 year ago • 6 comments

目前发现gkd的代码中是将student的inputs直接放入到teacher里面计算分布。如果student和teacher是不同family的模型则无法正常训练。 后续是否会支持对于student和teacher是不同family的On-Policy Distillation?

Image

jiang-haoyuan avatar Nov 07 '25 03:11 jiang-haoyuan

We should adopt GOLD developed by HF https://huggingface.co/spaces/HuggingFaceH4/on-policy-distillation

mccatec avatar Nov 07 '25 10:11 mccatec

支持的时候是否可以同时对多模输入进行支持?thx

jiang-haoyuan avatar Nov 10 '25 07:11 jiang-haoyuan

支持的时候是否可以同时对多模输入进行支持?thx

AFAIK, multi-model is already supported.

mccatec avatar Nov 10 '25 09:11 mccatec

Hi, two weeks have passed, when will this feature be released?

jiang-haoyuan avatar Nov 21 '25 09:11 jiang-haoyuan

Hi, two weeks have passed, when will this feature be released?

Welcome to try KDFlow, which supports cross-tokenizer distillation.

songmzhang avatar Mar 09 '26 06:03 songmzhang

Hi, are there plans to add a cross-tokenizer OPD?

DanilSmorchkov avatar Jul 23 '26 07:07 DanilSmorchkov