voidism / DoLa

Official implementation for the paper "DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models"
https://arxiv.org/abs/2309.03883
419 stars 50 forks source link

fix bug for contrastive sample decoding #8

Closed HillZhang1999 closed 8 months ago