Paddle 缺少SequentialSampler

qco9c6ql  于 2个月前  发布在  其他
关注(0)|答案(2)|浏览(24)

需求描述 Feature Description

任务目标(请描述你正在做的项目是什么,如模型、论文、项目是什么?);
需求场景(请描述你的项目中为什么需要用此功能);
功能描述(请简单描述或设计这个功能)

模型复现:

https://github.com/huggingface/trl/blob/1d0a7ea17b8055a6850970ab59a34709d8ca494d/trl/trainer/kto_trainer.py#L1129

缺少:

https://pytorch.org/cppdocs/api/classtorch_1_1data_1_1samplers_1_1_sequential_sampler.html

替代实现 Alternatives

No response

相关问题