huggingface / transformers

🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
https://huggingface.co/transformers
Apache License 2.0
132.7k stars 26.44k forks source link

Fix data_seed unused #33731

Open MekkCyber opened 2 days ago

MekkCyber commented 2 days ago

What does this PR do?

This PR fixes the problem related to the data_seed being unused. It was removed during a refactor of how samplers were used.

Fixes https://github.com/huggingface/transformers/issues/31818 https://github.com/huggingface/trl/issues/1810

You need to use this accelerate PR : https://github.com/huggingface/accelerate/pull/3130

HuggingFaceDocBuilderDev commented 2 days ago

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.