representation-engineering icon indicating copy to clipboard operation
representation-engineering copied to clipboard

Contrast Vector - Add Code for Generation?

Open RobertMcCarthy97 opened this issue 1 year ago • 11 comments

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

RobertMcCarthy97 avatar Dec 01 '23 17:12 RobertMcCarthy97