LAION-AI / Open-Assistant

OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.
https://open-assistant.io
Apache License 2.0
36.94k stars 3.22k forks source link

Use `rng_seed` param when creating custom dataset sampler #3592

Closed andreaskoepf closed 1 year ago

andreaskoepf commented 1 year ago

Use the rng_seed configuration parameter in class PerDatasetSampler.build_sampler_from_config() static factory class method. Until now always the fixed default value of 0 was used as seed for the dataset sampling (which I think was as a bug).