XiangLi1999 / ContrastiveDecoding

contrastive decoding
173 stars 11 forks source link

Fixing some issues in the README setup #1

Closed martiansideofthemoon closed 1 year ago

martiansideofthemoon commented 1 year ago

Hi @XiangLi1999 @ari-holtzman,

Thank you for releasing this codebase, interesting work!

I had some trouble setting up the codebase. I've updated the README slightly with the instructions that worked for me. The transformers folder in this repo is missing a setup.py file, so I've added some extra commands to get it to work. I'm guessing this is more of a temporary fix rather than a permanent solution.

Best, Kalpesh

XiangLi1999 commented 1 year ago

Hi

Thanks a lot for the pr! I forgot to include the setup.py file from my original versions, now it's in!