Hi,
I am using model.generate() with do_sample=True to generate sentences using a BART model.
The decoded sentences are often the same.
Is there a way to sample sentences without replacement? i.e. sampling distinct sentences?
Thanks
Hi,
I am using model.generate() with do_sample=True to generate sentences using a BART model.
The decoded sentences are often the same.
Is there a way to sample sentences without replacement? i.e. sampling distinct sentences?
Thanks