representation-engineering
representation-engineering copied to clipboard
Add projection operation
I have been experimenting with the linear, piece-wise, and projection operations for representation control. It would be useful to have the projection operation available for reference to make sure my implementation matches what was used in the paper. But, it's currently not implemented.
https://github.com/andyzoujm/representation-engineering/blob/8de198b4fbd48e1068285d6d0650897a946c7f74/repe/rep_control_reading_vec.py#L93-L95