RuntimeError - invalid multinomial distribution (with replacement=False, not enough non-negative category to sample)
whenever i setdo_sample=True, i get the error:RuntimeError('invalid multinomial distribution (with replacement=False, not enough non-negative category to sample)'), i don’t know why it is happening, but i want to usedo_sample=Truebecause it gives out more relevant results. Im using the Bart-Large-CNN for text summarization, with huggingface transformers version 4.20.1, any help would be greatly appreciated.