LogitsProcessor vs LogitsWarper
What is the intended difference between thetransformers.LogitsProcessorandtransformers.LogitsWarperclasses?
2023-02-15T10:32:55Z
Hey@dpaleka.generate()maintainer here. The two classes are very similar – the biggest distinction would be thattransformers.LogitsWarperare only used with sampling strategies (i.e. when you passdo_sample=True).