Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缺少SequentialSampler #63969

Open
w5688414 opened this issue Apr 29, 2024 · 2 comments
Open

缺少SequentialSampler #63969

w5688414 opened this issue Apr 29, 2024 · 2 comments
Assignees
Labels

Comments

@w5688414
Copy link

w5688414 commented Apr 29, 2024

需求描述 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

@Vvsmile
Copy link
Contributor

Vvsmile commented Apr 30, 2024

请再次确定以下API是否符合你的需求
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/SequenceSampler_cn.html

@w5688414
Copy link
Author

在分布式场景下,这个API该怎么用?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants