Accelerate - WeightedRandomSampler Dataloader

In the end, what i would like is more a behavior like that :