representation-engineering
representation-engineering copied to clipboard
Contrast Vector - Add Code for Generation?
Hi,
I was wondering if code demonstrating how to use the contrast vector for text generation could be pushed? (Ideally for a 7B model!)
I am quite unclear on how to convert the contrast vector code from honesty_control_TQA.ipynb to allow for generation. And I am finding it difficult to parse all the contrast vector implementation details from the paper.
This would be very useful, so would really appreciate it!
Thanks, Robert